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

learn more… | top users | synonyms (1)

50
votes
7answers
39k 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
41 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
71 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
93 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
49 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
108 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
157 views

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

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
45 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
114 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
78 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
85 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
54 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
73 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 \includepdfmerge[nup=1x2,frame,landscape,scale=0.8,%...
4
votes
1answer
217 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
60 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
39 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
48 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: \includepdf[pages={1},pagecommand={...
2
votes
2answers
126 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 ...'}\thispagestyle{fancy}}]{D:\...
1
vote
0answers
28 views

Problem with \includepdf in LyX

I am trying to make a different pdf in my LyX document the first pages. When I go to include it, including pagecommand={\thispagestyle{plain}},pages=- in the LaTeX options, I get a blank page for my ...
0
votes
1answer
75 views

Position included Pdf in twosided document using A4 papersize and C5 layout

I want to position included Pdf in twosided document, actual size C5 but printed on A4 paper, showing cropping marks. Included Pdf has already set hmarginratio to 2:3, so I need to center him ...
1
vote
1answer
104 views

What is the most precise way of including a Mathematica code in a LaTeX document?

I have tried to insert my Mathematica notebook into LaTeX by converting it as a PDF file and then using \includepdf[pages=1-4]{blablabla.pdf}. However, there are now two problems I faced: This code ...
5
votes
1answer
133 views

Print A6 book on A4 double-sided in correct order

How can i print out a A6 sized book onto A4 paper, so that i can cut it into 4 pieces and glue-bind them to a book? i am NOT looking for a BOOKLET! i think the order i need would be: A4 sheet #1 - ...
0
votes
0answers
86 views

Inserting a PDF inputs it on the next page

I'm building an appendix, and there are a lot of PDF-documents. Each document should be its own appendix, that is each should be its own chapter. The problem is that I want the PDF inserted right ...
1
vote
0answers
31 views

Using pdfpages does not make the compiler print the title of the chapter

I have this code in my document \chapter{Copyright Permission for Figure \ref{android:graph:layers}}\label{app:A} \includepdf[pages=-,nup=1x3,delta=0 -55]{figures/contentLicense.pdf} But the ...
3
votes
1answer
2k views

Including a PDF for dvi output

I want to include a multipage-pdf in latex and get .dvi output. I know \include{pdfpages} only works with pdfLaTeX. I can't convert PDF to .eps since it is multi-page. I want to have .dvi output with ...
5
votes
2answers
168 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[...
1
vote
1answer
73 views

Placing page numbers on top of full screen figures

I have a lot of full-page images in my document, right to the edges. Some of them are jpegs, some are pdfs. I need to superimpose page numbers on top of these figures, but generally the figure ...
3
votes
2answers
887 views

pdfpages/hyperref - Contents link jumps to wrong part of page

I'm using pdfpages to combine multiple pdf documents; I would also like a front 'contents' page for the new file, using hyperref to allow me to jump directly to the correct page. The 'addtotoc' option ...
3
votes
1answer
202 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, ...
10
votes
1answer
297 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 ...
1
vote
0answers
127 views

Size of pdf file generated by extracting few pages from a several-page pdf document using pdfpages

I am using the package 'pdfpages' to extract few pages from a large pdf file that has several pages. This large file is about 60Mb and has 80 pages. When I extract 6 pages from it I get a document ...
1
vote
0answers
76 views

how to import a whole PDF as a figure

I know how to include single pages of one document as images in another document. \documentclass{scrartcl} \usepackage{filecontents} \begin{filecontents*}{file.tex} \documentclass{scrartcl} \...
2
votes
2answers
96 views

Is it possible to store the height and width of an imported document in variables and adjust the page to fit it (reverse-engineering layouts)?

For example, let's say that I use the pdfpages package and import a PDF. Is there any way (without using an external scripting language like Python) to access the dimensions of the PDF? Can I pass ...
3
votes
2answers
135 views

How to add a Thin Vertical Border Line (left side of each page) in PDF Docs

How to add a thin vertical border line (left side of each page) in PDF documents. Please see the attached image for more information. Thank you
3
votes
2answers
2k views

\pdfbookmark hyperlink aims to low with \includepdf

I'm trying to use pdfTeX to bring together several PDF documents and use the bookmarks feature of Adobe/Preview to supply a hyperlinking structure in a sidebar window. When I try this with multiple ...
0
votes
1answer
171 views

Use includepdf in beamer class and keep pagestyle but counting up the pages

I'm creating a beamer document in that several PDF documents get included by a python script. To keep the style of the slides and including the PDFs I'm using the \includepdf like that: \...
2
votes
0answers
62 views

Including pdfpages renders rotated RevTeX 4.1 pdfLaTex output

This happened when I updated MikTeX to the latest version (as of time of this post) and tried the workaround regarding adding pdf pages to RevTeX documents. Running the code below produced text ...
0
votes
1answer
152 views

pdfpages does not correctly scale inserted pdf pages

I use the following code : \usepackage{pdfpages} ... \includepdf[pages=-]{article.pdf} I also tried many pdfpages options such as fitpaper, templatesize, noautoscale, scale and so forth. I also ...
1
vote
0answers
79 views

Xelatex: The problem of Including pdf file in the book class

I'm a user of Latex program. I have a problem of the including pdf file. originally, it had been worked several times ago, but now, it is not working. I just added the some texts in this document and ...
1
vote
0answers
64 views

Package grffile not working consistently across machines

I have some latex code that uses includepdf and the grffile package. I use the grffile package to allow spaces in the file path of a PDF I reference. The code works on a desktop I have (i.e. the ...
2
votes
0answers
71 views

Force first page to be marked as right page in PDF [closed]

I am using the pdfpages package to combine two pdf documents into a single one: \documentclass[twoside]{scrbook} \usepackage{pdfpages} \begin{document} \includepdf[pages=1-22]{doc1} \includepdf[...
0
votes
0answers
82 views

How to remove page numbering from title page all together?

I'm very new to latex and trying to write a report. I got everything set with the printable version of page number and such but the problem is I can't remove page numbering from the generated pdf. It ...
1
vote
1answer
98 views

Refer to appendix with \includepdf

I have included a PDF by using \includepdf into my appendix. I also added a label to that pdf but when I refer to it like as you can see in Appendix \ref{mylabel} it prints "as you can see in Appendix ...
0
votes
1answer
331 views

Does \includepdf start a new page by default?

I'm using pdfpages package to insert some pages from a pdf file. I'm using the following options within \includepdf openright=false,% frame=true,% trim=3.5cm 2.8cm 3.5cm 5cm,% clip,% scale=.4,% so ...
0
votes
1answer
116 views

Insert pdf pages side by side

I have two versions (A4 size) of a document: new.pdf and old.pdf. I'd like to share with co-authors a pdf with pages side by side, so should be easy to compare the changes in the output. Here ...
3
votes
3answers
100 views

Inserting every 'n' page of several pdf files

I have 3 pdf files (a.pdf, b.pdf and c.pdf) with 50 images per file. I need to insert every page of each pdf one by one (3 in a row). Not all pages from first pdf and all from another, but one page ...