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
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. ...
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 ...
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, ...
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 ...
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 ...
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" ...
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 ...
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....
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 ...
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 ...
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},...
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{...
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 / ...
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/...
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 ...
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 ...
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 ...
16
votes
3answers
1k views

How to create a 'summary of changes' with latexdiff

Following my previous question, I have successfully created a dif.tex file of a large, complex project, the results of which can be seen here. (This was done, in the end by updating latexdiff to the ...
15
votes
1answer
1k 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?
15
votes
1answer
11k 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 ...
15
votes
0answers
912 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 ...
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}...
13
votes
1answer
9k views

Using pdfpages with mixed landscape / portrait pdfs

I am using pdfpages to include PDFs in my LaTeX document. Some of these pdfs have both landscape and portrait pages, and I won't necessarily know in advance where these occur. Is there a way to get ...
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 ...
11
votes
1answer
11k views

Include PDF with two pages per page

I'm appending my papers to my thesis using the pdfpages package as so \includepdf[pages={-}, addtotoc={1, chapter, 1, Paper 1, paper1}]{paper-1.pdf} Can I modify the layout of paper-1.pdf such that ...
11
votes
1answer
48k views

How to include PDF file in LaTex Doc from folder location?

I'm using the \usepackage{pdfpages} to include PDF files. I'm using the following convention: \includepdf[pages={1-7}]{myFile.pdf} My question is, how can you include a link to a folder that ...
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.
11
votes
1answer
4k 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 ...
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
4answers
3k views

Constructing conference proceedings

I am curious about a way to build nicely designed conference proceedings based on separate contributions available in the pdf format and all based on a given LateX template. The difficulty seems to be ...
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{...
10
votes
2answers
8k 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} \...
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{...
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 ...
10
votes
1answer
1k views

Include multiple PDF documents and create bookmark to first page

Suppose I have 4 PDFs: 1.pdf, 2.pdf, 3.pdf, 4.pdf Now I want to combine them in the given order. I also want to create bookmarks to their first pages in the combined PDF. The number of pages in any ...
10
votes
4answers
3k views

Print eight A6 pages on one two-sided A4 sheet in a book folding order

What I'm trying to achieve might be a little too-much. Although I have to admit that TeX never let me down, so I thought, let's give it a spin here. I have a document like this: \documentclass[9pt,...
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} \...
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 ...
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
2answers
3k 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 pdf....
9
votes
1answer
1k views

How to import iCal-format and make a timetable in Tikz?

I have the .ics format file. I would like to import it with LaTeX and transform it into a timetable (automatically). Any suggestions how to do it? I have found a minimal working example for how to ...
9
votes
3answers
2k views

Include figure from PDF file

I want to include a figure from another PDF. There is the quick way, where I take a screen shot, save as my desired format and the \includegraphics[scale=xx]{<file path>} but this is messing up ...
9
votes
2answers
6k 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} \usepackage[pdfauthor={<somename>},pdftitle={<sometitle>},pdftex]{...
9
votes
2answers
333 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 ...
9
votes
1answer
3k views

includepdf and tableofcontents without numbering

I try to include an entire pdf file with pdfpages but I will not use numbering in the table of contents. Here is a MWE, which illustrates the problem. \documentclass[a4paper]{scrreprt} \usepackage{...
9
votes
1answer
538 views

How to use pdfpages with files with utf8 chars in the name?

Let's consider this MNWE (Minimal Not Working example): \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} %\usepackage[spanish]{babel} % with or without, same ...
9
votes
1answer
198 views

Joining .synctex files of documents blended by \includepdf

When I typeset a journal issue, I first make the seperate articles, and I join them together (adding the Table of Contents and other stuff, that's irrelevant now). When I read the final issue.pdf, I ...
8
votes
2answers
1k views

pdfpages : what does the 'signature' option mean?

My issue I have an A5 pdf that I want to print in order to make a booklet made of folded A4 sheets: (source) My trials I use this code to generate the pdf-to-be-printed-as-is: \documentclass[...
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 ... ...
8
votes
1answer
14k 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 ...