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

learn more… | top users | synonyms (1)

2
votes
1answer
102 views

Insert pdf to the begining

Using pdfpages when I add a pdf like \documentclass[10pt,twoside,draft]{book} \usepackage{log} \newfontfamily\dejavu{DejaVu Sans} \begin{document} %-----------------------------Cover ...
2
votes
1answer
213 views

LaTeXML and pdfpages [closed]

I can't find a lot of informations about LaTeXML here but I hope somebody can help me. In a LaTeX document, I use a \includepdf with the option pages. I have created a mystyle.sty.ltxml in which I ...
4
votes
1answer
418 views

Filled out form fields are left blank when using /includepdf

I have included a PDF file in my document using \includepdf[pages=-]{pdf/document_to_include.pdf} This works fine, except document.pdf has form fields which are filled out (and the document has ...
4
votes
2answers
178 views

Include pdf documents from a list written in a text file

In a text file titles.txt, I have the title, category and filenames of all the documents I wish to insert in TeX file. I can properly insert the title and the category (used with \index) but ...
6
votes
2answers
199 views

Including a length-dependent page range using pdfpages

I'd like to extract pages from 16 to (last page minus one) using pdfpages. I know I can access the last page via the token last, but I need to do arithmetic on it, to get a page range that looks like ...
7
votes
2answers
2k views

Add a figure title and x-axis label to a figure matrix created using pdfpages

Background I previously asked: Can I convert a 16 page pdf into an 8x2 matrix in LaTeX? I ended up creating a 3x5 matrix of images from a 15 page pdf by compiling a document "foo.tex": ...
4
votes
2answers
255 views

pdfpages doesn't allow me to draw a thick horizontal line in “tabular”

I have the following code: \documentclass{article} \usepackage{amssymb} \usepackage{caption,sansmath} \usepackage{array} \DeclareCaptionFont{sansmath}{\sansmath} \captionsetup{textfont={sf,sansmath}} ...
6
votes
1answer
647 views

Getting pax/pdfpages to work with xelatex?

Please consider the following MWE, in a form of a batch file, which creates two tex files (one of them gets \includepdfd in the other): cat > insert.tex <<'EOF' \documentclass{article} ...
7
votes
0answers
478 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 ...
6
votes
2answers
895 views

Setting up pdfpages with memoir?

I am using memoir for writing my PhD thesis. In my university we have to include submitted, accepted, and prepared drafts of related papers as appendices. These papers have all been previously ...
2
votes
1answer
151 views

Inserted pdfpages header consumes extra table numbers in TOC/LOT

I’d like a tabular header to appear on each page of the pdf I’m including. So I am using these commands in pdfpages. \def\plotheader{ \setlength\LTleft{0.85in} ...
14
votes
3answers
8k views

Includepdf as a figure

I want to include some pages of a pdf file into my document and wrap them into a figure with a caption for example (with pdfpages) \begin{figure}[h] \centering ...
5
votes
1answer
580 views

Why does pdflatex crash with the pdfpages packages, and is there anything I can do to prevent this?

I wish to append some pdf documents to the end of a larger document I'm writing, but find that using the \includepdf command provided by pdfpages always crashes pdflatex. The following example ...
7
votes
2answers
1k views

pdfpages, addtolist and list of tables

These may be separate questions, but the following MWE: \usepackage{pdfpages} ... \addcontentsline{lot}{subsection}{\ref{tab:UserRoles} \textbf{User Roles}} \includepdf[pages={-}, ...
3
votes
1answer
2k views

pdfpages doesn't center pdf on page, using Thesis.cls

I am using the Thesis-template from http://www.latextemplates.com/template/masters-doctoral-thesis. I have several LaTeX-documents to include in the Appendix. The best solution seems to be compiling ...
2
votes
2answers
509 views

\pdfbookmark to page number and location with \includepdf

I would like to use a \pdfbookmark like command to reference a page within a PDF document (included with the \includepdf command) and further to bring the user to a specific location (say 2.34 inches ...
8
votes
2answers
263 views

What is the recommended practice for making multi-article publications with LaTeX?

I would like to migrate the process of preparing a scientific journal at our department from MS Word to LaTeX. There is already a document class that could be used for individual articles. However ...
4
votes
0answers
69 views

Plug-in for adding LaTeX annotations to an existing pdf? [duplicate]

Possible Duplicate: How can I superimpose LaTeX / TeX output over a PDF file? Is there a plug-in for a PDF reader (or stand-alone GUI) that would allow me to add LaTeX annotations to an ...
3
votes
1answer
1k views

\pdfbookmark hyperlink aims to low with \includepdf

I'm trying to use pdfTeX to bring together several PDF documents and use the bookmarks feature of Adobe/Preview to supply a hyperlinking structure in a sidebar window. When I try this with multiple ...
2
votes
1answer
684 views

Starred version of \captionof not working together with pdfpages

I use the following code to get a caption on the previous page but the correct location of the figure in the ToC. I now get 2 entries in the ToC, which is not really a surprise ;-). I now want to get ...
2
votes
1answer
712 views

\label inside the \pagecommand inside \includepdfmerge does not seem to work

\includepdfmerge[ nup=1x2, frame, landscape, scale=0.8, pagecommand={{\chapter{fracture}\section{Theoretical}},{\label{sect:frac-theor}}}] {icm-model.pdf,1,/Fractal-Fracture-SE.pdf,1} will ...
3
votes
1answer
1k views

includepdf results in undesired headings

\includepdf[pages={34-40},nup=2x2,frame,landscape,scale=0.8,% pagecommand=\chapter{fracture}\section{Theoretical}]{Dam-Nonlinear.pdf} \clearpage ...
11
votes
2answers
298 views

Include adjacent PDF slides from two different sources through \includepdf

I would like to include pages from two different PDF files on a single page, side by side (possibly using nup=2x2). Presently, there is a page ejected before each \includepdf.
0
votes
0answers
51 views

Include a PDF containing an animation (movie15) [duplicate]

Possible Duplicates: PDF file containing 3D object is not included correctly with \includegraphics How to preserve hyperlinks in included pdf? I am using LaTeX, and at some point need to ...
5
votes
2answers
7k views

pdfpages & includepdf not working

I compiled the following file (through MiKTeX which I have just updated all files), and I do not get the junk.pdf file inserted. \documentclass{report} \usepackage{pdfpages} \begin{document} qwe ...
4
votes
1answer
463 views

Can I get the page number of included PDF page?

I have to put some academic papers at the end of a document, but only include a subset of their pages (due to the page limitations in our project). Now, I would like to mark each included page with ...
2
votes
1answer
194 views

How to include pdfpage with subsection written on top?

I am using pdfpages package and I have a 3 page document of pdf I want to insert into my main document. But the problem is I can't get the subsection heading to show on the top of the page before the ...
7
votes
1answer
993 views

Captions for tables included via pdfpages

I have a large number of multipage longtables as independent pdfs. I am including these pdfs in my main document using the pdfpages package. My code for including the PDFs currently looks like this: ...
1
vote
1answer
673 views

Inserting a blank page using pdfpages results in “Missing number, treated as zero”

I am using the pdfpages package (version 25688 0.4r) to create a document with a blank page followed by a PDF file. Here is the working example \documentclass{article} \usepackage[final]{pdfpages} ...
16
votes
2answers
3k views

Attached external pdf file is not showing page number

I am writing my thesis. I have a "main" LaTeX file from where I am calling (attaching) pdf file. But the attached pdf file is not showing any page number. Also, it is not showing other page style I ...
6
votes
1answer
774 views

Using a macro as value of addtotoc in \includepdf

I would like to include pages from an external PDF file into my document, using the pdfpages package. The following works for me: \documentclass{article} \usepackage{pdfpages} \begin{document} ...
2
votes
1answer
3k views

How to add a PDF file in appendix in Lyx?

I'm writing a thesys Using LyX, it worked fine up to now. I need to insert a PDF of 4 pages in Appendix, so I looked for a solution. Here in StackOverflow I found a possible solution, using a ...
6
votes
2answers
3k views

pdfpages package and layoutsize (geometry package)

I tried to include a PDF page using the pdfpages package — this works well for a standard case, f.e. (t.pdf is the first page of the PGF manual): \documentclass{scrartcl} \usepackage{geometry} ...
10
votes
2answers
2k views

Include trimmed multipage PDF in XeTeX

I have a multipage PDF manuscript (for example, my_PDF.pdf) that I would like to include in a new document. I would also like to trim/clip off the header and footer from each page of this included ...
3
votes
1answer
565 views

Page number and logical pages

I used the following piece of code to put a box around each page in my report \documentclass[12pt,a4paper,oneside,final,times]{report} ...
1
vote
1answer
583 views

Problem with inserting images on specific page

I am producing a pdf file using LaTeX. Now I want to insert some images on page 13 and page 14 of my LaTeX generated pdf document. That images are stored in some other pdf file. So I want to get that ...
10
votes
2answers
22k views

How to include a PDF image into a PDFLaTeX document

I am generating a PDF file using pdflatex and need to include another PDF file. The reason is that I have a graphMl file which I exported from yEd graph editor to a PDF file, named sample.pdf. The TeX ...
1
vote
1answer
869 views

Changing background color of external pdf files using pdfpages

The following TeX code is intended to change the background color of an external pdf file by using the pdfpages package, but it does not work for me. Does it work at all? \documentclass{minimal} ...
7
votes
2answers
5k views

Printing a double-sided A5 document on A4 paper

I have a doubled-sided A5 landscape document with the following page order: As my printer supports only A4 paper, I want to print two of these pages on one portrait A4 paper so that I can cut it in ...
11
votes
2answers
3k views

How to use tilde or space in includepdf filename?

I'm trying to include a pdf in a document, using pdfpages package, but I'm having troubles when filename contains tilde or space. e.g. ...
2
votes
1answer
251 views

Including a djVu files with pgf/pdfpages package

Is it possible to manipulate .djVu files with pgf and/or pdfpage packages; and produce a pdf?
8
votes
1answer
1k views

Is there a way to make pdfpages adhere to the page offset set by geometry

I'm trying to include some pdf documents at the end of my document using pdfpages. My document has a binding offset as defined using the geometry package but pdfpages doesn't recognise it. I've looked ...
5
votes
2answers
259 views

Front-end for pdfpages

I use following .tex file very much for printing books, booklets, etc \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages={4-8},nup=1x2,frame,landscape]{xyz.pdf} ...
10
votes
1answer
882 views

Linux Libertine and pdfTeX: glyph `a' undefined

I have little doubt, usually, in the Linux Libertine font with LaTeX / pdflatex, but a couple of weeks ago, the following happened to me: I have the file with the following test.tex ...
2
votes
1answer
2k views

Insert Image from multipage pdf file in Lyx

I am writing a report and I have all the images in a pdf file with very high resolution. With limited skills in editing, I am loosing the quality of the image when I try to save the individual images. ...
0
votes
1answer
534 views

How can I write multi line text on the foreground of pages, and how can I align it?

I'm using this to write on the foreground of individual pages of a large PDF (hopefully), i.e one with white spaces to enter in LaTeX notes. \documentclass{article} \usepackage{pdfpages} ...
6
votes
1answer
3k views

Overlay LaTeX/TeX coding easily on PDF with 300 pages

I've been looking for a way to overlay TeX/LaTeX i.e maths language etc (everything LaTeX is designed for) onto a background document containing 310 pages combined together in a PDF file. So far I ...
27
votes
3answers
7k views

Base document page numbers with pdfpages

I'm writing a report, in LaTeX. And I need to include, as appendices, other latex documents I have written. I am currently doing this using pdfpages and it works. However, the inserted PDF has no page ...
3
votes
1answer
743 views

pdfpages package and \fbox collision

There seems to be a collision between pdfpages package and other packages that use \fboxrule, \fboxsep, etc. Here is an example: Using frame=true: \documentclass[a4paper,11pt]{article} ...
27
votes
7answers
17k 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 ...