Theses, Books, Title pagesHow to create a page, that is an extern pdf file?

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

How to create a page, that is an extern pdf file?

Post by templateuser »

Hi

I would like to create a page, inserting a pdf file.
I mean, take a pdf file, and that result a page in latex.
I tried this:

Code: Select all

\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdfmerge{file1.pdf,-}
\includepdfmerge{file2.pdf,1-3}
\end{document}
but, has problems:

"it cannot properly handle bookmarks and (2) it will not intellegently update the page numbers shown in pagefoot."

Can anyone help me?

Tnks,

Fábio Fernandes

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

How to create a page, that is an extern pdf file?

Post by templateuser »

Hi!
In classicthesis-config.tex, I added:

Code: Select all

\usepackage[final]{pdfpages}
Then, at the appropriate place after \begin{document}, I used:

Code: Select all

\includepdf[page=-,offset=0.2cm 0]{mydoc.pdf}
If you want to link just some page of a pdf:

Code: Select all

\includepdf[page=2-8,offset=0.2cm 0]{mydoc.pdf}
For me, this is well working, I have no problem with the page number. Nevertheless, page number don't appear in the pagefoot...

Anne
Post Reply