Re: cyrillic characters in mathematical symbols

Leo Butler <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <[email protected]>
[email protected] writes:

> ********************************************************
> Caution: This message was sent from outside the University of Manitoba.
> ********************************************************
>
>> Sent: Wednesday, June 09, 2021 at 1:49 PM
>> From: "Leo Butler" <[email protected]>
>> To: "help-texinfo gnu" <[email protected]>
>> Subject: Re: cyrillic characters in mathematical symbols
>>
>> [email protected] writes:
>>
>> >> On Thu, May 13, 2021 at 03:18:03PM +0200, [email protected] wrote:
>> >> > Does texinfo accept cyrillic characters in mathematical symbols?
>> >> >
>> >>
>> >> I don't know about mathematics formatting.  There doesn't appear to be
>> >> any special support for it in texinfo.tex.  I have this file on my
>> >> hard disk (based on copyright page it is the Texinfo manual from 1999),
>> >> but I don't know how it was produced.
>> >
>> > Could we figure that out?
>> >
>> > There are a lot of russian mathematical work, which although
>> > published are hardly ever cited.  And it would be better if
>> > people could use the original nomenclature than using other
>> > symbols such as greek or latin instead.
>>
>> texinfo.tex has \DeclareUnicodeCharacter, which has all the power you
>> need, I suspect.
>>
>> Btw, as a mathematician, I don't feel compelled to use the same symbols
>> as someone else. The ideas are important, the packaging is less so.
>>
>> Leo
>
> Of course, but expanding the possibilities is not a bad thing either.  I still
> find value in standardisation, rather than having everybody using a different
> nomenclature, especially during reviews.
>
> Do you know how to use the feature you mentioned? Perhaps some examples would
> help greatly.
>
> Many thanks.

I don't know my way around the cyrillic alphabet, but here is what I do
with greek. I put this code in a file `tex-macros.texi' that is
conditionally loaded.

%% emacs lisp:
%% (maphash (lambda(k v)
%% 	 (when (string-match "^greek small letter \\([a-z]+\\)$" k)
%% 	   (insert (format "\n\\DeclareUnicodeCharacter{0%X}{\\ensuremath\\%s}" v
%%                            (downcase (match-string 1 k)))))) ucs-names)
\DeclareUnicodeCharacter{0371}{\ensuremath\heta}
\DeclareUnicodeCharacter{03B1}{\ensuremath\alpha}
\DeclareUnicodeCharacter{03B2}{\ensuremath\beta}
\DeclareUnicodeCharacter{03B3}{\ensuremath\gamma}
\DeclareUnicodeCharacter{03B4}{\ensuremath\delta}
\DeclareUnicodeCharacter{03B5}{\ensuremath\epsilon}
\DeclareUnicodeCharacter{03B6}{\ensuremath\zeta}
\DeclareUnicodeCharacter{03B7}{\ensuremath\eta}
\DeclareUnicodeCharacter{03B8}{\ensuremath\theta}
\DeclareUnicodeCharacter{03B9}{\ensuremath\iota}
\DeclareUnicodeCharacter{03BA}{\ensuremath\kappa}
\DeclareUnicodeCharacter{03BB}{\ensuremath\lamda}
\DeclareUnicodeCharacter{03BB}{\ensuremath\lambda}
\DeclareUnicodeCharacter{03BC}{\ensuremath\mu}
\DeclareUnicodeCharacter{03BD}{\ensuremath\nu}
\DeclareUnicodeCharacter{03BE}{\ensuremath\xi}
\DeclareUnicodeCharacter{03BF}{\ensuremath\omicron}
\DeclareUnicodeCharacter{03C0}{\ensuremath\pi}
\DeclareUnicodeCharacter{03C1}{\ensuremath\rho}
\DeclareUnicodeCharacter{03C3}{\ensuremath\sigma}
\DeclareUnicodeCharacter{03C4}{\ensuremath\tau}
\DeclareUnicodeCharacter{03C5}{\ensuremath\upsilon}
\DeclareUnicodeCharacter{03C6}{\ensuremath\phi}
\DeclareUnicodeCharacter{03C7}{\ensuremath\chi}
\DeclareUnicodeCharacter{03C8}{\ensuremath\psi}
\DeclareUnicodeCharacter{03C9}{\ensuremath\omega}
\DeclareUnicodeCharacter{03DB}{\ensuremath\stigma}
\DeclareUnicodeCharacter{03DD}{\ensuremath\digamma}
\DeclareUnicodeCharacter{03DF}{\ensuremath\koppa}
\DeclareUnicodeCharacter{03E1}{\ensuremath\sampi}
\DeclareUnicodeCharacter{03E3}{\ensuremath\shei}
\DeclareUnicodeCharacter{03E5}{\ensuremath\fei}
\DeclareUnicodeCharacter{03E7}{\ensuremath\khei}
\DeclareUnicodeCharacter{03E9}{\ensuremath\hori}
\DeclareUnicodeCharacter{03EB}{\ensuremath\gangia}
\DeclareUnicodeCharacter{03ED}{\ensuremath\shima}
\DeclareUnicodeCharacter{03EF}{\ensuremath\dei}
\DeclareUnicodeCharacter{03F8}{\ensuremath\sho}
\DeclareUnicodeCharacter{03FB}{\ensuremath\san}

Leo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.