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
7
votes
1answer
2k 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
1k 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} \...
18
votes
2answers
5k 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 ...
10
votes
1answer
1k 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} \...
4
votes
1answer
7k 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 ...
10
votes
2answers
8k 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
3k 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 pdf....
4
votes
1answer
872 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} \AtBeginDocument{\addtocontents{toc}{\protect\thispagestyle{...
2
votes
1answer
2k 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 ...
48
votes
3answers
196k 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
2answers
2k 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} \...
12
votes
3answers
14k 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 ...
20
votes
2answers
9k 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. \includepdf[pages=-]{C:/Users/MYUSER~1/AppData/Local/Temp/...
2
votes
2answers
400 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?
11
votes
1answer
4k 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
336 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} \end{...
10
votes
1answer
1k 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 \documentclass{...
2
votes
1answer
3k 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. ...
1
vote
1answer
1k 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} \usepackage{...
10
votes
1answer
5k 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 ...
37
votes
3answers
14k 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
3k 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} \usepackage{...
83
votes
8answers
88k 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 ...
16
votes
2answers
7k views

Unable to link to inserted pages with pdfpages

I would like to add labels to pages inserted with the pdfpages package. I sort of works right now, but it is not possible to link to the labels with \ref and \pageref commands. But it is possible to ...
5
votes
0answers
189 views

How to include PDF as graphics and as attachment without using extra file space [duplicate]

Possible Duplicate: Attach displayed image to the PDF without storing it twice Is it at all possible to include a PDF as a graphic in the document and also as an internal attachment to the final ...
2
votes
1answer
1k views

Text not visible if positioned over included colored pdf?

I'm having a strange issue with LaTeX: My document uses a PDF background that is included with \includepdf{pdf/title}. This PDF consist of some logos and a solid red colored stripe across the page. I ...
1
vote
1answer
1k views

hyperref vs includepdf

\documentclass[12pt,a4paper]{mwrep} \usepackage{polski} \usepackage[cp1250]{inputenc} \usepackage{pdfpages} \usepackage[hidelinks]{hyperref} \renewcommand\baselinestretch{1.5} \usepackage{etoolbox} \...
1
vote
2answers
334 views

No white page before full pdf page as front cover. (title page)

I have a little problem with a pdf that I want as front cover for a report. When I add a pdf as front cover I get first a white page and after that the pdf. But I want it to print the pdf first than ...
44
votes
2answers
41k views

How to add a page number to the included PDF pages?

I'm creating a documentation with some included pdf files (mostly diagrams or tables) in the following way. \includepdf[pages=1-10, angle=90]{requirements/Requirements.pdf} The command "includepdf" ...
1
vote
1answer
6k views

Help with xkeyval crashing pax/pdfpages

I'm preparing a document, and after trying to load some of my self-made style files, it started crashing. It is apparently the same problem as in [texhax] latest xkeyval breaks pdfpages and ...
3
votes
1answer
1k views

pdfpages, XeTeX, and transparency

I'm using pdfpages to include a cover made in Inkscape into a PDF. The PDF has transparent objects. When building with pdflatex, the transparency is kept in the final PDF, but when I build with ...
15
votes
1answer
1k views

How do I generate only the first 10 pages of a document?

I use pdflatex to generate my documents. I want to create a preview of my document and generate only the first 10 pages, but I still want the full table of contents. How do I do that?
11
votes
2answers
24k views

Including a PDF page in latex with pdfpages without scaling

I am writing a document in LaTeX and I'm trying to include a frontpage in PDF (aptly called "Frontpage.pdf") the document, to be compiled with Pdflatex. I tried to include it with the pdfpages ...
2
votes
1answer
4k views

Problem adding pdfpages to current class and/or tex file

The following .tex script complies perfectly on my computer: \documentclass{report} \usepackage[final]{pdfpages} \begin{document} \includepdf{Elanderphdmath.pdf} \end{document} However, no matter if ...
20
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 / ...
2
votes
2answers
11k views

Inserting a multi-paged PDF document in a LyX document.

I can successfully insert a PDF document in a LyX document using Insert -> File -> External Material (choosing PDFPages in the template dropdown). The PDF document shows up in the LyX document, ...
8
votes
2answers
3k views

Multiple copies of short page on one sheet of paper

Suppose you have a short document (including a fancy header) which occupies only a small part of a DIN A4 page, like in this example: \documentclass[a4paper, 12pt]{article} \usepackage[top=2cm,...
14
votes
1answer
2k views

Can I add tikzpictures to pages included with pdfpages

I would like to decorate pages of some pdf documents with tikzpictures. My idea was to include them with pdfpages, and then draw a tikzpicture overlay on top of the page. \documentclass[12pt]{article}...
5
votes
1answer
2k views

Scaling LaTeX output

I need to create 2 versions of a University dissertation. The main version has to be done on letter-sized paper with very strict specifications for most of the style elements. But I would also like to ...
6
votes
1answer
2k views

pdfpages and linktodoc

I'm trying to link to a specific page in an external document. This has been discussed previously under the topic, How to link to specified page of an outer pdf document?, and the answer suggests ...
27
votes
2answers
20k views

Error when inserting a PDF page into a Beamer presentation

I'm using pdfpages to insert a page from a pdf file into my Beamer presentation, but the result is a completely empty page. Here is smaller version of the file: \documentclass{beamer} \usepackage{...
6
votes
1answer
837 views

Include another pdf in a box (and other details)

Some time ago I read a paper that was tightly based on another one. It was from the same authors so they included the previous papers as appendixes. I noticed (and liked) that these appendixes were ...
113
votes
2answers
81k views

pdflatex, \includegraphics, and multi-page PDF files

I have a PDF file with multiple figures; each figure is a separate page in the PDF file. I am using pdflatex, and I would like to use \includegraphics or equivalent to include some of the figures. ...
7
votes
1answer
407 views

Can I convert a 16 page pdf into an 8x2 matrix in LaTeX?

My graphing program (R) can plot a set of figures out, each on a separate page of the same pdf. Is there a way to convert this into a single 4x4 or 8x2 figure in LaTeX? There are alternatives, but ...
5
votes
1answer
330 views

How to pass the value of \mylength to the “trim” option of \includepdf of pdfpages.sty?

This problem is related to my previous problem about pdf trimming. Here is the minimal code: \documentclass{article} \usepackage{pdfpages} \usepackage[paperwidth=6.38in,paperheight=4.025in,margin=...
58
votes
4answers
96k views

How to include PDF pages without a newpage before the first page?

I am using pdfpages which works quite well. But this time, I want to include a 5 page pdf and the first page should be scaled down a bit such that above the first page is enough space for a ...
7
votes
1answer
467 views

Incompatibility between memoir and pdfpages ?

I am including a single pdf page (the title of my thesis) with the package pdfpages : \begin{document} \includepdf{title.pdf} ... But since I switched from report to memoir the page is not ...
6
votes
6answers
2k views

Thesis in LaTeX without memoir

I'm preparing a thesis report in LaTeX. I don't want to use the memoir class as I would like total control. I have two questions: My thesis consists of an introduction and then a series of articles ...