Hi, You can use: \setcharacterspacing[reset] when you don’t want the French character spacing, and \setcharacterspacing[frenchpunctuation] when you want it. For instance for the interaction you would say: \setupinteraction[color=darkgreen,style={\setcharacterspacing[reset]\tt}] \setupinteraction [state=start] and for setting up the typing \setuptype[style={\setcharacterspacing[reset]\tt}] \setuptyping[style={\setcharacterspacing[reset]\tt}] Best regards: OK
On 10 Apr 2015, at 11:51, joasyannick@gmail.com wrote:
Dear everyone,
I am writting a French document. I would like to turn off the French character spacing temporarily in order to typeset English document title or URL. For instance, I would like to define the commands
\def\englishtitle#1{\turnofffrenchcharacterspacing{\em #1}\turnonfrenchcharacterspacing} \def\url#1{\turnofffrenchcharacterspacing{\em #1}\turnonfrenchcharacterspacing}
so that a title link “Example: English Title” will be italicised and will not have a space before “:”; and a URL like “http://www.example.com http://www.example.com/” neither.
Many thanks, Joas
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://tex.aanhet.net http://tex.aanhet.net/ archive : http://foundry.supelec.fr/projects/contextrev/ http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________