## LaTeX forum ⇒ General ⇒ hyperref links not working with includePDF

LaTeX specific issues not fitting into one of the other forums of this category.
Cham
Posts: 904
Joined: Sat Apr 02, 2011 4:06 pm

### hyperref links not working with includePDF

I made my title page with LaTeX, and there are some hyperref links (URLs) in it. PDFLaTeX then created a small PDF file (all hyperref links are working in this PDF file). I added the PDF title-page to the main LaTeX document, using the `\includePDF` command.

Now, the final PDF file as the proper title-page, but its hyperref links aren't working anymore.

I concluded that the URL link mechanism is broken by the `\includePDF` command.

Is there a way to make the links back ?

Tags:

Stefan Kottwitz
Posts: 9436
Joined: Mon Mar 10, 2008 9:44 pm
Such including destroys links of the included pdf file. The cause is more in the way PDF works.

You can fix it using the pax package. It provides a Java program which reads the hyperlinks and stores them into a file which can be processed by TeX later when including. Like an extension of graphics, files are included but the stored links would be inserted.

It may be a bit cumbersome, so you may decide if it's worth the work.

Stefan

Cham
Posts: 904
Joined: Sat Apr 02, 2011 4:06 pm
Thanks Stefan.

I've read somewhere else that the solution is really painfull to apply. I don't think it's really worth all the troubles, just for a few URLs on the title page. They also said that this may be a bug in LaTeX.

Stefan Kottwitz
Posts: 9436
Joined: Mon Mar 10, 2008 9:44 pm
Cham wrote:They also said that this may be a bug in LaTeX.

Try including a PDF in Microsoft Word, Viso, OpenOffice or LibreOffice. Does it work somewhere, can you see it in any program, except raw pdf tools like pdftk which concatenate PDF files?

Stefan