TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the lipics document class. I want to use the hyperref package with this and pass some parameters to it. When I use this code,


I am getting the following error:

! LaTeX Error: Option clash for package hyperref.

When I try the following code,


I am getting 469 errors and the first one is:

! LaTeX Error: Missing \begin{document}.

What is the right way to combine lipics and hyperref?

share|improve this question
Welcome to TeX.SE. You could try \RequirePacakge[pdftex,bookmarks=false,pdfstartpage=5]{hyperref} before \documentclass? – Peter Grill Oct 6 '12 at 15:27
@peter-grill: The code you mentioned, gives the following warning: Package hyperref Warning: Option 'pdfpagelabels' is turned off (hyperref) because \thepage is undefined. – Arindam Pal Oct 7 '12 at 3:54
@peter-grill: and the following errors: ! LaTeX Error: Command \maketitle already defined. ! LaTeX Error: Command \appendix already defined. – Arindam Pal Oct 7 '12 at 3:56
@Ok, I did not have the lipics class so was not able to test it myself. – Peter Grill Oct 7 '12 at 4:07
up vote 5 down vote accepted

You can use \hypersetup:


This suppresses the errors, but still leaves a warning:

Package hyperref Warning: Option `bookmarks' has already been used, setting the option has no effect on input line 2

To suppress the bookmarks, you can use the bookmark package and its depth option:

\usepackage{lipsum}% just to generate text for the example
share|improve this answer
This works fine. Thank you very much! – Arindam Pal Oct 7 '12 at 4:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.