Generalpdfpages package will just not work

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
User avatar
arkara
Posts: 9
Joined: Mon Nov 03, 2008 11:52 pm

pdfpages package will just not work

Post by arkara »

I want to add a pdf page from another document to my current working document.

i give the following code.

Code: Select all

\usepackage{pdfpages}
if i use the following code,

Code: Select all

\includepdf{./adress/tp/pdf.pdf}
i get this warning
er-report.tex:0: I cannot determine the number of pages of the(pdfpages) included document, while in DVI mode. You can(pdfpages) use the option `lastpage' to give me a hint.
if i use this code i still cannot get any included pdf output


anyone knows what's wrong?

Code: Select all

\includepdf[lastpage=1]{./adress/tp/pdf.pdf}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

pdfpages package will just not work

Post by localghost »

It goes without saying that the pdfpages package only works with pdflatex. The error message is clear in that point.


Best regards
Thorsten¹
User avatar
arkara
Posts: 9
Joined: Mon Nov 03, 2008 11:52 pm

Re: pdfpages package will just not work

Post by arkara »

xm, i see...
Is there another way to add a pdf document or, some pages of it to my document using latex?
This is the configuration i use.
latex-->dvi-->ps-->pdf.

===========EDIT===========
Nevermind, i have switched to pdflatex
Post Reply