![](https://secure.gravatar.com/avatar/af13db75aa1c24fee635c74fecf93090.jpg?s=120&d=mm&r=g)
Thanx Hans, but your example do not print anything. I dont know why, but output is empty... Jaroslav Dne 30.7.2010 10:34, Hans Hagen napsal(a):
On 30-7-2010 10:29, Jaroslav Hajtmar wrote:
Hello all,
My big weakness in TeX practice is working with the expansion. Perhaps because he speaks so Lua. I would like to ask whether there is any possibility of printing table columns (throw Mojca database module) when the column data are contained in a separate macro.
Example:
\usemodule[database]
\defineseparatedlist [NaturalTable] [separator=comma, before=\bTABLE,after=\eTABLE, first=\bTR,last=\eTR, left=\bTD,right=\eTD]
\def\tabrow{A, B, C}
\starttext
\startseparatedlist[NaturalTable] a,b,c A,B,C \stopseparatedlist
\blank[big]
\startseparatedlist[NaturalTable] \tabrow \stopseparatedlist
\expanded{\startseparatedlist[NaturalTable] \tabrow} \stopseparatedlist
might work
%But I would like get table with three separate columns
\stoptext
While I can parsing column data contained in macro \tabrow, anyway I cant transmit column data to \startseparatedlist[NaturalTable] .. \stopseparatedlist environment to make it work.
Thanx Jaroslav
___________________________________________________________________________________
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 ___________________________________________________________________________________