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

learn more… | top users | synonyms (1)

1
vote
0answers
107 views

Size of pdf file generated by extracting few pages from a several-page pdf document using pdfpages

I am using the package 'pdfpages' to extract few pages from a large pdf file that has several pages. This large file is about 60Mb and has 80 pages. When I extract 6 pages from it I get a document ...
1
vote
0answers
74 views

how to import a whole PDF as a figure

I know how to include single pages of one document as images in another document. \documentclass{scrartcl} \usepackage{filecontents} \begin{filecontents*}{file.tex} \documentclass{scrartcl} ...
2
votes
2answers
84 views

Is it possible to store the height and width of an imported document in variables and adjust the page to fit it (reverse-engineering layouts)?

For example, let's say that I use the pdfpages package and import a PDF. Is there any way (without using an external scripting language like Python) to access the dimensions of the PDF? Can I pass ...
10
votes
1answer
282 views

How to import iCal-format and make a timetable in Tikz?

I have the .ics format file. I would like to import it with LaTeX and transform it into a timetable (automatically). Any suggestions how to do it? I have found a minimal working example for how to ...
3
votes
2answers
107 views

How to add a Thin Vertical Border Line (left side of each page) in PDF Docs

How to add a thin vertical border line (left side of each page) in PDF documents. Please see the attached image for more information. Thank you
1
vote
0answers
49 views

Including pdfpages renders rotated RevTeX 4.1 pdfLaTex output

This happened when I updated MikTeX to the latest version (as of time of this post) and tried the workaround regarding adding pdf pages to RevTeX documents. Running the code below produced text ...
0
votes
1answer
152 views

Use includepdf in beamer class and keep pagestyle but counting up the pages

I'm creating a beamer document in that several PDF documents get included by a python script. To keep the style of the slides and including the PDFs I'm using the \includepdf like that: ...
0
votes
0answers
52 views

Can we write a latex code such that we can generate a training question papers for my students?

Gate question paper gate question paper with solution
0
votes
1answer
114 views

pdfpages does not correctly scale inserted pdf pages

I use the following code : \usepackage{pdfpages} ... \includepdf[pages=-]{article.pdf} I also tried many pdfpages options such as fitpaper, templatesize, noautoscale, scale and so forth. I also ...
1
vote
0answers
64 views

Xelatex: The problem of Including pdf file in the book class

I'm a user of Latex program. I have a problem of the including pdf file. originally, it had been worked several times ago, but now, it is not working. I just added the some texts in this document and ...
1
vote
0answers
62 views

Package grffile not working consistently across machines

I have some latex code that uses includepdf and the grffile package. I use the grffile package to allow spaces in the file path of a PDF I reference. The code works on a desktop I have (i.e. the ...
2
votes
0answers
62 views

Force first page to be marked as right page in PDF [closed]

I am using the pdfpages package to combine two pdf documents into a single one: \documentclass[twoside]{scrbook} \usepackage{pdfpages} \begin{document} \includepdf[pages=1-22]{doc1} ...
0
votes
0answers
79 views

How to remove page numbering from title page all together?

I'm very new to latex and trying to write a report. I got everything set with the printable version of page number and such but the problem is I can't remove page numbering from the generated pdf. It ...
1
vote
1answer
80 views

Refer to appendix with \includepdf

I have included a PDF by using \includepdf into my appendix. I also added a label to that pdf but when I refer to it like as you can see in Appendix \ref{mylabel} it prints "as you can see in Appendix ...
0
votes
1answer
243 views

Does \includepdf start a new page by default?

I'm using pdfpages package to insert some pages from a pdf file. I'm using the following options within \includepdf openright=false,% frame=true,% trim=3.5cm 2.8cm 3.5cm 5cm,% clip,% scale=.4,% so ...
0
votes
1answer
109 views

Insert pdf pages side by side

I have two versions (A4 size) of a document: new.pdf and old.pdf. I'd like to share with co-authors a pdf with pages side by side, so should be easy to compare the changes in the output. Here ...
7
votes
4answers
626 views

Print eight A6 pages on one two-sided A4 sheet in a book folding order

What I'm trying to achieve might be a little too-much. Although I have to admit that TeX never let me down, so I thought, let's give it a spin here. I have a document like this: ...
0
votes
2answers
122 views

Include PDF and Section into one site

For my projectwork I'd like to add some attachments. I got this one: \section*{A. Projektplan} \includepdf[pages=-,scale=.85,pagecommand={}]{Anlagen/Projektplan.pdf} \pagebreak But Latex generates ...
3
votes
3answers
96 views

Inserting every 'n' page of several pdf files

I have 3 pdf files (a.pdf, b.pdf and c.pdf) with 50 images per file. I need to insert every page of each pdf one by one (3 in a row). Not all pages from first pdf and all from another, but one page ...
1
vote
1answer
92 views

Position includepdf to top of page (when input is of varied size)

I'm trying to include a pdf document into my main LaTeX document (all my publications into my manuscript), but I want to keep the same page numbering throughout. I'm using the pdfpages package as ...
3
votes
0answers
148 views

LaTeX /includepdf stacks images on top of eachother

I'm trying to insert a pdf with multiple images into my LaTeX document using \includepdf but either no image shows up (for page={1} or page={1-4} etc.) or it stacks them all on top of each other and ...
1
vote
0answers
337 views

Latex report \usepackage{pdfpages} does not work

I am trying insert a PDF file as an appendix to a report. I am making it using Latex. I came across the command \usepackage{pdfpages} to do this, but it does not work. Here is how the latex file ...
3
votes
1answer
197 views

Insert pdf, add margin

I'd like to add to a pdf a margin of 1cm. Around this page I will add a frame later and like to draw something else to the frame. However, how can I add a margin to a pdf without scaling the pdf (-> ...
1
vote
2answers
933 views

Arxiv Latex Upload Error

I tried uploading my PDF files (generated from Latex) to Arxiv, but things did not work (arxiv wants its authors to upload the source). While, looking for answers on StackOverFlow, I found this ...
5
votes
1answer
127 views

pdfpages-PDF appears in background of pgfplots-plot

I'm using pgfplots with the externalize feature, which creates external pdfs for all my plots. But there seems to be a strange interaction with pdfpages when externalize is used. The pdf I'm including ...
0
votes
0answers
134 views

Is it possible to make \includepdf follow odd / even page margins?

For my PhD thesis, I'm trying to include various multipage .pdf files as appendices using \includepdf. However, it is centering the pdf, rather than following the odd / even page margins. Is there a ...
3
votes
0answers
37 views

How to divide a long tabular into 3 columns per page? [duplicate]

I'm making a set of very long (1000 rows each) data tabulars. I'm using the longtabu environment, since it can split over pages. My problem is that each of the tables is around 16 pages long, and ...
0
votes
0answers
17 views

Option clash: using pdfpages with xcolor [duplicate]

I am using \usepackage[table]{xcolor} to alternate table row colors in my thesis. I have tried to include a .pdf file as an Appendix using pdfpages, however LyX tells me there is a option clash with ...
2
votes
1answer
68 views

Table of contents alignment problem with multi-line \pbox in \inlcudepdf addtotoc

I'm inserting many 1-page PDF's that I also include in the table of contents. The only issue I have is with the alignment of my entry with the toc counter for PDF # and it's corresponding page ...
0
votes
0answers
39 views

included pdfs won't rotate using pdflscape

As far as I know pdflscape is able to rotate pages* horizontally if you use the landscape option. However, this won't work with included pdfs for me. Is there a syntax I have overseen? turn=false ...
0
votes
0answers
72 views

To insert by pdfpages pdf files closely one after the other without new page

I have a few articles as pdf files to be merged in one book. \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{pdfpages} \begin{document} Conference proceedings ...
0
votes
0answers
43 views

includepdf why all pdf goes to the same page? [duplicate]

I am trying to use includepdf to appendix a pdf to my file. I want to add all the pages. Here is my code: \documentclass[prl,twocolumn,showpacs,superscriptaddress]{revtex4-1} \usepackage{pdfpages} ...
3
votes
2answers
172 views

Creating a custom copy of pagestyle plain with fancyhdr?

Consider this MWE (compiles with pdflatex -shell-escape test.tex): \documentclass{book} \usepackage{filecontents} \begin{filecontents*}{insert.tex} \documentclass{article} \usepackage{lipsum} ...
1
vote
0answers
46 views

pdfpage and Lyx, avoid superpositions of pages

When I include a pdf-document inside a Lyx document using the function inside Lyx (Insert -> External Material) which calls pdfpages, at least two pages are super-impressed (one appear on top of an ...
0
votes
1answer
72 views

Inserting a pdf file after a title causes the tile to be on one page and the pdf to start on the next [duplicate]

I have a new page, with title. I want my pdf file to show up under the title. However, the pdf shows up on the following page. I want the pdf to be under the title page. Is the issue the size of the ...
1
vote
1answer
136 views

includepdf addtolist label not working

When I include PDFs in the annex, the label gets not set correctly. In the list of tables the link appears correctly, but clicking it brings me to the first page of the document. The link in the ...
1
vote
1answer
102 views

What is the most precise way of including a Mathematica code in a LaTeX document?

I have tried to insert my Mathematica notebook into LaTeX by converting it as a PDF file and then using \includepdf[pages=1-4]{blablabla.pdf}. However, there are now two problems I faced: This code ...
4
votes
1answer
2k views

pdfpages rotate odd pages 180º

I'm trying to create a booklet with pdfpages. So far it's working, but I would like to tweak the page orientation to put all the spreads/pages "straight" (rotate odd pages 180º). I've tried different ...
1
vote
0answers
18 views

`\includepdf` seems to remove internal links within included each pdf file? [duplicate]

\includepdf seems remove internal links within included each pdf file. for example, in \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages=-,fitpaper]{1.pdf} ...
1
vote
1answer
82 views

Include multipage PDF using XML

I'm new in XSL and LaTeX. I have a project, where I need to include some PDF files. I'm using \usepackage{pdfpages}. Everything runs OK, but the main problem is when I want to include a PDF file ...
2
votes
1answer
120 views

includepdf in pdflscape environment

I want to include a pdf containing a scalable vector graphic in my document. Because of the graphic's width it must be imported in landscape mode (which works). However, I want to rotate the whole ...
2
votes
1answer
124 views

Include PDF without space on the left

I'm trying to include a PDF and then add text to it using overpic: \documentclass[a4paper]{article}% ensure identical page size \usepackage[abs]{overpic} \usepackage{tikz} \usepackage{geometry} ...
1
vote
1answer
182 views

Margins in booklet using \includepdf

I have PDF that I am printing as a booklet using the following code: \documentclass{scrartcl} \usepackage{pdfpages} \begin{document} \includepdf[pages=-,booklet,turn=false,landscape]{doc.pdf} ...
1
vote
0answers
99 views

Missing \begin{document} error on using pdfpages package with pdflatex

Here is my .tex document and i am compiling to pdf format using pdflatex a.tex. It throws an error, ! LaTeX Error: Missing \begin{document} and after i give R to continue, it gives a lot of errors ...
7
votes
3answers
271 views

pdfpages / pdfbook for odd sizes paper

I have a book typeset with pages of 105mm x 180mm This needs to made into a booklet, in signatures, such that it prints on A4 portrait paper, with the original book pages side by side. (i.e. 105mm + ...
1
vote
0answers
67 views

Include pdfpages and unwanted scale

When I include a pdf file with the command \includepdf[pages=1]{file} from the package \usepackage[final]{pdfpages}, I obtain a scaled document (in a smaller height). How can I obtain rigorously the ...
1
vote
2answers
173 views

How do I prevent pdfpages from either rescaling or cropping the included PDF?

Assume I have two PDFs that I want to stitch together. Both have the same width (standard A4), but one of them is much higher (page height adjusted by using the geometry package). Now, when I include ...
40
votes
5answers
2k views

Amusing exercise - ouroboros file - Output of TeX includes itself recursively ad infinitum

Clarification: The question may be related to the the quine fun question, but IMHO it is quite distinct. The question here to write an "ouroboros" in TeX, i.e., a file that includes itself as a ...
2
votes
1answer
64 views

pdfpages with alternate TOC entry

So what I'm trying to do is use the caption package with the pdfpages package so a alternate caption turns up in my toc. Sorry if the code didn't turn out perfect still new to posted on stack ...
1
vote
1answer
100 views

How to insert commas as value of \addtotoc in \includepdf command?

I would like to include an external PDF file into my document, using the pdfpages package. Here is my root file which works fine: \documentclass{book} \usepackage{hyperref} \usepackage{pdfpages} ...