我正在尝试使用国家核研究机构包来编译文件,但我一直收到错误:
TraditionalBuilder: Engine: lualatex. Invoking latexmk... done.
Errors:
/usr/share/texlive/texmf-dist/tex/latex/newtx/newtxtext.sty:472: LaTeX Error: File `realscripts.sty' not found. [ \ifntx@KOMA]
No warnings.
我安装了并重新安装了十几个不同网站推荐的几乎所有软件包,但都无济于事。我正在运行基于 Ubuntu (22.04.2 LTS) 的系统,请问我该如何解决这个问题?
这个基本文件足以重现该问题:
\documentclass[fleqn,usenatbib]{mnras}
\usepackage{newtxtext,newtxmath}
\usepackage[T1]{fontenc}
\DeclareRobustCommand{\VAN}[3]{#2}
\let\VANthebibliography\thebibliography
\def\thebibliography{\DeclareRobustCommand{\VAN}[3]{##3}\VANthebibliography}
\usepackage{graphicx} % Including figure files
\usepackage{amsmath} % Advanced maths commands
\title[Short title, max. 45 characters]{Some title}
\author[J. Smith et al.]{
James Smith,$^{1}$\thanks{E-mail: [email protected]}
\\
$^{1}$Institute of etc
}
\date{Accepted XXX. Received YYY; in original form ZZZ}
\pubyear{2023}
% Don't change these lines
\begin{document}
\label{firstpage}
\pagerange{\pageref{firstpage}--\pageref{lastpage}}
\maketitle
% Abstract of the paper
\begin{abstract}
Abstract
\end{abstract}
\begin{keywords}
keyword1 -- keyword2 -- keyword3
\end{keywords}
\section{Introduction}
Some intro