On Wed, 3 Oct 2012 10:45:39 +0200
Wolfgang Schuster <wolfgang.schus...@gmail.com> 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
--------------------------

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at http://www.booklocker.com/books/4055.html
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to