On Sun, Aug 14, 2011 at 09:59, Wolfgang Schuster wrote:
For MkIV you can put the definition in “type-<font>.mkiv” and when put “\setupbodyfont[<font>]” in your document ConTeXt loads the file without the need for \usetypescriptfile.
Thank you. That is very useful to know.
When you want to support XeTeX and pdfTeX at the same time you have to use \beginNEWTEX and \beginOLDTEX when you want both of them in the same file but you can also put both in separate files where is loaded from type-<font>.mkii
\ifnum\texengine\pdftexengine \usetypescriptfile[type-<font>-pdftex] \else \usetypescriptfile[type-<font>-xetex] \fi
Thank you. So no general guidelines about the desired approach exist? (I'm thinking about type-one-<font>.mkii & type-otf-<font>.mkii.) Mojca