Questions tagged [pdfpages]
{pdfpages} is a package that simplifies the inclusion of external multi-page PDF documents in LaTeX documents.
824
questions
0
votes
0
answers
24
views
Including pdf with pdfpages corrupts figures [duplicate]
I want to include THIS PDF in my TEX file but for some reason the output is messed up. The figures in the PDF are corrupted(see the titles in attached figure).
To reproduce, run:
\documentclass{...
0
votes
0
answers
26
views
How can I add specific pages of a PDF file as backgrounds on different pages?
I want to add specific pages from a PDF as backgrounds to different pages in my LaTeX document, creating a new command for each desired image. How can I do this? I'm somewhat new and can't find how to ...
1
vote
0
answers
25
views
Missing hyperlinks and wrong page numbering while including pdf files in table of contents
I am creating a dynamic table of contents by adding pdf files. Following are the problems
Original pdf files have hyper links which disappear after putting together with table of contents. How to ...
-1
votes
1
answer
53
views
Insert pdf between text
I want to insert figure below into my document to a specified scale of 0.7 between text and I also want it captioned. If I use the figure environment it creates a whole page for itself(even after ...
0
votes
0
answers
30
views
Booklet with pdfpages: avoid rotation
I'm trying to print an A5 booklet on A4 paper.
With
\includepdf[pages=-,landscape,noautoscale,booklet]{myfile}
(or signature=20 instead of booklet), where myfile is the original A5 pdf, the pages are ...
1
vote
1
answer
30
views
Combining several pdf files into a single pdf file. How can I include all of the bookmarks?
I have about ten pdf files, all of which have bookmarks. I want to combine all ten files into a single file. I also want all the bookmarks to be retained in the process.
Here is my current method to ...
1
vote
0
answers
23
views
Generate TOC with custom chapter names
I am trying to write a book which will mostly be a collection of many PDF files.
At this time I have this structure:
%main.tex
\documentclass[12pt,twoside,a4paper]{book} ...
0
votes
0
answers
30
views
Batch correct Latex PDF's with wrong encoding to correct umlauts
at my university the template everyone uses seems to use the standard ot1 encoding. This leads to all umlauts to be correctly displayed but if copied they turn into two characters. Ex. Makro¨okonomik, ...
2
votes
1
answer
73
views
Incompatibility between dinbrief and pdfpages?
The combination of class dinbrief and package pdfpages is not compiling for me. Here's the MWE (well, minimum non-working example in this case):
\documentclass[]{dinbrief}
\usepackage[demo]{pdfpages}
\...
0
votes
1
answer
42
views
Having issues inserting an A1 size, landscape PDF page into LaTeX document [duplicate]
I would like to insert an A1 sized, landscape oriented, PDF page into a LaTeX document that besides this page only has regular A4-sized portrait pages. I'm currently using the pdfpages package, but ...
0
votes
0
answers
80
views
newpax error with pdfpages
I am attempting to preserve hyperlinks while combining several PDFs into a single PDF with a TOC. newpax seems to be the way, but I can't compile with this MWE:
\documentclass[a4paper,11pt]{article}
\...
0
votes
0
answers
31
views
ways to do signature imposition for binding with latex (and specifically the memoir package)
I've used the memoir package to typeset some shorter pamphlets. Now I am working on a larger booklet that will require signatures, and I'm finding myself a little confused. So much of LaTeX, ...
0
votes
2
answers
55
views
Depend on the "compilation" of another file with latexmk
I was given a project to build a thesis document which has a cover.tex and a main.tex.
The cover.tex generates the necessary covers to comply with the institution's style.
The main.tex file imports ...
0
votes
0
answers
54
views
pdfjam corrupting libreoffice pdf file
Running a simple pdf file containing unicode(non-Latin) characters of the Libertinus Serif font though pdfjam produces a corrupted file in which the unicode characters are not encoded correctly. The ...
1
vote
0
answers
36
views
Page number on inserted PDF page not shown
Code
Consider the following MWE:
\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\thispagestyle{empty}
\AddToShipoutPictureBG*{%
\AtPageLowerLeft{%
\raisebox{\dimexpr0.5\...
0
votes
0
answers
47
views
How to quick built eps and pdf in same document
I am writing my thesis, using .eps files for the images. I also need to append pdf pages, but all that I have as result (for the PDF files) are empty numbered pages.
I include the figures as in the ...
0
votes
0
answers
109
views
Apply layout arguments set by \geometry (geometry) to \includepdf[ (pdfpages)
I am a newcomer to LaTeX and have already produced a few documents with satisfactory quality for me. Now I have decided to write my thesis in LaTeX. For this purpose, I use a template from Overleaf (...
2
votes
0
answers
45
views
How to have some pages rotated with pdfpages
I'm trying to make a zine (8 page folded booklet) using LaTeX that takes in an 8 page pdf and arranges the pages properly to print, but have an issue where I have to also have a flipped pdf inputted ...
0
votes
1
answer
41
views
Appendix pagenumbering / includepdf [duplicate]
I have a question regarding the pagenumbering in the toc and also on the pages of my appendices.
TOC:
I would like all numbering as for I (chapter) the others are appendix sections and have different ...
0
votes
1
answer
57
views
How do I enrich the right hand corner with the name of the file included
I'm including several pdf files with names like R1.pdf R2.pdf...R22.pdf
and I need to print the name of each such a file to the right hand corner
on each page of the file included. I mean that R0.pdf ...
1
vote
1
answer
53
views
Having \includepdf overlap pages from different documents
Imagine I have a document A.pdf containing a page that looks as follows:
and a document B.pdf containing a page that looks like this:
If I write in my LaTeX document
\includepdf[pages={3}]{A.pdf}
\...
1
vote
1
answer
54
views
How to insert multiple pdfpages with different size to 1 page
I use the package \pdfpages to insert multiple pdf pages to 1 page. The problem is that I have 4 squares that I want on the top of the page and 1 rectangle on the bottom. The heigth and width matches ...
1
vote
1
answer
79
views
How to refer to page range of included PDF
I included a multi page PDF in my document like this:
\begin{flushleft}
\textlabel{Annexure 5}...
0
votes
1
answer
184
views
pdfpages include breaks PDF/A compatibility
I have an issue where including a normal pdf makes my document fail to be pdf/a compliant, because of the font includes. My template uses pdfx for pdf/a compatibility, I'm using pdfpages to include ...
0
votes
0
answers
50
views
Hyperlinks are not working within includepdf and tikz
I would like to draw a transparent rectangle on a dedicated x and y position over an imported pdf-file. This rectangle should also function as a transparent hyperlink-box.
The examples below show red ...
0
votes
0
answers
90
views
Right placement in `.pdf` file but wrong after `pdf2ps mergeS.pdf mergeS2.ps`
I've asked a related question elsewhere:
I have now good placed pdf together with the right rotation:
However, after
pdf2ps mergeS.pdf mergeS2.ps
gs -sDEVICE=ps2write -o A22.ps -r120x120 mergeS2.ps
...
0
votes
1
answer
81
views
How can I create margins in included pdf to print it properly
I have created a pdf file with this:
\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[scale=1.31, nup=2x1,pages=2-5,trim=1.5cm 1.5cm 1.5cm 1.5cm]{sh1.pdf}
\end{document}
...
2
votes
1
answer
50
views
How to make the nup layout of includepdf RTL? (pdfpages)
I am trying to print out a cheatsheet of sorts with the content of multiple recitations.
pdfpages should be able to do exactly what I need, with the 'nup' setting of the \includepdf tag.
However, I'm ...
1
vote
1
answer
178
views
Scaling an \includepdf onto a Page with a Different Geometry
UPDATED
Consider the code (which I compile with xelatex)
\documentclass[12pt,onecolumn,openany,final]{book}
\usepackage[hmargin=0in,vmargin=0in,paperwidth=5.625in,paperheight=8.5in]{geometry}
\...
1
vote
0
answers
74
views
How to change layout locally?
I want to integrate the corrected exercises into a document.
I would like these corrections to be inserted in reduced size (4 pages on one page) without carrying out post processing.
Is there a ...
0
votes
3
answers
73
views
Impossible to put some math in pdfpages' addtotoc
The following MCE shows that pdfpages' addtotoc option works well, even with basic math but, if the commented line is uncommented, shows that it doesn't work with less basic math (here \mathbf, though ...
0
votes
2
answers
117
views
Are hyperref (with dvipsnames) and pdfpages not compatible?
I like to have custom-color hyperlinks with
\usepackage[dvipsnames]{xcolor}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=NavyBlue,
filecolor=magenta,
urlcolor=cyan,
...
0
votes
1
answer
108
views
A6 sized book - print doublesided on A4 with fewer signatures
Ref: Two-sided printing of A6 pages on A4 paper
Enough discussion is done on the question that is shared in the above mentioned link.
My new question: The above mentioned link gives 8 A6 pages on 2 A4 ...
1
vote
2
answers
125
views
How to create a table of contents of specific embedded pdfs?
I have a master document with many included pdfs. Some of them are translations, which I have to create an index of.
Is there a way to tag the included pdfs and create a table of contents for them?
\...
0
votes
2
answers
50
views
Margins around a pdfpages produced document
I have a beamer presentation I want to squeeze into a 2 in 1 A4paper document, but with margins around as beamer frames come against the up and down paper borders.
I tried unfortunatly this :
\...
0
votes
0
answers
49
views
How to creating two PDFs on compiling a single .tex file
I have a .tex file. If I compile it produces a PDF with figures at the last. Now what I want to do is, if I compile it should produce two PDFs, such as one PDF without figures and other with only ...
0
votes
1
answer
31
views
more pages on one sheet with **cut off margins** and `pdfpages`
I have recently asked a similar question elsewhere but I still haven't obtained an answer I was looking for. This time I shall be much more precise (which will even yield a new question rather than ...
0
votes
1
answer
30
views
Including a length-dependent page range using pdfpages [2nd Answer broken]
Using the patch defining prelast for pdfpages throws an error. [Might it have to do with updates in pdfpages?]
I am using the second answer from Including a length-dependent page range using pdfpages ...
1
vote
0
answers
29
views
using both packages ltxgrid and pdfpages together rotates body text 90 degrees
I need to create a document with frequently changing between one and two columns and a lot of floats ((long)tables) and sometimes including a (multipage) pdf document.
When using ltxgrid and pdfpages ...
3
votes
1
answer
161
views
How to draw with TikZ across a double page?
I'm writing a double-paged document where I'm using pdfpages to insert a pdf on every other page, so that if you read it like a book, the page on the right shows the pdf, while the one on the left is ...
0
votes
0
answers
40
views
Limit pages printed with pdfpages in draft mode
I use pdfpages alot, and it's a godsend. One thing I would like it to do, though, is an option to print a limited number of pages, say the first 2, in draft mode so I can make sure I have the correct ...
0
votes
1
answer
42
views
Text stays above minipage
I am trying to import a pdf that contains a jupyter notebook cell using the minipage command, but the cell is printed bellow the text "Then we need ... dataset:". How can i keep the flow of ...
1
vote
0
answers
309
views
How to add Articles into an Article-based dissertation
I am writing my dissertation, and recently the university allowed Article-based dissertations instead of classical monographs. So I took this option!
I have the main document where I have a Chap 1: ...
4
votes
1
answer
59
views
Extracting two last page from a beamer pdf respectif the original format [duplicate]
I want to extract the two or three last pages from a beamer produced pdf respecting the original format.
I have no idea how to select the two last pages and witch documentclass to use to respect the ...
0
votes
0
answers
23
views
Twopage even-odd thrown after inserting pdf page with Roman page numbering
I think I have trouble with a twopage document. My second page is a single page document. For my understanding, after that it should be an odd page with the page number on the right. After the PDF ...
1
vote
1
answer
60
views
How can I add notes to my first slide, which is a full-screen PDF?
The first slide in my Beamer presentation is a full-screen PDF which I include using \includepdf from the pdfpages package. I want to add speaking notes for this first slide using \note and to have ...
0
votes
0
answers
34
views
How to keep paper size when renumbering pages? [duplicate]
I'm using Linux pdflatex to change the number of pages in a PDF (I want the first pages to use Roman numbers, and the remaining pages, Arabic numbers, so that the PDF pages match the document pages).
...
0
votes
1
answer
203
views
Include PDF with section title only on first page
As suggested here, I'm using \includepdf to insert several multi-page PDF files of musical scores into a LaTeX document:
\newcommand{\insertScore}[3] {
\addcontentsline{toc}{section}{#2}
\...
0
votes
0
answers
372
views
Undefined control sequence error when using includepdf
I'm using a customized includepdf command to insert .pdfs into a document. Following is the customisation of the includepdf command.
\documentclass{article}
\begin{document}
\newcommand{\...
1
vote
2
answers
482
views
Include PDFs and make a table of content
I am creating a PDF document composed of several other PDFs. I use latex to include those PDFs into a single pdf. I want to make a table of content of added PDFs. So, what I used for this is something ...