pdflatex memoir 编译错误(未定义控制序列。[\ifmem@noetex])

pdflatex memoir 编译错误(未定义控制序列。[\ifmem@noetex])

我试图通过 memoir 包更改文档的外观,但在尝试生成 pdf 时遇到了一些错误。文档的源代码非常简单

\documentclass[12pt, a4paper, twoside, openany]{memoir}

\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english, russian]{babel}

\begin{document}

Some text.

\end{document} 

但是当我运行 pdflatex 时,它会产生以下错误

Errors:

/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:668: Undefined control sequence. [\ifmem@noetex]
/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:668: Extra \else. [\ifmem@noetex\relax\else]
/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:670: Extra \fi. [\fi]
/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:687: Undefined control sequence. [    \openright]
/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:709: Undefined control sequence. [\if@nyptsizeopt]
/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:717: Undefined control sequence. [  }]
/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:717: Undefined control sequence. [  }]
/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:717: Undefined control sequence. [  }]
/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:717: Undefined control sequence. [  }]
/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:717: Class memoir Error: You have used the `*pt' option but [  }]
/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:722: Extra \else. [\else]
/usr/local/texlive/2019basic/texmf-dist/tex/latex/memoir/memoir.cls:737: LaTeX Error: File `mem110.clo' not found. [        \input{mem1\@ptsize.clo}]

我尝试安装各种额外的软件包(最终安装了所有软件包),但仍然没有成功。此外,我尝试使用 Google 搜索 StackExchange,但我真的不知道这个错误的含义。

相关内容