Am 04.10.2012 um 18:03 schrieb john Culleton <j...@wexfordpress.com>:

> 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

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

___________________________________________________________________________________
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