[NTG-context] LuaTeX finds font, mtxrun --fonts does not list it?

Sandra Snan sandra.snan at idiomdrottning.org
Thu May 28 11:37:08 CEST 2015


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.

Sandra

% interface output=luatex
\usemodule[simplefonts][protrusion=quality,expansion=quality]
\setupsimplefonts[expansion=quality,protrusion=quality]
\setuppagenumbering[location=]
\enableregime	[utf-8]
\setuppapersize[A4, portrait][A4, portrait]
\setuplanguage[sv][leftquote=›,rightquote=‹,leftquotation=»,rightquotation=«]
\mainlanguage [sv]
\setupfontsynonym [Serif] [handling=pure]
\usetypescript[serif][hanging][pure]
\definefontfamily[futura][sans][file:futuralt]
\definefontfamily [praise][serif][junicode]

\setupalign[justified,hanging,hz]
\usetypescript[serif,sans,mono][hz][quality]
\setupbodyfont[praise]
\setuphead[section][style={\switchtotypeface[futura]\tfd}]
\starttext
$body$
\stoptext


More information about the ntg-context mailing list