On 05/07/2015 11:44 PM, Hans Hagen wrote:
> [...]
> \startxmlsetups xml:a
> \cldcontext{string.sub([[\xmlatt{#1}{href}]],2)}
> % next beta (more efficient):
> % \xmlrefatt{#1}{href}
> \stopxmlsetups
Many thanks for your reply and the improvement, Hans.
Pablo
--
http://www.ousia.t
On 5/6/2015 9:38 PM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\startbuffer[demo]
the previous section
\stopbuffer
\startxmlsetups xml:initialize
\xmlsetsetup{#1}{a}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
\sta
On 05/06/2015 10:49 PM, Thomas A. Schmitz wrote:
> On 05/06/2015 09:38 PM, Pablo Rodriguez wrote:
>> How could I get the following command working?
>>
>> \ctxlua{tex.print(string.sub(context("\\xmlatt{#1}{href}"),2))}
>
> I'm not sure that this will ever work - you're mixing and nesting lua
On 05/06/2015 09:38 PM, Pablo Rodriguez wrote:
How could I get the following command working?
\ctxlua{tex.print(string.sub(context("\\xmlatt{#1}{href}"),2))}
I'm not sure that this will ever work - you're mixing and nesting lua
and tex code in a messy way. My suggestion would be: if you
Dear list,
I have the following sample:
\startbuffer[demo]
the previous section
\stopbuffer
\startxmlsetups xml:initialize
\xmlsetsetup{#1}{a}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
\startxmlsetups xml:a
\ctxlua{context("\\xmlatt{#1