13 Apr
2015
13 Apr
'15
7:02 p.m.
Am 10.04.2015 um 15:31 schrieb Hans Hagen
: On 4/10/2015 12:26 PM, Wolfgang Schuster wrote:
Hi Hans,
the character spacing mechanism should be disabled for certain commands because it produces unwanted spaces when you want to typeset a URL.
\setcharacterspacing[frenchpunctuation]
\useurl[google][https://www.google.com]
\starttext
text: «text»
\goto{\hyphenatedurl{https://www.google.com}}[url(https://www.google.com)]\vrule
\goto{\resetcharacterspacing\hyphenatedurl{https://www.google.com}}[url(https://www.google.com)]\vrule
\url[google]\vrule
\resetcharacterspacing\url[google]\vrule
\stoptext
like this?
\appendtoks \resetfontfeature \resetcharacterspacing \to \everyhyphenatedurl
Looks good. Wolfgang