From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33106 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: XeTeX and OpenType LM Date: Fri, 2 Feb 2007 16:40:15 +0100 Message-ID: <6faad9f00702020740i481a92b7vd08ac37003055762@mail.gmail.com> References: <6faad9f00701302044o5172093ay9510e345dc019ce3@mail.gmail.com> <45C078E0.8080003@wxs.nl> <6faad9f00701310858q5c2792aft3774199f01a33af1@mail.gmail.com> <45C2F59E.1010804@wxs.nl> <6faad9f00702020523i7f10b847j52a9bf8e74c2e634@mail.gmail.com> <45C341C3.6010508@wxs.nl> 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: sea.gmane.org 1170430834 9366 80.91.229.12 (2 Feb 2007 15:40:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Feb 2007 15:40:34 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 02 16:40:26 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 1HD0WX-0007pZ-Tw for gctc-ntg-context-518@m.gmane.org; Fri, 02 Feb 2007 16:40:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DEE58233; Fri, 2 Feb 2007 16:39:54 +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 19707-06-3; Fri, 2 Feb 2007 16:39:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6E9C3247; Fri, 2 Feb 2007 16:39:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02C4E247 for ; Fri, 2 Feb 2007 16:39:48 +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 19707-06-2 for ; Fri, 2 Feb 2007 16:39:45 +0100 (CET) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by ronja.ntg.nl (Postfix) with ESMTP id 4AE46233 for ; Fri, 2 Feb 2007 16:39:45 +0100 (CET) Original-Received: by nf-out-0910.google.com with SMTP id k27so1074148nfc for ; Fri, 02 Feb 2007 07:40:15 -0800 (PST) Original-Received: by 10.48.48.18 with SMTP id v18mr6648073nfv.1170430815188; Fri, 02 Feb 2007 07:40:15 -0800 (PST) Original-Received: by 10.48.209.2 with HTTP; Fri, 2 Feb 2007 07:40:15 -0800 (PST) In-Reply-To: <45C341C3.6010508@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:33106 Archived-At: On 2/2/07, Hans Hagen wrote: > Mojca Miklavec wrote: > > On 2/2/07, Hans Hagen wrote: > > > >> Mojca Miklavec wrote: > >> > >>> ... much much text .. begging for []'s ... > >>> > >>> > >> How about this ... no quotes in specs, only file: or name: in front of > >> the name, and for xetex we default to filenames using file: > >> > > > > I would default to "name:" > > > no, because that way we can use existing context typescripts and i'm not > going to add a complete extra set now (clows down too much); so, if > names are used prefix it with name: How do you mean "existing typescripts"? OpenType names (lmroman12-regular) are different than Type1 names (ec-lmr12) anyway. I already did it for Latin Modern (I can run a few regular expressions on that file to replace \definexetexfontsynonym with something more suitable), and I can do it for the rest of Polish font names as well if needed. But in any case: I guess that if there are two regimes (file & name), at least for what's hidden from user, it would make sense to set it to "file:" explicitely. Btw: In the patch that I sent you in the first mail in this thread is also a section which originally had a "TODO" in type-enc.tex: \starttypescript [serif] [modern,latin-modern,computer-modern] [uc,texnansi,ec,qx,t5] \definefontsynonym [cmr5] [LMRoman5-Regular] [encoding=\typescriptthree] \definefontsynonym [cmr6] [LMRoman6-Regular] [encoding=\typescriptthree] \definefontsynonym [cmr7] [LMRoman7-Regular] [encoding=\typescriptthree] instead of \definefontsynonym [cmr5] [lmr5] [encoding=\typescriptthree] \definefontsynonym [cmr6] [lmr6] [encoding=\typescriptthree] \definefontsynonym [cmr7] [lmr7] [encoding=\typescriptthree] Do the corrections look OK? > > I need to try to run these, but I like the syntax. Although it would > > probably make sense to default to "name" (so: no brackets, > > \def\fontfilesome#1{"#1"}) under XeTeX. Those fonts that come as .otf > > are relatively rare and for those (I have Polish fonts in mind) > > ConTeXt can provide ready typescripts with "file:" prefix. I assume > > that for most users it would be an overhead having to write "name:" > > for each single font that they want to use, and most such fonts are > > probably installed on the system. > > > > There is one more thing though. I'm taking these from Adam's notes on the wiki: > > > > \definefontsynonym > > [DidotCaps] > > ['Didot:mapping=tex-text; > > Letter Case=Small Capitals;Ligatures=!Common Ligatures'] > > [encoding=uc] > > > that will be done differently, with a features key: > \definefont[...][...][features=] > > and lowlevel that one will be xetex'd or luatex'd Great! It will be much better that way. Mojca