<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="moz-cite-prefix">On 02/07/2024 18:30, Aleks Kleyn wrote:<br>
</div>
<blockquote type="cite" cite="mid:006401dacca5$948957f0$bd9c07d0$@org">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">\documentclass{amsbook}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">\usepackage{cmap}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">\usepackage[T2A,T2B]{fontenc}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">\usepackage[english,russian]{babel}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">\selectlanguage{russian}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">\begin{document}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">\renewcommand\chaptername{Дневник поиска}%<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">\chapter{Булеановы алгебры}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">\section{Порождённые отображения}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">text<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">\end{document}</span></p>
</blockquote>
<p><br>
</p>
<p>It's a bug in the class, it should never apply \uppercase to user input as it will break the encoding support.</p>
<p>If you patch it to use \MakeUppercase you get</p>
<p><br>
</p>
<p><img src="cid:part1.M8VQsQqQ.W4Ksm4E8@nag.co.uk" alt=""></p>
<p><br>
</p>
<p><br>
</p>
<p>\documentclass{amsbook}<br>
<br>
\usepackage{etoolbox}<br>
\makeatletter<br>
\patchcmd\@makechapterhead{\uppercase\@xp}{\MakeUppercase}<br>
                      {\typeout{patched}}{\typeout{notpatched}}<br>
\makeatother<br>
\usepackage[T2A,T2B]{fontenc}<br>
<br>
\usepackage[english,russian]{babel}<br>
<br>
\selectlanguage{russian}<br>
<br>
 <br>
<br>
\begin{document}<br>
<br>
\renewcommand\chaptername{Дневник поиска}%<br>
<br>
\chapter{Булеановы алгебры}<br>
<br>
\section{Порождённые отображения}<br>
<br>
text<br>
<br>
\end{document}<br>
</p>
<style type="text/css">.style1 {font-family: "Times New Roman";}</style><mc type="body"><br>
<br>
<p style="font-family: Verdana; font-size:10pt; color:#666666;"><b>Disclaimer</b></p>
<p style="font-family: Verdana; font-size:8pt; color:#666666;">The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: 30 St. Giles, Oxford, OX1 3LE, United Kingdom. Please see our
<a href="https://www.nag.com/content/privacy-notice">Privacy Notice </a>for information on how we process personal data and for details of how to stop or limit communications from us.<br>
<br>
This e-mail has been scanned for all viruses and malware by Microsoft Exchange Online (EOP)</p>
</body>
</html>