From: john Culleton <John@wexfordpress.com>
To: ntg-context@ntg.nl
Subject: Re: Defining a title font.
Date: Thu, 4 Oct 2012 12:03:31 -0400 [thread overview]
Message-ID: <20121004120331.447d58df@sda3.wexfordpress.net> (raw)
In-Reply-To: <5BD58520-7B2D-4214-9817-D7FBC8F4DCE3@gmail.com>
On Wed, 3 Oct 2012 10:45:39 +0200
Wolfgang Schuster <wolfgang.schuster@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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-10-04 16:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-02 21:38 john Culleton
2012-10-03 8:45 ` Wolfgang Schuster
2012-10-04 16:03 ` john Culleton [this message]
2012-10-04 16:19 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121004120331.447d58df@sda3.wexfordpress.net \
--to=john@wexfordpress.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).