[NTG-context] Bug in dowithpargument and paragraph ending in a macro
schuster.wolfgang at googlemail.com
Tue Jul 10 08:52:57 CEST 2007
2007/7/10, Aditya Mahajan <adityam at umich.edu>:
> Consider this:
> \section This is ok
> I like the loose format
> \section why \unknown
\section why \unknown\par
> This does not work
> which gives
> ./test.tex:8: Paragraph ended before \nextpar was complete.
> <to be read again>
> 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.
the macro eats the endline char.
This did also happen in normal text:
look, there is no space after the \TeX
sign, do you understand it.
More information about the ntg-context