Questions tagged [pdfpages]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
209 views

Include pdf at the end of a document

I have the following code: \documentclass{book} \usepackage{pdfpages} \begin{document} \chapter{chap1} Some text. \includepdf[pages={-},pagecommand={\thispagestyle{headings}},scale=0.7]{myfirstfile....
0
votes
1answer
48 views

Find the page size in a PDF file using LaTeX

I sometimes use LaTeX in conjunction with pdfpages package to manipulate the pages of a PDF file (not necessarily created by LaTeX), operations like combining several pages into one, or changing the ...
1
vote
1answer
47 views

Adding a .pdf-file using LaTeX not PDFLatex

I want to add a multipage pdf file to my latex document. However, due to some packages that uses eps files I can not use PDFLatex. Instead I use Latex >> ps2pdf. \includepdf does not work under these ...
0
votes
1answer
249 views

How do I flatten or render a PDF form so it can be included in another PDF with pdfpages?

I have a workflow that combines many PDFs into a single PDF using pdfpages. Recently, one of my users has started submitting PDFs that include fillable forms. We do not need to preserve the form, but ...
1
vote
1answer
257 views

How to include all pages except last one from an external PDF

I'm using the package pdfpages to insert (many) external PDFs in my pdflatex compiled document, but I need to insert separately all the pages but the last one and the last page (I have to issue some ...
1
vote
3answers
200 views

title of (sub)section on included multi-page pdf

This is a follow-up on another thread in which I got advise on how to \includepdf with section and subsection titles on the included pdf: \includepdf jumps to new page - can I avoid that? The ...
1
vote
1answer
485 views

\includepdf jumps to new page - can I avoid that? [duplicate]

For my thesis I shall include some pdf-files in the appendix (i.e. appendix a, b, c etc.). I would like the section title (Appendix of Introduction) and the subsection title (Appendix a: Initial ...
0
votes
1answer
56 views

New blank page after pdfinclude?

I'm working on a latex document in which I have to include a automatically generated pdf from my university as the titelpage. Directly after the titelpage, the table of content (and obviously the rest ...
0
votes
0answers
32 views

Include a PDF-file and write text above on the same page [duplicate]

I would like to have a section where I insert a PDF-page and write a few lines of text before. What I got: \section{FOO} %some text is following \includepdf[scale=0.9,pages=1,pagecommand={},offset=0 -...
2
votes
1answer
163 views

Why is the height of (pdfpages) \includepdf files not taken into account?

The following MWE (to be run at least twice) points out on its 2nd page (the number of which being invisible, BTW) that the height of (pdfpages) \includepdf files seems to not be taken into account. ...
2
votes
1answer
204 views

Insert pages of pdf in document

I a pdf file that contains the "first" page of each chapter, 26 in total, of a book I wrote. I use \includepdf[pages=1]{foo.pdf} for the cover and works fine. But, when I go the chapter 1 and use \...
4
votes
1answer
40 views

Using zpageref in includepdf

I wanted to extract the appendix from an external pdf document automatically by using \zpageref to get the page number specified by the label sec:appendix in paper.tex (the source of paper.pdf). ...
3
votes
1answer
101 views

Overlaying watermark on \includepdf *at varying defined locations on successive pages*

When using advice elsewhere here to place a watermark over every page of an \includepdf, I'd like to vary the location of the watermarks on each page. One very laborious solution is to include the ...
3
votes
0answers
54 views

pdflatex, installing a font, working on one machine, not on the other

I have two MacBooks, one for work, one for myself, both running the up to date OS and MacTeX 2018. On one machine (it's half a year older and had MacTeX2017 before, but I only did the following with ...
1
vote
2answers
428 views

Section on one page with includepdf [landscape]

I want to include a PDF in landscape (its a table in PDF form) with include PDF. I want a section on the same side, but when I use this command, the section heading is not on top (of that landscape ...
0
votes
2answers
292 views

crop margins but include pdfs full paper size

I want to include different kinds of PDFs. For one kind (a normal page just generated outside of LaTeX) I want the margins added by the crop package. But others are full size photos for which I want ...
2
votes
1answer
70 views

PdfPages has no effect on my document size

I am writing an abstract for a conference and they gave a TeX template. It is very important that the created pdf file has the size 180mm x 237mm. Last year I used the same template for my abstract ...
0
votes
2answers
79 views

One PDF for Doublepage

I have a single PDF document that I want to include into my script. It is supposed to be used as a double page, like you open the book and the left page is the left half of the PDF document and right ...
0
votes
1answer
52 views

`\titleformat{\chapter}` does not seem to trigger when adding a PDF as a new chapter

I have a workflow that involves adding some of the chapters in a report in via the \includepdf command from the package pdfpages. In this process I want some of the PDFs to be the start of a new ...
2
votes
0answers
60 views

Preserving page labels when using includepdf

I want to glue together different parts of a book using \includepdf. How do I preserve the source pdf's page labels? I guess that's what they're called. I don't mean the page numbers on the actual ...
2
votes
1answer
32 views

compile input pdf from tex file prior to pdfpages

Is it possible to generate pdfs from tex files prior to using pdfpages for files that will be included in the output pdf? I would like to generate the input pdfs when compiling the main pdf. For ...
3
votes
1answer
189 views

LaTeX: Landscape pdf numbers in the wrong place

I am trying to insert some pdf pages into my LaTeX document and have them numbered. So far, I have the following tex file: \documentclass[10pt]{article} \usepackage[margin=1in]{geometry} \...
2
votes
1answer
70 views

Make page numbers stand out from PDF background

I am compiling a document from many full-page PDFs and add a table of contents. Because the PDFs are full page, the page number might not stand out from the background. Is there a good way to make ...
3
votes
1answer
247 views

Page Numbers for included pdf pages in koma script

I am using the class scrreport with the following setup \documentclass[11pt,twoside,DIV=12]{scrreprt} Inside the document I include several pdf files via \includepdf from the pdfpages package. Each ...
8
votes
2answers
130 views

Superimpose LaTeX / TeX output over a large PDF file

I need to add annotations to large PDF file. The method suggested in this answer does not scale well: \documentclass[12pt]{article} \usepackage{pdfpages} \usepackage{tikz} \begin{document} \...
0
votes
0answers
34 views

Chapter on PDF pages landscape page incorrectly orientated

I'm importing a single page using the \includepdf command with the following paramaters: \includepdf[pages=1,pagecommand={\chapter{ChapterTitle}},landscape}{filename.pdf} This works and I am ...
0
votes
0answers
45 views

Enlarge pdf-s inserted with pdfpages

I use \usepackage{pdfpages} in the header, and then includepdf[pages=-, nup = 2x2, linktodoc = true]{mypdf.pdf}. So, as well as mypdf.pdf is in the same folder, links work very well. But can one omit ...
0
votes
1answer
1k views

includepdf error message cannot find file

When I try to compile the file, I get this error message: \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[czech]{babel} \usepackage{geometry} \usepackage{graphicx} \usepackage{...
1
vote
0answers
49 views

pdfpages - a7 and a6 in different orientations cohabitation on one a4

I have 4 pdf documents I want to merge in one A4 : two a7 landscape one a6 landscape one a6 portrait I can't have the two a6 pdf rotated landscapewise at once. This code keeps the 2 a6 as there are:...
-1
votes
1answer
52 views

How to make one pdf from many pdfs where their filename are also shown as label in the one pdf?

I have a directory named Titlepage where the files(minimum 10 pdf) are titlepage_1.pdf, titlepage_2.pdf, titlepage_3.pdf... . Each has one page. This directory also hosted in Github so that people ...
1
vote
1answer
340 views

How can I force a pdf file to be on the same page as its title?

When I insert my pdf file the title is on one page and the file on the next pages (multiple-sided pdf file). How can I force the first page of the pdf file to be on the same page as the title? I ...
0
votes
0answers
97 views

Incompatibility of Tikz Externalize and Pdfpages [duplicate]

I am writing my final thesis and have come to an issue with Tikz an pdfpages. I had this issue before on an earlier work and hoped it would be fixed by using updated packages, but it did not. My ...
3
votes
1answer
117 views

Read metadata of inserted PDF page?

I use only lualatex, so a compiler-specific answer is OK. Consider this pseudocode-MWE. The included PDF is always one page: \documentclass{article} \usepackage{pdfpages} \def\includepdfifgood#1{ %...
1
vote
1answer
313 views

\includepdf only shows first page, despite having specifed the second page

\includepdf always inserts the first page of the PDF, even if I specify which page I want to insert. Start with a three-page PDF file, generated by external.tex: \documentclass[a4paper]{article} \...
1
vote
1answer
239 views

includepdf with page numbers: How to move the re-position numbers?

I am creating a PDF that includes many external PDFs, and want to insert a ToC page as well as page numbering. Using the following code I can achieve this, but the problem is that the location of the ...
3
votes
2answers
171 views

LuaLaTeX parse PDF for unencoded small string DeviceCMYK?

EDIT: It turns out that Lua is not needed. Since I call my TeX from script, the necessary investigation can be done directly, using findstr in Windows batch, or the equivalent in BASH. But that's ...
0
votes
0answers
39 views

Placing PDF in appendix section places it on a whole new page

I'm currently using the LaTeX code for putting pdf files in my appendix: \usepackage[titletoc]{appendix} \usepackage{pdfpages} ... \begin{appendices} \include{chapters/appendix} \end{appendices}...
1
vote
0answers
69 views

The command /pdfpages change the layout of the tables

I wanted to add a pdf copy of my published paper at the end of my thesis. I used \usepackage{pdfpages}, but I found out that the layout of all the tables in the document were changed. I am uploading ...
0
votes
1answer
204 views

Hyperlink in Contents not working properly with pdf inserted

I used pdfpages inserted a pdf as the last section of the main body of the article, and next to this section is the Reference.tex. The problem is, although the page number of the Reference section is ...
3
votes
1answer
184 views

LuaLaTex, pdfpages, distinguish between with-font and no-font?

I use only LuaLaTeX, so a compiler-specific answer is OK. The pdfpages package permits me to include one or more PDF pages into a TeX document. Let us focus on the situation where exactly one PDF ...
6
votes
1answer
111 views

Producing a document with a lot of almost identical pages in the most efficient way

I want to make a document which consists of, let's say, one page, which has to be repeated 10000 times. On each repetition of a page a unique number will be added on the page (I won't show it in MWE, ...
1
vote
1answer
461 views

Help redraw this correlation table to fit my pdf page and to be readable

%\begin{table}[htbp] \small \centering \caption{Add caption} \begin{tabular}{|l|p{4.855em}|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|} \toprule \multicolumn{2}{|l|}{} & \...
0
votes
0answers
175 views

includepdf output just white page with some pdf files

I'm using the Arsclassica template for my thesis and at the end I would like to attach some pdf files (ie a research paper, my CV, declaration of originality). Using \includepdf works for the pdf of ...
6
votes
1answer
502 views

Insert only half a pdf page

I'd like to include papers of mine which can easily be done with the pdfpages packages: \usepackage{pdfpages} \includepdf[pages=-]{mypaper.pdf} However, my thesis has an A5 format. Which means that ...
0
votes
1answer
215 views

Adding a footnote to a specific page (pdfpages)

I am in the progress of creating a small book with music notes. I have documents in PDF, which then I import to latex using pdfpages; I found it very useful as it takes multi page documents and import ...
2
votes
2answers
141 views

Arrange 6 pdf pages on one side

I have 5 different pdf files/pages, of which two are in A3-format (landscape) and the remaining 4 are in A4-format (portrait). Now I want to arrange them on one A1-page in the following order: ...
2
votes
2answers
537 views

Include path in pdfpages

My TeX file is in C:\Users\ustjo\Desktop\Finance Report\2017\Report While the pdf file is in C:\Users\ustjo\Desktop\Finance Report\2017 I tried \includepdf{C:/Users/ustjo/Desktop/Finance Report/2017/...
0
votes
1answer
174 views

Label last page in sequence of \includepdf commands

I am in a tricky situation. I am using NewEnviron to separate a handful of major parts of my document. Each part has its own numbering scheme and several environment-specific commands and settings. ...
2
votes
1answer
155 views

\includepdf for enclosures with its own tableofcontents

I would like to add some certificates to my document using \includepdf and create some kind of tableofcontents for them. However, since I already have a tableofcontents where I don't want them to ...
0
votes
1answer
52 views

How to put page from PDF on page before ToC

So I am making "this" file in which I do not have title page i.e. none page before table of contest one, because I've made title page in other program and converted it to PDF form and know I am trying ...