[NTG-context] Error at \stoplines

Henning Hraban Ramm texml at fiee.net
Wed Jan 24 09:05:52 CET 2018

Am 2018-01-23 um 22:42 schrieb Aditya Mahajan <adityam at umich.edu>:

> On Tue, 23 Jan 2018, Henning Hraban Ramm wrote:
>> Am 2018-01-23 um 10:29 schrieb r.ermers at hccnet.nl:
>>>> 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
>>> 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
>>> But you probably already thought of this yourself.
>> That’s not the problem, there are only a few "lines" sections, and of course I checked these first.
>> I also checked all(?) other \start/stops, braces and brackets - of course I could have overlooked some, it’s a whole book, but most cases are caught on their own.
>> I guess it might be something in my setups, but not in \setuplines, but don’t know for what I should look, there’s too much...
>> Which other setups affect \start/stoplines?
> The error could be due to some other mismatched group. Have you tried:
> mtxrun --script concheck filename.tex

Thank you for the reminder, I should use this more often.
Of course it found a few errors, and now the book runs through.
It’s strange that ConTeXt only stopped at \stoplines.

Greetlings, Hraban

More information about the ntg-context mailing list