LaTeX forum ⇒ Generalhyperref links not working with includePDF

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

hyperref links not working with includePDF

Postby Cham » Wed Jul 23, 2014 7:43 pm

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:

User avatar
Stefan Kottwitz
Site Admin
Posts: 9436
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Jul 23, 2014 10:00 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
Site admin

User avatar
Cham
Posts: 904
Joined: Sat Apr 02, 2011 4:06 pm

Postby Cham » Wed Jul 23, 2014 10:16 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.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9436
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Jul 23, 2014 10:37 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
Site admin


Return to “General”

Who is online

Users browsing this forum: No registered users and 10 guests