Re: [NTG-context] TABLE 'last line' tag?

2006-04-21 Thread nico
On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: nico wrote: Why don't you test if the attribute is set before applying it to the TR? You see the problem on the last row, but the fact is that you force the bottomframe clear for every row (which is dirty IMHO).

Re: [NTG-context] TABLE 'last line' tag?

2006-04-21 Thread Johannes Graumann
nico wrote: On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: nico wrote: Why don't you test if the attribute is set before applying it to the TR? You see the problem on the last row, but the fact is that you force the bottomframe clear for every row (which

Re: [NTG-context] TABLE 'last line' tag?

2006-04-21 Thread Hans Hagen
nico wrote: On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: nico wrote: Why don't you test if the attribute is set before applying it to the TR? You see the problem on the last row, but the fact is that you force the bottomframe clear for every

Re: [NTG-context] TABLE 'last line' tag?

2006-04-21 Thread nico
On Fri, 21 Apr 2006 12:44:45 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: nico wrote: On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: nico wrote: Why don't you test if the attribute is set before applying it to the TR? You see the problem on the last

Re: [NTG-context] TABLE 'last line' tag?

2006-04-21 Thread Johannes Graumann
nico wrote: \defineXMLnested [tr] [bottomframe=,rulethickness=0.5pt] {\doifelse{\XMLop{bottomframe}}{}% {\expanded{\bTR}}% {\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}}} {\eTR} So much to learn, so little time. Thank you for this hint! Was hunting

[NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Johannes Graumann
Hello, When formating tables the first row (top of the header) is easily formated by using for example: \setupTABLE[row][1][rulethickness=0.90pt,topframe=on] I was wondering whether there's an equivalent for specifically addressing the LAST row in a table? Something along the lines of

Re: [NTG-context] TABLE 'last line' tag?

2006-04-20 Thread nico
On Wed, 19 Apr 2006 22:55:23 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: Hello, When formating tables the first row (top of the header) is easily formated by using for example: \setupTABLE[row][1][rulethickness=0.90pt,topframe=on] I was wondering whether there's an

Re: [NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Johannes Graumann
nico wrote: Do you want to do this? \setupTABLE[row][last][rulethickness=0.90pt,bottomframe=on] Yes, that's what I want, but it doesn't work for me. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Peter Rolf
Johannes Graumann wrote: nico wrote: Do you want to do this? \setupTABLE[row][last][rulethickness=0.90pt,bottomframe=on] \setupTABLE[r][last][] Use only the short forms (r=row and c=column) and it should work. I had to look in an old table, where I had the same problems (I guess).

Re: [NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Peter Münster
On Thu, 20 Apr 2006, Johannes Graumann wrote: nico wrote: Do you want to do this? \setupTABLE[row][last][rulethickness=0.90pt,bottomframe=on] Yes, that's what I want, but it doesn't work for me. Could you send a minimal example? This works here: \starttext \setupTABLE[frame=off]

Re: [NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Taco Hoekwater
Peter Münster wrote: On Thu, 20 Apr 2006, Johannes Graumann wrote: nico wrote: Do you want to do this? \setupTABLE[row][last][rulethickness=0.90pt,bottomframe=on] Yes, that's what I want, but it doesn't work for me. Could you send a minimal example? This works here: Same for me.

Re: [NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Johannes Graumann
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

Re: [NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Johannes Graumann
nico wrote: Why don't you test if the attribute is set before applying it to the TR? You see the problem on the last row, but the fact is that you force the bottomframe clear for every row (which is dirty IMHO). It's not that easy, since the bottomframe - once set - is persistent ... so every