[tex-live] Problem with cp1251
Martin Sievers
martin at dante.de
Thu Nov 16 11:40:52 CET 2017
Am 16.11.2017 um 11:06 schrieb Siep Kroonenberg:
> On Thu, Nov 16, 2017 at 12:37:07AM +0300, Victor Krym wrote:
>> Hello, Siep!
>>
>> TeXLive started to work after reinstallation. Yet it does not recognize
>> Russian characters.
>> What is the correct header? I use
>>
>> \documentclass[12pt,a4paper]{article}
>> \usepackage[cp1251]{inputenc}
>> \usepackage[russian]{babel}
>> \usepackage{amsmath,amssymb}
>> \usepackage{graphicx}
>
> I am no expert in cyrillic typesetting, but see e.g.
>
> https://tex.stackexchange.com/questions/816/cyrillic-in-latex
Dear Siep,
as suggested in the answer at the above url, you could use:
\documentclass{article}
\usepackage[T2A,T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian,english]{babel}
\begin{document}
Text in English
\begin{otherlanguage*}{russian}
Текст на русском языке
\end{otherlanguage*}
A word and another \foreignlanguage{russian}{слово}
\end{document}
Best regards
Martin
More information about the tex-live
mailing list