[NTG-context] help needed with special macro
Peter Münster
pmlists at free.fr
Thu Feb 17 17:45:48 CET 2005
Hello,
could someone help me please with the following little macro?
Every line in the table should be different, but all are as the last one.
I've tried a lot with commands like \expanded{} or \expandafter etc, but
without results...
Perhaps the only solution is a temporary file?
\newcount\MyVersion
\def\MyMacro#1{%
\getgparameters[XXX][#1]
\global\advance\MyVersion by 1
\bTR\bTD \the\MyVersion \eTD \bTD \XXXDate \eTD\eTR
}
\starttext
\bTABLE
\bTR \bTD Version \eTD \bTD Date \eTD \eTR
\MyMacro{Date=1.2.2005}
\MyMacro{Date=3.4.2005}
\MyMacro{Date=5.6.2005}
\eTABLE
\stoptext
TIA for any hint!
Cheers, Peter
--
http://pmrb.free.fr/contact/
More information about the ntg-context
mailing list