> -----Ursprüngliche Nachricht----- > Von: Hans Hagen via ntg-context <ntg-context@ntg.nl> > Gesendet: Freitag, 28. Februar 2025 14:30 > An: ntg-context@ntg.nl > Cc: Hans Hagen <j.ha...@freedom.nl> > Betreff: [NTG-context] Re: Quads not appearing > > On 2/27/2025 3:23 PM, Denis Maier via ntg-context wrote: > > Ok, I've found it. The problem is that I have something in the xml file 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________