On Dec 5, 2010, at 20:27 , Procházka Lukáš wrote:

> Hello -
> 
> On Sun, 05 Dec 2010 18:34:34 +0100, Florian Wobbe <florian.wo...@awi.de> 
> wrote:
> 
>>  \definetypeface [\typescriptone] [mm] [math] [cambria] [default]
> 
> - I don't know what the meaning of individual parameters is:
> 
> \definetypeface
>  [\typescriptone] % What actually the \typescriptone does? What are other 
> options?

just a placeholder, which comes in handy when you want to define multiple 
entries at once:

\starttypescript [palatino,pagella]
  \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default]
\stoptypescript

is equivalent to:

\starttypescript [palatino]
  \definetypeface [palatino] [rm] [serif] [palatino] [default]
\stoptypescript
\starttypescript [pagella]
  \definetypeface [pagella] [rm] [serif] [pagella] [default]
\stoptypescript

see texmf-context/tex/context/base/type-otf.mkiv for lots of examples (BTW: 
this is the place, where cambria is defined).

>  [mm]             % OK, [re]define the 'mm' member of the font definition 
> bundle (= typeface)
>  [math]           % Why this when I just specified math to be [re]defined by 
> 'mm' one line above?

takes the fontsynonym from \starttypescript [math] [cambria] and not from 
\starttypescript [cambria].

again have a look at http://wiki.contextgarden.net/TypeScripts and 
texmf-context/tex/context/base/type-otf.mkiv. the examples are probably better 
than an explanation.

Florian

___________________________________________________________________________________
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