Received: by nummer-3.proteosys id <01C19443.9A9A086C@nummer-3.proteosys>; Thu, 3 Jan 2002 11:44:22 +0100 Return-Path: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19443.9A9A086C" x-vm-v5-data: ([nil nil nil nil nil nil nil nil nil][nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: {1} URGENT Date: Wed, 19 Feb 1992 22:23:40 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "yannis" Sender: "LaTeX-L Mailing list" To: "Rainer M. Schoepf" Reply-To: "LaTeX-L Mailing list" Status: R X-Status: X-Keywords: X-UID: 574 This is a multi-part message in MIME format. ------_=_NextPart_001_01C19443.9A9A086C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have the following (serious) problem: I'm using the Macintosh set of 8-bit characters for the input of = accented letters as well for the input of Greek and Russian (with the = corresponding Apple systems). This works in the following way: ^^88 for example is an a with grave accent. I define: \catcode"88=3D\active \def\`#1{...\ifx#1a\char"E0{}\else... etc } \def ^^88{\`a} where \char"E0 is the a with grave of the DC font. When I switch for example to Russian, ^^88 is the capital Yi which in the case of the WNCYR fonts is obtained by I; so ^^88 remains active, but now it's expansion is \def ^^88{I} This works fine, except in the case of LaTeX environments using the \uppercase primitive. As a matter of fact, in the case of ^^88=3Da with grave, one has \uccode"88=3D"CB and in the case of Russian, \uccode"88=3D"88 since it is already an uppercase letter. In the macro where the expansions of all active characters are defined I also include the \uccode s and \lccode s. Let's call this macros \DCMacCharacters and \CyrMacCharacters. If I use \section{Fran^^8dais et \CyrMacCharacters ^^f0^^f3^^f1^^f1^^ea^^e8^^e9} I'll get a tremendously long line in the AUX file, and furthermore the whole thing won't work because \uppercase first converts everything and then expands. So the problem is: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D How can I change \uccodes inside the argument of \section etc ? = =3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The best solution I could think of would be to make some kind of \addtosection command which would add a string to the current section name string. Between those two strings one could change the \uccodes. Dear Mr Lamport and all of you LaTeX-Gurus, please give multi-alphabet LaTeX documents a chance to survive! Yannis PS. In the case of Hebrew and Arabic, the problem is even worse: = uppercase and lowercase letters of the latin alphabet are used as transcriptions and as input for different Hebrew/Arabic letters. So \uppercase must certainly not change them. ------_=_NextPart_001_01C19443.9A9A086C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable {1} URGENT

I have the following (serious) problem:

I'm using the Macintosh set of 8-bit characters for = the input of accented
letters as well for the input of Greek and Russian = (with the corresponding
Apple systems). This works in the following = way:
  ^^88 for example is an a with grave = accent.
  I define: \catcode"88=3D\active
          &nbs= p; \def\`#1{...\ifx#1a\char"E0{}\else... etc }
          &nbs= p; \def ^^88{\`a}
  where \char"E0 is the a with grave of the = DC font.
  When I switch for example to Russian, ^^88 is = the capital Yi
  which in the case of the WNCYR fonts is = obtained by I; so ^^88 remains
  active, but now it's expansion is
          &nbs= p; \def ^^88{I}
This works fine, except in the case of LaTeX = environments using the
\uppercase primitive.

As a matter of fact, in the case of ^^88=3Da with = grave, one has
  \uccode"88=3D"CB
and in the case of Russian,
  \uccode"88=3D"88
since it is already an uppercase letter.

In the macro where the expansions of all active = characters are defined
I also include the \uccode s and \lccode s. Let's = call this macros
\DCMacCharacters and \CyrMacCharacters.

If I use
\section{Fran^^8dais et \CyrMacCharacters = ^^f0^^f3^^f1^^f1^^ea^^e8^^e9}
I'll get a tremendously long line in the AUX file, = and furthermore the
whole thing won't work because \uppercase first = converts everything and
then expands.

So the problem is:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
=3D  How can I change \uccodes inside the = argument of \section etc ?       = =3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D

The best solution I could think of would be to make = some kind of
\addtosection
command which would add a string to the current = section name string.
Between those two strings one could change the = \uccodes.

Dear Mr Lamport and all of you LaTeX-Gurus, please = give multi-alphabet
LaTeX documents a chance to survive!

Yannis

PS. In the case of Hebrew and Arabic, the problem is = even worse: uppercase
and lowercase letters of the latin alphabet are used = as transcriptions
and as input for different Hebrew/Arabic letters. So = \uppercase must
certainly not change them.

------_=_NextPart_001_01C19443.9A9A086C--