On Thu, Apr 24 2008, Hans Hagen wrote:
- What is the meaning of each parameter of \definetypeface?
see mfonts.pdf
There are examples, but I didn't find an explanation of the parameters. If I understand right, theses are synonyms: rm <-> serif ss <-> sans tt <-> mono mm <-> math I'm trying to reduce redundancy, and indeed this works very well: \definetypeface [\typescriptone] [] [serif] [] (This works too: \definetypeface [\typescriptone] [XXX] [serif] [YYY] ) In the end, I come up with the following typescript: \starttypescript [urwgaramond] \setups[font:fallback:serif] \definefontsynonym [Serif] [Garamond-Regular] \definefontsynonym [SerifBold] [Garamond-Medium] \definefontsynonym [SerifItalic] [Garamond-Italic] \definefontsynonym [SerifBoldItalic] [Garamond-MediumItalic] \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 \usetypescript[urwgaramond] \setupbodyfont[urwgaramond] Is this clean, or do you see any problems? Cheers, Peter -- http://pmrb.free.fr/contact/