
Thanks Hraban and Wolfgang. \ignorepars is what I was looking for, though I realized it must be the last thing in the paragraph. Currently it does not work with my xml setup for paragraphs: \startxmlsetups xml:Para \dontleavehmode\xmlflush{#1}\resetcharacterkerning\strut\par \stopxmlsetups \resetcharacterkerning can be put after the \par. \strut prevents the last line from having no depth in case there are no letter with descendants. I think that could be set globally... but how? Massi Il 18/06/25 16:04, Wolfgang Schuster ha scritto:
Am 18.06.2025 um 11:41 schrieb mf:
Hello list, I remember having read something about this, but I can't remember where: I need to prevent the next \par.
The context (lowercase) is XML typesetting, where sometimes I want to concatenate two paragraphs in a particular typesetting, while keeping the original structure of the document (two distinct paragraphs).
To give you an idea, in XHTML it could be something like this: ----------- <p>This is a paragraph.<?injecttex \preventpar ?></p> <p>This is the next paragraph.</p> -----------
\starttext
First paragraph. \ignorepars
Second paragraph.
Third paragraph.
\stoptext
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________