Skip to navigation

Small hyperref error solved

For the record. I got an error running hyperref:

Paragraph ended before \Hy@setref@link was complete

This was due to having a regulare closing parenthesis directly after the curly bracket that closed a \ref, like this: (see section \ref{section-1}). Putting in a space between the closing curly bracket and parenthesis solved the problem: ... section-1} )

9 Responses to “Small hyperref error solved”

  1. Hans Says:

    thanks! I encountered the same problem.

  2. Ian Says:

    Thanks, solved my problem.

  3. Spencer Says:

    This worked for me too. Thanks for sharing.

  4. Alexander Says:

    That’s awesome, man!
    Good solution

  5. dev poudel Says:

    delete all .aux files and problem will be solve

  6. Ulu Says:

    thx a lot! this really helps me!

  7. Santanu B Says:

    Thanks, to you and google, that brought me here! Someone should “fix” the hyperref package/file a bug – LaTex is supposed to be whitespace-agnostic!

  8. QL Says:

    This obscurant hack does NOT help at all!!!
    The damned hyperrref still fails with the same errror.
    After removing aux and toc files it runs one time relatively successfully,
    but on the next run th shit happens again.

  9. Eduardo Says:

    It worked for me! Thanks!