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

learn more… | top users | synonyms (1)

0
votes
1answer
31 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 ...
4
votes
2answers
207 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
32 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
60 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
28 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
32 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.). ...
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
35 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 ...
36
votes
2answers
39k 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
88 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
29 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
14 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
27 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
22 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
41 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?
69
votes
1answer
41k 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
41 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
50 views

pdfpages on overleaf

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
36 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, ...
27
votes
5answers
104k 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,...
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
39 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
76 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
45 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
57 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
41 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
79 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
30 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
68 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
202 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
37 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
95 views

Including pdf, error “Undefined control sequence”

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
278 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
91 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
64 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
261 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{...
2
votes
0answers
62 views

search for and highlight words/numbers in pdfpages while only printing highlighted pages

I have a project where it would be very helpful to be able to include pdf pages with certain text and or number highlighted, and in addition limit the pages output to those which have the highlighted ...
0
votes
0answers
39 views

How to include pdf file in two sided thesis without changing thesis style?

I am writing my thesis in two side by using command \documentclass[a4paper, 12pt, twoside]{Thesis} At the end of thesis I need to attach my published papers as an annexure. But in two sided thesis, ...
1
vote
0answers
33 views

Supressing blank page after includepdf

I'm including a collection of manpages in the appendices of a thesis. I'm using \usepackage{pdfpages} in the beginning of the document, and a number of lines like: \includepdf{/myprog1.pdf} \...
2
votes
0answers
24 views

Includepdf puts headings into the pdf document and not above

I have a pdf-document which has 2 pages. I would like to put this document into my tex-file. Above the document the heading should be Anlage B. What I did is the following: \includepdf[pages=1,...
13
votes
2answers
8k 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 / ...
4
votes
2answers
3k views

pdfpages doesn't center pdf on page, using Thesis.cls

I am using the Thesis-template from http://www.latextemplates.com/template/masters-doctoral-thesis. I have several LaTeX-documents to include in the Appendix. The best solution seems to be compiling ...