From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28514 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: ec encoding and tcaron Date: Sat, 10 Jun 2006 00:08:51 +0200 Message-ID: <6faad9f00606091508j786a5ba6gc34a8f5d0a2d825c@mail.gmail.com> References: <20060609103342.42d8e29d@mx1.kerio.com> <44895044.5060108@econ.muni.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1149890946 8938 80.91.229.2 (9 Jun 2006 22:09:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2006 22:09:06 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 10 00:09:05 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FopA5-0003tp-8G for gctc-ntg-context-518@m.gmane.org; Sat, 10 Jun 2006 00:09:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C8C3312883; Sat, 10 Jun 2006 00:09:00 +0200 (CEST) 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 27143-01; Sat, 10 Jun 2006 00:08:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8B00B1287F; Sat, 10 Jun 2006 00:08:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 18F541287F for ; Sat, 10 Jun 2006 00:08:55 +0200 (CEST) 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 25602-01 for ; Sat, 10 Jun 2006 00:08:52 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by ronja.ntg.nl (Postfix) with SMTP id 4F1361286E for ; Sat, 10 Jun 2006 00:08:52 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id h2so620410nfe for ; Fri, 09 Jun 2006 15:08:52 -0700 (PDT) Original-Received: by 10.49.3.16 with SMTP id f16mr2790256nfi; Fri, 09 Jun 2006 15:08:51 -0700 (PDT) Original-Received: by 10.48.162.14 with HTTP; Fri, 9 Jun 2006 15:08:51 -0700 (PDT) Original-To: "mailing list for ConTeXt users" In-Reply-To: <44895044.5060108@econ.muni.cz> 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:28514 Archived-At: On 6/9/06, Michal Kvasnicka wrote: > Hi Richard. > > I'm sure the EC encoding contains the 'tcaron' character (see the > > lm-ec.enc file for example). > > I have ConTeXt on top of TeXLive 2005. > > I can find: > > texmf/fonts/enc/dvips/base/ec.enc > > texmf/fonts/enc/dvips/lm/ec-lm.enc > > texmf/fonts/enc/dvips/lm/lm-ec.enc > > > > I use EC normally for typesetting Czech documents. So I would suggest > > to use EC ;-) > I'm sorry you're not right. The lm-ec.enc really includes tcaron, but > neither ec.enc nor EC.enc does, at least at my teTeX 3.0. If you use > only LatinModern, it works, because lm-ec.enc is used. But I doubt it > works well for other fonts. Does it? I was unsuccessful. Can you send me > your ec.enc file please? Approximately a year ago there was a discussion on tex-fonts mailing list about fixing ec.enc (for example there's a glyph called "dbar", which is agains any standards: in Unicode it's called "d with stroke" and according to Adobe standards it should be called "dcroat"; and many more inconsistencies). The result of the discussion was something like: "No, we may not change this since it may break functionality of some fonts which used that standard years ago. Googling for this and that reveales that some fonts still use those old glyph names ..." (perhaps Google found 4 hits or so ...) The explanation/excuse was that everyone using modern glyph names should create his own "ec.enc" (just as it was done for Latin Modern). I would recommend you to use lm-ec.enc or tex256.ec ("fixed" version of ec.enc which should be present in the same folder as ec.enc). The Polish guys did their best to follow the standards, so the ec file of Latin Modern should be OK for most fonts. If some glyph is still missing, you can manually change the encoding definition (and then note that specific encoding in map file as well, in the same was as it's done for LM). You can test the resulting font with \showfont[yourfontname] % where yourfountname should preferrably be ec-something In that way you'll spot any missing glyphs pretty easily. About xl2.enc: it is incomplete and neiter supported by ConTeXt (it could be, but there's no real benefit) nor by most popular fonts (you have to create metrics and everything by yourself, so your files might be highly unportable). I dropped the idea about using it pretty soon. It's not impossible to use it, but probably not worth it. Mojca