I have to use XeTeX, because it helps to set an arbitary font both in a text and math mode (or newtxmath in a math mode).
I've noticed that the polyglossia package has a bug with the \normalfont command. Here is a detailed description of this bug by @egreg.
After the polyglossia package updating (to a recent version) in MikTeX the problem is fixed, however the following errors have been appeared:
Undefined control sequence. ...ctlanguage *[babelshorthands=true]{russian}
Undefined control sequence. ...ctlanguage *[babelshorthands=true]{russian}
Encoding scheme `' unknown. ...ctlanguage *[babelshorthands=true]{russian}
Undefined control sequence. ^^I\begin{document}
Undefined control sequence. ^^I\begin{document}
Encoding scheme `' unknown. ^^I\begin{document}
Undefined control sequence. ^^I\begin{abstr}
Undefined control sequence. ^^I^^I\par{\normalfont
Undefined control sequence. ^^I^^I\par{\normalfont
Encoding scheme `' unknown. ^^I^^I\par{\normalfont
Undefined control sequence. ^^I\end{abstr}
Undefined control sequence. ^^I\end{abstr}
Encoding scheme `' unknown. ^^I\end{abstr}
Undefined control sequence. ^^I\end{document}
Undefined control sequence. ^^I\end{document}
Encoding scheme `' unknown. ^^I\end{document}
Undefined control sequence. ...ctlanguage *[babelshorthands=true]{russian}
Undefined control sequence. ...ctlanguage *[babelshorthands=true]{russian}
Encoding scheme `' unknown. ...ctlanguage *[babelshorthands=true]{russian}
Overfull \hbox (29.36624pt too wide) in paragraph
in MWE:
\documentclass[extrafontsizes,a4paper,*pt,oneside,openany]{memoir}
\usepackage{fontspec} %[no-math] How can I use the Newton instead of newtxmath?
%\usepackage{newtxmath} %math font of TNR type
\usepackage{polyglossia}[2014/05/21]
\setmainlanguage[babelshorthands=true]{russian} %
\setotherlanguage{english}
\setmainfont{Arial} %%
% \setsansfont{Newton}
% \setmonofont{Newton}
\newenvironment{abstr}{\small\itshape}{\normalfont\normalsize}
\begin{document}
\begin{abstr}
\par{\normalfont Key \textbf{words}.} Hey!
\end{abstr}
\newcommand{\fn}{\expandafter\string\the\font}
{\normalsize\selectfont ха-хаха Book\_name\_ch\_AuthorsSurnames\fn}
\fontname\font\\
$ a+b$
\end{document}
How to escape these errors? Please, I need your help!
Best regards, Vladimir
UPD1 MWE is updated.
UPD2 the screenshot of the TexStudio
UPD3: I've followed the recommendations of @DavidCarlisle and @UlrikeFischer to go through the full log file. After that I've found the solution here.


abstrin not a defined environment. – Ulrike Fischer Dec 02 '19 at 13:55! LaTeX Error: Environment abstr undefined.which is not surprising as it is not defined anywhere in this code. – David Carlisle Dec 02 '19 at 14:02\setmainfont. I need to useNewton, but now the problem is not associated with this font. – Vladimir Parkhomenko Dec 02 '19 at 14:10https://tex.stackexchange.com/questions/413775/error-the-current-roman-font-does-not-contain-the-cyrillic-script
– Vladimir Parkhomenko Dec 02 '19 at 14:40