On 1/21/2014 3:39 PM, Joshua Krämer wrote:
Am Mon, 20 Jan 2014 23:41:55 +0100
schrieb Hans Hagen <pra...@wxs.nl>:

in fact you get:

\startTest Eins, zwei, drei
\stopTest

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

I still don't understand it.  This works:

\startTest Eins, zwei, drei \stopTest

This doesn't work (context stops with error):

\startTest %Test
Eins, zwei, drei \stopTest

It seems that context fails whenever there is a comment inside the
database listing (or database file).

I actually would like to read in a database file and skip the first
row, but because of this problem it doesn't work.

has to do with catcode changes so % is no longer %

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to