Skip to main content

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
1 vote
1 answer
31 views

In LyX is it possible to insert a PDF file but condense multiple PDF pages to a single compiled page in LyX?

In lyx I'm using the insert->file->external material and I chose the pdf options from pages 22-34 of some pdf, what I want to do is have every 4 pages (or some other number for example 6 or 2) ...
Nate3384's user avatar
  • 197
0 votes
0 answers
32 views

Latex: Add pdf page without split the text content

I want to add a pdf page to my current latex pdf file, but i got a problem. When i use \includepdf, then the position where i put this command will auto add a pagebreak, like the image below. This is ...
MY_NAME_S3M's user avatar
1 vote
0 answers
55 views

Refer to first and last page of each included PDF – Blank page on top

I am referring to this question. I would like to do the same, but adding a blank page before beginning the inclusion of PDFs in the document. I use the following command in the preamble to insert a ...
Francesco B's user avatar
0 votes
0 answers
49 views

Including articles in a thesis document

I am trying to figure out to compile an article based thesis in LaTeX and am struggling to find a neat way to include the articles in their original journal format. All the articles were compiled in ...
J.Whattam's user avatar
0 votes
1 answer
31 views

How to make sure the "background"(watermark)is only for the first page when using pdfpages to include a pdf?

\documentclass[12pt, a4paper, UTF8, scheme = plain]{ctexart} \usepackage{amsmath} \usepackage{pdfpages} %%% \usepackage{draftwatermark} %%% \SetWatermarkText{DRAFT} %%% \SetWatermarkScale{1} %%%%%%%%%%...
CasperYC's user avatar
  • 697
0 votes
0 answers
28 views

pdfpages includepdfmerge with noautoscale for one document but not for the other

When I use \includepdfmerge[nup=2x1,delta={-17.525cm 0cm}]{A.pdf,1,B.pdf,1} both documents get scaled to the paper limits, and when I use \includepdfmerge[nup=2x1,noautoscale,delta={-17.525cm 0cm}]{A....
yannis's user avatar
  • 2,023
3 votes
1 answer
62 views

Refer to first and last page of each included PDF

I would like to refer to the first and last pages for each of the several PDF documents I am including in a manuscript using \includepdf. Does anyone have suggestions on how to do that? I tried the ...
Francesco B's user avatar
0 votes
1 answer
68 views

Can I include pdf (using pdfpages pack) and automatically get the number of the inserted pdf

I make long technical (building engineering) documentation. In those docs, the standard is to explain stuff in the main doc and put a reference to a detailed calculation at the end. So I would like to ...
22decembre's user avatar
1 vote
1 answer
41 views

Use datatool variable for including a pdf

I'd like to generate a bulk letter with datatool and include a different pdf for each row. Can this be done with pdfpages? \documentclass[paper=a4]{scrlttr2} \usepackage{fontspec} \usepackage{...
tobidope's user avatar
  • 111
0 votes
0 answers
30 views

Can I insert a page with pdfpages when the text naturally causes a pagebreak?

Quite simply, I want to insert a page using pdfpages, but instead of causing a pagebreak at the position in the text where I call the command, I want it to wait until the text would break naturally - ...
jsj's user avatar
  • 101
0 votes
1 answer
122 views

newpax and pdfpages: include bookmarks of subdocuments in maindocument

Using the pdfpages package we can include whole PDF documents in our new maindocument. I will call the documents to be included "sub-pdfs" and the new maindocument "archive-document&...
Keks Dose's user avatar
  • 31.3k
0 votes
0 answers
36 views

includepdf doesn't find all the files in the folder

I want to use includepdf to include several .pdf files in my latex text. I am using \usepackage{pdfpages} and when I call the first file using: \includepdf[pages=-,pagecommand={},width=1\textwidth]{...
Alex Marshall's user avatar
1 vote
1 answer
47 views

pdfpages Error with subfiles and XeLaTeX

I have a project with the following structure: ./sections/appendices/appendices.tex ./sections/appendices/my_file.pdf main.tex Here's a MWE: main.tex \documentclass{article} \usepackage{pdfpages} \...
Enevevet's user avatar
  • 796
0 votes
0 answers
20 views

pdf figure repeats and overlays other figures

My tex file seems fine when you download it, but on google preview (like in email but will sometimes go away if you zoom in far enough) and sometimes for others viewing the pdf, the figures get ...
Jennifer's user avatar
0 votes
1 answer
36 views

Merge PDF files with includepdf and have page numbering per file and total

I would like to merge different PDF files and have two different page numberings. The header should have #current PDF# - #current page# (1-1, 1-2, ...), next PDF will have (2-1, 2-2,...) The footer ...
Magen's user avatar
  • 1
0 votes
0 answers
57 views

Include A3 PDF page in A4 LaTeX document

I want to include an A3 map in the appendix of my thesis. When I include the A3 PDF with the code below, it prints as an A4 page. How can I make it A3? \begingroup \includepdf[landscape=true]{...
Guro Lilledal Andersen's user avatar
0 votes
1 answer
67 views

Errors not allowing compiling [closed]

I'm new to Latex, but have been making a study guide for my class which has gotten very large. I changed one small thing, I believe I changed a section name, and now I get this error that I cannot for ...
Colin Adams's user avatar
1 vote
1 answer
42 views

Creating landscape "sheet", two pages per sheet, hyperlinks intact

I have a working document with lots of graphics and everything nicely placed. It is set up for double-sided printing so that every other page has a slightly wider margin on the inside where the book ...
Mike Pugh's user avatar
  • 329
1 vote
2 answers
82 views

Preserving Cross-references links in an extracted PDF

When I write my lectures, I write them in one document such as this mwe % document name : main.tex \documentclass{scrbook} \usepackage{etoc} \newcommand{\chaptertoc}[1][Contenu du chapitre]{% %\...
Aymane Fihadi's user avatar
1 vote
1 answer
58 views

How to append a PDF file to a LaTeX and keep its aspect ratio? [duplicate]

I would like to append a PDF file to a LaTeX document and keep its aspect ratio, which is different than the original aspect ratio of the document. To clarify, I have a PDF file which is a standard ...
user avatar
0 votes
1 answer
57 views

includepdf not sizing correctly the page

I'm using pdfpages (in overleaf) to include a cover for my document. As you can see in the picture, it doesn't fit to the page. I've tried many options (noautoscale, fitpage, scale) but it is always ...
cluna's user avatar
  • 11
0 votes
0 answers
50 views

Adding a full-page image or PDF page at the first convenient opportunity

What would be the best option to insert full page (full page height and width) images or .PDF pages such that I want it to be included in the first available empty page without interfering the flow of ...
blackened's user avatar
  • 4,201
0 votes
1 answer
78 views

Compile pdfpages Code with LuaLaTeX

Consider the following MWE: \documentclass[ a4paper ]{article} \usepackage{pdfpages} \newcount\firstmaxpages \newcount\secondmaxpages \newcount\curpage \newcount\untilpage \makeatletter \newif\if@...
Svend Tveskæg's user avatar
2 votes
0 answers
68 views

How to carry over bookmarks from included pdf to main pdf?

I am including multiple PDFs in a main latex document (on Overleaf). However, the bookmarks of these included PDFs do not carry over to the main PDF. I can see bookmarks in the included pdfs, but I ...
tarun14110's user avatar
0 votes
0 answers
71 views

Convert JPG images to PDF [duplicate]

I have multiple jpg files and I want to create a PDF with one image per page without any margin. Until now I used something like this and was enough because all images were the same size. \...
Cent's user avatar
  • 1
1 vote
1 answer
35 views

How to add alternating (book) indentation into an existing pdf?

I have my own latex script and I need to add an already existing .pdf file, but I need it in the printing form (my latex document class has the twoside parameter). I am using the pdfpages package, so ...
JerZaw's user avatar
  • 121
0 votes
2 answers
111 views

How to Overlay Two PDFs in LaTeX with Adjustable Opacity?

I am working on a project where I need to overlay two PDF documents in LaTeX and control the opacity of each layer. Specifically, I want to include two PDF pages in a single page and adjust how much ...
Iman Mohammadi's user avatar
0 votes
1 answer
124 views

Read in multiple-page PDF and apply watermark to all pages

I would like to read in a multi-page pdf and then apply a watermark to all of the pages on it. Here is the LaTeX script I'm using \documentclass[12pt,twoside]{article} \usepackage[printwatermark]{...
NM_'s user avatar
  • 357
1 vote
1 answer
51 views

You cannot use \raise in vertical mode error

\documentclass{article} \usepackage{mwe} \usepackage{pdfpages} \usepackage{tikz} \NewDocumentEnvironment{Insert}{m}{% \AddToHookNext{shipout/foreground} \bgroup \put(0,-\pdfpageheight) \...
Display Name's user avatar
  • 47.2k
1 vote
3 answers
74 views

How to fix page numbering and page references in the table of contents?

Hey in my table of contents appendixes display incorrectly The chapter "List of tables" is actually on page 40, but "Appendix A" (In the picture named as "Dodatek A", &...
Pawel's user avatar
  • 11
3 votes
1 answer
117 views

What is the "noautoscale" in pgfpages in LaTeX?

In pdfpages package, there are noautoscale and fitpaper options and so on. I understand what the fitpaper means. But what does noautocale mean? What does the noautoscale scale to? I have done a test, ...
Y. zeng's user avatar
  • 2,115
0 votes
2 answers
67 views

Combining pdfpages (signature mode) with geometry (showcrop)

I am laying out a book using LuaLaTeX and memoir, to be printed on a page of width 145mm and height 235mm. This all works very well. (I have a sample document, using some public-domain text, but it's ...
inklesspen's user avatar
1 vote
1 answer
52 views

How to add page # of ## to an exam with a front page

I am using the exam package as follows: \documentclass[answers, addpoints]{exam} \usepackage{lipsum} \usepackage{lastpage} \usepackage{fancyhdr} \pagestyle{fancy} \begin{document} %\includepdf{...
Simd's user avatar
  • 6,931
1 vote
1 answer
39 views

Adding title and author to toc for included pdfs

My former college is starting a departmental journal which I am editing and typesetting. I have edited and typeset every contributed article individually using the article class and initially tried to ...
Acharyachakit's user avatar
0 votes
1 answer
100 views

How to remove the margin of the command `\includegraphics[options]{name}`?

Just like the picture below, I have a pdf page that its width is 6.32 inch and its height is 8.18 inch, and I used tikz making a rectangle which has the same width and height as the pdf page in ...
Meiu's user avatar
  • 558
1 vote
0 answers
72 views

includegraphics keeps invisible part of image [duplicate]

When using includepdf and includegraphics to include a pdf or an image, the trimmed part is only hidden but not removed. \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[...
user1's user avatar
  • 2,226
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{...
skrat's user avatar
  • 143
0 votes
0 answers
44 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 ...
luc881's user avatar
  • 1
1 vote
0 answers
43 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 ...
Yogesh Sharma's user avatar
-1 votes
1 answer
82 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 ...
Megamind's user avatar
0 votes
0 answers
58 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 ...
Iacobus1983's user avatar
1 vote
1 answer
106 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 ...
Astor Florida's user avatar
1 vote
0 answers
27 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} ...
kargirwar's user avatar
  • 121
0 votes
0 answers
40 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, ...
Luis's user avatar
  • 1
2 votes
1 answer
155 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} \...
tobi's user avatar
  • 23
0 votes
1 answer
102 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 ...
Emiel's user avatar
  • 1
0 votes
0 answers
208 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} \...
christopherisnow's user avatar
0 votes
0 answers
105 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, ...
klreeher's user avatar
  • 111
0 votes
2 answers
71 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 ...
Rui Oliveira's user avatar
1 vote
0 answers
44 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\...
Svend Tveskæg's user avatar

1
2 3 4 5
18