Does anyone have a solution to \dorecurse within TABLE?
Alan
Minimal example:
\starttext
\dorecurse{8}{\recurselevel\crlf}
\bTABLE
\dorecurse{8}{\bTR\bTD\recurselevel\eTD\eTR}
\eTABLE
\stoptext
___
If your question
On Fri, Oct 26, 2012 at 11:50 AM, Alan BRASLAU alan.bras...@cea.fr wrote:
Does anyone have a solution to \dorecurse within TABLE?
Alan
Minimal example:
\starttext
\dorecurse{8}{\recurselevel\crlf}
\bTABLE
\dorecurse{8}{\bTR\bTD\recurselevel\eTD\eTR}
\eTABLE
\stoptext
2012-10-26 Alan BRASLAU:
Does anyone have a solution to \dorecurse within TABLE?
Alan
Minimal example:
\starttext
\dorecurse{8}{\recurselevel\crlf}
\bTABLE
\dorecurse{8}{\bTR\bTD\recurselevel\eTD\eTR}
\dorecurse{8}{\expanded{\bTR\bTD\recurselevel\eTD\eTR}}
\eTABLE
\stoptext
On Fri, 26 Oct 2012 12:27:09 +0200
Marco Patzer home...@lavabit.com wrote:
\dorecurse{8}{\expanded{\bTR\bTD\recurselevel\eTD\eTR}}
Thank you. And I found something new to understand:
http://wiki.contextgarden.net/System_Macros/Expansion_Control
Now, is there some better way, or perhaps not,
Am 26.10.2012 um 15:03 schrieb Alan BRASLAU alan.bras...@cea.fr:
On Fri, 26 Oct 2012 12:27:09 +0200
Marco Patzer home...@lavabit.com wrote:
\dorecurse{8}{\expanded{\bTR\bTD\recurselevel\eTD\eTR}}
Thank you. And I found something new to understand:
2012-10-26 Alan BRASLAU:
Now, is there some better way, or perhaps not, around creating my own
counter (of course, I can use a counter for the column as well...)
You can use \currentTABLEcolumn and \currentTABLErow
\starttext
\bTABLE
\dorecurse{8}{
\bTR
\dorecurse{5}{\bTD
Helps to read the wiki, with a link to:
http://randomdeterminism.wordpress.com/2009/03/05/tex-programming-the-past-the-present-and-the-future/
Simple enough:
\starttext
\bTABLE
\dorecurse{8}{
\bTR
\dorecurse{5}{\bTD \the\numexpr#1,\the\numexpr##1 \eTD}
\eTR
}
\eTABLE