I reduce my problem to the following example:








I compile the file with the command latexmk --pdf and get the following error:

! A <box> was supposed to be here.
<to be read again> 
l.5 \end{theindex}

line numbers referring to the ind generated file which reads as:


  \item j, \hyperpage{1}


The error can be reproduced on the docker image: ghcr.io/xu-cheng/texlive-full

  • Works for me when using pdflatex + makeindex + pdflatex (via arara).
    – chsk
    May 1, 2021 at 10:01
  • The problem is the usual one: classicthesis loads hyperref at a wrong time.
    – egreg
    May 1, 2021 at 10:23


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.