0

I have a problem running "csquotes" and "hyperref" with the option colorlinks together, producing the error:

! Missing = inserted for \ifnum.
<to be read again> 
                   \bgroup 
l.13   }

A MWE is:

\documentclass{article}

\usepackage{csquotes}
\usepackage[colorlinks]{hyperref}

\MakeAutoQuote*{<}{>}

\begin{document}
This is a test!
\end{document}

Does anyone know how to solve the problem? This is on TeXLive 2014 on Linux, fresh install.

Paulo Ney
  • 2,405
  • 1
    You should move \MakeAutoQuote*{<}{>} before loading hyperref or, perhaps better, where it is but as argument to \AtBeginDocument. Or, best of all, avoid < and > as quoting characters. – egreg Jun 30 '14 at 10:42
  • The first solution proposed does not work, the second does! – Paulo Ney Jun 30 '14 at 20:21
  • It's quite strange, but I can't reproduce the issue any more. – egreg Jun 30 '14 at 20:30
  • What version of hyperref are you using ? – Paulo Ney Jul 01 '14 at 01:00
  • I ask because I produced it running TeXLive 2014 which has an extremely old version of hyperref (2007/01/06 v6.75l). If you upgrade hyperref the problem goes away! – Paulo Ney Jul 01 '14 at 01:05
  • As far as I know, the version of hyperref on TeX Live 2014 is 2012/11/06 v6.83m – egreg Jul 01 '14 at 07:59
  • @egreg: Thanks! You are absolutely right! The version on TeX Live 2014 is 2012/11/06 v6.83m. It was my confusion in one of the systems here. Sorry about that! – Paulo Ney Jul 01 '14 at 12:24

0 Answers0