From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37342 Path: news.gmane.org!not-for-mail From: "Jeff Smith" Newsgroups: gmane.comp.tex.context Subject: Re: Some update woes on Linux Date: Mon, 12 Nov 2007 19:22:43 -0500 Message-ID: <2e8813a0711121622g5d5df6b1t3d386e006e815017@mail.gmail.com> References: <2e8813a0711061350x4e171db0n72449be50a7e6a68@mail.gmail.com> <6faad9f00711061407x14ef688s36a5881e56d4dbbe@mail.gmail.com> <2e8813a0711061602g47304c19ge735b0f46f5f5286@mail.gmail.com> <68c491a60711070106q521f3e49n3d5f32e4204f11df@mail.gmail.com> <2e8813a0711091457j49929d4fi18641ec202e2ea4@mail.gmail.com> <6faad9f00711100307q38376adapd6ce5964de911c1d@mail.gmail.com> <2e8813a0711100844w38cc2e12kaeec1cfa91f2a969@mail.gmail.com> <6faad9f00711101823h7c4aba6an3c763656851b80b1@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 1194915227 4052 80.91.229.12 (13 Nov 2007 00:53:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2007 00:53:47 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 13 01:53:51 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 1Irk2H-0001si-VN for gctc-ntg-context-518@m.gmane.org; Tue, 13 Nov 2007 01:53:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EAB7A1FA86; Tue, 13 Nov 2007 01:53:37 +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 28493-02-16; Tue, 13 Nov 2007 01:53:37 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2FD941FB57; Tue, 13 Nov 2007 01:22:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AF3EA1FAE7 for ; Tue, 13 Nov 2007 01:22:51 +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 22698-07-10 for ; Tue, 13 Nov 2007 01:22:46 +0100 (CET) Original-Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.228]) by ronja.ntg.nl (Postfix) with ESMTP id 42AC51FAD7 for ; Tue, 13 Nov 2007 01:22:46 +0100 (CET) Original-Received: by nz-out-0506.google.com with SMTP id m7so1472921nzf for ; Mon, 12 Nov 2007 16:22:44 -0800 (PST) Original-Received: by 10.115.79.1 with SMTP id g1mr164554wal.1194913364094; Mon, 12 Nov 2007 16:22:44 -0800 (PST) Original-Received: by 10.114.37.3 with HTTP; Mon, 12 Nov 2007 16:22:43 -0800 (PST) In-Reply-To: <6faad9f00711101823h7c4aba6an3c763656851b80b1@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:37342 Archived-At: On Nov 10, 2007 9:23 PM, Mojca Miklavec wrote: > Of course not :) > > You can say (features=default is optional) > \definefontsynonym[SomeFont][name:Font Name][features=default] > which means that XeTeX will call the font > \font\somefont="FontName;mapping=tex-text,..." (tex-text is > implied by features=default) > > Back in January and before one achived the same by saying > \definefontsynonym[SomeFont]['Font Name;mapping=tex-text'][encoding=uc] > Now encoding=uc is not needed any more since it's implied when one > runs XeTeX or LuaTeX. To be honest, it's not completely clear to me > what should happen with type-xtx typescripts (how to remove uc > encoding from there). > > The other possibility is to say > \definefontsynonym[SomeFont][file:lmroman12-regular][features=default] > which means that XeTeX will load the font "lmroman12-regular.otf" from > texmf tree, the equivalent in plain XeTeX being > \font\somefont="[lmroman12-regular];mapping=tex-text,..." > > When there is neither file: nor name: prefix > (\definefontsynonym[SomeFont][lmr12]), it means that XeTeX will try to > load a font in this order > - lmr12 (good old tfm fonts) > - "lmr12" > - "[lmr12]" > (the order might change) Hmmm.. must I use \setupbodyfont as well when using the \definefontsynonym method? Because those alternative methods don't work. This works: \definetypeface[corps][rm][Xserif][Garamond Premier Pro] \setupbodyfont[corps,12pt] But not this: \definefontsynonym[corps][name:Garamond Premier Pro][features=default] or \definefontsynonym[corps][file:GaramondPremrPro.][features=default] or \definefontsynonym[corps][Garamond Premier Pro][features=default] I see the default Times font instead (it compiles ok). Jeff ___________________________________________________________________________________ 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 ___________________________________________________________________________________