GeneralHow do I add a cover(pdf) to the pdf latex build

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
akira32
Posts: 45
Joined: Tue Nov 13, 2007 10:32 am

How do I add a cover(pdf) to the pdf latex build

Post by akira32 »

How do I add a cover(pdf) to the pdf latex build?
The cover is a pdf with one page.
I want to when I build in latex, add to the front of the paf latex build.
Could I do that by some command or setting?
I know the process can be done in adobe reader, but it is not convenient.
Becuse I must merge them very time when I rebuild the pdf.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

How do I add a cover(pdf) to the pdf latex build

Post by Stefan Kottwitz »

Hi,

that can be done by the command \includepdf of the pdfpages package, see its documentation.

Stefan
LaTeX.org admin
akira32
Posts: 45
Joined: Tue Nov 13, 2007 10:32 am

How do I add a cover(pdf) to the pdf latex build

Post by akira32 »

I saw the manul about inserting one page of dpf.
But I add the two commands in preabmle.
It appears some error messages as below:

Package pdfpages Warning: I will use a dummy \ includepdf command whiich will NOT insert any pages, becuase you are producing DVI output.

Package pdfpages Warning: I cannot determine the number of pages of the included document, while being in DVI mode. You can use the option 'lastpage' to give me a hint.

Code: Select all


\usepackage{pdfpages}

\begin{document}
......
\end{document}

\includepdf[pages=1]{mycover.pdf}
[/color]
User avatar
black-wolf
Posts: 7
Joined: Wed Jul 02, 2008 10:58 pm

Re: How do I add a cover(pdf) to the pdf latex build

Post by black-wolf »

Seems to me that you are trying to build a DVI, you need to build a PDF using pdfLatex
or the correpondent tool on your LaTeX editor ;)

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

How do I add a cover(pdf) to the pdf latex build

Post by Stefan Kottwitz »

Hi black-wolf,

welcome to the board!
Your advice is correct. Just an additional information, the question was already solved in another thread, what wasn't mentioned here. Until now. ;-)

Stefan
LaTeX.org admin
User avatar
black-wolf
Posts: 7
Joined: Wed Jul 02, 2008 10:58 pm

Re: How do I add a cover(pdf) to the pdf latex build

Post by black-wolf »

Thank you for your welcome Stefan ;)
Post Reply