On Thu, Apr 24 2008, Wolfgang Schuster wrote: > The content is the name of the typescript you want to use for the font > collection, > take for example you are interested to combine different fonts for one > document > to one collcetion. > > \starttypescript [letter] > \definetypeface [letter] [rm] [serif] [cambria] [default] > \definetypeface [letter] [ss] [serif] [corbel] [default] > \definetypeface [letter] [tt] [mono] [consolas] [default] > \stoptypescript > > \usetypescript[letter] > \setupbodyfont[letter]
Ok, I understand better now: - one meaning of starttypescript-stoptypescript is the definition of a typescript (2 arguments) - a second meaning is the definition of a font-collection (one argument) > > > Why this odd defintion I see now why why you have to enclose all synonyms > > > within a typescript environment. > > > > I don't have to, this works too: > > \starttypescript [urwgaramond] > > \setups[font:fallback:serif] > > [...] > > \stoptypescript > > \starttypescript [urwgaramond] > > [...] > > \definetypeface [\typescriptone] [] [serif] [] > > \stoptypescript > > What do you use for [...] in the second typescript. Pardon, here the full version: \starttypescript [urwgaramond] \setups[font:fallback:serif] \definefontsynonym [Serif] [Garamond-Regular] \definefontsynonym [SerifBold] [Garamond-Medium] \definefontsynonym [SerifItalic] [Garamond-Italic] \definefontsynonym [SerifBoldItalic] [Garamond-MediumItalic] \stoptypescript \starttypescript [urwgaramond] \definefontsynonym [Garamond-Regular] [file:GaramondNo8-Reg] \definefontsynonym [Garamond-Medium] [file:GaramondNo8-Med] \definefontsynonym [Garamond-Italic] [file:GaramondNo8-Ita] \definefontsynonym [Garamond-MediumItalic] [file:GaramondNo8-MedIta] \definetypeface [\typescriptone] [] [serif] [] \stoptypescript This works too: \starttypescript [urwgaramond] \setups[font:fallback:serif] \definefontsynonym [Serif] [Garamond-Regular] \definefontsynonym [SerifBold] [Garamond-Medium] \definefontsynonym [SerifItalic] [Garamond-Italic] \definefontsynonym [SerifBoldItalic] [Garamond-MediumItalic] \stoptypescript \starttypescript [urwgaramond] \definefontsynonym [Garamond-Regular] [file:GaramondNo8-Reg] \definefontsynonym [Garamond-Medium] [file:GaramondNo8-Med] \definefontsynonym [Garamond-Italic] [file:GaramondNo8-Ita] \definefontsynonym [Garamond-MediumItalic] [file:GaramondNo8-MedIta] \stoptypescript \starttypescript [urwgaramond] \definetypeface [\typescriptone] [] [serif] [] \stoptypescript Thanks for all your explanations! Cheers, Peter -- http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________