> Am 10.04.2015 um 15:31 schrieb Hans Hagen <pra...@wxs.nl>:
> 
> 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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to