Am 29.01.2011 um 06:42 schrieb David Rogers:

> * John Culleton <j...@wexfordpress.com> [2011-01-28 16:39]:
> 
>> Is there a short, simple guide somewhere that shows how to use TTF and
>> OTF fonts in Context? I downloaded the new Fonts chapter but it goes
>> deep into the weeds on typescripts etc.  I am looking for a method
>> that allows me to do in Context what I can already do in most other
>> DTP programs: simply designate for use a font or font family that
>> exists in /usr/share/fonts without typescripts, complex and confusing
>> aliasing schemes or tfm files.
> 
> The Simplefont module by Wolfgang Schuster is very good for my (not
> highly demanding) purposes. Certainly it is intended to do just what you
> describe.

Or you use \definetypeface and specserif, specsans and specmono, e.g.

\definetypeface[mainface][rm][specserif][Times New Roman][default]
\definetypeface[mainface][ss][specsans] [Arial]          [default]
\definetypeface[mainface][tt][specmono] [Courier]        [default]
\definetypeface[mainface][mm][math]     [times]          [default]

\setupbodyfont[mainface]

\starttext
…
\stoptext

Wolfgang





___________________________________________________________________________________
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