Questions tagged [pdfpages]

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

77 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
15
votes
0answers
912 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
492 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
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 ...
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
0answers
260 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
143 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
101 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
405 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
189 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
537 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
177 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
124 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
591 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
727 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
146 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
962 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
1answer
37 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 ...
1
vote
1answer
46 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 ...
1
vote
0answers
35 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
48 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
56 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 ...
1
vote
0answers
37 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
2answers
427 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 ...
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
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 ...
1
vote
0answers
75 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
257 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
57 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
98 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
294 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
176 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 ...
1
vote
0answers
147 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
162 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
363 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
340 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
115 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
163 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
559 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
757 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
23 views

\includepdf not working correctly, gives invisible text

\includepdf{mypdf} returns a blank page. The text is there, however it is not visible. If i make a new blank tex file, the pdf will load properly. However, removing all packages except pdfpages ...
0
votes
0answers
19 views

Appendix, landscape mode, unwanted blank page

I have a PDF in landscape mode created from excel. I want to include this in an Appendix with heading, followed by each appendix as a section. My attempt is shown below: \documentclass[11pt]{article} ...
0
votes
0answers
49 views

Problem generating large PDF files with pdfpages

Using xelatex, I generate a large PDF file (in terms of size and number of pages) by combining a quite high number of files with pdfpages plus other text in Latex. It takes considerable time to ...
0
votes
0answers
32 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
37 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
25 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
21 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
24 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
48 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) ...