I'm using pdflatex to generate pdf files and the pdfpages class to import pdf files into my document (\includepdf).
When a pdf file is imported it looses all of its bookmarks that were present in the original file. Is there a way to preserve the bookmarks in the new file?
Conversion Tools ⇒ pdflatex, pdfpages - import pdf with bookmarks
-
- Posts: 11
- Joined: Mon Oct 18, 2010 2:14 pm
pdflatex, pdfpages - import pdf with bookmarks
Last edited by SkyHiRider on Sat May 14, 2011 6:51 pm, edited 1 time in total.
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
pdflatex, pdfpages - import pdf with bookmarks
Hi,
pax can help to bring the bookmarks, hyperlinks and other PDF annotations to the new file.
Stefan
pax can help to bring the bookmarks, hyperlinks and other PDF annotations to the new file.
Stefan
LaTeX.org admin
-
- Posts: 11
- Joined: Mon Oct 18, 2010 2:14 pm
Re: pdflatex, pdfpages - import pdf with bookmarks
Thanks, didn't know about pax. Now just to find a way of running it on a Linux distro with Texlive installed.
-
- Posts: 11
- Joined: Mon Oct 18, 2010 2:14 pm
pdflatex, pdfpages - import pdf with bookmarks
Answer to my previous question for future readers: use the pdfannotextractor command (works on Ubuntu).
If you're getting a weird error, use pdfannotextractor --install (this should fix the perl dependencies and automatically install all the needed packages).
Have a new issue: How do I remove pdf hyperling highlighting in the newly created pdf? (every PDF document link has a red border and every outgoing link has a cyan border)
If you're getting a weird error, use pdfannotextractor --install (this should fix the perl dependencies and automatically install all the needed packages).
Have a new issue: How do I remove pdf hyperling highlighting in the newly created pdf? (every PDF document link has a red border and every outgoing link has a cyan border)
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
pdflatex, pdfpages - import pdf with bookmarks
Hi,
or set this as option to hyperref.
Btw. for new questions please open a new thread and mark the earlier thread as solved. This can be done by editing your first post in this thread (the question) and choosing the checkmark symbol as topic icon. So it's easier to see still open questions. Thanks for that!
Stefan
this can be done bySkyHiRider wrote:Have a new issue: How do I remove pdf hyperling highlighting in the newly created pdf? (every PDF document link has a red border and every outgoing link has a cyan border)
Code: Select all
\hypersetup{colorlinks=false}
Btw. for new questions please open a new thread and mark the earlier thread as solved. This can be done by editing your first post in this thread (the question) and choosing the checkmark symbol as topic icon. So it's easier to see still open questions. Thanks for that!
Stefan
LaTeX.org admin
-
- Posts: 11
- Joined: Mon Oct 18, 2010 2:14 pm
pdflatex, pdfpages - import pdf with bookmarks
It was actually that fixed it. Thanks!
Code: Select all
\hypersetup{colorlinks=true}
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
pdflatex, pdfpages - import pdf with bookmarks
Or use
if you want to remove both color and frames.
Stefan
Code: Select all
\hypersetup{
colorlinks=false,
pdfborder={0 0 0}
}
Stefan
LaTeX.org admin