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

learn more… | top users | synonyms (1)

1
vote
2answers
59 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} ...
24
votes
5answers
91k 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 ...
2
votes
1answer
107 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 ...
1
vote
0answers
32 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
65 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
43 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
42 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} ...
0
votes
1answer
36 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
77 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 ...
0
votes
0answers
23 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
60 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
178 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} ...
0
votes
0answers
16 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
35 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
45 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
276 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
87 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
55 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
23 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
35 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} ...
3
votes
1answer
225 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: ...
2
votes
0answers
57 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
31 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
20 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
23 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: ...
12
votes
2answers
7k 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 ...
48
votes
7answers
36k 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 ...
1
vote
0answers
35 views

How do insert a pdf or excel spreadsheet neatly?

I have a rather complicated excel-spreadsheet with calculations. I would like to insert this into my document so it looks quiet neat. It easily fits one page with title, caption, etc. I tried ...
3
votes
1answer
59 views

How do I properly add a label to an appendix with pdf

Quite a specific question, I was looking to add PDF files to an appendix before. Found my solution in this thread: Appendix - Adding PDF, But it also created my next problem. This macro does create ...
3
votes
2answers
78 views

XeLaTeX: incomplete \iffalse with pdfpages and spanish babel

The following code \documentclass{article} \usepackage[spanish]{babel} \usepackage{pdfpages} \begin{document} \includepdf[landscape]{example-image-16x9.pdf} \end{document} when compiled with ...
4
votes
1answer
36 views

Unwanted page break between a section heading and its subsection heading

My scenario consists of some sections and subsections. A slice of the aforementioned group has been presented, as below: \tableofcontents \clearpage \section{parent} %\subsection{child} ...
2
votes
1answer
101 views

Reduce quality of joined PDFs [duplicate]

I'm using the package pdfpages to join many PDF documents. Some of them are scanned. Is there an option to reduce quality of those documents in order to make the resulting file size smaller?
2
votes
1answer
116 views

Beamer “show notes on second screen” with XeLaTeX and “AtBeginSection”

I am using beamer with XeLaTeX. With every new section I add a dedicated section page to my presentation. Now I started to add notes to my presentation and want to use the show notes on second screen ...
1
vote
1answer
30 views

pdfpages inserting document name in the lower left of every page

I am currently having some issues with the pdfpages package. It seems to print the filename (twice - one with .pdf extension and one with .bb) at the bottom left of the included pdf and I cannot for ...
2
votes
1answer
95 views

Overlay an included PDF with text [duplicate]

I would like to type on to a PDF document using LaTeX. Using the package pdfpages I can load the PDF in to a TeX document. Is there a way to also overlay my own text, using LaTeX? (In particular, a ...
5
votes
1answer
77 views

Keep the functionality of the sidebar using \includepdf

I would like to include a second beamer presentation for supplementary material (SM) into the main file. I use the \includepdf command from the pdfpages package but I lost the functionality of the ...
0
votes
2answers
75 views

Combine multiple documentclasses; maintain page numbering and structure for TOC/TOF

I'm writing a thesis that includes two articles. The institution provided a style file for the thesis; the articles use IEEEtran. Furthermore, the used packages in each document may differ ...
1
vote
0answers
46 views

LyX: includepdf command inserts a blank page before actual page with no title environment

When I go to include a PDF, My output always seems to output a blank page before the actual included PDF. I checked my environments, and to no avail, there is nothing in the environment to cause this ...
1
vote
0answers
53 views

How set margins to print when pdf files are inserted?

I am using book style to prepare a meterial(which has to be printed and binded) which contains so many pdf files.. To include the pdf files I am using \includepdf options by using the package ...
3
votes
1answer
26 views

How to add a date into the name field of includepdf?

I'm using Sweave to automate the creation of a report, and I want to include a PDF into my document, but the PDF and its name are updated daily (because they are produced using Sweave). For example ...
3
votes
3answers
1k views

includepdf results in undesired headings

\includepdf[pages={34-40},nup=2x2,frame,landscape,scale=0.8,% pagecommand=\chapter{fracture}\section{Theoretical}]{Dam-Nonlinear.pdf} \clearpage ...
66
votes
1answer
39k 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. ...
4
votes
1answer
146 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 ...
2
votes
1answer
51 views

Arithmetic overflow with pax?

I am heavily using pdfpages to concatenate a set of papers. One of the papers has a big table, rotated, using the sidewaystable environment. That paper, by itself, compiles perfectly, with the desired ...
1
vote
0answers
38 views

\includegraphics renders my pdf at the right side of the page (exceeds page bounds)

I have a pdf that I'd like to insert in my document. When using graphicx or pdfpages the pdf is rendered like this: In the pdf itself, the drawing are pretty centered. What can I do to centralize ...
1
vote
2answers
44 views

\fbox inside an imported pdf

I have imported a pdf using \includepdf and I want insert an fbox into the pdf (the pdf contains standard content that stays at the bottom). I have used this code: ...
2
votes
2answers
106 views

How to convert a Book pdf for printing on Landscape Letter size pages

I've got a template for a book that uses the scrbook koma script class. My output pdf is several hundred pages. Before submitting to the print on demand company (CreateSpace, they use true to size ...
1
vote
0answers
33 views

Undefined control sequence in PDF converting [duplicate]

I tried to add a footer to an existing PDF. But I get following error: **"Undefined control sequence. D:\pythonworks \1.pdf l.7 ...