[NTG-context] LuaTeX finds font, mtxrun --fonts does not list it?
schuster.wolfgang at gmail.com
Thu May 28 12:38:15 CEST 2015
> Am 28.05.2015 um 11:37 schrieb Sandra Snan <sandra.snan at idiomdrottning.org>:
> Hans Hagen <pragma at wxs.nl> writes:
>> when resolving fonts context makes safe filenames for fonts so don't
>> worry about the - being gone
>> the fact that there is a luc file means that the font has been loaded so
>> the question is: how does your tex code look
>> what happens if you put file: before a name?
> Here is the full file. $body$ is filled in by pandoc.
> % interface output=luatex
Don’t load the simplefonts module because you don’t need it when you use the \definefontfamily command.
> \enableregime [utf-8]
You can drop this line because ConTeXt uses UTF-8 as default encoding.
> \setuppapersize[A4, portrait][A4, portrait]
There is no “portrait” keyword for the \setuppapersize and you can also drop this line because ConTeXt uses A4 as default paper size.
> \mainlanguage [sv]
> \setupfontsynonym [Serif] [handling=pure]
You can drop both lines because they are only used by MkII.
Don’t use the “file:” prefix in the third argument.
\definefontfamily [futura] [sans] [Futura LT]
> \definefontfamily [praise][serif][junicode]
Remove the line above because it’s only used by MkII.
When you use math in your text you have to set a font for it.
More information about the ntg-context