[NTG-context] Comment after \startseparatedlist[...]

Hans Hagen pragma at wxs.nl
Mon Jan 20 23:41:55 CET 2014


On 1/20/2014 9:02 PM, Joshua Krämer wrote:
> Dear list,
>
> if there is a comment after \startseparatedlist[...] from the database
> module, context fails.  Thus, this example in the wiki doesn't work:
> http://wiki.contextgarden.net/M-database
>
> Minimal example:
>
> \usemodule[database]
> \defineseparatedlist[Test]
> [
> 	before=\bTABLE,
> 	after=\eTABLE,
> 	left=\bTD,
> 	right=\eTD,
> 	first=\bTR,
> 	last=\eTR
> ]
>
> \starttext
>
> \startTest % problematic comment
> Eins, zwei, drei
> \stopTest
>
> \stoptext

in fact you get:

\startTest Eins, zwei, drei
\stopTest

because of the comment and we ignore all till the end of the first line

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list