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.

0
votes
1answer
25 views

Keep filled form data with pdfpages

I have to fill pdf forms for a school asigment and would like to append them to my final report. Yet, when using \includepdf from the pdfpages package, all the information I fill into the form ...
81
votes
5answers
359k 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 center, ...
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
1answer
20 views

tocloft does not add all \cftaddnumtitle entries to ToC

I am including PDF documents and using tocloft \cftaddnumtitleline to recreate Table of Content elements in the included documents. I expect the ToC to look like this: The ToC actually looks like ...
1
vote
1answer
37 views

Hyperref and Pgfpages Resize

when I use pgfpages to resize my document all my hyperref links got displaced. I need to scale my A4 document to 240mm x 170mm. But I want to keep all my bookmarks and document metadata. Got anyone ...
0
votes
0answers
56 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]{...
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 ...
4
votes
1answer
1k 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 - ...
1
vote
2answers
29 views

What's the syntax for right justifying a caption only on an inserted pdf?

I'm new to Latex and although I've got the hang of basic justification, I don't have enough knowledge to work out the syntax for this specific problem. I have inserted a pdf page and as a figure, it ...
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[...
0
votes
1answer
156 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. ...
19
votes
2answers
17k 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 / ...
0
votes
1answer
32 views

How to fix clash between pdfpages/graphicx and invoice package on overleaf

How to reproduce clash? Use this template: https://nl.overleaf.com/latex/templates/invoice-template/rpdlzpjmkfmj Add \usepackage{graphicx} or \usepackage{pdfpages} Actually now that I test it, ...
1
vote
2answers
364 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
0answers
70 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 ...
82
votes
8answers
86k 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 ...
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 ...
1
vote
1answer
27 views

Prevent overhanging of header on included PDF

I have a headrule which overhangs the text, whereas I would like it to be the same length as the text and aligned with the text. The misalignment seems to come when including a PDF rather than having ...
7
votes
2answers
517 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, ...
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{...
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
26 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
1answer
34 views

Overwrite background image (using background package) by PDF (using pdfpages package)

I just want to see the PDF clearly. Is there a way to overwrite the background image (jpg file) by the PDF using pdfpages package? Or is there a way to use opacity for the PDF separately? \...
1
vote
1answer
413 views

How to specify bookmark levels with pdfpages?

I'm using the \includepdf command from the pdfpages package like this: \chapter{Code} \addcontentsline{toc}{section}{Introduction} \includepdf[pages=-,addtotoc={1,subsection,2, Conditions, mylabelA}]{...
0
votes
1answer
64 views

Include landscape figure pdf into document

I have a large figure over 2 pages which I would like to include into my latex file. This figure is an external PDF and in landscape format already. I want to be able to reference the figure in the ...
0
votes
1answer
23 views

Latin Numbering on the Navigation Pane

I am facing the following problem. Even though I have numbered the fist pages of my thesis with Latin numbering, the navigation pane on the left numbers them with Arabic numbering. This creates a ...
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 ...
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
1answer
43 views

Split 2-up with pdfpages or graphicx

A couple of years ago, someone posted (https://tex.stackexchange.com/a/53366/2966) claiming After scanning a book 2-up, you can use pdfpages and ifthen to split the pages in two and reassemble 1-up....
2
votes
1answer
94 views

Inserting a PDF File Into a LaTeX Document

I cannot insert a PDF file into the LaTeX document with the following code. When I run the following code, I get an error message in the log file like this: "! Undefined control sequence. \@calc@...
0
votes
1answer
36 views

Adjust Frame Option of pdfpages-Package

I'm currently writing a report for university and want to include some pdf documents as appendices. I'm using pdfpages (of course) to include these pdfs but i ran into one small problem: I scaled the ...
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 ...
10
votes
4answers
3k views

Constructing conference proceedings

I am curious about a way to build nicely designed conference proceedings based on separate contributions available in the pdf format and all based on a given LateX template. The difficulty seems to be ...
0
votes
1answer
76 views

Me too: \includepdf only shows first page [closed]

I have the same problem as described by adam.baker in this post: \includepdf only shows first page, despite having multiple pages. (This seems to be not limited to pdfpages, because graphicx with ...
1
vote
1answer
293 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} \...
0
votes
1answer
145 views

Blank pages for \includepdf{}

I'm trying to include a scientific paper in an appendix in xelatex. No errors from the package, no issues in the log file from pdfpages and it renders to pdf just fine - except that all the pages for ...
2
votes
1answer
36 views

Beamer: count included PDF for frame numbering

For adding an existing PDF to a beamer document, it was explained to use \includepdf with the following code: \documentclass{beamer} \usepackage{pdfpages} \usetheme{Montpellier} \addtobeamertemplate{...
0
votes
0answers
98 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 ...
7
votes
2answers
6k views

Compile two A5 pages on one A4 page

I often make A5 size hand outs for my students. I would like the A5 page to be directly compiled to have a copy of the original A5 page on one A4 page. Up till now my solution has been to make a ...
1
vote
2answers
52 views

How to keep a link with underscore stable when inserting the pdf?

I'm setting up my job application portfolio, and want to link my email address. However, when I insert the pdf with the linked email address to my portfolio, the link does not work properly anymore. ...
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 ...
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
1answer
68 views

Title overlapping page when using pdfpages

I'm trying to include a printed Google forms form as a part of an appendix using the following commands: \documentclass{report} \usepackage{pdfpages} \begin{document} \chapter{Chapter 1} Some text ...
2
votes
1answer
59 views

How to concatenate different latex files

Suppose I wrote several latex files, resulting with several pdf files that I want to concatenate together. Now suppose that different latex files are written with different templates and packages ...
2
votes
0answers
72 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} \includepdf[...
1
vote
0answers
47 views

Overlapped figure when insert cropped pdf [closed]

I would like to insert figure in another pdf into my document, but the new image is overlapping the text. Can I perfectly insert it? \documentclass{article} \title{Product Variety and Quality Under ...
2
votes
1answer
68 views

figures and \includepdf problems [duplicate]

I'm having a problem: I have to put a pdf (multi-page) file in a LaTeX document. But, when I do this, all the figures from the chapter appear after the document. I'm using: \begin{figure}[!htbp]...\...
6
votes
2answers
1k views

“adjustbox” with Export option seems to break page selection (in “pdfpages”)

I'd like to include some pages from a separate PDF with the right half trimmed off, but I don't know in advance the exact size of the pages. I tried a solution, using pdfpages to include from the PDF ...