Changes

Jump to navigation Jump to search
fixed examples that aren't self-contained
for the heading of a chapter, section etc. E.g.
<context mode="mkiv" source="yes"texcode>
\definesimplefont[ChapterFont][Gentium Basic][size=24pt]
\setuphead[chapter][style=ChapterFont]
</contexttexcode>
but Wolfgang doesn’t recommend this command anymore (and removed it from the new, Oct. 2013 version) because you can get the same result with a custom typeface, e.g.
<context mode="mkiv" source="yes"texcode>\definesimplefonttypeface[chapterfont][Gentium BasicTeX Gyre Termes]
\definefont[ChapterFont][\classfont{chapterfont}{Serif} at 24pt]
\setuphead[chapter][style=ChapterFont]
</contexttexcode>
When you want to change only the global font for your document you
need the <code>\definesimplefonttypeface</code> command, e.g.
<context mode="mkiv" source="yes"texcode>\definesimplefonttypeface[documentfont][Gentium BasicTeX Gyre Termes]
\setupbodyfont[documentfont]
</contexttexcode>
=== Handling special cases ===
53

edits

Navigation menu