I have about ten pdf files, all of which have bookmarks. I want to combine all ten files into a single file. I also want all the bookmarks to be retained in the process.
Here is my current method to combine the files:
\documentclass{article}% or something else
\usepackage{pdfpages}
\begin{document}
\includepdf[pages=-]{file1}
\includepdf[pages=-]{file2}
\includepdf[pages=-]{file3}
\includepdf[pages=-]{file4}
\end{document}
This previous question is similar to my question. This one is also similar.
However, I don't want to create any new bookmarks, I just want to import them all.