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

learn more… | top users | synonyms (1)

4
votes
1answer
42 views

pdfpages-PDF appears in background of pgfplots-plot

I'm using pgfplots with the externalize feature, which creates external pdfs for all my plots. But there seems to be a strange interaction with pdfpages when externalize is used. The pdf I'm including ...
3
votes
0answers
33 views

How to divide a long tabular into 3 columns per page? [duplicate]

I'm making a set of very long (1000 rows each) data tabulars. I'm using the longtabu environment, since it can split over pages. My problem is that each of the tables is around 16 pages long, and ...
0
votes
0answers
16 views

Option clash: using pdfpages with xcolor [duplicate]

I am using \usepackage[table]{xcolor} to alternate table row colors in my thesis. I have tried to include a .pdf file as an Appendix using pdfpages, however LyX tells me there is a option clash with ...
2
votes
1answer
19 views

Table of contents alignment problem with multi-line \pbox in \inlcudepdf addtotoc

I'm inserting many 1-page PDF's that I also include in the table of contents. The only issue I have is with the alignment of my entry with the toc counter for PDF # and it's corresponding page ...
0
votes
0answers
22 views

included pdfs won't rotate using pdflscape

As far as I know pdflscape is able to rotate pages* horizontally if you use the landscape option. However, this won't work with included pdfs for me. Is there a syntax I have overseen? turn=false ...
0
votes
0answers
35 views

To insert by pdfpages pdf files closely one after the other without new page

I have a few articles as pdf files to be merged in one book. \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{pdfpages} \begin{document} Conference proceedings ...
0
votes
0answers
37 views

includepdf why all pdf goes to the same page? [duplicate]

I am trying to use includepdf to appendix a pdf to my file. I want to add all the pages. Here is my code: \documentclass[prl,twocolumn,showpacs,superscriptaddress]{revtex4-1} \usepackage{pdfpages} ...
3
votes
2answers
35 views

Creating a custom copy of pagestyle plain with fancyhdr?

Consider this MWE (compiles with pdflatex -shell-escape test.tex): \documentclass{book} \usepackage{filecontents} \begin{filecontents*}{insert.tex} \documentclass{article} \usepackage{lipsum} ...
1
vote
0answers
26 views

pdfpage and Lyx, avoid superpositions of pages

When I include a pdf-document inside a Lyx document using the function inside Lyx (Insert -> External Material) which calls pdfpages, at least two pages are super-impressed (one appear on top of an ...
0
votes
1answer
28 views

Inserting a pdf file after a title causes the tile to be on one page and the pdf to start on the next [duplicate]

I have a new page, with title. I want my pdf file to show up under the title. However, the pdf shows up on the following page. I want the pdf to be under the title page. Is the issue the size of the ...
1
vote
1answer
36 views

includepdf addtolist label not working

When I include PDFs in the annex, the label gets not set correctly. In the list of tables the link appears correctly, but clicking it brings me to the first page of the document. The link in the ...
0
votes
0answers
50 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 ...
3
votes
1answer
58 views

pdfpages rotate odd pages 180º

I'm trying to create a booklet with pdfpages. So far it's working, but I would like to tweak the page orientation to put all the spreads/pages "straight" (rotate odd pages 180º). I've tried different ...
1
vote
0answers
17 views

`\includepdf` seems to remove internal links within included each pdf file? [duplicate]

\includepdf seems remove internal links within included each pdf file. for example, in \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages=-,fitpaper]{1.pdf} ...
1
vote
1answer
56 views

Include multipage PDF using XML

I'm new in XSL and LaTeX. I have a project, where I need to include some PDF files. I'm using \usepackage{pdfpages}. Everything runs OK, but the main problem is when I want to include a PDF file ...
2
votes
1answer
45 views

includepdf in pdflscape environment

I want to include a pdf containing a scalable vector graphic in my document. Because of the graphic's width it must be imported in landscape mode (which works). However, I want to rotate the whole ...
0
votes
0answers
17 views

Importing a pdf file that has filled in forms [duplicate]

I have a pdf file myfile.pdf in which I have filled in some forms. I'm trying to include that pdf file in a larger latex document using: \usepackage{pdfpages} ... \includepdf[pages={1}]{myfile.pdf} ...
2
votes
1answer
60 views

Include PDF without space on the left

I'm trying to include a PDF and then add text to it using overpic: \documentclass[a4paper]{article}% ensure identical page size \usepackage[abs]{overpic} \usepackage{tikz} \usepackage{geometry} ...
1
vote
1answer
53 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} ...
1
vote
0answers
46 views

Missing \begin{document} error on using pdfpages package with pdflatex

Here is my .tex document and i am compiling to pdf format using pdflatex a.tex. It throws an error, ! LaTeX Error: Missing \begin{document} and after i give R to continue, it gives a lot of errors ...
6
votes
3answers
89 views

pdfpages / pdfbook for odd sizes paper

I have a book typeset with pages of 105mm x 180mm This needs to made into a booklet, in signatures, such that it prints on A4 portrait paper, with the original book pages side by side. (i.e. 105mm + ...
1
vote
0answers
29 views

Include pdfpages and unwanted scale

When I include a pdf file with the command \includepdf[pages=1]{file} from the package \usepackage[final]{pdfpages}, I obtain a scaled document (in a smaller height). How can I obtain rigorously the ...
1
vote
2answers
98 views

How do I prevent pdfpages from either rescaling or cropping the included PDF?

Assume I have two PDFs that I want to stitch together. Both have the same width (standard A4), but one of them is much higher (page height adjusted by using the geometry package). Now, when I include ...
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 ...
2
votes
1answer
35 views

pdfpages with alternate TOC entry

So what I'm trying to do is use the caption package with the pdfpages package so a alternate caption turns up in my toc. Sorry if the code didn't turn out perfect still new to posted on stack ...
0
votes
1answer
38 views

How to insert commas as value of \addtotoc in \includepdf command?

I would like to include an external PDF file into my document, using the pdfpages package. Here is my root file which works fine: \documentclass{book} \usepackage{hyperref} \usepackage{pdfpages} ...
1
vote
1answer
101 views

Loss of Quality when merging PDF with pdfpages

I have a quality problem when merging one-sided PDFs into multiple page PDFs using the pdfpages package. The initial PDFs consist of scanned sides of books. I create the LaTeX-File inside R and ...
4
votes
1answer
72 views

Why don't the \chead and \pagestyle commands affect page headers in the \pagecommand of the pdfpages package?

I want to include about 500-600 pdf files of a scientific conference in a root file. My root file is as follows: \documentclass[a4paper,11pt]{article} \usepackage{lipsum} \usepackage{pdfpages} ...
5
votes
2answers
91 views

How to display the page numbers of included pdf files like “pp: x-x” in headers?

I want to include about 500-600 conference papers in a root file. My root file is as follows: \documentclass[a4paper,11pt]{article} \usepackage{lipsum} \usepackage{pdfpages} \usepackage{fancyhdr} ...
0
votes
0answers
63 views

Problem with includepdf invisible text in document

I am using includepdf to add some pdf pages to the appendix of my paper using the following command \includepdf[width=\textwidth, pages={1},pagecommand=\section{Appendix} {blablabla} ]{test.pdf} ...
1
vote
0answers
61 views

Included pdf documents in latex are “twosided” but the overall document is “onesided”, how can I change this?

I want to include a pdf document with a couple of pages in my dissertation. I used the package pdfpages to do so. When I specified oneside only in documentclass it did not work so included the package ...
0
votes
0answers
26 views

\includepdf[pages=-]{file.pdf} doesn't work [duplicate]

I have Tex Live installed. Everything look fine, pdfpages show any particular page I want, but when i want to print all pages via command: \includepdf[pages={1-5}]{vyzkum/Form.pdf} ! Missing = ...
4
votes
2answers
112 views

Using ranges with pdfpages fails

The documentation says the following: E.g.: pages=- will insert all pages of the document [...] however, when I put \includepdf[pages=-]{foobar.pdf} in my LaTeX doc (compiled w/ xelatex), I get ...
0
votes
0answers
17 views

pdfpages postioning problem

I am trying to create a pdf from a selection of pages from an existing pdf. Simply put, I want the resulting pdf to feature only a selection from the parent pdf. No added text from my side. However, ...
0
votes
0answers
63 views

Wrong A4 measurements that are not “pagesize” solvable

I would like my pdf document to have an a4 format. \documentclass[a4paper,12pt,oneside]{article} \begin{document} Text, text, text... \end{document} Unfortunately, when I print the pdf document ...
0
votes
0answers
20 views

Table of contents inside an included PDF [duplicate]

I've got some problem with LaTeX right now, well to be honest it's not really a problem and I'm not even sure that it is possible but I would like to be able to do it. Basically, here is my LaTeX : ...
3
votes
1answer
37 views

grffile package not working with includepdf when the command is in a “newcommand”

I'm able to include file names with spaces when I use the includepdf alone but when it's included into a newcommand , I cant seem to make it work. \documentclass{article} \usepackage{grffile} ...
1
vote
0answers
60 views

Combining multiple documents

I've searched and have not been able to figure out how to do this any other way, so I'm asking here to see if any of you have any ideas. Basically, I'm trying to combine separate LaTeX files, but ...
2
votes
1answer
78 views

How to insert a blank page after an icluded pdf only of 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: ...
8
votes
2answers
158 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 ...
0
votes
0answers
29 views

Enquiry about ims book style page format [duplicate]

I am using imsbook style for writing my thesis. In this style, each chapter starts from an odd number page and end with even page number. The issue is, the output is in such a way that the book will ...
0
votes
1answer
45 views

Why is pdfpages' addtotoc option giving me «Illegal parameter number in definition of \AM@temp» error message?

I am trying to add a few pdf pages in my LaTeX file and have them shown in the table of contents. My file is as follows: \documentclass[a4paper,12pt]{scrartcl} \usepackage[utf8]{inputenc} ...
7
votes
2answers
92 views

How to use a subset of a beamer presentation?

I am trying to take the PDF output of a beamer presentation and take only a subset of the slides, and create a PDF file out of them (I can't recompile the beamer presentation with the relevant slides, ...
0
votes
2answers
81 views

Booklets on legalpaper using pdfpages

I want to make a signature for a small pocket booklet. I don't want to use ISO sized paper, but every reference to pdfpages uses A5 or A6 booklet examples. Is this possible to do? Do I need to produce ...
0
votes
1answer
78 views

xinclude pdf in a latex document as appendix - where pdfpages does not work

I am having a problem including pdf pages in latex as appendix. I have tried using pdfpages but including \usepackage{pdfpages} in my style file of my thesis does not allow the code to work. Below is ...
3
votes
1answer
136 views

Write/Read values of the LaTeX commands (like \title, \ author etc) in file using Lua

This problem relate with other my question here . I found a solution with pdfpages package thanks to TX.SX: \documentclass[]{scrbook} \usepackage{authblk} \usepackage{pdfpages} ...
0
votes
0answers
50 views

Multi-page pdf in figure environment

I want to include a multi-page pdf file into a figure environment, as it serves as one of the figures in the appendix. I know that normally one could also use the pdfpages package to include such a ...
0
votes
0answers
47 views

How to disable predefined margins in \includepdf command

I want to include pdf page in my thesis. In twoside mode latex adds predefined margin so that some text on the other side is out of page. So I want it without predefined formatting and add pdf as it ...
2
votes
1answer
241 views

Blank page when using pdfpages package

I have a file fooo.pdf with dimension 210mm x 70mm and 6 pages (simple grey background). I'm using pdfpages to include the pages inside an A4 page. So the ideal number is 4 pages per page. But the ...
4
votes
2answers
241 views

How to include multiple pdf pages using \foreach as tikzpicture?

I know how to include pdf pages using package pdfpages and do it all the time, but always had problem with getting the page centered and scaling. I am now trying to learn how to use tikzpicture to ...