General ⇒ hyperref package error
hyperref package error
! LaTeX Error: Option clash for package hyperref.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
Any ideas?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Re: hyperref package error
Stefan
Re: hyperref package error
\usepackage[pdfa]{hyperref}
\usepackage[a-1b,latxmp,mathxmp]{pdfx}[2019/02/27]
\usepackage{colorprofiles}
\hypersetup{%
unicode=true,
pdftoolbar=false,
pdfmenubar=false,
pdffitwindow=true,
pdfstartview={FitH},
pdfnewwindow=true,
colorlinks=true,
linkcolor=black,
citecolor=black,
filecolor=black,
urlcolor=blue
}
\PassOptionsToPackage <----- I figured this needs to go before the \documentclass
Re: hyperref package error

- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Re: hyperref package error
That's right, but before that package would also be ok.marbocam wrote: Fri Jan 17, 2025 5:50 pm \PassOptionsToPackage <----- I figured this needs to go before the \documentclass
Stefan
Re: hyperref package error
