在我编辑 ACM sigconf 模板时,有时会出现此错误。添加/删除一些文本(例如部分)后,错误会消失,但这种情况发生的频率太高,所以我需要找到一个永久的解决方案。
Error: pdfTeX error (ext4): \pdfendlink ended up in different nesting level than \pdfstartlink. sample-sigconf.tex(1): Error: ==> Fatal error occurred, no output PDF file produced!
我查看了之前所有有类似错误的帖子。解决方案集中在可能存在链接中断,可以通过添加以下内容解决:\usepackage{hyperref}
这并没有解决我的问题。请不要将此帖子标记为重复,因为这些解决方案都对我没有帮助。
PS 因为这个问题是针对我的原文量身定制的,所以我无法发布我的原文。如果我更改了段落数,它就会消失。我所能发布的只是我正在处理的模板和包:
\documentclass[sigconf]{acmart}
\usepackage[T1]{fontenc} %to solve the font error
\usepackage{lmodern} %to solve the font error
\usepackage{epstopdf} %convert eps to pdf
\usepackage{placeins} %for \FloatBarrier before references
\usepackage{underscore} %for underscoresent
\usepackage{hyperref}
%-------------------------for the table-----------------------------
\usepackage{colortbl}
\usepackage{array}
\usepackage{booktabs}
\usepackage{multirow}
\newcommand{\head}[1]{\textnormal{\textbf{#1}}}
\newcommand{\normal}[1]{\multicolumn{1}{l}{#1}}
\usepackage{amssymb}% http://ctan.org/pkg/amssymb
\usepackage{pifont}% http://ctan.org/pkg/pifont
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
\newcommand*\rot{\rotatebox{90}}
\usepackage{tabularx}
\usepackage{threeparttable, tablefootnote}
%---------- for diagram requires msc package -------------------
\usepackage{msc}
\usepackage{xcolor}
\newcommand{\quotes}[1]{``#1''} %for qoutation marks
%--------------------------------------------------------------
% Copyright
%\setcopyright{none}
%\setcopyright{acmcopyright}
%\setcopyright{acmlicensed}
\setcopyright{rightsretained}
%\setcopyright{usgov}
%\setcopyright{usgovmixed}
%\setcopyright{cagov}
%\setcopyright{cagovmixed}
% DOI
\acmDOI{10.475/123_4}
% ISBN
\acmISBN{123-4567-24-567/08/06}
%Conference
\acmConference[AAA 2017]{ACM Conf.}{2017}{USA}
\acmYear{2017}
\copyrightyear{2017}
\acmPrice{15.00}
\begin{document}
\title{Title}
\author{Author}
\affiliation{%
\institution{Instit}}
\email{[email protected]}
\maketitle
\begin{abstract}
Abstract here.
\end{abstract}
\section{Section 1}
Section.
\end{document}