我在 LyX 的网站上发布了一个错误报告:
https://www.lyx.org/trac/ticket/10607
维护人员不确定如何修复它并建议我前往 Stack Exchange。
简而言之,对于“美国数学学会 (AMS) 文章”文档类,存在一个错误,导致页面顶部的标题显示不正确。在 Stack Exchange 上,我发现了以下可能相关的问题:
MiKTeX 2.9、LyX 2.1、BibLaTeX:如何在参考文献中抑制标题字段后的语言?
LyX 的维护人员希望纠正这个错误。如果有人知道是什么原因造成的,请详细说明。如果需要更多信息,请告诉我。
来自 lyx trac 的测试文件:
%% LyX 2.1.5 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[letterpaper,oneside,english]{amsart}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{amsthm}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\pdfpageheight\paperheight
\pdfpagewidth\paperwidth
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\numberwithin{equation}{section}
\numberwithin{figure}{section}
\makeatother
\usepackage{babel}
\begin{document}
\title{Results which are going to change the world}
\author{\LyX{} user}
\date{2 April 2017}
\begin{abstract}
in this paper we will test a bug in \LyX{}.
\end{abstract}
\maketitle
\pagebreak{}
\section{Introduction}
...
\pagebreak{}
\section{Body}
...
\pagebreak{}
\section{Conclusion}
...
\begin{thebibliography}{1}
\bibitem{key-1}...\end{thebibliography}
\end{document}
谢谢你的帮助。我找到了导致错误的原因。请参阅 LyX 的原始帖子。