ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: typescript
Date: Sat, 19 Apr 2008 12:39:23 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.1.00.0804191234060.7179@nqv-yncgbc> (raw)
In-Reply-To: <87lk3axfw7.fsf@zapata.tots-ns.net>

Hi Antonie,

I am not a font expert, but this is what I understand.

On Sat, 19 Apr 2008, Antoine Junod wrote:

> And for the last part of my little type script:
>
> \starttypescript [GaramondPP]
>    \definetypeface [GaramondPP][rm][serif][garamondpp][default]
> \stoptypescript
>
> That part is for me a beautiful piece of ununderstanding :) First
> question: the first argument is the name we will use with the
> \usetypescript command. Right?

Yes

> Second question: the first argument of
> the \definetypescript is the name that will be used with the
> \setupbodyfont call. Is it right?

Yes

> Isn't there any conflict with the
> GaramondPP of the \starttypescript and the one of the \definetypeface?

No. Context is extremely clever in this respect.

> Or do they need to be the same?

No. Some of the old typescripts did use different names.

> Other question: how are related the
> three following parameters (rm, serif and garamondpp)?

rm is the font that gets activated by default with \setupbodyfont. You can 
get the ss font by saying \setupbodyfont[GaramondPP,ss]. I do not know why 
serif and sans (the third argument of \definetypescript are needed, it 
seems to be reduntant.

> And finally,
> what's the point of the 'default' argument?

You can create variants of fonts. For example, for math fonts, one has to 
occasionally use ams instead of default, this loads some of the 
definitions from \definemathcollection[ams]. I don't know what is loaded 
for non-math fonts.

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2008-04-19 16:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19 11:06 typescript Antoine Junod
2008-04-19 13:13 ` typescript Hans Hagen
2008-04-19 16:39 ` Aditya Mahajan [this message]
2008-04-19 17:12 ` typescript Henning Hraban Ramm
2010-03-15 21:32 typescript Michael Saunders
2010-03-15 21:35 ` typescript Aditya Mahajan
2010-03-15 21:42 ` typescript Hans Hagen
2010-03-15 21:46 ` typescript Philipp Gesang
2010-03-15 21:55   ` typescript Hans Hagen

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=alpine.DEB.1.00.0804191234060.7179@nqv-yncgbc \
    --to=adityam@umich.edu \
    --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).