Am 04.10.2012 um 18:03 schrieb john Culleton
On Wed, 3 Oct 2012 10:45:39 +0200 Wolfgang Schuster
wrote: The command ___ mkluatexfontdb___ creates a font database for LaTeX (or more concrete the luaotfload package) but context has always used it___s own font database.
To update the font database for context you have to call ___mtxrun --script fonts --reload___ but the script searches for system fonts only on windows and mac machines. When you___re working on a linux system you have to set the ___OSFONTDIR___ variable first.
Read also this: http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database
Wolfgang
followed the advice in the wiki but with modifications. On my Slackware single-user system the OTF fonts are in /usr/share/fonts/OTF So my Context script now contains just two commands:
export OSFONTDIR=/usr/share/fonts/OTF context $1
And the title.tex file now looks like this:
------------------------------------ \usemodule[simplefonts] \definefont [titlefont][MyriadPro-Bold at 70bp] \definefont [subtitle][MyriadPro-Bold at 25bp] \startstandardmakeup \titlefont \centerline{Scribus} \vskip 10pt \subtitle \centerline {for} \vskip 10pt \titlefont \centerline{Book Covers} \subtitle
\vfil \centerline{Free Publishing Software Series} \vfil \rm \stopstandardmakeup
I changed your mixed code into ConTeXt code: \definefont [titlefont] [MyriadPro-Bold*default at 70bp] \definefont [subtitle] [MyriadPro-Bold*default at 25bp] \starttext \startstandardmakeup[align=middle] \startstyle[titlefont] Scribus \blank[10pt] \style[subtitle]{for} \blank[10pt] Book Covers \stopstyle \vfil \style[subtitle]{Free Publishing Software Series} \vfil \stopstandardmakeup \stoptext Wolfgang