From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21901 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: ec encoding and tcaron Date: Sat, 13 Aug 2005 22:35:13 +0200 Message-ID: <42FE5981.70106@wxs.nl> References: <42FE238A.2080106@seznam.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1123965330 28673 80.91.229.2 (13 Aug 2005 20:35:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Aug 2005 20:35:30 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 13 22:35:27 2005 Return-path: 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 1E42iB-0003Fs-8f for gctc-ntg-context-518@m.gmane.org; Sat, 13 Aug 2005 22:34:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0FB1F127B6; Sat, 13 Aug 2005 22:34:35 +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 27782-02; Sat, 13 Aug 2005 22:34:30 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4030C1278E; Sat, 13 Aug 2005 22:34:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D0D131278E for ; Sat, 13 Aug 2005 22:34:29 +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 27713-06-2 for ; Sat, 13 Aug 2005 22:34:28 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id C15A012788 for ; Sat, 13 Aug 2005 22:34:28 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j7DKYNvU031433 for ; Sat, 13 Aug 2005 22:34:23 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id CB7A017A85; Sat, 13 Aug 2005 21:46:33 +0200 (CEST) Original-Received: from [10.100.1.52] (unknown [10.100.1.52]) by server-1.pragma-net.nl (Postfix) with ESMTP id 66CDC9DF1 for ; Sat, 13 Aug 2005 19:46:32 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42FE238A.2080106@seznam.cz> X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21901 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21901 Vit Zyka wrote: > Hi all, > > let allowed me some pessimism. I am working on our=20 > 40-years-scout-group-bulletin intensively for more then a month. I=20 > have to solve many many technical problems instead on focusing on the=20 > design. The Bulletin is rather complex but many problems are 'simple'.=20 > I start to doubt if ConTeXt (and that is why TeX generally) is good=20 > tool for such typsetting. Detective debugging is good fun but if time=20 > is going, no results, and the list of todo technical unwanted features=20 > is increasing... > > Only some of these 'bugs' I presented in this list. Even such number=20 > would be looking as making only troubles. Never mind, here is another=20 > problem I am puzzled by for 4 hours... > > Please imagine a simple code in ISO-8859-2: > -------------------------------------- > \enableregime[il2] > %\enableregime[latin2] > > \usetypescript[modern][ec] > \setupbodyfont[10pt,rm] > > \starttext > =C5=A5=C5=A4 % \tcaron\Tcaron > \WORD{=C5=A5=C5=A4} i see utf8 here -) > > \stoptext > --------------------------------------- > It produces an error > ! Undefined control sequence. > =C2=A2 > It comes from the first letter inside \WORD{...}. The same letters=20 > outside \WORD are typeset OK. So =C5=A5 is not defined. But where it sh= ould=20 > be defined? \tcacon def is OK. Other diacritics chars e.g. \dcaron,=20 > \rcaron are OK. > > I was looking to enco-ec, enco-il2, regi-lat. Upper/lower mapping and=20 > char codes seems to be OK. But more I looking into I less understand=20 > it. There is no regi-il2 file, so I expect that appropriate info goes=20 > from enco-il2. But any other (perhaps more appropriate) combination lik= e > \enableregime[latin2] > \usetypescript[modern][ec] > or > \usetypescript[modern][il2] > gives totaly wrong glyphs. > > I believe that =C5=A5 uppecase bug also relates with ignoring making=20 > pseudo-caps for this letter by > texfont --fontroot=3DX: --en=3Dec --ve=3Dpublic --co=3Dlm --source=3D= auto=20 > --ca=3D0.8 lmbx10 > So problem is somewhere in ec encoding. > > Can somebody help please? Thanks and sorry for my embittering - it=20 > aims to my own head. firts of all, i need zipped test files, since mailes mess around with=20 encodings. next, can you try the alpha release, since it has some fixes (much of=20 the encodings were not complete in the sense of lc/uc mappings); also=20 mojca made teh latin encodings more complete don't worry, it should work ok, part of the problem is that il2 encoding (font encoding) is rather=20 useless and incomplete but it happened to be the prefered one for czech=20 cum suis (mostly computer modern related) and crossing language borders=20 was not part of the game; (the same is true for pl0 encoding for polish=20 and the polish computer modern; but qx encoding is supposed to handle=20 both polisg and czech etc ok) it's actually even more messy when one looks into hyphenation, since=20 most patterns are ec bases (czech patterns also can handle il2), which=20 is why context now ships with generic patterns that can be used in other=20 font encodings as well; regimes are just part of the input game, the active chars expand to=20 names glyphs that themselves expand to characters; so, if something does=20 not work as you expect, well we should make it work. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------