help-texinfo
[Top][All Lists]
Advanced

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

Re: cyrillic characters in mathematical symbols


From: Leo Butler
Subject: Re: cyrillic characters in mathematical symbols
Date: Thu, 10 Jun 2021 11:42:00 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

ludvig-faddeev@gmx.com writes:

> ********************************************************
> Caution: This message was sent from outside the University of Manitoba.
> ********************************************************
>
>> Sent: Wednesday, June 09, 2021 at 1:49 PM
>> From: "Leo Butler" <leo.butler@umanitoba.ca>
>> To: "help-texinfo gnu" <help-texinfo@gnu.org>
>> Subject: Re: cyrillic characters in mathematical symbols
>>
>> ludvig-faddeev@gmx.com writes:
>>
>> >> On Thu, May 13, 2021 at 03:18:03PM +0200, ludvig-faddeev@gmx.com 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



reply via email to

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