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