Hi Hraban, try:
1. count the number of \startlines, do this with grep -e '^\\startlines' | wc | less 2. count the number of \stoplines, do this with grep -e ‘^\\stoplines' | wc | less The resulting counts obviously have to be the same. If they are not, you can (again with grep -e) extract all \startlines | \stoplines and determine after which occurrence (the nth) there is a sequence of two (or more) \startlines or \stoplines. At this point your file is corrupted. But you probably already thought of this yourself. Robert > Op 23 jan. 2018, om 10:11 heeft Henning Hraban Ramm <te...@fiee.net> het > volgende geschreven: > > Hi, > in my current project, every time I use \startlines .. \stoplines (for > poems), I run into this error: > > """ > structure > sectioning > chapter @ level 2 : 5.2 -> Example > > tex error > tex error on line 27 in file ka34/c_example.tex: ! Extra }, > or forgotten \endgroup > > <recently read> \egroup > > l.27 \stoplines > > ... > 24 Fragen nicht danach, greifen weise zum Wein, > 25 der löst uns die Zunge mit Salomo, wir wissen von ihm, > 26 was besser tut. > 27 >> \stoplines > 28 \stopparagraph > """ > > The error must be somewhere in my project, I couldn’t come up with a minimal > example to reproduce the problem. > But if I comment all \start/stoplines (or the components containing them), it > runs through. > > Do you have an idea where I should look? > > > Greetlings, Hraban > --- > http://www.fiee.net > http://wiki.contextgarden.net > GPG Key ID 1C9B22FD > > ___________________________________________________________________________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________