Re: [NTG-context] XML and table interpretation

2006-04-10 Thread Johannes Graumann
Hans, With your help, I got this to work: \defineXMLnested [table] { \bgroup \defineXMLsave[caption] \defineXMLsave[header] \defineXMLsave[body] } { \placetable [\XMLpar{table}{location}{here}] [\XMLpar{table}{label}{unknown}] {\XMLflush{caption}} { \ix\setupinterlinespace[reset,small]

Re: [NTG-context] XML and table interpretation

2006-04-10 Thread Hans Hagen
Johannes Graumann wrote: Hans, With your help, I got this to work: \defineXMLnested [table] { \bgroup \defineXMLsave[caption] \defineXMLsave[header] maybe : \defineXMLnested[header] {\bTABLEhead} {\eTABLEhead} \defineXMLsave[body] } { \placetable

Re: [NTG-context] XML and table interpretation

2006-04-10 Thread Hans Hagen
Johannes Graumann wrote: Hans, With your help, I got this to work: \defineXMLnested [table] { \bgroup \defineXMLsave[caption] \defineXMLsave[header] \defineXMLsave[body] } { \placetable [\XMLpar{table}{location}{here}] [\XMLpar{table}{label}{unknown}] {\XMLflush{caption}} {

Re: [NTG-context] XML and table interpretation

2006-04-10 Thread Johannes Graumann
Hans Hagen wrote: \defineXMLnested [tr] [bottomframe=off,rulethickness=0.3pt] {\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}} {\eTR} \defineXMLnested [td] [rows=1,cols=1] {\expanded{\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}} {\eTD}

[NTG-context] XML and table interpretation

2006-04-09 Thread Johannes Graumann
Why do these two things work: 1)\defineXMLnested [td] [rows=1,cols=1] {\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]} {\eTD} (in conjunction with 'trtd rows=2Gene product/tdtd cols=3HPM tag/tdtd rows=2TAP tag/tdtd rows=2mod. TAP tag/tdtd rows=2Frequ. in ref. set/td/tr') 2)

Re: [NTG-context] XML and table interpretation

2006-04-09 Thread Hans Hagen
Johannes Graumann wrote: Why do these two things work: 1)\defineXMLnested [td] [rows=1,cols=1] {\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]} {\eTD} (in conjunction with 'trtd rows=2Gene product/tdtd cols=3HPM tag/tdtd rows=2TAP tag/tdtd rows=2mod. TAP tag/tdtd rows=2Frequ. in ref.

Re: [NTG-context] XML and table interpretation

2006-04-09 Thread Johannes Graumann
Thanks Hans, that did it. Do you ever sleep? Joh Hans Hagen wrote: Johannes Graumann wrote: Why do these two things work: 1)\defineXMLnested [td] [rows=1,cols=1] {\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]} {\eTD} (in conjunction with 'trtd rows=2Gene product/tdtd cols=3HPM