
On Wed, 18 Jun 2025, mf wrote:
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?
Wouldn't something like this be simpler and more in spirit of separating intent from presentation? (I don't remember the XML syntax, so just conveying the high-level idea) <Para> ... </Para> is normal paragraph while <Para par="false"> is the paragraph where you don't want to insert a para. Then you can do something like: \startxmlsetups xml:Para ... \xmlflush{#1}% check if attribute par is not false ... insert \par \stopxmlsetups Aditya