[NTG-context] XML and table interpretation
Johannes Graumann
johannes_graumann at web.de
Tue Apr 11 07:25:56 CEST 2006
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}
>
> \defineXMLnested
> [table]
> {\bgroup
> \defineXMLsave[caption]
> \defineXMLnested[header]{\bTABLEhead} {\eTABLEhead}
> \defineXMLnested[body] {\bTABLEbody} {\eTABLEbody}
> \placetable
> [\XMLpar{table}{location}{here}]
> [\XMLpar{table}{label}{unknown}]
> {\XMLflush{caption}}
> \bgroup
> \setupTABLE[frame=off,split=repeat,splitmethod=a]
> \ix\setupinterlinespace[reset,small]
> \framed
> [frame=off,topframe=on,bottomframe=on,offset=none,rulethickness=1pt]
> \bgroup \bTABLE[distance=10pt]}
> {\eTABLE
> \egroup
> \egroup
> \egroup}
Great! No more errors! But with this solution the caption disappears ...
strange. Also: breaking the table across pages doesn't work
despite 'split=repeat,splitmethod=a' - do I have to call a split explicitly
somewhere?
Joh
More information about the ntg-context
mailing list