RE: [NTG-context] changing from oldstyle to upright
>= Original Message From Taco Hoekwater <[EMAIL PROTECTED]> = >> Switching to oldstyle is easy: >> But how do I locally switch back to upright? Declaring > >I don't think you can, actually. There are no metric files >for oldstyle in the latin modern distribution, only an encoding >vector (and .map). So once a map/encoding is defined for a given font/tfm set it cannot be changed by declaring another map; interesting. >The reverse of the old oldstyle trick should work though: > > \def\liningfigures#1{\mathematics{#1}} Yes! I should have thought of that! As always, thnx a million! Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] changing from oldstyle to upright
Idris Samawi Hamid wrote: Dear consortium, Switching to oldstyle is easy: \usetypescript [modern][\defaultencoding] \usetypescript [map] [latin-modern-os] [\defaultencoding] \setupbodyfont [modern] But how do I locally switch back to upright? Declaring I don't think you can, actually. There are no metric files for oldstyle in the latin modern distribution, only an encoding vector (and .map). Pdftex either uses entries from the 'lining' map file, or from the 'oldstyle' mapfile, but it has no way of distinguising between the two (the fonts have the same metrics). The reverse of the old oldstyle trick should work though: \def\liningfigures#1{\mathematics{#1}} Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context