From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21903 Path: news.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: ec encoding and tcaron Date: Sun, 14 Aug 2005 11:02:16 +0200 Message-ID: <42FF0898.6050805@seznam.cz> References: <42FE238A.2080106@seznam.cz> <42FE5981.70106@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050301020409030701040509" X-Trace: sea.gmane.org 1124010158 6985 80.91.229.2 (14 Aug 2005 09:02:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Aug 2005 09:02:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 14 11:02:28 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 1E4ENt-0006oC-Fo for gctc-ntg-context-518@m.gmane.org; Sun, 14 Aug 2005 11:02:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D9F3212788; Sun, 14 Aug 2005 11:02:24 +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 11717-03; Sun, 14 Aug 2005 11:02:18 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E11612775; Sun, 14 Aug 2005 11:02:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C7DF912775 for ; Sun, 14 Aug 2005 11:02:16 +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 11763-02 for ; Sun, 14 Aug 2005 11:02:15 +0200 (CEST) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 744901276C for ; Sun, 14 Aug 2005 11:02:15 +0200 (CEST) Original-Received: (qmail 903 invoked from network); 14 Aug 2005 09:02:14 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@62.240.166.134) by bender.go.seznam.cz with SMTP; 14 Aug 2005 09:02:14 -0000 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42FE5981.70106@wxs.nl> X-Antivirus: avast! (VPS 0531-4, 05.08.2005), Outbound message X-Antivirus-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:21903 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21903 This is a multi-part message in MIME format. --------------050301020409030701040509 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hans Hagen wrote: > Vit Zyka wrote: >=20 >> 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 = >> 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 = >> 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 = >> 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} >=20 >=20 >=20 > i see utf8 here -) Yes, my e-mail client work in utf8. For reading good solution, next I=20 attach zip for testing. >> \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 s= hould=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 = >> 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 = >> from enco-il2. But any other (perhaps more appropriate) combination li= ke >> \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. >=20 >=20 > firts of all, i need zipped test files, since mailes mess around with=20 > encodings. >=20 > 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 I am using latest greatest alpha with new formats with newtexexec... (I got it in the beginning of the week for testing sorting.) > don't worry, it should work ok, >=20 > 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) I am using ec font encoding, il2 only as input encoding (regime). I can=20 use any other in xemacs, but il2 is from historical reason. Never mind, problem is the same with utf8 input encoding, see=20 attachment. I beleive the problem is not in il2 but somewhere in ec. Clue: Where texfont gives info about appercase letters for -ca switch=20 (pseudo small caps)??? > 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 = > is why context now ships with generic patterns that can be used in othe= r=20 > font encodings as well; >=20 > regimes are just part of the input game, the active chars expand to=20 > names glyphs that themselves expand to characters; so, if something doe= s=20 > not work as you expect, well we should make it work. This theory is clear for me. Until this weekend I though it is clear=20 even practically. But now my char code travelling mechanism is broken :-(= Moment, the idea that comes from Moica's example .... yes! Line \enableregime[utf] is enough, but in case of il2 you shoud type \input regi-lat \enableregime[latin2] How people recognize that some regimes are preloaded and some not? What=20 about some error/warning message if using not loaded regime? So regime starts to be clear again. The only question is: Where ConTeXt gives il2 mapping info if one types \enableregime[il2]??? (There is no 'il2' string in regi-*.tex; is it from enco-il2.tex?) --- Please look in the attachment for the \tcaron problem. vit --------------050301020409030701040509 Content-Type: application/zip; name="uppercase.zip" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="uppercase.zip" UEsDBBQAAAAIAOxSDjOaIpS6kAAAALkAAAANAAAAdXBwZXJjYXNlLnRleItJzUtMykktSk3P zE2NLi1Ji+Xl4uWKKS1OLaksSC1OLsosKInOzU9JLcqLjU5NBsrGAKVKC5LyUyrT8vNKog0N Ckp0inIh2opLEotKSlIrSoDs3NTi4sT01GoFm5iSjNSY0uRkoCmGFgZ2CrWqmNI5EGkTC4j0 0aVHlxydcXRmTLh/kEs1jFcLtiK/AGQDAFBLAwQUAAAACAC0Ug4zrdIV/lkFAAASEQAADQAA AHVwcGVyY2FzZS5sb2e1WG2P4jYQ/u5fMV/aW64QkpAAi+6Qqqvafmh1lXp9kXqVapIJuJvY rm12l6vuv3ecBAxa9m4XqQjYMJ7n8TPj8du+2wgL9NZl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QS8ZzBo6bDl64K2qo6JTpvujOfWHnstQBlB nfN65MviCf5UNnq7qkUxqpunuT+R+CCEN/bZmCDpjyRK/n10HrSUYyIY0wXleFIcmLDRbheR x8eWhV1I4wMILIGEPYXlOMfnSI442KdIHhPxCQ3sYSj78XgmU0fEjplOg/rzzEygi9dj8yCd MRgA+x4N+pPPRt1Bsy02oCogQS8sXbMaZXawU1uqEywXjG5k8xys89dEC7TueN9pkk8zBpMs S6d9GxQbbujWRRfVg9ckTvMpg2yaTud0o7tTprS+oe+kdyOq6XwaE91sPslJT+1Ee+sx7Tme rj5g8Z8tnXTxQJ3E9Poq99+MjnLzWZ4H+vagJ2Sl6MnANG0NdniCjeO2MW0J0oS2yp3e0KW2 3QvwvkDd3hmPMRRIJobJXA6zaz1Ms3w1zJOZpfh5cQO0dYoTiBcnhvQth1N6JETb7WqY+T+W /fTNtx7qaIURhaVEz8Cb1Opvuq8eWCZxF2MMkjd0aSyR3DuZQdwkiWcp5SGkgGrP8H2efaAt 9dZpj+hHJ88nU/a5UqSsj8tboe24bvxsoLIj08dXD2ClXyl7kD98J+OuUD2ubkwSR7paLdnb ToP/B4OjmzolOyzsVPJwldCpe41DSNMkm8Bq59AOIvYfUEsBAhYAFAAAAAgA7FIOM5oilLqQ AAAAuQAAAA0AAAAAAAAAAQAgAAAAAAAAAHVwcGVyY2FzZS50ZXhQSwECFAsUAAAACAC0Ug4z rdIV/lkFAAASEQAADQAAAAAAAAABACAAAAC7AAAAdXBwZXJjYXNlLmxvZ1BLBQYAAAAAAgAC AHYAAAA/BgAAAAA= --------------050301020409030701040509 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------050301020409030701040509--