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

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
> {\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!
>