[NTG-context] TABLE 'last line' tag?
Johannes Graumann
johannes_graumann at web.de
Thu Apr 20 20:29:17 CEST 2006
Figured out what's going on and would appreciate some advice on the issue:
My actual code interprets XML and reads:
\defineXMLnested
[splittable]
{
\defineXMLsave[caption]
\defineXMLsave[header]
\defineXMLsave[body]
\defineXMLsave[footer]
}
{
\splitfloat
{\placetable[\XMLpar{table}{location}{here}][\XMLpar{table}{label
{unknown}]{\XMLflush{caption}}}
{
\setupTABLE[row][1][rulethickness=0.30pt,topframe=on]
\setupTABLE[row][last][rulethickness=0.30pt,bottomframe=on]
\bTABLE[frame=off,split=repeat,splitmethod=b,distance=7.5pt,style={\switchtobodyfont[small]\setupinterlinespace[line=2.8ex]}]
\bTABLEhead\XMLflush{header}\eTABLEhead
\bTABLEbody\XMLflush{body}\eTABLEbody
\bTABLEfoot\XMLflush{footer}\eTABLEfoot
\eTABLE
}
}
\defineXMLnested
[tr]
[bottomframe=]
{\expanded{\bTR[bottomframe=\XMLop{bottomframe}]}}
{\eTR}
What's happening here is that the the 'tr' bottomframe statement (which I
need for formating) overrides the '\setupTABLE[row]' bit. Is there any way
to make 'tr's bottomframe-statement be ineffectual in case of being the
last raw?
Joh
More information about the ntg-context
mailing list