ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: issue with css selector in lpath
Date: Thu, 14 Dec 2017 22:18:33 +0100	[thread overview]
Message-ID: <fa9a6e32-b5cb-87a9-9801-691e44fab611@gmx.es> (raw)
In-Reply-To: <b0fd8c1e-5c74-8ceb-9bd0-48b81ed8f6b5@wxs.nl>

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	other threads:[~2017-12-14 21:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-11 20:51 Pablo Rodriguez
2017-12-11 22:51 ` mf
2017-12-12 21:36   ` Pablo Rodriguez
2017-12-13  9:22     ` MF
2017-12-14 19:46       ` Pablo Rodriguez
2017-12-14 20:39         ` Hans Hagen
2017-12-14 21:18           ` Pablo Rodriguez [this message]
2017-12-15  6:55             ` Hans Hagen
2017-12-18 22:33               ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fa9a6e32-b5cb-87a9-9801-691e44fab611@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).