help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help using DeclareUnicodeCharacter for russian


From: Gavin Smith
Subject: Re: Help using DeclareUnicodeCharacter for russian
Date: Fri, 11 Jun 2021 06:04:54 +0100

On Thu, Jun 10, 2021 at 11:53 PM <ludvig-faddeev@gmx.com> wrote:
>
> I am trying to declare unicode characters for russian
>
> @macro ru
>
> \DeclareUnicodeCharacter{1040}{\ensuremath\rua}
> \DeclareUnicodeCharacter{1041}{\ensuremath\rube}
> \DeclareUnicodeCharacter{1042}{\ensuremath\ruve}
> \DeclareUnicodeCharacter{1043}{\ensuremath\rughe}
> \DeclareUnicodeCharacter{1044}{\ensuremath\rude}
> \DeclareUnicodeCharacter{1045}{\ensuremath\ruie}
> \DeclareUnicodeCharacter{1046}{\ensuremath\ruzhe}
> \DeclareUnicodeCharacter{1047}{\ensuremath\ruze}
>
> @end macro
>

As well as using @tex instead of @macro as Jacob said, where are you
getting the names \rua, \rube, \ruve from?

You would also have to make sure a Cyrillic font was loaded and access
the glyphs in that font. Look at the definition of \euro in
texinfo.tex for how a font can be loaded on demand.

I don't foresee a problem with adding this to texinfo.tex as it would
probably be only slightly more complicated than the Greek alphabet.

I expect that the document I sent earlier was written in the KOI-8
encoding (an 8-bit encoding) rather than Unicode.

I'm curious what the use of this is: do you speak Russian? Do Russian
mathematicians use Cyrillic letters for variables?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]