From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37436 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Gentium Basic/Book Date: Tue, 20 Nov 2007 01:57:28 +0100 Message-ID: <6faad9f00711191657l43567a43n7a1ca8c50a73cfe1@mail.gmail.com> References: <7871fcf50711191004u2d74ec4er5dd75ac0a7174a03@mail.gmail.com> <7871fcf50711191357s3d050ea8x6a05d2bcca6dc007@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195520290 6921 80.91.229.12 (20 Nov 2007 00:58:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2007 00:58:10 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 20 01:58:15 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IuHRP-0001Yj-0v for gctc-ntg-context-518@m.gmane.org; Tue, 20 Nov 2007 01:58:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C6A8B1FC06; Tue, 20 Nov 2007 01:57:58 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20085-06-2; Tue, 20 Nov 2007 01:57:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 953371FBF9; Tue, 20 Nov 2007 01:57:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 972871FBE8 for ; Tue, 20 Nov 2007 01:57:39 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22180-03-6 for ; Tue, 20 Nov 2007 01:57:32 +0100 (CET) Original-Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.178]) by ronja.ntg.nl (Postfix) with ESMTP id 38D791FAE7 for ; Tue, 20 Nov 2007 01:57:30 +0100 (CET) Original-Received: by el-out-1112.google.com with SMTP id n30so688495elf for ; Mon, 19 Nov 2007 16:57:29 -0800 (PST) Original-Received: by 10.142.246.8 with SMTP id t8mr1379244wfh.1195520248476; Mon, 19 Nov 2007 16:57:28 -0800 (PST) Original-Received: by 10.143.40.7 with HTTP; Mon, 19 Nov 2007 16:57:28 -0800 (PST) In-Reply-To: <7871fcf50711191357s3d050ea8x6a05d2bcca6dc007@mail.gmail.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37436 Archived-At: On 11/19/07, Joel C. Salomon wrote: > Guess I asked for too much at once. > > I've downloaded the Gentium Basic/Basic Book set of fonts from > , and I'd like to use them with > ConTeXt. I ran texfont (with the command line texfont > --fontroot=c:\users\chesky\programs\context\tex\texmf-local > --sourcepath=... --vendor=sil --collection=gentium --makepath > --install), and now running texexec on the newly generated > texnansi-sil-gentium.tex produces some sort of glyph list. Rather than using texfont (half-broken anyway), use XeTeX or LuaTeX. (If you're using MikTeX and are willing to upgrade to MikTeX 2.7, you can process your documents with "texexec --xtx filename"; if you're using the standalone ConTeXt, you can process it with "--xtx" or "--lua".) Depending on whether you want to install those fonts or keep them in the tree there are slightly different approaches, but this should work for both LuTeX and XeTeX if you keep your files in the working directory or in texmf/fonts/opentype/...[somewhere here]... \starttypescript[serif][gentium-basic] \definefontsynonym[GentiumBasic] [file:GenBasR] [features=default] \definefontsynonym[GentiumBasicItalic] [file:GenBasI] [features=default] \definefontsynonym[GentiumBasicBold] [file:GenBasB] [features=default] \definefontsynonym[GentiumBasicBoldItalic][file:GenBasBI][features=default] \stoptypescript \starttypescript[serif][gentium-basic][name] \definefontsynonym[Serif] [GentiumBasic] \definefontsynonym[SerifItalic] [GentiumBasicItalic] \definefontsynonym[SerifBold] [GentiumBasicBold] \definefontsynonym[SerifBoldItalic][GentiumBasicBoldItalic] \stoptypescript \definetypeface[mygentium][rm][serif][gentium-basic][default] \setupbodyfont[mygentium,13pt] I don't know how you plan to mix those fonts, but "reverting to another typeface in case a glyph is missing" is a bad idea in this particular case, at least in my opinion (although it's conditionally doable) - how are you going to handle missing characters in bold typeface? One possibility would be to use: - Gentium for Roman & Italic - Gentium Basic for Bold & Bold Italic (and hope that you won't need any special characters for titles) Mojca ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________