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
4
votes
2answers
694 views

Insert two pdf pages at the bottom

I would like to insert a pdf document of 2 pages in my document only on the bottom half part of the page. Using the pdfpages package with the command \includepdf[nup=2x1,pages=-]{<mypdf>} ...
2
votes
1answer
346 views

\newcommand verbatim parameter

I am trying to make a command that looks like this: \newcommand{\pdf}[1]{ \includepdf[ scale = 0.7, pagecommand = \begin{verbatim} #1 ...
2
votes
0answers
209 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[...
0
votes
1answer
254 views

Add a black box to the page margin of a few pages

I have a latex document of class book, with several chapters and a table of content. In the end, I add still a few pdf files using the includepdf command. The tricky part, however, is now to add still ...
3
votes
1answer
162 views

Hyperref's FitH is not the same as bookmark's FitH

I've got a problem making sure all my bookmark links in the PDF file act the same in Adobe Acrobat. The following is my MWE, \documentclass{memoir} \usepackage{pdfpages} \usepackage{hyperref} \...
1
vote
0answers
320 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} % ...
0
votes
1answer
439 views

How to add pdf file for appendix in XeLaTeX

I am writing a progress report in LaTeX with XeLaTeX compiler. I have several pdf files to add to my Appendix. I used \usepackage{pdfpages} to add. When I compile I got an error like ! LaTeX Error: ...
3
votes
1answer
45 views

Insert PDF and put Chapter heading over it (pdf has whitespace reserved for this)

Following up on Insert Trello.com Print as PDF in project I have now created a PDF that has a sufficient margin on the first page, and no margins on the following pages. All pages have sufficient ...
0
votes
1answer
90 views

Insert Trello.com Print as PDF in project

I have printed a few lists to pdf (on a4 pages) which I need to add as appendix to my project. It seems I can do this with \includegraphics or with \includepdf (from \usepackage{pdfpages}). ...
4
votes
1answer
165 views

Crossreferencing single pages with cleveref and pdfpages

what I try to achieve is inserting multi-page pdfs in my Appendix organized in sections. Inserting the .pdf files works the way I want it to. Additionally I want every inserted page to be labeled ...
1
vote
1answer
626 views

PDFpages landscape with normal footer and header (on top)

I want to use the pdfpages in Latex in landscape mode. That's possible with the following code: \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[landscape=true,pages=1-3,...
1
vote
0answers
53 views

Including pdf as appendix without shift of page [duplicate]

When I try to include a pdf file in my appendices, it gives the header and the label, and begins the pdf-file on the next page. I have a lot of pdf-files as my appendices, many only 1 page long, ...
7
votes
3answers
194 views

Include many files of very similar names all with one command?

I have dozens of pdf with the same name except for a changing number at the very end, e.g. xyz1.pdf, xyz2.pdf, ... xyz38.pdf. I know the command \includepdf{}, but writing it 38 times to include all ...
1
vote
1answer
69 views

add hyperindex of phantom sections to final PDF when merging multiple PDFs

I'm merging some PDFs using pdfpages and I would like to add some phantom bookmarks to make a clickable table of context on the side of my final PDF (I imagine using hyperref), a bit like this or like ...
1
vote
1answer
124 views

Specific text code brings lot of hyphenation

I am writing a document that has currently 83 pages and when I add the following text code into the .tex file, output pdf file increases to 85 ; addition of two pages instead of one. There is ...
1
vote
1answer
755 views

Pdf insert leads to only blank pages with pdfpackages [closed]

I have installed the package: \usepackage{pdfpages} However when I call on to the function: \includepdf[pages=-]{Borrowsoilsample8_1.pdf} It only shows blank pages. This file regards an Excel file ...
4
votes
1answer
782 views

How to insert a pdf page at the very last page of a book?

I have a book class, I'm trying to add a pdf page at the very last page of my book. At the end of my latex I have : \includepdf[pages={1}]{mylastpdf} \end{document} However I don't know why but ...
1
vote
0answers
186 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
1answer
91 views

Superimpose a PDF page and a PDF/vector image

I'd like to do this: \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdfmerge{underlay.pdf} \end{document} and onto the resulting one page, I'd like to overlay a small PDF ...
4
votes
1answer
67 views

Expansion issue with automated solution using cleverref to display page range of included .pdf files

This is my attempt to automate the solution from Use cleverref to display page range of included .pdf files. This seems to work fine, unless the file name I pass to \AddLinkToFile is contained in a ...
5
votes
2answers
102 views

Use cleverref to display page range of included .pdf files

I have a document where I link to numerous external .pdf and image files. The person who uses this document needs to have a hard copy of all the linked documents and images. So, I would like to ...
0
votes
1answer
646 views

Nomencl and nomenclature in included PDF

I'm desperate and have searched everywhere and tried many different things, but do not seem to find the solution to my problem... I'm writing a thesis which has some PDF's included (published ...
5
votes
0answers
521 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 \...
2
votes
2answers
428 views

Adding a document inside a document

I'd like to include document inside a document. The basic idea behind that is to write a documentation about different type of classes one can use with latex. Here is an example I would like to have: ...
0
votes
1answer
88 views

Need 30 line pdf from Tex [closed]

My latex file produce 48 line PDF while I need 30 line PDF in result. What should be added\inserted to get the desired result? Thanks in advance
2
votes
1answer
46 views

Embedding a figure at top right and top left on the first page includepdf

I want to embedding a figure at top right and top left on the first page includepdf. MWE is below. Any help will be highly appreciated. Thanks \documentclass{article} \usepackage{pdfpages} \...
4
votes
2answers
5k views

Reduce margins of a PDF with \includepdf

I have a book in pdf and I need to reduce all the margins. This is my code: \documentclass[a4paper, 14pt]{article} \usepackage{pdfpages} \begin{document} \includepdf[pages={21-40},nup=1x1, offset= 0 ...
4
votes
1answer
59 views

Problem with arithmetic of rotations in pdfpages

There is an arithmetic or interface problem with the package pdfpages. Let us include a scan from a book: % !TEX TS-program = pdflatex \documentclass[11pt]{book} \usepackage{pdfpages} \begin{...
2
votes
2answers
254 views

Refer to the last page of an included PDF

I want to refer to the last page of an included PDF document. \documentclass{article} \usepackage{pdfpages} \begin{document} \label{pg:mydoc} \includepdf[pages=-]{mydoc.pdf} The included pdf is ...
1
vote
1answer
106 views

Redefine/delete counter numbers in LoT for tables from \includepdf

I hope I didn't miss the question somewhere, but so far I could not find a solution for my problem. I'm writing a cumulative dissertation and want to include the single papers as PDFs in the main ...
3
votes
1answer
461 views

Problems with links using pdfpages and pax

I have to merge some HTML documentation into a LaTeX workflow. I am running into problems with internal links using the pax package. I am using wkhtmltopdf to produce the pdf pages from the html. I ...
5
votes
1answer
4k views

How to insert a A3 PDF into a A4 Latex document with PDFLatex?

Assume I have a A3 landscape PDF, how can I include this into a A4 portrait latex document but still as A3-page? If I have one.tex producing a landscape A3: \documentclass{article} \usepackage[...
3
votes
1answer
181 views

Instructor student version

I have a student manual for a set of chemistry labs. Over the years the instructors have made their own annotations and other pointers/observations. I have now collated these and wish to produce an ...
2
votes
1answer
596 views

Why does \includepdfmerge insert a blank page at the end?

How can I get rid of the blank pages inserted after the \includepdfmerge ? Code: \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdfmerge[scale=0.5, delta=10pt 10pt, nup=2x2]{...
2
votes
1answer
395 views

Table of contents page numbers wrong with includepdf and addtotoc and titling

I'm using the addtotoc option from includepdf to add a TOC entry for two included PDFs. However, the table of contents always thinks they're on the first page (note that I have rebuilt the document ...
0
votes
1answer
259 views

Error in compiling \includepdf

My latex file is something like this: \usepackage{pdfpages} \begin{document} ... \bibliographystyle{abbrv} \bibliography{my_bib} \includepdf[pages=-]{my_file.pdf} \end{document} The ...
1
vote
2answers
74 views

Include a pdf page by page with descriptions after each page

I want to do the following: I want to generate a script from my lecture slides. My lecture slides are in pdf (generated via latex-beamer), but in beamer-size. Now I want to make a script from that, in ...
1
vote
1answer
2k views

addtotoc without a number

I am trying to use addtotoc key-value in order to make a PDF page appear as a chapter in my Table of Contents. Ex: \includepdf[pages=-, pagecommand={\thispagestyle{empty}}, scale=1.008, addtotoc={1,...
5
votes
1answer
785 views

Error using pdfpages and lualatex

After upgrading to Tex Live 2016/Debian i get errors when using the package pdfpages and compiling with Lualatex. If i try to compile \documentclass[a4paper,portrait]{article} \usepackage{pdfpages} \...
0
votes
1answer
117 views

Redirect citation link to custom location

I am writing a thesis with appended papers which I include using the pdfpages package. I am using biblatex for referencing and hyperref for hyperlinks. In order to refer to the papers in the thesis, ...
0
votes
1answer
1k views

include pdf in latex (appendix)

I am facing a big problem I am adding many Pdf files using includepdf in appendix, the problem is that when I start numbering my pages in appendix, I start having my fancyhead which I don't want it to ...
0
votes
1answer
330 views

Avoiding Multiple Sections using includepdf and pagecommand

I have a pdf which has 3 pages. I would like to insert the pdf into the document using the \includepdf command and the pagecommand option as below: \includepdf[pages=-, scale=0.8, pagecommand=\...
2
votes
1answer
287 views

pdfpages produces additional blank pages and \AtBeginShipout\AtBeginShipoutDiscard doesn't fix

I am trying to include twice an A5 landscape PDF with pdfpages. Unfortunately I get a bunch of blank pages. Here is MWE. \documentclass[A4paper,final]{minimal} \usepackage{fullpage} \usepackage{...
2
votes
1answer
48 views

Remove the first pagenumber on a maketitle with pdfpage

I found a solution to overlay a text on a included pdf page using pdfpages package. I wanted to add a maketitle on this pdf page, and I finally did it. But I do not know how to get rid of this ...
5
votes
2answers
891 views

How can I place a 1 cm margin to a set pdf book (a6) to print

So I've already got my book ready set for a6 paper: contents, latex compilation, and I'm already satisfied with the end result of pdf I've got. However I've noticed that it'd be good to add a small ...
0
votes
1answer
344 views

Downscale a4 to B5, prepare with pdfpages on a3 with crop marks

I'm preparing a book for printing. The book was written and finely tuned to A4 but I want to try downscaling it to B5 (simply changing the geometry in the main document reeks havoc with my layout.). ...
0
votes
2answers
2k views

\includepdf as an appendix

I have appendices using \includepdf. How can I make these a labeled appendix that appears in the heading? i.e. process.pdf = Appendix A %!TEX root = ../main.tex \begin{appendices} \section{Project ...
0
votes
1answer
654 views

Illegal unit of measure for pdfpages package

I am having some trouble with an error message that I am receiving and was hoping that someone could provide some advice. The code is as follows: \documentclass[a4paper]{article} \usepackage[grid, ...
2
votes
1answer
339 views

Imposition and creep

I have to print a book and make signatures for binding. I have modified this solution: https://tex.stackexchange.com/a/246226/56153 This way: book-pages.tex \documentclass[a4paper]{article} \begin{...
1
vote
2answers
289 views

Package interference between pdfpages and eso-pic when including pdf-pages

Is it just me or do the pdfpages not get included when using the texcoord option for eso-pic. Could someone confirm this. This is the MWE: \documentclass[12pt,a4paper,notitlepage,oneside]{book} %NOTE ...