I want to produce a PDF/A-1b compliant document. I am using pdflatex (MikTex 2.9) and TeXnicCenter. On the web, I've read that the "pdfx" package is the best way to do this. I installed pdfx according to the instruction on the web and it seems to be working.
However, as soon as I start to implement "\usepackage[a-1b]{pdfx}
" into my tex-file, the links in my document do not longer work, i.e. I cannot click on the link to switch to the destination of it, e.g. for referencing sections or citing bibliography entries.
Looking at "pdfx.sty" revealed that the "hyperref" package is loaded with the option "draft":
\RequirePackage[draft,pdftex,pdfpagemode=UseNone,bookmarks=false]{hyperref}
I tried to change this option using \hypersetup{final}
, but this did not work.
I also tried changing the corresponding line in "pdfx.sty" directly to
\RequirePackage[final,pdftex,pdfpagemode=UseNone,bookmarks=false]{hyperref}
but this didn't work either (I updated the Miktex file name database before I ran pdflatex).
Also, changing the link-appearence, e.g. its color, cannot be manipulated either (see example).
Could someone please tell me if it's possible to have working links within a pdf document that has been created with the "\usepackage[a-1b]{pdfx}
" command?
Here's an MWE:
\documentclass{book}
\usepackage[a-1b]{pdfx}
\usepackage{lipsum}
% Appearance of links cannot be manipulated
\hypersetup{linkcolor = {0 0 1}}
% Activating "Final" option does not influence links
\hypersetup{final = true}
\begin{document}
\chapter{Dummy title 1}
\label{label_1}
\lipsum
\chapter{Dummy title 2}
Make reference to chapter \ref{label_1}
\end{document}
\hypersetup{colorlinks,linkcolor=blue}
I get a blue colored link from the reference to the chapter title. Whether this is a valid PDF/X file I don't know.