[NTG-context] context() does not ignore space in empty line

Sylvain Hubert champignoom at gmail.com
Mon Apr 19 09:22:40 CEST 2021


Dear list,

does anyone have an idea why, in the example below, context() starts a new
paragraph at "\n\n" but not at "\n \n" with a space in between? Is there
any way to fix it?

\starttext
Without using context(), inside the next parentheses is a new line: (

) note that a space sits between the two line breaks.

\startluacode
  context('Using context(), inside the next parentheses is also a new line:
(\n\n) because there is *no* space between the two line breaks.\n\n')
  context('Using context(), inside the next parentheses is however *no* new
line: (\n \n) because of the space between the two line breaks.\n\n')
\stopluacode
\stoptext

Any help is appreciated.

Best,
Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20210419/f9498f8f/attachment.htm>


More information about the ntg-context mailing list