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 
> tex, so you need to escape it:
> 
> \xmlsetsetup{#1}{{\letterhash header}}{xml:header:id}

Many thanks for your reply, Hans.

I got it now. xml-mkiv.pdf contains not escaped samples of css
identifier selectors, which contributes to the confusion.

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?

(I would ask the same also for %, but I have never seen it in css.)

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

Reply via email to