Help using DeclareUnicodeCharacter for russian

[email protected]
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <trinity-0a25155d-c9de-4c1a-8cff-19d7f307c38e-1623375882564@3c-app-mailcom-bs13>

> Sent: Friday, June 11, 2021 at 1:25 PM
> From: "Jacob Bachmeyer" <[email protected]>
> To: [email protected]
> Cc: "help-texinfo gnu" <[email protected]>
> Subject: Re: Help using DeclareUnicodeCharacter for russian
>
> [email protected] 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
> >
>
> Instead of "@macro"/"@end macro", try "@tex"/"@end tex".
>
>
> -- Jacob

I have tried that but still get the same problem.

Have also played with

@documentencoding UTF-8
@documentencoding ISO-8859-1
@documentencoding ISO-8859-2

before calling the unicode declarations.
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.