ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: TTF fonts and MKIV
Date: Sat, 29 Jan 2011 09:55:57 +0100	[thread overview]
Message-ID: <243DB1B6-45D4-4DE1-A61E-68D96D9A1D35@gmail.com> (raw)
In-Reply-To: <20110129054259.GA11435@beigebox>


Am 29.01.2011 um 06:42 schrieb David Rogers:

> * John Culleton <john@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	other threads:[~2011-01-29  8:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-28 21:39 John Culleton
2011-01-28 21:52 ` Marco Pessotto
2011-01-29 16:53   ` John Culleton
2011-01-30 15:34     ` Curly quotes was " John Culleton
2011-01-30 15:52       ` Wolfgang Schuster
2011-01-30 16:29         ` John Culleton
2011-01-30 21:52           ` Wolfgang Schuster
2011-01-31 20:45             ` John Culleton
2011-01-31 21:35               ` Wolfgang Schuster
2011-02-01 14:02           ` Mojca Miklavec
2011-01-29  5:42 ` David Rogers
2011-01-29  8:55   ` Wolfgang Schuster [this message]
2011-01-29  9:17     ` John Haltiwanger
2011-01-29  9:46       ` Hans Hagen
2011-01-29  9:51       ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=243DB1B6-45D4-4DE1-A61E-68D96D9A1D35@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).