
-----Ursprüngliche Nachricht----- Von: Hans Hagen via ntg-context
Gesendet: Freitag, 28. Februar 2025 14:30 An: ntg-context@ntg.nl Cc: Hans Hagen Betreff: [NTG-context] Re: Quads not appearing Ok, I've found it. The problem is that I have something in the xml file
On 2/27/2025 3:23 PM, Denis Maier via ntg-context wrote: that produces spurios spaces, which I try to get rid of with \removeunwantedspaces. However, this seems to have an effect on the wanted \qquad.
Is there a way to remove unwanted spaces inside a given element without affecting earlier spaces (in other elements) that should appear? I guess \xmlstrip could be a solution to this problem, but I don't quite understand how this works.
\xmlstrip{#1}{.} \xmlstrip{#1}{/*}
But this won't output anything right? This will just manipulate the (sub)tree in place? Like some sort of preprocessor? That means, I will need a combination of \xmlstrip{#1}{.} \xmlflush{#1} to actually produce the output. Is that correct? Denis