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

learn more… | top users | synonyms (1)

3
votes
1answer
123 views

How to insert a A3 PDF into a A4 Latex document with PDFLatex?

Assume I have a A3 landscape PDF, how can I include this into a A4 portrait latex document but still as A3-page? If I have one.tex producing a landscape A3: \documentclass{article} \usepackage[...
4
votes
1answer
60 views

Instructor student version

I have a student manual for a set of chemistry labs. Over the years the instructors have made their own annotations and other pointers/observations. I have now collated these and wish to produce an ...
2
votes
1answer
18 views

Why does \includepdfmerge insert a blank page at the end?

How can I get rid of the blank pages inserted after the \includepdfmerge ? Code: \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdfmerge[scale=0.5, delta=10pt 10pt, nup=2x2]{...
3
votes
1answer
33 views

Table of contents page numbers wrong with includepdf and addtotoc and titling

I'm using the addtotoc option from includepdf to add a TOC entry for two included PDFs. However, the table of contents always thinks they're on the first page (note that I have rebuilt the document ...
0
votes
1answer
47 views

Downscale a4 to B5, prepare with pdfpages on a3 with crop marks

I'm preparing a book for printing. The book was written and finely tuned to A4 but I want to try downscaling it to B5 (simply changing the geometry in the main document reeks havoc with my layout.). ...
3
votes
1answer
221 views

Bates numbering of multiple pdfs with label reference to the page numbers

I really didn't think this was even possible until I came across, cross-referencing-to-included-pdf-with-counter-and-argument-in-the-label, reading that post gave me some hope. I have a document, ...
5
votes
1answer
22k 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 ...
29
votes
5answers
109k 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,...
0
votes
1answer
35 views

Error in compiling \includepdf

My latex file is something like this: \usepackage{pdfpages} \begin{document} ... \bibliographystyle{abbrv} \bibliography{my_bib} \includepdf[pages=-]{my_file.pdf} \end{document} The ...
5
votes
2answers
235 views

How can I place a 1 cm margin to a set pdf book (a6) to print

So I've already got my book ready set for a6 paper: contents, latex compilation, and I'm already satisfied with the end result of pdf I've got. However I've noticed that it'd be good to add a small ...
1
vote
2answers
42 views

Include a pdf page by page with descriptions after each page

I want to do the following: I want to generate a script from my lecture slides. My lecture slides are in pdf (generated via latex-beamer), but in beamer-size. Now I want to make a script from that, in ...
3
votes
1answer
75 views

Error using pdfpages and lualatex

After upgrading to Tex Live 2016/Debian i get errors when using the package pdfpages and compiling with Lualatex. If i try to compile \documentclass[a4paper,portrait]{article} \usepackage{pdfpages} \...
2
votes
1answer
40 views

addtotoc without a number

I am trying to use addtotoc key-value in order to make a PDF page appear as a chapter in my Table of Contents. Ex: \includepdf[pages=-, pagecommand={\thispagestyle{empty}}, scale=1.008, addtotoc={1,...
0
votes
1answer
30 views

Redirect citation link to custom location

I am writing a thesis with appended papers which I include using the pdfpages package. I am using biblatex for referencing and hyperref for hyperlinks. In order to refer to the papers in the thesis, ...
0
votes
1answer
39 views

include pdf in latex (appendix)

I am facing a big problem I am adding many Pdf files using includepdf in appendix, the problem is that when I start numbering my pages in appendix, I start having my fancyhead which I don't want it to ...
37
votes
2answers
40k 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 ...
1
vote
2answers
99 views

pdfpages not rendering multipage pdfs properly within figure in appendix

I'm trying to insert multipage pdf files in the appendix, using the pdfpages package. I am using [Overleaf][1]. This is the code I'm using after trying a few things: \begin{appendices} \chapter{...
1
vote
0answers
30 views

Adding pdf to fit page

I am working on a thesis template and I need one page reserved for the thesis assignment, I have a sample assignment, it's a pdf document with one page only. When I try to put it in the document (I am ...
0
votes
0answers
10 views

How do I alter the songs package to produce A3 booklet style pdf for the lyricbook?

My problem is when I print from Acrobat as a "booklet" on A3 to staple in the centre, the pages come out mixed and not in the correct order. \documentclass[letterpaper,10pt]{article} \usepackage[...
0
votes
1answer
15 views

Avoiding Multiple Sections using includepdf and pagecommand

I have a pdf which has 3 pages. I would like to insert the pdf into the document using the \includepdf command and the pagecommand option as below: \includepdf[pages=-, scale=0.8, pagecommand=\...
2
votes
1answer
29 views

pdfpages produces additional blank pages and \AtBeginShipout\AtBeginShipoutDiscard doesn't fix

I am trying to include twice an A5 landscape PDF with pdfpages. Unfortunately I get a bunch of blank pages. Here is MWE. \documentclass[A4paper,final]{minimal} \usepackage{fullpage} \usepackage{...
2
votes
1answer
26 views

Remove the first pagenumber on a maketitle with pdfpage

I found a solution to overlay a text on a included pdf page using pdfpages package. I wanted to add a maketitle on this pdf page, and I finally did it. But I do not know how to get rid of this ...
40
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 ...
1
vote
1answer
42 views

printing pictures

I would like to know how to include a page in a latex (miktex 2.9) document that is either in the pdf or jpeg format. An answer was given that referred me to this code \usepackage{pdfpages} and \...
0
votes
0answers
30 views

How does one insert a full-page picture in PDF format? [duplicate]

How does one insert a full-page picture in PDF format and so that a page number will appear on the picture?
71
votes
1answer
42k 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. ...
0
votes
1answer
45 views

/includepdf as an appendix

I have appendices using /includepdf. How can I make these a labeled appendix that appears in the heading? i.e. process.pdf = Appendix A %!TEX root = ../main.tex \begin{appendices} \section{Project ...
0
votes
0answers
24 views

includepdf in appendix causes parskip to be removed

I'm using some code to let "Appendix" appear as a chapter in the TOC, and every separate appendix as a section below this. \begin{appendices} \addtocontents{toc}{\protect\setcounter{tocdepth}{1}}...
1
vote
0answers
70 views

pdfpages on overleaf [closed]

I'm using a template on overleaf for my master thesis. It is a two columns set up like a scientific paper. I just would like to add a first page, but not in a two-column settings. I cannot change ...
1
vote
1answer
38 views

Illegal unit of measure for pdfpages package

I am having some trouble with an error message that I am receiving and was hoping that someone could provide some advice. The code is as follows: \documentclass[a4paper]{article} \usepackage[grid, ...
2
votes
1answer
108 views

Insert pdf to the beginning

Using pdfpages when I add a pdf like \documentclass[10pt,twoside,draft]{book} \usepackage{log} \newfontfamily\dejavu{DejaVu Sans} \begin{document} %-----------------------------Cover Page-----------...
1
vote
0answers
40 views

Divide one pdf file into more tiles

I need to split a single pdf file into multiple pages. Well, let's say the file is 1 x 0,2 m. I'd like to obtain an output file where every page has the dimension of 3 x 20 cm. I'm trying to achieve ...
2
votes
2answers
84 views

Package interference between pdfpages and eso-pic when including pdf-pages

Is it just me or do the pdfpages not get included when using the texcoord option for eso-pic. Could someone confirm this. This is the MWE: \documentclass[12pt,a4paper,notitlepage,oneside]{book} %NOTE ...
0
votes
0answers
46 views

Formatting a PDF page

I'm trying to add a pdf page to an appendix and I'm having some trouble. I'd like to shrink the pdf page and place it below the appendix header, but I'm ending up with extra pages. Here's the two ...
1
vote
2answers
1k views

Changing background color of external pdf files using pdfpages

The following TeX code is intended to change the background color of an external pdf file by using the pdfpages package, but it does not work for me. Does it work at all? \documentclass{minimal} \...
3
votes
1answer
61 views

Imposition and creep

I have to print a book and make signatures for binding. I have modified this solution: http://tex.stackexchange.com/a/246226/56153 This way: book-pages.tex \documentclass[a4paper]{article} \begin{...
0
votes
1answer
45 views

Automatic inserting of portrait and landscape pdf documents with pdfpages

I have a problem that is bothering me for quite a while. I would like to insert a couple of pdfs automatically as attachments to a document. The user copies a bunch of pdfs in a folder, where he finds ...
7
votes
1answer
82 views

What is wrong with this syntax?

If I write \noindent\vskip 0ex plus 2ex\includegraphics[width={\textwidth plus 2pt minus 2pt}, angle=0]{J2-23-1} it is correct However, if I write \noindent\vskip 0ex plus 2ex\includegraphics[...
0
votes
0answers
31 views

Cross-referencing with \addcontentsline

I'm using \addcontentsline to make an entry for a PDF appendix (included with \includepdf in the ToC. The command I'm using is \addcontentsline{toc}{chapter}{Appendix A \ Window specification}, and I ...
3
votes
2answers
80 views

Is there a possibility to include a pdf with defined layers?

I can insert pdf pages with the pdfpages. There are options to select pages ... But I found nothing to select specific layers. Is there a possibility? Details PDF to be included The following code ...
1
vote
1answer
211 views

Margins in booklet using \includepdf

I have PDF that I am printing as a booklet using the following code: \documentclass{scrartcl} \usepackage{pdfpages} \begin{document} \includepdf[pages=-,booklet,turn=false,landscape]{doc.pdf} \end{...
0
votes
0answers
17 views

Functionality of links when PDF pages are combined [duplicate]

pdfpages works really well for combining pages from several PDF documents into one document, but it does not retain the functionality of links on PDF pages. The functionality will be retained if you ...
1
vote
0answers
38 views

How can I automatically include the sections from an \includepdf in the table of contents?

I am writing a thesis, and need to include a couple of papers in the end as appendices, using \includepdf{}. The thesis office requires that all the sections of the papers be listed in the table of ...
1
vote
0answers
146 views

Including pdf, error “Undefined control sequence” [closed]

I want to insert .pdf files into my pdf file using pdflatex (System is Texlive), but it doen't work neither with \includegraphics nor with \includepdf function (of course, all necessary packages I've ...
8
votes
1answer
279 views

Inserted graphic - jagged edges to show that it is just part of the whole

I would like to make visibly clear, that an inserted graphic is just part of the whole. Since a straight cut just appears as inserted falsy, I was wondering if there are any tricks to show jags for ...
2
votes
1answer
92 views

Get key value of command

i'm beginner in Tex and i have tex file \documentclass{article} \addtolength{\jot}{1em} \begin{document} \begin{verbatim} \end{verbatim} \begin{chestnutStem} In the following figure, if the ...
0
votes
1answer
67 views

Run pdflatex.exe from LuaLaTeX document

My document-combiner combine pdf-files via package pdfpages using command \includepdf. But before including, a source tex compiling by pdflatex.exe to produce the pdf. But now I have a little ...
1
vote
0answers
26 views

newpage causes tex to misinterpret document end

In my appendix, I'd like to have the first page of my chapter to only show the chapter name and the second page start with a pdf I included via the includepdf package. I tried to accomplish this with ...
2
votes
1answer
38 views

Positioning page numbers on a PDF produces asymmetrical results

The following LaTeX file, produces a 2 page blank PDF (thanks to egreg for the code). %%%%%%%%%%%%%%%%%%%%%%% blank.pdf %%%%%%%%%%%%%%%%%%%%%%% \documentclass{article} \usepackage[a4paper]{geometry}%...
3
votes
1answer
271 views

How to insert a blank page after an included PDF only if this PDF is present in the directory?

I have multiple PDF files(that have only one page) that I need to include into a document. I succeeded in making Latex include the PDFs that are present in the directory with this: \usepackage{...