[NTG-context] ending every paragraph

Ulrike Fischer news3 at nililand.de
Tue Aug 4 12:34:30 CEST 2015


Am Sun, 2 Aug 2015 05:36:29 -0600 schrieb Idris.Hamid at colostate.edu:

> It's also curious that, for all its power, TeX has no straightforward way  
> to recognize paragraph endings.

But tex *does* recognize paragraph endings. After all it does
paragraph separation in a very reliable way and inserts a \par
token.

You could redefine \par to insert something:

\def\par{end of line\endgraf}

\starttext

abc

abc

abc

abc \par blblbl
\stoptext

But as \par is used in various places it could get rather difficult
to fight against the side-effects. A dedicated "\stopparagraph"
command is much easier to control. 

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the ntg-context mailing list