From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37462 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Gentium Basic/Book Date: Thu, 22 Nov 2007 12:30:20 +0100 Message-ID: <6faad9f00711220330r42eaa54fs9819a080bde89934@mail.gmail.com> References: <7871fcf50711191004u2d74ec4er5dd75ac0a7174a03@mail.gmail.com> <7871fcf50711191357s3d050ea8x6a05d2bcca6dc007@mail.gmail.com> <6faad9f00711191657l43567a43n7a1ca8c50a73cfe1@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 1195731082 17713 80.91.229.12 (22 Nov 2007 11:31:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Nov 2007 11:31:22 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 22 12:31:28 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 1IvAHB-0002Az-Qj for gctc-ntg-context-518@m.gmane.org; Thu, 22 Nov 2007 12:31:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 509361FC06; Thu, 22 Nov 2007 12:31:04 +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 02320-03; Thu, 22 Nov 2007 12:30:59 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 659B41FB0A; Thu, 22 Nov 2007 12:30:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D904D1FB0A for ; Thu, 22 Nov 2007 12:30:41 +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 02319-02-3 for ; Thu, 22 Nov 2007 12:30:25 +0100 (CET) Original-Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by ronja.ntg.nl (Postfix) with ESMTP id E1BD31FA93 for ; Thu, 22 Nov 2007 12:30:22 +0100 (CET) Original-Received: by wr-out-0506.google.com with SMTP id c47so2349332wra for ; Thu, 22 Nov 2007 03:30:21 -0800 (PST) Original-Received: by 10.142.178.13 with SMTP id a13mr2308055wff.1195731020696; Thu, 22 Nov 2007 03:30:20 -0800 (PST) Original-Received: by 10.143.40.7 with HTTP; Thu, 22 Nov 2007 03:30:20 -0800 (PST) In-Reply-To: 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:37462 Archived-At: On Nov 22, 2007 12:01 PM, Steffen Wolfrum wrote: > Hi Mojca, > > I tried your example below and struggled in path error: > > %\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,36pt] > > > \font\rom="Gentium Basic" at 36pt > > \starttext > > Test WQG 0196 > > \rom Test WQG 0196 > > \stoptext > > > Doing it like this works OK. > But uncommenting the lines above ends up in ... > > kpathsea: Running mktexmf GenBasR > > ! I can't find file `GenBasR'. > > > But isn't it the same font/file adressed in both cases? > > (sorry, I am an absolute beginner in xetex) No, my typescripts defile the font to be GenBasR.otf or GenBasR.ttf Apparently you have installed the font (I provided the example for the case when one puts fonts in TEXMF tree). In that case you need (for LuaTeX you might need to provide other names - not sure) \starttypescript[serif][gentium-basic] \definefontsynonym[GentiumBasic] [name:Gentium Basic] [features=default] \definefontsynonym[GentiumBasicItalic] [name:Gentium Basic/I] [features=default] \definefontsynonym[GentiumBasicBold] [name:Gentium Basic/B] [features=default] \definefontsynonym[GentiumBasicBoldItalic][name:Gentium Basic/BI] [features=default] \stoptypescript or, even more simple would be the following one-liner: \definetypeface[mygentium][rm][Xserif][Gentium Basic][default] 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 ___________________________________________________________________________________