Changes

Jump to navigation Jump to search
= Use of the different variations =
; #1. Define them as a new typescript (ConTeXt vocabulary) in your input file, with {{cmd|starttypescript}} and define the link between ''filenames'' and ''Human readable names'' with {{cmd|definefontsynonym}}.
<texcode>
% 1. From filenames to Human readable names
\starttypescript [mynotoserif]
% \definefontsynonym[Human readable] [file:filename without extension]
</texcode>
; #2. Define them as part of your font family, here as The boring step: define the link between ''ConTeXt basics names'' and the ''Human readable names''. It's good to define a romanfallback. 
<texcode>
\definefontfamily starttypescript [MyFontIdentifiermynotoserif] \setups[rmfont:fallback:serif] % security: if not found==> bask to defaults% \definefontsynonym[notoserifConTeXt bascics name][Human readable] [features=default] \definefontsynonym[Serif] [NotoSerif-Regular] [features=default] \definefontsynonym[SerifItalic] [NotoSerif-Italic] [features=default] \definefontsynonym[SerifBold] [NotoSerif-Bold] [features=default] \definefontsynonym[SerifBoldItalic] [NotoSerif-BoldItalic] [features=default]\stoptypescript
</texcode>

Navigation menu