Joel via ntg-context schrieb am 16.05.2024 um 05:04:
If I have text like this, it interprets the gap as needing a paragraph break:
This is some text.
This is some other text, it will appear in a new paragraph.
Is there any macro I can place that will ignore the gap before it, treating the next text as if it belongs at the end of that sentence?
Ex.
This is some text.
\ignorebreak This is some other text, it will appear in a new paragraph.
That way output is more like this:
This is some text.This is some other text, it will appear in a new paragraph.
There is a similar command to ignore the next blank line or \par but you have to add it at the end paragraph and not at the start. In the old MkII days \GotoPar (the commands is still available) did the job but with Luametatex you can now use the \ignorepars primitive to achieve the result. %%%% begin example \starttext This is some text. This is some other text, it will appear in a new paragraph. \blank This is some text. \ignorepars % add space before \ignorepars This is some other text, it will appear in a new paragraph. \blank This is some text. \GotoPar This is some other text, it will appear in a new paragraph. \stoptext %%%% end example Wolfgang