4

Why do I get some error like

Paragraph ended before \Hy@setref@link was complete

when I insert table of contents in book class documents and the error dissapear when I place a comment in \usepackage{hyperref}?

0

1 Answer 1

5

This can happen when you have a faulty .aux file which is corrupted during a previous compile that could have had an error in it. Remove the faulty .aux file, and recompile (at least twice).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .