Questions tagged [pdfpages]

{pdfpages} is a package that simplifies the inclusion of external multi-page PDF documents in LaTeX documents.

Filter by
Sorted by
Tagged with
83
votes
8answers
88k views

How can I crop included PDF documents?

I've got a PDF that is automatically generated from a certain piece of software, that I want to include in the report I'm writing. I'm using pdfpages which gets the job done elegantly, but the problem ...
58
votes
4answers
96k views

How to include PDF pages without a newpage before the first page?

I am using pdfpages which works quite well. But this time, I want to include a 5 page pdf and the first page should be scaled down a bit such that above the first page is enough space for a ...
113
votes
2answers
81k views

pdflatex, \includegraphics, and multi-page PDF files

I have a PDF file with multiple figures; each figure is a separate page in the PDF file. I am using pdflatex, and I would like to use \includegraphics or equivalent to include some of the figures. ...
20
votes
2answers
17k views

TOC entries and labels for included PDF pages

I am embedding full pages from another PDF document (using the pdfpages package), but I would like to be able to declare my own section headings before each embedded document (for e.g. hyperlinking / ...
39
votes
2answers
23k views

Header and page numbers with pdfpages

I have a chapter of attachments which contains pdf files in this format, using the awesome pdfpages package: \chapter{Title} Lots of multipage pdfs following \includepdf[pages=-,frame,scale=0.9]{abc....
44
votes
2answers
41k views

How to add a page number to the included PDF pages?

I'm creating a documentation with some included pdf files (mostly diagrams or tables) in the following way. \includepdf[pages=1-10, angle=90]{requirements/Requirements.pdf} The command "includepdf" ...
37
votes
3answers
14k views

Base document page numbers with pdfpages

I'm writing a report, in LaTeX. And I need to include, as appendices, other latex documents I have written. I am currently doing this using pdfpages and it works. However, the inserted PDF has no page ...
82
votes
5answers
372k views

Insert PDF file in LaTeX document

I have a problem when I insert a PDF file in LaTeX: \usepackage[final]{pdfpages} \includepdf[pages=-]{file.pdf} The problem is that the PDF page is not centered: I've tried to place tags center, ...
28
votes
3answers
43k views

Includepdf as a figure

I want to include some pages of a pdf file into my document and wrap them into a figure with a caption for example (with pdfpages) \begin{figure}[h] \centering \includepdf[pages={1,3,2},...
5
votes
3answers
2k views

How to create a Book Cover with pdfpages

i know there are many questions on how to create a book cover, but my questions seems to be a bit different. I create a frontpage, a backpage and the spine for my cover Frontpage: \documentclass{...
4
votes
1answer
397 views

automated indexing against keyword file

I use the package pdfpages to include scanned and ocr'd pdf's in my LaTeX document, and I need to index them (over 200 pages). I have a plain .txt file with all keywords that I'd like to find my ocr'd ...
1
vote
1answer
582 views

miktex with pdfpages - first page repeated instead of actual pages of original pdf

I have the following problem with the pdfpages package. After the update of my MiKTeX installation, the following command \includepdf[pages=-,pagecommand={},offset=15pt 15pt,width=175mm]{test.pdf} ...
10
votes
1answer
5k views

Overlay LaTeX/TeX coding easily on PDF with 300 pages

I've been looking for a way to overlay TeX/LaTeX i.e maths language etc (everything LaTeX is designed for) onto a background document containing 310 pages combined together in a PDF file. So far I ...
10
votes
4answers
6k views

Include multiple pdf pages on single sheet

I would like to include multiple pages from a pdf document on a single page im my document. \includepdf can do that using the 'nup' option. \documentclass{book} \usepackage{fancyhdr} \usepackage{...
27
votes
2answers
20k views

Error when inserting a PDF page into a Beamer presentation

I'm using pdfpages to insert a page from a pdf file into my Beamer presentation, but the result is a completely empty page. Here is smaller version of the file: \documentclass{beamer} \usepackage{...
14
votes
1answer
2k views

Can I add tikzpictures to pages included with pdfpages

I would like to decorate pages of some pdf documents with tikzpictures. My idea was to include them with pdfpages, and then draw a tikzpicture overlay on top of the page. \documentclass[12pt]{article}...
20
votes
1answer
13k views

Include several pages of a PDF without losing LaTex document style

I would like to include several pages of a PDF as a subsection in my LaTex Document using the package pdfpages. I tried \includepdf[scale=0.8,pages=1-5,pagecommand=\subsection{blub}]{testpdf} from ...
12
votes
3answers
14k views

Printing a double-sided A5 document on A4 paper

I have a doubled-sided A5 landscape document with the following page order: As my printer supports only A4 paper, I want to print two of these pages on one portrait A4 paper so that I can cut it in ...
10
votes
1answer
1k views

Using a macro as value of addtotoc in \includepdf

I would like to include pages from an external PDF file into my document, using the pdfpages package. The following works for me: \documentclass{article} \usepackage{pdfpages} \begin{document} \...
3
votes
3answers
3k views

How to automatically output page order to print 8 pages of a booklet on a single sheet of Letter paper?

Im new to tex so I'm sorry if this is something is actually easy to do but I cannot find a solution. I want to print a signature/booklet of my book by printing two separate parts of the sig on one ...
18
votes
2answers
5k views

Attached external pdf file is not showing page number

I am writing my thesis. I have a "main" LaTeX file from where I am calling (attaching) pdf file. But the attached pdf file is not showing any page number. Also, it is not showing other page style I ...
5
votes
2answers
9k views

pdfpages rotate odd pages 180º

I'm trying to create a booklet with pdfpages. So far it's working, but I would like to tweak the page orientation to put all the spreads/pages "straight" (rotate odd pages 180º). I've tried different ...
8
votes
2answers
23k views

pdfpages & includepdf not working

I compiled the following file (through MiKTeX which I have just updated all files), and I do not get the junk.pdf file inserted. \documentclass{report} \usepackage{pdfpages} \begin{document} qwe \...
6
votes
1answer
2k views

pdfpages and linktodoc

I'm trying to link to a specific page in an external document. This has been discussed previously under the topic, How to link to specified page of an outer pdf document?, and the answer suggests ...
5
votes
1answer
13k views

How to correctly label an included PDF?

I have this: \label{appendix:b} \includepdf[scale=0.8,pages=1,pagecommand=\chapter{interview}]{interview/interview} \includepdf[scale=0.8,pages=2-,pagecommand={}]{interview/interview} \label{appendix:...
4
votes
1answer
1k views

Embedded fonts not showing up correctly in PDF generated using pdfpages in pdfLaTeX

I am using the pdfpages package to include some other PDF documents into a LaTeX document I'm processing with pdfLaTeX. One of the included PDFs has some uncommon fonts. They are embedded in the ...
3
votes
1answer
474 views

Write/Read values of the LaTeX commands (like \title, \ author etc) in file using Lua

This problem relate with other my question here . I found a solution with pdfpages package thanks to TX.SX: \documentclass[]{scrbook} \usepackage{authblk} \usepackage{pdfpages} \newcommand{\...
48
votes
3answers
196k views

How to include a PDF image into a PDFLaTeX document

I am generating a PDF file using pdflatex and need to include another PDF file. The reason is that I have a graphMl file which I exported from yEd graph editor to a PDF file, named sample.pdf. The TeX ...
36
votes
5answers
72k views

How to include multiple pages in latex

I have a pdf file consisting of four pages (see attached). I want to include it in Latex, but when I use the basic code given below, only the first page of the pdf appears. I want to do is to present ...
16
votes
2answers
7k views

Unable to link to inserted pages with pdfpages

I would like to add labels to pages inserted with the pdfpages package. I sort of works right now, but it is not possible to link to the labels with \ref and \pageref commands. But it is possible to ...
11
votes
2answers
24k views

Including a PDF page in latex with pdfpages without scaling

I am writing a document in LaTeX and I'm trying to include a frontpage in PDF (aptly called "Frontpage.pdf") the document, to be compiled with Pdflatex. I tried to include it with the pdfpages ...
10
votes
2answers
455 views

What is the recommended practice for making multi-article publications with LaTeX?

I would like to migrate the process of preparing a scientific journal at our department from MS Word to LaTeX. There is already a document class that could be used for individual articles. However ...
8
votes
2answers
3k views

Multiple copies of short page on one sheet of paper

Suppose you have a short document (including a fancy header) which occupies only a small part of a DIN A4 page, like in this example: \documentclass[a4paper, 12pt]{article} \usepackage[top=2cm,...
20
votes
2answers
9k views

How to use tilde or space in includepdf filename?

I'm trying to include a pdf in a document, using pdfpages package, but I'm having troubles when filename contains tilde or space. e.g. \includepdf[pages=-]{C:/Users/MYUSER~1/AppData/Local/Temp/...
10
votes
2answers
1k views

Inserting a PDF file in REVTeX 4.1 with reprint option

I would like to generate a paper using revtex4-1 while also appending a supplement pdf file to the paper with the help of pdfpages. If I use the preprint option, I find that the supplement ...
8
votes
1answer
2k views

Includepdf causes an error message from pgfplots externalization

I have a file test.pdf which I include in a document containing also an externalized pgfplots picture. When I compile the following code, I get the error message Sorry, the system call pdflatex ... ...
7
votes
1answer
2k views

Page number when using includepdf

Can you recommend an easy way to place the page number on an imported PDF? For instance, when using: \includepdf[fitpaper=true]{last_site/last_site.pdf} \includepdf was used twice because the code (...
5
votes
1answer
2k views

problem with including pdf using pdfpages

I am trying to use \includepdf with about 20 different PDFs. The first 19 have worked fine, but the last one which can be found below http://math.unc.edu/for-grad-students/analysiscompsSprJan2011....
11
votes
2answers
426 views

Include adjacent PDF slides from two different sources through \includepdf

I would like to include pages from two different PDF files on a single page, side by side (possibly using nup=2x2). Presently, there is a page ejected before each \includepdf.
10
votes
1answer
1k views

Linux Libertine and pdfTeX: glyph `a' undefined

I have little doubt, usually, in the Linux Libertine font with LaTeX / pdflatex, but a couple of weeks ago, the following happened to me: I have the file with the following test.tex \documentclass{...
8
votes
2answers
2k views

\includepdf combined pdf highlights missing

I used \includepdf[pages=-]{...} to combine several pdf files. It does combine, but some highlights made in some individual pdfs using Adobe Reader Comments are missing. The highlights can be seen in ...
6
votes
3answers
3k views

How to install PDFBox on Windows so it works with pax?

I am trying to use pdfpages and maintain the internal bookmarks within the included PDF files. The pdfpages README suggests using the pax package for this purpose, so I have installed that from CTAN ...
5
votes
3answers
5k views

\includepdf only shows first page

Using XeLaTeX I am trying to add a PDF to my file. Only the first page the PDF is included in the output file. The following MWE refers to a PDF I created using Apple's TextEdit and 'Save as PDF' ...
4
votes
3answers
1k views

Is there any recommended package for converting A4 size PDF page into A3 size page?

Currently I'm able to generate required output file using pdflatex in A4 page size. To reduce printing cost, I'd like to convert this A4 size PDF into A3 page as mentioned in the diagram below. Is ...
7
votes
1answer
407 views

Can I convert a 16 page pdf into an 8x2 matrix in LaTeX?

My graphing program (R) can plot a set of figures out, each on a separate page of the same pdf. Is there a way to convert this into a single 4x4 or 8x2 figure in LaTeX? There are alternatives, but ...
6
votes
2answers
727 views

Using ranges with pdfpages fails

The documentation says the following: E.g.: pages=- will insert all pages of the document [...] however, when I put \includepdf[pages=-]{foobar.pdf} in my LaTeX doc (compiled w/ xelatex), I get ...
6
votes
1answer
502 views

Insert only half a pdf page

I'd like to include papers of mine which can easily be done with the pdfpages packages: \usepackage{pdfpages} \includepdf[pages=-]{mypaper.pdf} However, my thesis has an A5 format. Which means that ...
4
votes
2answers
2k views

Overlap of pages whilst using \includepdf

I am trying to use the pdfpages package to include a PDF file called "supp.pdf". My code is: \documentclass[10pt,prl,aps,showpacs,twocolumn,unsortedaddress]{revtex4-1} \usepackage{hyperref} ...
41
votes
5answers
2k views

Amusing exercise - ouroboros file - Output of TeX includes itself recursively ad infinitum

Clarification: The question may be related to the the quine fun question, but IMHO it is quite distinct. The question here to write an "ouroboros" in TeX, i.e., a file that includes itself as a ...
4
votes
1answer
11k views

Insert pages from a PDF file to fit at the entire page using \includepdf

I want to insert every page of a PDF file so I used: \documentclass{customized_class} \begin{document} \usepackage{pdfpages} \includepdf[fitpaper,pages={-}]{filename} \end{document} This works fine ...