Hi Hans, and all gurus,

I noticed that the mkiv command
\setcharacterspacing[frenchpunctuation] 
influences even the \type environment: is this behavior wanted or is it a side 
effect?
Have a look at the following example in which 
\type{http://wiki.contextgarden.net} results in a space between « http » and « 
:// » as if the \type command were ignored regarding spacing.

Best regards: OK
%%% french-punctuation.tex
\mainlanguage[fr]
\setcharacterspacing[frenchpunctuation]

\setupinteraction
  [state=start,color=darkgreen]

\useURL
        [wiki]
        [http://wiki.contextgarden.net/]
        []
        [{\tt http://wiki.contextgarden.net/}]

\starttext
Here we are following the French rule of typesetting semicolumn: did you see?

However this rule should not be followed in \type{\type}\dots

\from[wiki]
\blank

\useURL{\type{http://wiki.contextgarden.net/Main_Page}}

\blank
\starttyping
http://wiki.contextgarden.net/Main_Page
\stoptyping

\blank
since otherwise the interaction in the latter example is broken. Indeed there 
should not be a space 
between \type{http} and \type{://}.
\stoptext
___________________________________________________________________________________
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