Another verbatim bug?
Dear gang, \type and \start-\stoptyping produce different results in the following instance: ======================= % output=pdf interface=en \starttext \type{texfont --help} \starttyping texfont --help \stoptyping \stoptext ======================= The bug is apparently in \type: it only generates one dash. Best Idris ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
Idris Samawi Hamid, April 17:
\type{texfont --help} ⋮ The bug is apparently in \type: it only generates one dash.
This doesn't happen on my system, but perhaps you're using a newer ConTeXt version than I am, nikolai (who's using the 2005.01.31 that ships with teTeX 3.0) -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Nikolai Weibull wrote:
Idris Samawi Hamid, April 17:
\type{texfont --help}
⋮
The bug is apparently in \type: it only generates one dash.
the Latin Modern fonts are in 'ec' encoding, and \type does not take that into account (yet). If you switch to texnansi encoding, the problem goes away: \usetypescript[modern][texnansi] \setupbodyfont[modern] Greetings, Taco
Taco Hoekwater wrote:
Nikolai Weibull wrote:
Idris Samawi Hamid, April 17:
\type{texfont --help}
⋮
The bug is apparently in \type: it only generates one dash.
the Latin Modern fonts are in 'ec' encoding, and \type does not take that into account (yet). If you switch to texnansi encoding, the problem goes away:
\usetypescript[modern][texnansi] \setupbodyfont[modern]
this will be repaired in the next version of the ec metrics Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
Hans Hagen
-
Idris Samawi Hamid
-
Nikolai Weibull
-
Taco Hoekwater
-
Thomas A.Schmitz