{pdf} is specifically about the PDF file format. If your question is about producing PDF output, choose an appropriate tag such as {pdftex} or {ps2pdf}. If your question concerns PDF reader software, also use {viewer} or a reader specific tag such as {acrobat}, {evince} or {okular}.

learn more… | top users | synonyms

4
votes
1answer
1k views

text gets slightly bold when adding graphics [duplicate]

Possible Duplicate: Why are some pages in my PDF coming out bold? I have problem with text on the page with a graph, it gets slightly thicker. The text on the next page without graph is normal....
4
votes
1answer
352 views

Luatex os.execute not working

I've hooked luatex's stop_run callback so I can do some processing on the output pdf after it is generated. To process the pdf I need to call os.execute. When doing so I an error saying "All command ...
3
votes
1answer
647 views

Bookmarks not linking with Table of Figures and Bibliography properly

I've been trying to get the bookmark package to work with my thesis, and for the most part I'm happy with the results; however, I'm having some problems with the links for the Table of Figures and ...
0
votes
0answers
140 views

problem with converting into pdf file

I face the problem of converting my file into PDF. Everything was working fine until today. I reinstalled my LYX to 2.1.3. And now when I want to convert to PDF , it does not see my graphs inserted ...
41
votes
3answers
20k views

Merge two PDF files output by LaTeX?

I would like to (re)submit a paper with a short cover letter, explaining the changes I have made. However, the journal only allows me to upload one file. As the main article will use the journal ...
63
votes
5answers
13k views

Detecting all pages which contain color

In an larger LaTeX document there are often only some pages with color content (mainly figures) and the remaining ones are only black and white. Because printing costs for color pages are much higher ...
27
votes
5answers
104k views

Insert PDF file in LaTeX document

I have a problem when I insert a PDF file in LaTeX: \usepackage[final]{pdfpages} \includepdf[pages=-]{file.pdf} The problem is that the PDF page is not centered: I've tried to place tags center,...
22
votes
1answer
2k views

Is it possible have the PDF bookmark level go deeper that the table of contents depth?

Is it possible to make the bookmarks in the PDF go a level deeper that the table of contents goes? I'm using KOMA-script, scrreprt if that matters. If the table of contents displays two levels: 1. ...
13
votes
3answers
3k views

Why do some vector graphics included into a document force rasterization of the whole page and subsequently ruin the look of the text in cups?

When I \includegraphics certain PDF files (for example this SVG converted with Inkscape), the output produced by LuaLaTeX or PDFLaTeX will be such that when the page containing the picture is printed ...
31
votes
1answer
1k views

Make hyphenated words in PDF searchable

Is there a way to make hyphenated words in a PDF generated by LuaTeX searchable? If the MWE below is converted to a PDF, searching for "lexicon" (in Acrobat X for example) will not find the word since ...
30
votes
3answers
18k views

how to include existing pdf slides into my beamer?

are there any ways to incorporate some slides in existing beamer file into my beamer? Say, I want to put slide 2 in file A (a beamer pdf file) into my beamer presentation, can this be done? PS: file ...
17
votes
4answers
4k views

How to have pdfLaTeX output PDF/X-3:2002 format pdfs?

I'm using Blurb to publish a manuscript, and they require PDF/X-3:2002 format pdfs. How do I get pdfLaTeX to output pdfs that match that specification? I'm using MiKTeX 2.9.
14
votes
2answers
2k views

How do I [simply] typeset a bibliography as a separate PDF?

I'm preparing a document that requires the body of the text and the references to be separate PDF files. Of course, the bibliography comes from \bibliograpy command and the text citations come from \...
12
votes
1answer
1k views

LaTeX color and ICC color profiles

I have a (pdf|Xe)LaTeX document and trying to keep it CMYK. For some documents, I use a certain color for it's elements, which is RGB #BDCDDA. As my final document should be using the Adobe CMYK ...
18
votes
2answers
5k views

Make PDF open in “Fill Window” mode with hyperref

When I usually open a PDF with Acrobat Reader it opens it in Fill Window mode (the page fills all the space of the window). When using the hyperref package it always opens the file in Full page mode (...
16
votes
1answer
55k views

How to create pdf with command line using MiKTeX?

I downloaded and installed MikTeX on my machine (Windows 7), then when I run the command: latex ex.tex the outputs were: ex.aux ex.dvi ex.log So my question is, what option could I use to ...
15
votes
1answer
10k views

Protect text in PDF from being copied [duplicate]

Possible Duplicate: PDF with un-copyable text What is the most effective ways to protect text in a PDF from being copied with Ctrl+C? I know about standard PDF copy protection, and also know ...
9
votes
1answer
8k views

Is it possible to open a video file via a link in beamer?

I have searched through posts like "embedded video in PDF", it seems that this feature is only available in Adobe Acrobat. So I just thought the alternative solution: open a video file (using system ...
18
votes
2answers
1k views

XeLaTeX and TikZ - how do I ensure my PDFs are using the CMYK color model?

The place I want to print my document at needs the PDF to be provided in CMYK. The document is mostly text, except for a few graphs and plots which are done in TikZ or pgfplots. As suggested in this ...
17
votes
3answers
4k views

How to put a PDF figure on top of another one

I have two PDF figures (charts) in a LaTeX document. As one of them is really simple, and I have some document space constraints, I was thinking of putting it in the upper right corner of the second ...
13
votes
1answer
1k views

Is it possible to render a PDF in sepia tones?

Is it possible to render a PDF in sepia tones, both the font color and overall document background? Preferably using pdflatex. The final effect could be something like this screenshot of Pocket in ...
11
votes
3answers
499 views

Using LaTeX for pre-printed paper

I'm thinking of moving from Crystal Reports to a LaTeX based solution, but it's a requirement to be able to make a pdf that conforms to a pre-printed layout (in the company I work we use pre-printed ...
11
votes
1answer
258 views

Include PDF with OCGs

I want to avoid to recompile large tikz graphics and therefore I compile them as a standalone pdf file. This file contains some OCG layers which I want to use in the main file, but the OCG layer are ...
9
votes
6answers
10k views

Excel chart -> PDF -> LaTeX but need to remove white space

I converted an Excel chart to a PDF file by Save As.. PDF in Excel. It looks good, but there is a lot of whitespace/margin on top and bottom which I need to get rid of. The only way to do so seems to ...
7
votes
2answers
3k views

Copy-pasting leading whitespace and blank lines in listings package (pdf) [duplicate]

I'm trying to use the listings package to typeset some code in a PDF document, in a way that allows me to copy-paste the resulting code. This mostly works well, if basicstyle=\ttfamily,columns=...
6
votes
1answer
628 views

Create element in pdf that doesn't print to paper

I'm creating a fancy header with hyperlinks (see here) for a large document. However, if/when this document is printed, this header is not useful and uses up ink and space. Is it possible to include ...
24
votes
4answers
19k views

How to display cover page alone in the “two page view” mode

For some pdf ebooks, Adobe Reader displays the cover page alone even though the display mode is "two page view". Other than the cover page, the rest of the pdf content is displayed as two pages at ...
22
votes
0answers
676 views

Changing colors of included cmyk jpg

I am trying to convert a pdf containing grayscale pictures and black text into shades of a single color in cmyk color space (for printing). I was thus very happy to learn, from a side remark in one ...
19
votes
2answers
473 views

Reproducible LaTeX builds - compile to a file which always hashes to the same value

I am interested in using LaTeX in a way such that when I compile twice, I get the very same resulting file. My test.tex: \documentclass{article} \begin{document} Hello, World! \end{document} ...
11
votes
1answer
690 views

Exclude images for printing pdf

I have a document that has images that are very, very dark. As such, they should not be printed when the user goes to print. Somebody I'm working with loves to print, and they use a lot of toner ...
8
votes
5answers
1k views

How to add a picture onto an existing pdf file?

I have a scanned pdf file which is an application form, and a picture which is the scanned version of one's signature (for example, this one) and can be in any image format such as eps or png. I would ...
8
votes
1answer
673 views

How do I make pdfcrop output all pages of the same size?

I am trying to crop a powerpoint animation that I converted to pdf for import into beamer (using ppsplit), but when I run pdfcrop (from texlive) to reduce the whitespace, it crops the pages ...
7
votes
2answers
270 views

Randomly assign color to background in the PDF whenever page is turned

Is it possible to change the background color of a Beamer presentation in the PDF in such way, that whenever I switch a page, the color is switched as well? Note that I do not seek a solution to ...
6
votes
1answer
181 views

looking a way to create toggle region in PDF generated by pdflatex

I am looking a way to generate a toggle region in PDF compiled by pdflatex. Something like this implemented with javascript in html http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-...
6
votes
2answers
2k views

Embedding files into a PDF document with dvipdfmx

I use the embedfile package in order to embed the LaTeX source code into the final PDF with the following code: \documentclass{article} \usepackage{embedfile} \embedfile{\jobname.tex} \begin{...
4
votes
0answers
497 views

Bibliography tooltips with XeLaTeX and automated workflow [closed]

I would like to make bibliographic entries appear in a popup tooltips (in a supporting PDF viewer) when you hover over the citation key. An approach to realise this was discussed here: Showing the ...
24
votes
1answer
7k views

pdfTeX warning: “version allowed”

After including some figures (saved as .pdfs) in my LaTeX document with \includegraphics, I got the following warning: pdfTeX warning: pdflatex.exe (file ./figure/figure_1.pdf): PDF inclusion: ...
22
votes
1answer
3k views

Creating a PDF bookmark that goes straight to a section heading, not above or below it.

Is it possible to create a new bookmark to a section heading that is not listed in the Table of Contents (i.e., using the starred form — \section*{A title})? \pdfbookmark (part of hyperref.sty) or \...
15
votes
1answer
4k views

How to force pdfminorversion globally?

I have a problem with opening PDF files in Acrobat Reader. It comes up with error 131. I have solved this issue thanks to How to overcome Acrobat Reader error 131 with a pdfLaTeX doc? The solution to ...
14
votes
3answers
4k views

How to upload LaTeX-generated pdf paper to arXiv without LaTexXsources

arXiv is smart enough to detect whether your pdf is generated by LaTeX. If it is, arXiv asks for the sources of the pdf instead of the pdf file itself. This is really annoying and inconvenient. Can ...
14
votes
1answer
745 views

Having all links underlined with dotted line

so I'm trying to figure out how to have all links underlined with a dotted line. The furthest I got with this and this is: \documentclass{article} \usepackage{xcolor,soul,lipsum} \usepackage[...
13
votes
2answers
3k views

How can I get pdflatex to make tooltips attached to text, like HTML's abbr tag?

I'm writing my CV and I'd like something that works like HTML's abbr tag in my document. I know there are packages like pdfcomment and cooltooltips, but those really only work with Acrobat Reader—it'...
12
votes
2answers
9k views

Package xcolor Error: Undefined colors “Maroon”/“Royal Blue” when master has PDF included classicthesis 3.1

I am using classicthesis 3.1 in Lyx 2.0.6. When I include PDFs in the master document, I receive the following error: ! Package xcolor Error: Undefined color `Maroon'. See the xcolor package ...
11
votes
3answers
1k views

includegraphics: How to check if PDF/PNG are transparent?

I am trying to generate PDF/A-1 compliant documents, in which transparency is not allowed. I would like to check, if included PDF and PNG images have transparency. Is there a TeX way to check this? ...
11
votes
2answers
851 views

Rotating a one-page float for pdf viewing

I have a few long tables that should be rotated 90 degrees. These tables pretty much need to take up their own page. Rotating the table itself is not a problem, but I would also like to have an ...
10
votes
1answer
11k views

Switching color and grayscale mode for \includegraphics

Suppose I have a document that includes a lot of colorful PDFs. Now I'd like to easily switch between "color" version and "greyscale version". I'm aware of \DeclareGraphicsRule, but I think this needs ...
9
votes
2answers
5k views

How do I use LaTeX to create a table of contents for a set of pdf files which I am merging into a single large pdf?

I have a set of pdf files which I want to merge into a larger pdf files. Each individual pdf file is an article with sections. I am hoping to make the merged pdf file into a book format with each ...
9
votes
4answers
2k views

Problems with copy and paste from PDF using lstlisting

I'm using lstlisting to create course notes from which I am hoping that code can be copy&paste'd I've already implemented the suggestions in Phantom spaces in listings (pdf) to make sure that ...
8
votes
3answers
2k views

Hyperlink in moderncv with acrobat reader

The hyperref in moderncv for urls and the email address cannot be opened with adobe acrobat reader. The links are working in other pdf readers. It's only an issue with moderncv opened in adobe acrobat ...
8
votes
1answer
477 views

How Can I create a PDF background which is not printed (by default)?

I'm looking for a solution to include a PDF background layer, which is not printed by default. I've seen that adobe seems to support a watermark layer, as discussed on graphicdesign.SE. I cannot test ...