Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pdfpages]

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

15
votes
0answers
904 views

proper alignment of pdfpages import in memoir typeblock

Finding the solution to Setting up pdfpages with memoir? turned out not to be as simple as adding the right layout parameter as an offset. The first finding was that if a twoside documentclass is ...
5
votes
0answers
482 views

File names with spaces stopped working in \includepdf and \includegraphics in TeX Live 2016 if compiled with LuaLaTeX

The following used to work in TeX Live 2015 compiled with LuaLaTeX, but does not work in TeX Live 2016: \documentclass{minimal} \usepackage{grffile} % Extended file name support for graphics \...
3
votes
0answers
53 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 ...
3
votes
0answers
127 views

How to allow page break with pdfpages package?

I am trying to find a way how to allow my included pdf document to split between two pages. Currently, I am adding a pdf document as an appendix. Since the pdf's first page is too big it does not fit ...
2
votes
0answers
47 views

How to include pdf without it always starting on a new page

When including a pdf in my document I use: \includepdf[pages=-]{myfile.pdf} For some reason every time that I do this it wants to start the pdf on a new page. I would like to start it without going ...
2
votes
0answers
58 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
0answers
245 views

Writing over writing when including a pdf

I'm writing a document on which to include a pdf that contains a table of description. This is the code I have used: \begin{table}[!h] \caption{Use Cases Description} \begin{center} \includepdf[...
2
votes
0answers
98 views

Include marginless pdf into article with altering margins

Situation: I've an article with altering page margins using the twopage option. The margins were set by the geometry package. Goal: I want to inject a pdf, which has no margins at all, into my ...
2
votes
0answers
367 views

Formatting front matter title and page number in ToC to be single spaced and roman

I want to achieve the following (ignore the artifacts, it's from a university reference for their thesis style), I have the following MWE, \documentclass[12pt, a4paper, oneside, parskip=full]{memoir}...
2
votes
0answers
180 views

Is it possible to index non-latex PDF inserted using \includepdf?

I have a collection of PDFs in which some are Latex generated and some are external PDFs that were created using other software. I want to combine these PDFs to create a master PDF. \documentclass[...
2
votes
0answers
171 views

Include pdf file with existing bookmarks

I need to include several papers (PDF files) in the end of my thesis. The PDF files already have bookmarks, and my thesis has bookmarks as well. Is there some way to include the bookmarks of the ...
2
votes
0answers
528 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
172 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 ...
2
votes
0answers
120 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 ...
2
votes
0answers
577 views

LaTeX /includepdf stacks images on top of eachother

I'm trying to insert a pdf with multiple images into my LaTeX document using \includepdf but either no image shows up (for page={1} or page={1-4} etc.) or it stacks them all on top of each other and I'...
2
votes
0answers
717 views

Fillable fields vanish from PDF form when include'd in another PDF

I have created, using hyperref, a set of fillable PDF forms. When I open the PDFs in Adobe Acrobat Reader, the forms work as expected (these are simple no-frills forms without any JavaScript - one of ...
2
votes
0answers
145 views

Embedding a LaTeX document inside another, with some border or other stylising

I'm writing a fairly lengthy report, which should include several papers I have worked on. Each paper is more-or-less self contained, with their own title, date, sections, etc. I have each of these ...
2
votes
0answers
936 views

\includepdfmerge starting new documents on right side page

I'm using pdfjam to merge a large number of PDF files for subsequent printing. Because I don't want to have pages from different documents on the same physical sheet of paper, I want to issue a \...
1
vote
0answers
30 views

Unknown errors with pax package with lualatex compiling

Let we have some document.tex-file with hyperlinks \documentclass[]{article} \usepackage{amsmath} \usepackage{hyperref} \begin{document} \begin{equation}\label{key} E = mc^c \end{equation} \eqref{...
1
vote
0answers
39 views

standalone compatibility with pdfpages

I've done the following: \documentclass[preview]{article} \usepackage{pdfpages} \begin{document} This is a test \includepdf[pages=1] {example-image-a4-numbered} More testing \end{document} and I get ...
1
vote
0answers
36 views

Highlighting included PDF

I use pdflatex on linux. I would like to put a transparent colored box on top of an included PDF. The goal is to highlight some line of the PDF. The green box has to be transparent: I mean the white ...
1
vote
0answers
48 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
vote
0answers
65 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 ...
1
vote
0answers
74 views

Include 5 pdf pages in one page with a blank page

Just encounter a small problem with Texmaker. I want to add 5 PDF pages in one PDF page with TexMaker. The layout I need is the one below : I used the code here with Texmaker: \includepdf[nup=2x3, ...
1
vote
0answers
248 views

How to copy bookmarks of included PDFs?

I want to create a document, which uses pages of other documents, while keeping the original bookmarks. There are some laconic answers pointing towards pax. The README of the pax package lists the ...
1
vote
0answers
55 views

'\includepdf' misincludes PDF as figure

I used \inclduepdf to include a document with \includepdf[pages=-,pagecommand={}]{docs/content.pdf}. In docs/content.pdf, I have pictures and texts in it. And you can highlight words with cursor. ...
1
vote
0answers
93 views

Text underneath pdf when using includepdf

I'm using includepdf to include a table. \includepdf[pages={1} ]{table.pdf} However, this results in the text running underneath the pdf. Using /clearpage or /newpage results in ghastly blank ...
1
vote
0answers
269 views

Latex: Empty page between landscape and portrait page. Why?

I call this landscape pages from here (main file): \begin{landscape} \vspace{5cm} \chapter{XXXXX} \label{ch:YYYY} \end{landscape} \input{./XXX/Model.tex} Model.tex: \begin{landscape} % ...
1
vote
0answers
136 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
140 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,...
1
vote
0answers
347 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 ...
1
vote
0answers
326 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
112 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} \...
1
vote
0answers
159 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 ...
1
vote
0answers
1k views

Latex report \usepackage{pdfpages} does not work

I am trying insert a PDF file as an appendix to a report. I am making it using Latex. I came across the command \usepackage{pdfpages} to do this, but it does not work. Here is how the latex file ...
1
vote
0answers
1k views

Is it possible to make \includepdf follow odd / even page margins?

For my PhD thesis, I'm trying to include various multipage .pdf files as appendices using \includepdf. However, it is centering the pdf, rather than following the odd / even page margins. Is there a ...
1
vote
0answers
542 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
743 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

Why do I get this error with \includepdf: “(\pdfsetmatrix): Unrecognized format”?

This MWE produces a compile error: \documentclass[12pt,letterpaper]{article} \usepackage{pdfpages} \usepackage{lipsum} \title{My Title} \author{First M. Last} \begin{document} \maketitle \lipsum ...
0
votes
0answers
31 views

How to insert a TeX(LaTeX)-formatted block inside a pdf-file, enlarging the page in which this block in inserted?

I have a pdf file with no source code. (Possibly generated from a series of scans with no OCR or some WYSIWYG text processor, or even drawn in Gimp.) Clarification: The pages are not necessary image-...
0
votes
0answers
55 views

\includepdf command disappear the pdf's transparency information?

I have a pdf which has some transparent graphics and words. Like this:(of course it had more words ) then I use \includepdf command to insert this to a latex project . \documentclass[10pt,a4paper]{...
0
votes
0answers
62 views

how to install the pdfpages package?

I need a step by step (very simple like myself) instructions on how to install the pdfpages package. It's taken me time to figure out I didn't have the package. Now I've found and downloaded … but I ...
0
votes
0answers
19 views

Adding internal document links to section created using pdfpages package

I've tried adding \ref and \label commands to the pdfcommands option when adding a pdf file to my report to add a link to the pdf report, but that does not seem to work. Has anyone here tried adding ...
0
votes
0answers
17 views

Maintain the link in .pdf file included in latex with command \includepdf

I need to insert a pdf file in latex and I use the \includepdf command and it work fine. However the link present in the pdf will be lost when it was uploaded in latex with the above command. Can you ...
0
votes
0answers
22 views

\includepdf let me with a blank page

I have some troubles with \includepdf because when I compile the file, the result is one blank page, but not the pdf. I have tried many things, but know I don't know. this is what I wrote : \...
0
votes
0answers
24 views

1 section title for multiple pages pdfpages

I have tried to add a section title to my multiple pages pdfpages in the appendix. However, my attempt was wrong, as it now creates a new section title for every page of the included (multiplepages) ...
0
votes
0answers
32 views

Including empty lines in verbatim text in command environment

I am trying to typeset some text on an included pdf page with the pdfpage package. This can be easily done with the pagecommand={} option. But it seems we cannot insert an empty line inside the ...
0
votes
0answers
91 views

pdfpages printing \AM@currentdocname in a box

I am getting an error displaying a PDF in latex. The pdf is only a single page. I am getting a box with \AM@currentdocname.pdf shown. Based on my googling, including the [final] option should have ...
0
votes
0answers
35 views

Modular projects: Compile parent and child documents using separate custom classes

I would like to compile a main.tex parent document using a custom class as well as child documents using different custom classes. I would like compilation of the parent document to automatically ...
0
votes
0answers
86 views

Inserted pdf pages are not centered

I use \usepackage{pdfpages} and the code \includepdf[pages=-]{File name} to insert three pdf files, each of them have three pages, in my main file. But the pages of first two of them do not centered ...