From: Rik <rik@panix.com>
To: ntg-context@ntg.nl
Subject: \hyphenatedurl problem
Date: Sat, 11 Apr 2015 01:20:27 -0400 [thread overview]
Message-ID: <5528AF1B.30008@panix.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1028 bytes --]
With versions from 20150325 and earlier, the following example code
produced nicely wrapped URLs. With current betas, the URLs do not wrap.
(Perhaps this is what Wolfgang meant when he wrote, in a reply in the
thread _Turning off French character spacing_:
The \url and \hyphenatedurl need to be fixed
but I do not know that for sure.)
\setupinteraction[state=start]
\starttexdefinition href #1
\goto{\hyphenatedurl{#1}}[url(#1)]
\stoptexdefinition
\useURL[aUrl][https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable]
\useURL[bUrl][https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable][][\hyphenatedurl{https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable}]
\starttext
goto href macro:
\href{https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable}\par
useURL without hyphenatedurl \from[aUrl]\par
useURL with hyphenatedurl \from[bUrl]\par
\stoptext
--
Rik Kabel
[-- Attachment #1.2: Type: text/html, Size: 2021 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2015-04-11 5:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-11 5:20 Rik [this message]
2015-04-13 17:19 ` Pablo Rodriguez
2015-04-13 18:45 ` Rik Kabel
-- strict thread matches above, loose matches on Subject: below --
2003-12-21 22:35 Tobias Burnus
2003-12-22 11:36 ` Hans Hagen
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=5528AF1B.30008@panix.com \
--to=rik@panix.com \
--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).