From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78574 Path: news.gmane.org!not-for-mail From: john Culleton Newsgroups: gmane.comp.tex.context Subject: Re: Defining a title font. Date: Thu, 4 Oct 2012 12:03:31 -0400 Organization: WexfordPress Message-ID: <20121004120331.447d58df@sda3.wexfordpress.net> References: <20121002173838.30205e71@sda3.wexfordpress.net> <5BD58520-7B2D-4214-9817-D7FBC8F4DCE3@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349391931 1436 80.91.229.3 (4 Oct 2012 23:05:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2012 23:05:31 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 05 01:05:35 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TJu7l-0008RN-8K for gctc-ntg-context-518@m.gmane.org; Fri, 05 Oct 2012 00:42:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6423F10231; Thu, 4 Oct 2012 18:04:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ehQ0Odi4h0Br; Thu, 4 Oct 2012 18:04:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 46D5410205; Thu, 4 Oct 2012 18:04:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F04CA10205 for ; Thu, 4 Oct 2012 18:03:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lJp+k8NriHTc for ; Thu, 4 Oct 2012 18:03:57 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 2F522101F4 for ; Thu, 4 Oct 2012 18:03:56 +0200 (CEST) Original-Received: from qmta01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:16]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q94G3rXd005358 for ; Thu, 4 Oct 2012 18:03:55 +0200 Original-Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by qmta01.westchester.pa.mail.comcast.net with comcast id 71lN1k0011swQuc5143xyQ; Thu, 04 Oct 2012 16:03:57 +0000 Original-Received: from sda3.wexfordpress.net ([68.50.233.152]) by omta15.westchester.pa.mail.comcast.net with comcast id 740x1k0193HwwZ83b40ywR; Thu, 04 Oct 2012 16:00:58 +0000 In-Reply-To: <5BD58520-7B2D-4214-9817-D7FBC8F4DCE3@gmail.com> X-Mailer: Claws Mail 3.7.10cvs86 (GTK+ 2.24.4; i686-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2001:558:fe14:43:76:96:62:16; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07I743SeO - 8d02aae1eb5d - 20121004 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78574 Archived-At: 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 -------------------------- -- 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 ___________________________________________________________________________________