{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

21
votes
2answers
4k views

Generating PDF/A-1b compliant documents using pdfx and pdfLaTeX

There are several discussions on the web on how to generate PDF/A-1b compliant documents. One approach can be found on ...
21
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. ...
16
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 ...
28
votes
1answer
913 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 ...
13
votes
3answers
2k 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 ...
19
votes
4answers
425 views

Two pdf versions from one single .TEX file?

I publish a lot for science journals and some of them are very strict on the number of pages your manuscript will be, as usual the final version of the articles is double column but for review and ...
12
votes
1answer
8k 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 ...
11
votes
3answers
387 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
974 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 ...
9
votes
6answers
8k 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 ...
19
votes
3answers
13k 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 ...
18
votes
1answer
253 views

Elements that looks different when printed with colours or in BW

Is there the possibility with LaTeX of having some element that change if it is printed with colours or in black and white? I was thinking about the rectangles around links with hyperref that are ...
17
votes
2answers
956 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
2answers
3k 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 ...
15
votes
2answers
4k 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 ...
11
votes
1answer
598 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 ...
11
votes
4answers
10k views

What's the best way to embed Visio diagrams?

I was wondering if there is an easier (and better) way of embedding Visio diagrams into a LaTeX document. As far as I know there a two ways: Save Visio Diagram as PNG and use \includegraphics Save ...
8
votes
1answer
5k 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 ...
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 ...
7
votes
2answers
254 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
465 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 ...
4
votes
0answers
452 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 ...
14
votes
4answers
4k views

Quickly extracting individual pages from a document

Let's say I have created a 100-page book with the book document class. What is the quickest way to extract, say, pages 3, 67-70, and 80 from the book into six separate PDF files? Is there any ...
14
votes
1answer
3k 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
1answer
602 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} ...
12
votes
0answers
443 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 ...
11
votes
5answers
54k 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 ...
10
votes
3answers
2k 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 ...
10
votes
1answer
8k 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

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 ...
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 ...
8
votes
1answer
388 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
1answer
1k views

From LaTeX to PDF/A

I have noticed that my PDFs (which I compile from LaTeX using PdfTexify on Windows 7 in MikTeX 2.9 with WinEdt) sometimes do not render properly on Mac OS X (e.g. the contents of some figures may not ...
7
votes
1answer
576 views

How do I make appear no-numbered sections in the hyperlinks (bookmarks) of a PDF?

I am using \section*{} to get unnumbered sections in a document. I need to get those sections in the bookmarks of the resulting PDF but they don't show up. In addition, if the first section is ...
6
votes
0answers
154 views

Does it make sense to convert lightgray into cmyk for more legible printing results? Does this necessitate choosing a (different and) darker colour? [closed]

In my document I'm using the colour lightgray which looks nice on screen, but is barely decipherable when printed (with a BW-laser-printer). Using the xcolor pkg: Would it make sense to try and ...
5
votes
1answer
302 views

generating flow of content in pdf (aka using the **zoombox** feature)

i am sure this feature is called something else entirely, but i have seen some recent pdfs in arxiv that seem to have information about the layout of the pdf such that when we click on a twocolumn ...
4
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} ...
21
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 ...
16
votes
2answers
1k views

Angle symbols which can be copy and pasted from PDF

I'm looking for a way to use the left and right narrow angle symbols (〈 〉, Unicode #3008, #3009) so that they are not changed when copy and pasted from a PDF. These symbols are used ...
14
votes
1answer
526 views

Tikz patterns and cmyk color model

Consider the following example. \documentclass{standalone} \usepackage[cmyk]{xcolor} \usepackage{tikz} \usetikzlibrary{patterns} \begin{document} \begin{tikzpicture} \tracingall \draw [pattern = ...
14
votes
1answer
225 views

Help defining PDF syntax with listings package

I'm trying to make a pdf language definition for the listings package, but I can't get the string definition to work correctly. This is what I have defined: \lstdefinelanguage{pdf}{ ...
13
votes
3answers
3k views

Generating a separate pdf file of tables and figures from a latex file?

Is it possible to generate a pdf of figures and tables of a paper from latex itself? I saw Journals and Conferences asking for a separate file of tables and figures. In this question, questioner ...
11
votes
0answers
1k views

Beamer notes on secondary screen doesn't work [closed]

I am writing a presentation for at introduction to latex and think it would be nice to show how I have my presentation-notes on my laptop screen (Macbook Air) using Beamer. But it just won't work. ...
11
votes
1answer
5k views

email adress renders incomplete mailto in PDF

When I put \email{e.xmaple@example.com} in a LaTeX document the resulting PDF shows the email address correct, but the link points to .xample@example.com. de character before the dot gets left off. ...
10
votes
2answers
377 views

PDF page references in TeX4ht generated html?

I'm using TeX4ht to make html and epub versions of documents that are also processed to pdf. I'm unclear on how to include some kind of visual page references in the html and epub that correlate to ...
10
votes
2answers
2k 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 -- ...
9
votes
2answers
2k views

T1 Encoding causing bad PDF quality? [duplicate]

I recently noticed that some of the papers I've listed on my homepage look a lot sharper than others when rendered in a PDF viewer. Curious about this, I tracked it down to this import: ...
9
votes
2answers
607 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 ...