Hi, Thanks for your explanation. I understand the problem now ! But unfortunately, the example you provide is not working for me. The pdf file displays the wrong characters for both \starttyping \stoptyping ... jp PS: sorry for not providing an example in my first mail. I am using yours now .... Le jeudi, 18 sep 2003, à 00:18 Europe/Paris, Patrick Gundlach a écrit :
Hi,
Jean-Pierre Le Narzul
writes: Any idea ?
Yes: don't use computer-modern fonts. They don't have { } and _ except for typewriter.
Use any other font encoded in ec or texnansi or whatever encoding. See for example latin-modern:
================================================== \starttext
\setuptyping[typing][color=black,style=\ss,escape=/,option=commands]
\starttyping hello_world {brace} \stoptyping
\setupencoding [default=ec] \usetypescript [all] [latin-modern] [\defaultencoding]% \setupbodyfont[reset]% \setupbodyfont[cmr]%
\starttyping hello_world {brace} \stoptyping
\stoptext ==================================================
Patrick
PS: and please (!!!) provide a minimal but complete working (or no-working) example next time. It would save the others some time.
-- Silent is the goldfish in its bowl _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context