Can't get cyrillic symbols from class file. A minimal example follows.
.cls
\ProvidesClass{class}
\renewcommand{\normalsize}{\fontsize{9}{10}\selectfont}
\RequirePackage{tempora}
\AtBeginDocument{}
\AtEndDocument{}
\def\thepage{1}
\newenvironment{proof}{%
\subparagraph{Доведення}%
}{%
}
\def\subparagraph{\@startsection
{subparagraph}{4}{0pt}{16pt}{-1em}{}}
.tex
\documentclass{class}
\usepackage[T1, T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english, ukrainian]{babel}
\begin{document}
\begin{proof}
proof goes here
\end{proof}
А тут працює!
\end{document}
text/x-tex; charset=us-ascii
, i'm translating a book, where should i move such definitions? Create.sty
for it?inputenc
before introducing non-ascii stuff. But i would rather not do that.