ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: [NTG-context] Re: XML: Correct usage of hash symbol in url
Date: Fri, 25 Aug 2023 10:35:07 +0200	[thread overview]
Message-ID: <734de8f1-e86e-5502-065e-d9bb555eff77@freedom.nl> (raw)
In-Reply-To: <ZRAP278MB0495250B92D776D9493C540C83E3A@ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM>

On 8/25/2023 10:16 AM, denis.maier@unibe.ch wrote:
> Hi,
> I need to process URLs in XML documents differently depending on the target. Thanks to Hans and Thomas I can now deal with the attributes.
> Now I need to prefix certain kind of targets with a certain URL (a web viewer for IIIF images in this particular case). The prefix contains a #, which, as a special character seems to cause an error. Adding a double hash seems to work, but those ## will end up in the link URL. How can I properly escape a single #? I've already tried using \Ux{23}, but that won't work either.

                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl

If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net

  reply	other threads:[~2023-08-25  8:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-25  8:16 [NTG-context] " denis.maier
2023-08-25  8:35 ` Hans Hagen via ntg-context [this message]
2023-08-27 11:52 ` [NTG-context] Re: XML: Correct usage of hash symbol in url / new upload Hans Hagen via ntg-context

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:

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

  git send-email \
    --in-reply-to=734de8f1-e86e-5502-065e-d9bb555eff77@freedom.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@freedom.nl \


* 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