X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["3593" "Thu" "19" "June" "1997" "00:43:02" "+0400" "Vladimir Volovich" "TeX@VVV.VSU.RU" nil "128" "Re: Multilingual TeX --- and a successor to TeX" "^Date:" nil nil "6" nil nil nil nil nil] nil) Received: from listserv.gmd.de (listserv.gmd.de [192.88.97.1]) by mail.Uni-Mainz.DE (8.8.5/8.8.4) with ESMTP id WAA09667; Wed, 18 Jun 1997 22:45:40 +0200 (MET DST) Received: from lsv1.listserv.gmd.de by listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <0.A786D6D0@listserv.gmd.de>; Wed, 18 Jun 1997 22:44:33 +0200 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 155569 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Wed, 18 Jun 1997 22:44:26 +0200 Received: from cc.vsu.ru (root@[194.226.29.62]) by relay.urz.uni-heidelberg.de (8.7.6/8.7.4) with ESMTP id WAA07293 for ; Wed, 18 Jun 1997 22:43:53 +0200 (MET DST) Received: (from uucp@localhost) by cc.vsu.ru (8.8.5-MVC-230497/8.8.5) with UUCP id AAA29996 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Thu, 19 Jun 1997 00:42:07 +0400 Received: from vvv (vvv@localhost [127.0.0.1]) by vvv.vrn.ru (8.8.5/8.8.5) with SMTP id AAA00182 for ; Thu, 19 Jun 1997 00:43:02 +0400 X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.1.42 i586) MIME-Version: 1.0 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <33A84856.4C60C211@vvv.vsu.ru> Reply-To: Mailing list for the LaTeX3 project Date: Thu, 19 Jun 1997 00:43:02 +0400 From: Vladimir Volovich Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: Multilingual TeX --- and a successor to TeX Status: R X-Status: X-Keywords: X-UID: 2110 Hello, Werner Lemberg wrote: > > Thank you, I now think that my first approach with changing uccode and lccode > > values foe russian letters in LCY encoding is not as good as I thought of it > > some time ago... I changed Babel LCY support to the `canonical' LaTeX solutions, > > and it works well (although slower than the simple approach; but this approach > > is more general and more stable in a multilingual environment). > > But what about sfcodes (and mathcodes) for russian letters? > > May one safely change 'em (and restore) when doing language switching? > > I think so. The only reason to be careful with lccodes is hyphenation. > AFAIK the effects of sfcodes will be applied immediately. Please correct > me if I'm wrong. I noticed two problems with using the `canonical' approach (with \DeclareInputText) in the LCY encoding: first, when I do not redefine \lccode and \uccode values, and use \inputenc, then all seems Ok, because russian letters become active characters after the line \usepackage[...]{inputenc}. But if I do not use inputenc, then russian letters are not active, -- and I get incorrect results in \MakeUppercase (as well as \uppercase). So, the user is forced to use \inputenc in this approach. [probably, this could be solved by including \inputenc for russian letters via \AtBeginDocument by examining the catcode of russian letter]. Second, I ran a LaTeX file which contained \setbox0=\hbox{...} % Here ... mean all (33) *uppercase* russian letters \showbox0 \setbox0=\hbox{\MakeUppercase{...}} % Here ... mean all (33) *lowercase* russian letters \showbox0 I expected to get the same results for these two \showbox commands. However, all kernings between letters disappeared in the second box. :-( I've got in a transcript file: > \box0= \hbox(7.5+1.94444)x261.195 .\LCY/cmr/m/n/10 ^^80 .\LCY/cmr/m/n/10 ^^81 .\LCY/cmr/m/n/10 ^^82 .\LCY/cmr/m/n/10 ^^83 .\kern-0.83334 .\LCY/cmr/m/n/10 ^^84 .\LCY/cmr/m/n/10 ^^85 .\LCY/cmr/m/n/10 ^^f0 .\LCY/cmr/m/n/10 ^^86 .\LCY/cmr/m/n/10 ^^87 .\LCY/cmr/m/n/10 ^^88 .\LCY/cmr/m/n/10 ^^89 .\LCY/cmr/m/n/10 ^^8a .\LCY/cmr/m/n/10 ^^8b .\LCY/cmr/m/n/10 ^^8c .\LCY/cmr/m/n/10 ^^8d .\LCY/cmr/m/n/10 ^^8e .\LCY/cmr/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/cmr/m/n/10 ^^9c .\LCY/cmr/m/n/10 ^^9d .\LCY/cmr/m/n/10 ^^9e .\LCY/cmr/m/n/10 ^^9f ! OK. l.27 \showbox0 ? x I've got also some problem with sans serif math alphabet for LCY encoding (in this approach), but I'll try to look at it more. -- With best regards, Vladimir.