1 April 2010

Hyperref with llncs bug

Filed under: Tips — András Salamon @ 10:32

Version 2.15 of Springer’s widely used llncs.cls LaTeX document class was released on 30 March 2010 to fix an incompatibility with the hyperref package.

If you have recently tried to use \usepackage{hyperref} in a LaTeX file that needs to use the llncs class, you may have seen

! Missing \endcsname inserted.
<to be read again>

when trying to LaTeX the file. This is at the point in your file where \maketitle appears. This is a soft error (just press return to ignore it), but the error means that metadata such as author, title, subject, or keywords does not make it into the PDF file generated by pdfLaTeX.

Version 2.14 of Springer’s widely used document class llncs.cls has stayed unchanged since 2004. It is specified as the preferred submission style for many conferences in computer science, not just those that are published in the LNCS series. Hyperref is fairly continuously updated by its maintainer Heiko Oberdiek (the original author was Sebastian Rahtz). But the solution is not to upgrade hyperref: the problem seems to be in the venerable llncs.

Instead, fetch the latest from Springer, and use the new llncs.cls (version 2.15) where the llncs class is needed.

(P.S. This is not an April Fool, Springer really did update llncs.cls! The update was made recently and I found no useful information online when wrestling with a file yesterday, wasting a lot of time diagnosing the problem. Maybe this post will save you some time.)



  1. You saved me a couple of days of hassle. Thanks.

    Comment by murdoch gabbay — 11 May 2010 @ 6:57 | Reply

  2. Thanks!

    Comment by Mate — 16 May 2010 @ 15:46 | Reply

  3. Wonderful! Thanks for sharing the tip.

    Comment by vincenzo — 16 June 2010 @ 13:46 | Reply

  4. Saved me some hassle too! Thanks!

    Any idea why I get extra blank space after floating figures and tables when enabling hyperref in a llncs document?

    Comment by Dominique — 5 July 2011 @ 20:18 | Reply

  5. I am using version 2.17, and it still prevents the section bookmarks from showing in the sidebar of the pdf viewer.

    Comment by Peter Gacs — 28 September 2011 @ 16:17 | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: