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 {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 wrong.
Many thanks for your reply,
Pablo
>
> Il giorno lun, 11/12/2017 alle 21.51 +0100, Pablo Rodriguez ha scritto:
>> 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 of \14>:xml:pandoc
>>
>> <to be read again>
>> h
>> <argument> ...en:h1}\xmlsetsetup {\xmldocument }{{header, ##h
>>
>> eader}}{xml:titlepage}\xml...
>> \syst_setups_start_xml_indeed ...1\expandafter {#3
>> }
>> l.303 \stopxmlsetups
>>
>> If I replace the code above with the following one, everything
>> compiles
>> fine:
>>
>> \xmlsetsetup{\xmldocument}
>> {{header, [id="header"]}}
>> {xml:titlepage}
>>
>> Am I missing something, or what am I doing wrong here?
>>
>> Many thanks for your help,
>>
>> Pablo
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the
> Wiki!
>
> maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________