{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

19
votes
7answers
4k views

PDF reader on Linux capable of continuous updating

I am using latexmk on a Red Hat 5 machine. I use it as: latexmk -pdf -pvc I would like to have my PDF reader automatically update the PDF as it is changed. What PDF reader do I need for this? What ...
12
votes
4answers
7k views

How to make the pdf output of better print quality?

The pdf output generated from by LaTeX is usually not as clear or black as the standard documents would usually be preferred. The search so far suggests that either the fonts used or the Ghostscript ...
17
votes
1answer
3k views

How to make interactive PDF documents with TeX?

Is it possible to have an interactive PDF Document using LaTeX? For example, I want to make a PDF document (math exercise sheets) such that: The user could fold/unfold parts of the document (i.e., ...
13
votes
2answers
5k views

Customize PDF bookmarks

I have the following document (this is an example): \documentclass{book} \usepackage[bookmarks=true,pdfborder={0 0 0}]{hyperref} \title{Sample document} \begin{document} \thispagestyle{empty} ...
19
votes
3answers
10k views

pdftex reduce PDF size: reduce image quality? [duplicate]

Possible Duplicate: How to make the PDFs produced by pdflatex smaller? I wrote my thesis in LaTeX and so far I always compiled with pdflatex. The thesis is 150 pages with many pictures and ...
12
votes
1answer
701 views

PDF bookmark customization

I've seen a couple of PDFs which have come of their bookmarks ("index" tab in most viewers) set either in italics, bold or both. Googling around I found that the bookmark package is supposed to do ...
21
votes
2answers
2k 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 ...
10
votes
2answers
1k views

It is possible to make fonts appear heavier (darker) in pdf output of Latex?

[Edited to include what I have learned from the answers.] I am using Latex in TeX Live on my Mac, through TeXLive. I compile .pdf files using Pdflatex. I use the default fonts. [These fonts are ...
9
votes
2answers
969 views

Embedding a PDF file with clickable external links into a LaTeX document

I want to embed a screenshot of a web page into a LaTeX document as a vector graphic with clickable links. I'm using wkhtmltopdf to render the web page as a letter-sized pdf file with working links. ...
19
votes
3answers
2k views

Option cmyk for xcolor package does not produce a CMYK PDF

I am trying to produce a CMYK PDF file to pass onto a printshop. When I use the [cmyk] option for the xcolor package, the colours in the resulting PDF do look muted and less vibrant as is the case ...
17
votes
2answers
724 views

PDF Layers (OCG) using xelatex

I am switching from pdflatex to xelatex and have trouble finding an alternative on how to do layers in the pdf. So far I have been using ocg.sty to separate relevant content from eye-candy content ...
16
votes
1answer
514 views

Obfuscation of @ and . in e-mail addresses

I manage style files for an academic journal. A typical article will contain authors' email addresses, which we attempt to obfuscate in order to give some measure of protection against e-mail ...
9
votes
2answers
672 views

Locking Fields in Digital Signature

I am using eforms to create pdf where digital signature can be applied. Each document may have more than one digital signature field, ie so the document can be passed from person to person. There is ...
13
votes
1answer
3k views

Change color in finished pdf file

Suppose I have a finished PDF file, say a figure generated from some software, where the ink is black. I would include it in a document. Suppose I want to include it in a beamer presentation with ...
13
votes
1answer
565 views

duotone PDF files with lualatex

How to provide duotone PDF files for publishers who require it? I have a document with images (graphicx \includegraphics), TikZ diagrams, compiled with lualatex. So, if I understand it right, there ...
9
votes
3answers
989 views

Hyperref “enquotes” metadata

EDIT: As Bill B. and Caramdir point out in their comments after Bill B. produced his results posted below, more information is needed in order to make a better call. To remedy, my output was ...
8
votes
2answers
494 views

Attach listing to PDF

I would like to add listings source as attachment to a PDF (created by pdflatex). For \lstinputlisting this is pretty easy: \RequirePackage{listings} \RequirePackage{embedfile} ...
13
votes
2answers
799 views

Using and interpreting pdffonts

For a fairly large (> 100 pages) document that I am writing, I have run pdffonts to check whether the fonts are suitably embedded. The output is as follows: C:\>pdffonts main.pdf name ...
9
votes
1answer
1k views

Add Metadata to XeTeX PDF's

Is it possible to specify the metadata in PDF's made with XeTeX? Here's an example of the type of metadata I'd like to set (and a speculative form for XeTeX): \pdfinfo { /Title (My Masterpiece) ...
7
votes
3answers
1k 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 ...
7
votes
1answer
2k views

Problem copying text from pdf - spaces being stripped

I have the following minimal working example: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} é canção \end{document} I need to use the utf8 argument ...
6
votes
1answer
1k views

How to change the page numbers displayed in a pdf viewer?

I'd like to prepare a LaTeX file of a part of a larger volume, containing for example pages from 50 to 60. Is there a way to do it so that a pdf viewer does not display "1" but "50" on the first page ...
3
votes
1answer
123 views

Can we have viewer specific text in a pdf generated by pdfLaTex?

I am wondering if we could have a pdf file, which can tell what viewer its being viewed with. I was looking for some tex command, which says something like: If viewer is Acrobat, print "Hi You are ...
1
vote
1answer
4k views

Link to local (PDF) file [duplicate]

Possible Duplicate: Does hyperref work between two files? I want to make a link in LaTeX to a PDF file on my local network drive, i.e. when you click on it then Adobe Reader should open and ...
13
votes
0answers
1k views

How to get radio boxes right in PDF forms using hyperref? [closed]

I would like to create a fillable PDF form containing radio buttons using hyperref. The text fields turn out fine. The problem is with the radio boxes. Only one fillable radio box is visible when ...
11
votes
1answer
17k views

How do I open a pdf file in the TexMaker internal PDF viewer using a user-defined quick build sequence?

I'm trying to write a document with a bibliography, and none of the default Quick Build presets have a BibTex parsing step. It's easy enough to make a sequence of commands that run PdfLaTeX, BibTex, ...
10
votes
1answer
746 views

Embedding printer settings in pdf

I want to produce a pdf that includes settings for a predefined profile, like the the printing on both side of a piece of paper, is that possible? If a pdf does not provide this kind of feature, you ...
10
votes
1answer
316 views

How to know the number of pages in a PDF file?

I use graphicx to include pages of a PDF file. I want to know in LaTeX how many pages are in the file. How to do this?
9
votes
2answers
2k views

Eliminate/Edit PDF properties added by pdfLaTeX

Is there a way to change the properties that are added to PDF docs? For instance, when I go the Properties panel in Acrobat, I see: Application: LaTeX with hyperref package PDF Producer: ...
8
votes
1answer
1k views

Problem copying text from latex PDF - special characters

I am using LaTeX in a portuguese document, with special characters such as tilde or cedilla. I have a sample document with the following content: \documentclass{book} \usepackage[utf8]{inputenc} ...
6
votes
3answers
2k views

Quickly add text to existing pdf files / fill forms

I am sure I am not the only person to have had the following problem: one has a pdf document (usually some kind of a form that one needs to fill out over and over again) in a pdf file, which is not a ...
4
votes
2answers
1k views

Opaque-to-transparent gradient lost in embedded PDF figure

I have a figure created with Inkscape as SVG and exported as PDF. When I view the PDF directly (e.g. in OS X Preview), it shows correctly. When embedding it in a LaTeX document, it has problems with ...
2
votes
1answer
1k views

Recover TeX file back from compiled PDF [duplicate]

Possible Duplicate: How to convert PDF to (La)TeX? Has anyone written a piece of code that (at least) tries to reconstruct (standard) LaTeX from a compiled PDF file? I mean, identifying ...
18
votes
4answers
580 views

Tikz changes included graphics

I'm including PDF images into my tikzpicture environment, and the line widths in the included images are different than in the original PDF (some are thick as they should be, some are thin). A ...
13
votes
1answer
5k views

How to disable initial view of PDF bookmarks panel?

The hyperref package automatically creates a list of PDF bookmarks, and it configures the PDF to have the initial view display the bookmarks panel, at least in Foxit Reader and Acrobat. To see the ...
7
votes
1answer
371 views

Multiple inclusion of the same image gives huge PS file

I am using beamer and having included the same image many times with pgf, declare once and insert. It looks like the PS file from dvips grow linear as I create slides (the image is on the ...
6
votes
2answers
285 views

Is it possible to have pictures in .pdf and .eps in LaTeX?

I am a beginner in LaTeX and I want know if there is a way to have 2 images of different types in LaTeX: \documentclass[a4paper,openright,12pt]{report} \usepackage[spanish]{babel} % espanol ...
4
votes
1answer
128 views

How to create two PDFoutput from the same source

I have a very long source file. I would like to prepare from this source two PDF files: PDF contains all of the source file PDF containing only a few, marked earlier parts of the source file. How ...
4
votes
1answer
215 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 ...
4
votes
1answer
830 views

Hyperref links generated by Glossaries pointing to wrong page

In a long document I have two title pages and want to start the page numbering from one on the first non-title page. Thus I use \addtocounter{page}{-2} at the begin of the document. Pages before the ...
4
votes
1answer
951 views

How can I make the content list of a PDF expanded by default?

I am using pdflatex to create a rather long document. The document also has a table of contents, and the PDF naturally has some metadata of this list of contents that I can view in my PDF viewer ...
3
votes
1answer
3k views

Embedding a WMV file in a beamer presentation under Mac OS X

In brief, I have created a beamer presentation that contains an embedded WMV file. Acrobat Reader, however, does not recognise the format of the file under Mac OS, and refuses to play it under ...
3
votes
2answers
3k views

includegraphics choosing pdf instead of eps [closed]

I previously posted this on stackoverflow.com where it was suggested that I post it here. So apologies in advance for cross-posting. I am using LaTeX in ubuntu 10.04 to build a TeX file that uses ...
1
vote
1answer
245 views

texmaker 4.0.1 for OS X Pdf Viewer does not work

With "external viewer" it works fine. But there is a problem with the pdf viewer that it shows the text too wide, there is something wrong with it. What should I do?
1
vote
1answer
231 views

inserting a pdf file in the beginning in xelatex

I was creating a book using XeLateX. I've got a front page created by someone else which is in pdf format. Now my question is how can I insert the pdf file to the beginning? I have done this in LaTeX ...
42
votes
1answer
860 views

making low-quality PDF files clearer

Some research papers available on the web have low-quality outputs. For example, see this. It seems that it was converted from a PS file and typeset in (La)TeX. However, it has all the font ...
22
votes
3answers
6k 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 ...
21
votes
3answers
9k views

How can I generate PDF metadata from LaTeX?

I am writing a document using LaTeX and generating PDF. Can anybody tell me how I can generate the PDF metadata, e.g. author or title, from LaTeX? On Windows XP, I am using MikTex's texify to ...
20
votes
1answer
4k views

How do I edit PDF files produced by LaTeX in Illustrator? Fonts are not found

When I try to use Adobe Illustrator (CS4) to edit a PDF file produced by LaTeX with several equations in it, Illustrator complains that it can't find the fonts: The font CMBX10 is missing. Affected ...
15
votes
3answers
4k views

How to include audio file in PDF

How do I include audio file, or should I say, link to audio file in PDF? Audio should be playable "from PDF directly", without opening any additional window. Is it possible to attach audios to PDF ...