[NTG-context] Bug in dowithpargument and paragraph ending in a macro

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Jul 10 08:52:57 CEST 2007


2007/7/10, Aditya Mahajan <adityam at umich.edu>:
> Hi,
>
> Consider this:
>
> \starttext
>
> \section This is ok
>
> I like the loose format
>
> \section why \unknown

\section why \unknown\par

> This does not work
>
> \stoptext
>
> which gives
>
> ./test.tex:8: Paragraph ended before \nextpar was complete.
> <to be read again>
>                     \par
> l.8
>
> I suspect you've forgotten a `}', causing me to apply this
> control sequence to too much text. How can we recover?
> My plan is to forget the whole thing and hope for the best.
>
> This seems to be a bug in dowithpargument. As a temporary workaround,
> I can just enclose the section in braces, but it will be nice if
> \dowithpargument behaves correctly in this situation.
>
> Aditya

Hi Aditya,

the macro eats the endline char.

This did also happen in normal text:

\starttext

look, there is no space after the \TeX
sign, do you understand it.

\stoptext

Wolfgang


More information about the ntg-context mailing list