On 10/19/2016 01:47 PM, Hans Hagen wrote:
\startxmlsetups xml:a
\ignorespaces
\xmlflush{#1}
\removeunwantedspaces
\stopxmlsetups
\startxmlsetups xml:b
\ignorespaces
\xmlfunction{#1}{b}
\removeunwantedspaces
\stopxmlsetups
Ah OK, I had tried applying these within the
On 10/19/2016 12:07 PM, Thomas A. Schmitz wrote:
Hi all,
below is a slightly silly example that demonstrates a problem I’m having: I
want to process (in Lua) the xml element “b” only when it has an attribute
“display” set. This works, but elements without the attribute leave spurious
spaces
Hi all,
below is a slightly silly example that demonstrates a problem I’m having: I
want to process (in Lua) the xml element “b” only when it has an attribute
“display” set. This works, but elements without the attribute leave spurious
spaces in the pdf output. The workaround I’m currently