Re: [NTG-context] issue with css selector in lpath

2017-12-18 Thread Pablo Rodriguez
On 12/15/2017 07:55 AM, Hans Hagen wrote: > On 12/14/2017 10:18 PM, Pablo Rodriguez wrote: >> [...] >> Since the selector is basic in css (and escaping it gives a very weird >> css), could you consider that it might not be required to escape # as >> css selector? > > then #1 would not work Hans,

Re: [NTG-context] issue with css selector in lpath

2017-12-14 Thread Hans Hagen
On 12/14/2017 10:18 PM, Pablo Rodriguez wrote: On 12/14/2017 09:39 PM, Hans Hagen wrote: On 12/14/2017 8:46 PM, Pablo Rodriguez wrote: .header works fine, it is only #header that breaks compiliation. I hope Hans can fix it (or explain what I’m doing wrong). There's nothing to fix, as

Re: [NTG-context] issue with css selector in lpath

2017-12-14 Thread Pablo Rodriguez
On 12/14/2017 09:39 PM, Hans Hagen wrote: > On 12/14/2017 8:46 PM, Pablo Rodriguez wrote: >> .header works fine, it is only #header that breaks compiliation. >> >> I hope Hans can fix it (or explain what I’m doing wrong). > > There's nothing to fix, as mentioned already # is kind of special in >

Re: [NTG-context] issue with css selector in lpath

2017-12-14 Thread Hans Hagen
On 12/14/2017 8:46 PM, Pablo Rodriguez wrote: On 12/13/2017 10:22 AM, MF wrote: Il giorno mar, 12/12/2017 alle 22.36 +0100, Pablo Rodriguez ha scritto: [...] But {header, #header} shouldn’t be a problem, accorrding to http://pragma-ade.com/general/manuals/xml-mkiv.pdf#page=34. If this isn’t a

Re: [NTG-context] issue with css selector in lpath

2017-12-14 Thread Pablo Rodriguez
On 12/13/2017 10:22 AM, MF wrote: > Il giorno mar, 12/12/2017 alle 22.36 +0100, Pablo Rodriguez ha scritto: >> [...] >> But {header, #header} shouldn’t be a problem, accorrding to >> http://pragma-ade.com/general/manuals/xml-mkiv.pdf#page=34. >> >> If this isn’t a bug, I wonder what I’m doing

Re: [NTG-context] issue with css selector in lpath

2017-12-13 Thread MF
Il giorno mar, 12/12/2017 alle 22.36 +0100, Pablo Rodriguez ha scritto: > On 12/11/2017 11:51 PM, mf wrote: > > I think it's the "#header" without the name of an element before. > > Try specifying an element you find in your document (i.e. > > "{{header, > > tag#header}}"), just to see if it

Re: [NTG-context] issue with css selector in lpath

2017-12-12 Thread Pablo Rodriguez
On 12/11/2017 11:51 PM, mf wrote: > I think it's the "#header" without the name of an element before. > Try specifying an element you find in your document (i.e. "{{header, > tag#header}}"), just to see if it compiles. > > If it compiles, it's likely you found a bug. No, it doesn’t compile. But

Re: [NTG-context] issue with css selector in lpath

2017-12-11 Thread mf
I think it's the "#header" without the name of an element before. Try specifying an element you find in your document (i.e. "{{header, tag#header}}"), just to see if it compiles. If it compiles, it's likely you found a bug. Best wishes, Massi Il giorno lun, 11/12/2017 alle 21.51 +0100, Pablo

[NTG-context] issue with css selector in lpath

2017-12-11 Thread Pablo Rodriguez
Dear list, I have the following code: \xmlsetsetup{\xmldocument} {{header, #header}} {xml:titlepage} I guess this is right, but I get the following compilation error: tex error > tex error on line 303 in file pandoc-xhtml.tex: ! Illegal parameter number in definition