{pdfpages} is a package that simplifies the inclusion of external multi-page PDF documents in LaTeX documents.
23
votes
1answer
8k 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.
...
14
votes
2answers
421 views
How do I generate only the first 10 pages of a document?
I use pdflatex to generate my documents. I want to create a preview of my document and generate only the first 10 pages, but I still want the full table of contents. How do I do that?
14
votes
1answer
248 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 ...
13
votes
2answers
2k 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 ...
12
votes
6answers
4k 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 ...
12
votes
2answers
4k 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}
...
11
votes
2answers
1k 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 ...
10
votes
2answers
192 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.
9
votes
1answer
656 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
...
9
votes
2answers
2k 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 / ...
8
votes
2answers
1k 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.
...
8
votes
2answers
2k 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
...
8
votes
2answers
67 views
Including PDF pages from URL
Does anyone know a way of including an external PDF document from a URL? When using pdfpages the following will not work:
\includepdf[pages=-]{http://www.mydomain.com/myfile.pdf}
My reason for ...
8
votes
1answer
739 views
Include trimmed multipage PDF in XeTeX
I have a multipage PDF manuscript (for example, my_PDF.pdf) that I would like to include in a new document. I would also like to trim/clip off the header and footer from each page of this included ...
7
votes
1answer
314 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 ...
7
votes
1answer
97 views
Put a pstricks cover at the beginning of a file without affecting the rest of it
I have two files. One is a pstricks cover. The other is the interior of the book. They both are fine on their own.
I would like to put the code for pstricks cover on the first page of the pdf and ...
7
votes
2answers
180 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 ...
7
votes
1answer
392 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.
...
7
votes
1answer
560 views
Landscape and page numbers with pdfpages
I am using pdfpages to insert PDFs into a master file. Some of the PDFs are portrait and some are landscape. I am using pagecommand=\thispagestyle{plain} so that the page numbers are in sequence ...
7
votes
1answer
275 views
Incompatibility between memoir and pdfpages ?
I am including a single pdf page (the title of my thesis) with the package pdfpages :
\begin{document}
\includepdf{title.pdf}
...
But since I switched from report to memoir the page is ...
6
votes
6answers
855 views
thesis in LaTeX without memoir
I'm preparing a thesis report in LaTeX. I don't want to use the memoir class as I would like total control. I have two questions:
My thesis consists of an introduction and then a series of articles ...
6
votes
2answers
947 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 ...
6
votes
2answers
2k 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 ...
6
votes
2answers
543 views
pdfpages, addtolist and list of tables
These may be separate questions, but the following MWE:
\usepackage{pdfpages}
...
\addcontentsline{lot}{subsection}{\ref{tab:UserRoles} \textbf{User Roles}}
\includepdf[pages={-}, ...
6
votes
1answer
352 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}
...
6
votes
2answers
1k views
pdfpages package and layoutsize (geometry package)
I tried to include a PDF page using the pdfpages package — this works well for a standard case, f.e. (t.pdf is the first page of the PGF manual):
\documentclass{scrartcl}
\usepackage{geometry}
...
6
votes
1answer
547 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}
...
6
votes
1answer
320 views
Include another pdf in a box (and other details)
Some time ago I read a paper that was tightly based on another one. It was from the same authors so they included the previous papers as appendixes. I noticed (and liked) that these appendixes were ...
6
votes
2answers
792 views
Add a figure title and x-axis label to a figure matrix created using pdfpages
Background
I previously asked: Can I convert a 16 page pdf into an 8x2 matrix in LaTeX?
I ended up creating a 3x5 matrix of images from a 15 page pdf by compiling a document "foo.tex":
...
6
votes
2answers
365 views
Setting up pdfpages with memoir?
I am using memoir for writing my PhD thesis. In my university we have to include submitted, accepted, and prepared drafts of related papers as appendices.
These papers have all been previously ...
6
votes
1answer
171 views
Included PDF gets corrupted after Acrobat’s color conversion
I found a strange error … I’m typesetting a musical score with Sibelius 7. And to add some text and notes I use LaTeX (i.e. xelatex but the error is the same with pdflatex). To get a complete PDF of ...
5
votes
2answers
2k 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 ...
5
votes
2answers
135 views
Including a length-dependent page range using pdfpages
I'd like to extract pages from 16 to (last page minus one) using pdfpages. I know I can access the last page via the token last, but I need to do arithmetic on it, to get a page range that looks like ...
5
votes
2answers
210 views
Front-end for pdfpages
I use following .tex file very much for printing books, booklets, etc
\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages={4-8},nup=1x2,frame,landscape]{xyz.pdf}
...
5
votes
1answer
63 views
How to create 4-up pdfs [without pdfnup, pdfpages]?
I use a standard KOMA-script class for creating slides [slides.tex]. I am wondering if there is a LaTeX package with an option to specify how the output looks like. I would like to create a 4-up .pdf ...
5
votes
1answer
716 views
Scaling LaTeX output
I need to create 2 versions of a University dissertation. The main version has to be done on letter-sized paper with very strict specifications for most of the style elements. But I would also like to ...
5
votes
1answer
788 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
2answers
2k 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
...
5
votes
1answer
446 views
Is there a way to make pdfpages adhere to the page offset set by geometry
I'm trying to include some pdf documents at the end of my document using pdfpages. My document has a binding offset as defined using the geometry package but pdfpages doesn't recognise it. I've looked ...
5
votes
1answer
100 views
How to link to sibling PDF when using pdfpages and hyperref
I am using pdfpages to tie several PDF documents together (yes, they must be separate documents) into a portfolio. My problem is that I need to place many, many links within one child document that ...
5
votes
0answers
189 views
proper alignment of pdfpages import in memoir typeblock
Finding the solution to Setting up pdfpages with memoir? turned out not to be as simple as adding the right layout parameter as an offset.
The first finding was that if a twoside documentclass is ...
4
votes
1answer
66 views
Is there a way to \label each page in an included pdf file?
I am including a PDF file as part of my reports appendices.
The PDF file does not have page numbers, these are added using pagecommand=\thispagestyle{plain} which continues the LaTeX page numbering.
...
4
votes
1answer
158 views
URL-s are broken after merging PDF files [duplicate]
Possible Duplicate:
How to preserve hyperlinks in included pdf?
After I merge PDF documents with pdflatex and pdfpages as described here, the URL-s are either broken (PDF files from ...
4
votes
1answer
130 views
Insert external PDF pages with adapted size, position and margins
I'm using the changepage package to adapt my pages as illustrated in this figure:
The paper size is A4 and the page size is B5 (first boarder). Within the B5 region, margins are set up as shown in ...
4
votes
2answers
134 views
Include pdf documents from a list written in a text file
In a text file titles.txt, I have the title, category and filenames of all the documents I wish to insert in TeX file.
I can properly insert the title and the category (used with \index) but ...
4
votes
2answers
115 views
Table of Contents for set of PDF files
How to make Table of Contents for a set of PDF files?
Here's my code!
\documentclass{book}
\usepackage{pdfpages}
...
4
votes
1answer
137 views
adjusting position of page numbers in bound in PDF pages
My document consists of three parts, where part two is an external PDF which I bound in using the \includepdf command from the pdfpages package. I managed to place page numbers on these pages by use ...
4
votes
1answer
272 views
How to pass the value of \mylength to the “trim” option of \includepdf of pdfpages.sty?
This problem is related to my previous problem about pdf trimming.
Here is the minimal code:
\documentclass{article}
\usepackage{pdfpages}
...
4
votes
1answer
275 views
Getting pax/pdfpages to work with xelatex?
Please consider the following MWE, in a form of a batch file, which creates two tex files (one of them gets \includepdfd in the other):
cat > insert.tex <<'EOF'
\documentclass{article}
...
4
votes
1answer
212 views
Why does pdflatex crash with the pdfpages packages, and is there anything I can do to prevent this?
I wish to append some pdf documents to the end of a larger document I'm writing, but find that using the \includepdf command provided by pdfpages always crashes pdflatex.
The following example ...