[NTG-context] How to make caption for any table?

Wolfgang Schuster schuster.wolfgang at googlemail.com
Mon Jun 9 15:01:08 CEST 2008


> A following question is how to make caption work at all with arbitrary
> table set, especially with the database module. I tested with this but
> with no caption at output.
>
> % engine=luatex
> \mainlanguage[sv]
> \usemodule[database]
> \defineseparatedlist
>  [MyTable]
>  [separator=tab,
>   left=\bTD,right=\eTD,
>   first=\bTR,last=\eTR,
>   before=\bTABLE,after=\eTABLE]
> \starttext
> \placetable[split][tab:test-tabell]{En testad tabell}
> {\startMyTable

\bgroup\startMyTable

> $ \delta $      45      23      11
> $ \omega $      22      67      88
> \stopMyTable}

\stopMyTable\egroup

> \stoptext
>
> I suppose there is a slight different syntax to make this work!
>
> Thanks in advance!
>
> Jan-Erik Hägglöf

Please start next time a new thread.

Wolfgang


More information about the ntg-context mailing list