From: Tomas Hala <tomas.hala@mendelu.cz>
To: Mailing list ConTeXt <ntg-context@ntg.nl>
Subject: (My) problem with percent sign in URLs
Date: Mon, 14 Aug 2017 18:27:58 +0200 [thread overview]
Message-ID: <20170814162758.GC6614@akela.mendelu.cz> (raw)
Hi all,
I came across the problem with typesetting long URLs containing special
characters transformed to hexadecimal form. Hyphenation of URLs is needed.
Minimal examples (URL taken from our garden and adopted):
1. \hyphenatedurl{http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw\%20hpw}
2. \hyphenatedurl[]{http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw\%20hpw}
Ad 1:
Hyphenation of the URL is OK, but the output contains
percent sign preceded by escaping backslash.
Ad 2:
Percent sign is not escaped but hyphenation of the URL does not operate.
I hoped that there could be any option for this purpose but it seems not,
brackets are printed out, too.
Thank in advance for the help and best regards,
Tomas
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2017-08-14 16:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-14 16:27 Tomas Hala [this message]
2017-08-14 19:52 ` Pablo Rodriguez
2017-08-15 8:25 ` Tomas Hala
2017-08-15 8:36 ` Aditya Mahajan
2017-08-15 16:12 ` Tomas Hala
2017-08-15 16:52 ` (My) problem with percent sign in URLs -- about Wiki Tomas Hala
2017-08-15 17:07 ` Wolfgang Schuster
2017-08-15 18:28 ` Alan Braslau
2017-08-15 19:07 ` Pablo Rodriguez
2017-08-15 18:55 ` Pablo Rodriguez
2017-08-15 19:49 ` Tomas Hala
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=20170814162758.GC6614@akela.mendelu.cz \
--to=tomas.hala@mendelu.cz \
--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).