From time to time while I am editing my ACM sigconf template, I get this error. With adding/removing some text (e.g. section), the error disappear but it happens so frequently that I need to find a permanent solution.

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!

I looked at all the previous posts with similar errors. Solution are centered around that there might be a link broken and this can be solved by adding: \usepackage{hyperref}

This does not solve the problem for me. Please, do not mark this post as duplicate as non of the solutions helped me.

P.S. Because the issue is tailored to my original text, I can not post my original text. If I changed the number of paragraphs, it disappear. All what I can post is the template and packages that I'm working on:

\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

%-------------------------for the table-----------------------------
\usepackage{amssymb}% http://ctan.org/pkg/amssymb
\usepackage{pifont}% http://ctan.org/pkg/pifont
\usepackage{threeparttable, tablefootnote}

%---------- for diagram requires msc package -------------------
\newcommand{\quotes}[1]{``#1''} %for qoutation marks

% Copyright



\acmConference[AAA 2017]{ACM Conf.}{2017}{USA} 





Abstract here. 

\section{Section 1}

  • It is the msc package, what do you need it for? – daleif Aug 4 '17 at 10:28
  • @daleif msc is a package for drawing message sequence diagrams. I used it before with other templates and no such error ever appeared. How did you know it is because of it? Also, the error disappear when I comment a text section. It works with the msc diagram. – user6875880 Aug 4 '17 at 10:30
  • No idea, mcs is still doing stuff that does not seem compatible with pdflatex. Are you sure you are filling in the amc macros correctly? I have no experince with it. – daleif Aug 4 '17 at 10:36
  • Just started over, basically remove the aux files etc. I no longer get any error with this. But get some non-pdf warnings, from msc. Exactly which latex installation are you using? I'm on TeXLive 2017. – daleif Aug 4 '17 at 10:40
  • I am using MikTex 2.9.6300. I deleted everything. It did not solve the problem. – user6875880 Aug 4 '17 at 10:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.