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

Change order of pages when using pdfpages

Consider the following example. File: B.tex \documentclass[ 12pt, landscape ]{article} \usepackage[ a6paper ]{geometry} \usepackage{multido} \newenvironment{navn}{% \setlength{\topskip}{...
0
votes
1answer
231 views

Include pdf page in different geometry page

For my thesis I have generated a big set of pdf images that I would like to include in the text. One of the images in particular is a full page pdf file that is larger than the margins used for the ...
1
vote
0answers
58 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. ...
4
votes
1answer
138 views

Can bookmarks be indexed pointing to particular pages inserted using `\includepdf`?

This question was asked previously (Is it possible to index non-latex PDF inserted using \includepdf). It attracted no answers. Bookmarks can be made using \bookmark that are directed to particular ...
1
vote
0answers
99 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
1answer
151 views

Mixing different files with different classes

I am currently writing a project which will be composed of a main file, and several chapters. The main file is based on memoir, but the chapters are all amsart. Currently I am manually changing the ...
3
votes
2answers
132 views

how to expand a keyval argument

I'm trying to expand a value for an argument which will be the range of pages included in the document, but I can't figure out how to do that. At first, I was getting ERROR: Missing = inserted ...
1
vote
1answer
956 views

Passing Variable from R to LaTeX

Consider a variable in R, say YEAR <- 2000 I have various files whose names are dependent on this year, say YEAR 1.pdf, YEAR 2.pdf. Is there a way for me to pass this variable into a .rnw which ...
5
votes
2answers
347 views

Printing file name containing underscore

I am using pdfpages package to include a few files into the big one. I want to print the file name, go to new page and include the file. The problem is that when the filename contains _ LaTeX yelds ...
2
votes
1answer
102 views

Adding a image as pdf to a latex document

I have a complex excel table that I would like to include in my paper. I have converted the table as a pdf file and I am including into my paper as follows: \documentclass{article} \usepackage{...
0
votes
1answer
1k views

IncludePDF inserts PDF But Throws File Not Found Error

When the following is included in my .tex file: \includepdf[pages={-},fitpaper={true}]{"Assignment 1 Brief.pdf} I receive multiple lines of errors stating Undefined control sequence. ...,fitpaper={...
0
votes
1answer
155 views

Add crop marks to 2x2 cards on A4

I use miktex to join a bunch of cards into A4 landscape pages, 2x2 per page. I was looking into how to add crop lines to it: - 1 horizontal + 1 vertical lines - both in the middle of the page, going ...
1
vote
1answer
465 views

Appendix numbering and includepdf

\documentclass[a4paper, english, oneside]{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{amsmath, amsfonts, amssymb} \usepackage{fancyhdr} \usepackage{titlesec} \usepackage{...
1
vote
1answer
949 views

PDF appearing over the text in latex

I have the following code in my Latex. \documentclass[12pt, a4paper, titlepage]{scrartcl} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{graphicx} \...
4
votes
1answer
3k views

Border around included pdf

I have some appendices in my report and I want to add a border around the document to make it more clear it's not a part of the document. I am using the pdfpages package to include the pdf files. ...
2
votes
1answer
66 views

Create a macro that uses \includepdf{} to include a filename with an underbar?

I am developing a complex system that does a bunch of things with included PDFs. So complicated that I want to define a macro. Unfortunately, many of my users have filenames that have spaces and ...
2
votes
1answer
777 views

Print 4 page forms (a4) size on A3 paper [duplicate]

I have a 4 page latex form on A4 paper. I want to print it on a3 paper (2 a4 pages=a3) so that page 1 and 4 can print on one side and 2-3 print on other side. How can I do it? Kindly help
3
votes
1answer
533 views

how to include external animation (with animate) in Beamer

I made an animation with the animate package and I want to integrate it into a Beamer presentation, and I only get a blank page. Can you tell me how to integrate an external animation into a Beamer ...
3
votes
1answer
940 views

Include pdf pages from the current document into itself [duplicate]

I'd like to include some pages from the pdf file produced by a tex document into the document itself. Is it possible to do it? The use case is that I would like to produce an 'outline of the talk' ...
3
votes
1answer
573 views

Fold paper lengthwise into a booklet

I have a pdf named prebooklet.pdf that is n pages long and I want to create a booklet that folds lengthwise. The prebooklet.pdf uses \usepackage[paperwidth=80mm, paperheight=297mm]{geometry} to ensure ...
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 ...
4
votes
2answers
604 views

IEEEtran and pdfpages

I'm not able to make even this minimal piece of code work when trying to include a pdf file in an IEEEtran document: \documentclass{IEEEtran} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \...
4
votes
1answer
1k views

Include PDF with small page size

I want to include an external PDF in my document. The PDF looks like this (except not redacted). As you can see, the last page is smaller than the others. Using \includepdf with pdfpages, the last ...
2
votes
1answer
516 views

pdfpages / includepdf offset is not working for me

I am trying to get a journal assembled for binding. When I use includepdf with a binding offset to include a pdffile of multiple pages the binding offset is incorrectly applied the first page is ...
1
vote
1answer
295 views

Get number of pages of an inserted .pdf file

I wish to insert all pages of myFigures.pdf in a row with: \foreach \i in {1,...,6} {% \includegraphics[page=\i]{myFigures.pdf}% } How do I make this code adaptive to the actual number of pages ...
2
votes
1answer
1k views

Text added on top of \includepdf

I am trying to include a a PDF file in my latex file, but it turns to background page and all new text and caption lines are written on the same page as my image from PDF. Here is my code: \...
3
votes
1answer
435 views

Include page range and number of pages of included PDF document [closed]

In LuaLaTeX I am using \includepdf[pages=-, noautoscale=true]{myEmbeddedDoc.pdf} to include an external multi-page PDF file "myEmbeddedDoc.pdf". (This command is provided by the "pdfpages" package, \...
2
votes
1answer
138 views

A problem about inserting PDF file

I am using the following simple document \documentclass[12pt,a4paper]{report} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{pdfpages} \begin{...
2
votes
0answers
406 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}...
3
votes
1answer
74 views

Making an oddly shaped booklet with pdfpages. Unsuccess

Hello [typesetting] world. I've enjoyed using pdfpages to make booklets from A4 paper wherein each page is an A6 size. Recently, however, I've tried, without success, to make booklets from A4 paper ...
1
vote
1answer
197 views

pdfpages 2016 vs. pdfpages 2002

Using package pdfpages from 2016 (pdfpages 2016/04/19 v0.5f) with addtotoc-option yields problems which do not arise with pdfpages-Package from 2002 (pdfpages 2002/10/01 v0.2k). Here is a minimal ...
3
votes
0answers
671 views

Including pdf in latex gives blank page, only [closed]

I am trying to include a pdf of the supplementary materials for my paper for submission to arXiv. It is more than one page. I know there are all kinds of questions already answered on this topic, but ...
2
votes
1answer
134 views

Cross-references to a specfic page

I've used \includepdf[pages=-]{../<file>.pdf} to include a external .pdf into my code, I would like to do a cross-reference to first page of this .pdf included.
4
votes
2answers
635 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
331 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
190 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
221 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
154 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
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} % ...
0
votes
1answer
429 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
44 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
87 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
156 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
585 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
47 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
189 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
67 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
121 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
732 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
730 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 ...