Re: [NTG-context] issue with lpath

2022-08-05 Thread Taco Hoekwater via ntg-context
> On 4 Aug 2022, at 18:39, Pablo Rodriguez via ntg-context > wrote: > > On 8/4/22 17:32, Taco Hoekwater via ntg-context wrote: >> [...] >> PS This sort of confusing filtering is why I do most of my xml >> processing from the lua end, where it is much clearer to me what is >> what. > Many

Re: [NTG-context] issue with lpath

2022-08-04 Thread Pablo Rodriguez via ntg-context
On 8/4/22 17:32, Taco Hoekwater via ntg-context wrote: > [...] > PS This sort of confusing filtering is why I do most of my xml > processing from the lua end, where it is much clearer to me what is > what. Many thanks for clarifying the issue, Taco. BTW, according to the last slide from

Re: [NTG-context] issue with lpath

2022-08-04 Thread Taco Hoekwater via ntg-context
> On 4 Aug 2022, at 16:07, Hans Hagen wrote: > > On 8/4/2022 12:22 PM, Taco Hoekwater via ntg-context wrote: >>> On 3 Aug 2022, at 15:54, Pablo Rodriguez via ntg-context >>> wrote: >>> >>> BTW, is there any way to rephrase "{h3 + blockquote}" in proper Lua? >> I was wondering about that as

Re: [NTG-context] issue with lpath

2022-08-04 Thread Pablo Rodriguez via ntg-context
On 8/4/22 12:22, Taco Hoekwater via ntg-context wrote: >> On 3 Aug 2022, at 15:54, Pablo Rodriguez via ntg-context >> wrote: >> BTW, is there any way to rephrase "{h3 + blockquote}" in proper Lua? > > I was wondering about that as well, and I really had no clue how to > do that. Some reading

Re: [NTG-context] issue with lpath

2022-08-04 Thread Hans Hagen via ntg-context
On 8/4/2022 12:22 PM, Taco Hoekwater via ntg-context wrote: On 3 Aug 2022, at 15:54, Pablo Rodriguez via ntg-context wrote: BTW, is there any way to rephrase "{h3 + blockquote}" in proper Lua? I was wondering about that as well, and I really had no clue how to do that. Some reading and

Re: [NTG-context] issue with lpath

2022-08-04 Thread Taco Hoekwater via ntg-context
> On 3 Aug 2022, at 15:54, Pablo Rodriguez via ntg-context > wrote: > > BTW, is there any way to rephrase "{h3 + blockquote}" in proper Lua? I was wondering about that as well, and I really had no clue how to do that. Some reading and studying later, I realised that there is a

Re: [NTG-context] issue with lpath

2022-08-03 Thread Pablo Rodriguez via ntg-context
On 8/3/22 09:09, Taco Hoekwater via ntg-context wrote: >> On 2 Aug 2022, at 21:14, Pablo Rodriguez via ntg-context >> wrote: >> [...] >> I need an lpath to select the h3 node above, but only the one with "h3 + >> blockquote" as a CSS selector (which could be added the lpath "../h3" >> after). >

Re: [NTG-context] issue with lpath

2022-08-03 Thread Taco Hoekwater via ntg-context
> On 2 Aug 2022, at 21:14, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > > I need an lpath to select the h3 node above, but only the one with "h3 + > blockquote" as a CSS selector (which could be added the lpath "../h3" > after). Lpath supports CSS selectors between curly

Re: [NTG-context] issue with lpath containing a hyphen

2016-11-21 Thread Hans Hagen
On 11/20/2016 8:47 PM, Pablo Rodriguez wrote: On 11/20/2016 12:13 PM, Hans Hagen wrote: On 11/18/2016 11:32 PM, Pablo Rodriguez wrote: [...] The only way to get the Knuth in the quote is to remove "\letterpercent" in the lpath. so why do you use the \letterpercent then It was a minimal

Re: [NTG-context] issue with lpath containing a hyphen

2016-11-20 Thread Pablo Rodriguez
On 11/20/2016 12:13 PM, Hans Hagen wrote: > On 11/18/2016 11:32 PM, Pablo Rodriguez wrote: >> [...] >> The only way to get the Knuth in the quote is to remove "\letterpercent" >> in the lpath. > > so why do you use the \letterpercent then It was a minimal sample taken from from a larger project.

Re: [NTG-context] issue with lpath containing a hyphen

2016-11-20 Thread Hans Hagen
On 11/18/2016 11:32 PM, Pablo Rodriguez wrote: Hans, I have the following sample: \startbuffer[demo] is it working \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc}{xml:*} \xmlsetsetup{#1}