* \bTD\numexpr\currentTABLErow\minusone\relax\eTD
@ 2013-04-19 8:02 Alan BRASLAU
2013-04-19 8:27 ` \bTD\numexpr\currentTABLErow\minusone\relax\eTD Marco Patzer
0 siblings, 1 reply; 2+ messages in thread
From: Alan BRASLAU @ 2013-04-19 8:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
I naively tried using
\bTD\numexpr\currentTABLErow\minusone\relax\dTD
in a TABLE.
As I do not master even simple calculations under TeX, I do not see
what I am missing in order to label TABLE rows, starting from 0?
(Row 1 is a heading, set off by \bTABLEhead\eTABLEhead, which is why I
am looking to subtract 1 from \currentTABLErow, but this does not
matter of course.
But perhaps the addressing of TABLE rows, including within \setupTABLE,
should or could handle this situation? This is a secondary question to
think about...)
Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: \bTD\numexpr\currentTABLErow\minusone\relax\eTD
2013-04-19 8:02 \bTD\numexpr\currentTABLErow\minusone\relax\eTD Alan BRASLAU
@ 2013-04-19 8:27 ` Marco Patzer
0 siblings, 0 replies; 2+ messages in thread
From: Marco Patzer @ 2013-04-19 8:27 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 154 bytes --]
On 2013–04–19 Alan BRASLAU wrote:
> \bTD\numexpr\currentTABLErow\minusone\relax\dTD
\bTD\the\numexpr\currentTABLErow-1\relax\eTD
Marco
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-19 8:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-19 8:02 \bTD\numexpr\currentTABLErow\minusone\relax\eTD Alan BRASLAU
2013-04-19 8:27 ` \bTD\numexpr\currentTABLErow\minusone\relax\eTD Marco Patzer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).