{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

6
votes
1answer
2k views

PNG DPI and image size

I created a PNG file (763px by 600px at 72DPI) from a free image. I opened the image in GIMP and changed the DPI to 300 and saved it. After including it in a LaTeX file with ...
6
votes
1answer
200 views

How to emulate \pdfstartlink and \pdfendlink with xetex?

In my ocgx package, I would use the new ocg-p package instead of the ocg package. With pdflatex or lualatex, all is good. But with xelatex, I obviously can't use \pdfstartlink and \pdfendlink (these ...
6
votes
2answers
567 views

using PDF bookmarks to refer to pages in \includegraphics

If I have a multi-page PDF file with one figure on each page, I can use the \includegraphics[page=123]{foo} command to refer to individual figures (see this question). However, if I have lots of ...
4
votes
1answer
1k views

PDF file containing 3D object is not included correctly with \includegraphics

I have a PDF file, containing a 3D object in PRC format. I try to include this into a LaTeX document to be compiled with pdflatex, with the simple source below: \documentclass{minimal} ...
2
votes
4answers
6k views

How to compile a document with EPS images using TeXnicCenter?

I have all my input images in EPS format. I am using TeXnicCenter. When I use latex->dvi output profile, all of the EPS images show up fine. However when I want to take the final output by using ...
119
votes
1answer
3k views

Making equations copyable in pdf

I would like to write a .pdf, where my readers could copy the rendered formulae and paste them directly in their TeX documents. And the copied text would automatically be: \int x\sin ...
45
votes
1answer
1k 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 ...
12
votes
2answers
1k views

Is it possible to embed (attach) a file password protected in a PDF?

The situation is the following, for certain short latex files, I embed the source in the PDF it self. That can save me time in an emergency if I need to modify the source of a PDF without having to ...
23
votes
1answer
749 views

Move-around box in PDF display

I tried using the fancytooltips package and like it a lot. One thing that I could imagine would be nice is to have the entry showing up as a movable box instead of just a tooltip. (Sometimes the ...
28
votes
1answer
3k views

Adding Table of Contents to existing PDF

How can I add a Table of Contents (TOC) to an existing PDF? I have an existing PDF (scanned notes from a class). I'd like to improve this basic scan as much as possible. I do not think that any OCR ...
20
votes
7answers
5k 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 ...
13
votes
2answers
6k 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} ...
21
votes
2answers
3k 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 ...
12
votes
1answer
830 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 ...
11
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 ...
10
votes
2answers
1k 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
811 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 ...
9
votes
2answers
794 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 ...
9
votes
3answers
1k 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 ...
7
votes
2answers
711 views

Turning off font subsetting in pdftex?

I give pdf files to a print-on-demand house (lulu.com) that is very picky about fonts. They want all fonts embedded, no multiply embedded fonts, and no subsetting. Recent versions of pdftex seem to ...
5
votes
1answer
114 views

Implementing full-page Screen-Only & Print-Only in PDF

I am interested in displaying some things (e.g.: title page) in full color on screen, while having the same object/page display in a black and white friendly form when printed. According to this SO ...
15
votes
1answer
4k 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
596 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 ...
10
votes
1answer
1k views

Can't copy-paste from my PDF. Any idea why?

When using copy paste from the PDF generated from my Latex document, the text comes out garbled. What could be causing this? This is an example of the original text: At last, and taking the risk ...
10
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: ...
9
votes
1answer
948 views

Strange appearance of tooltips produced by pdfcomment

Tooltips can be generated with pdfcomment package. However, they lead to some weird behavior if one clicks on a tooltiped item: the item becomes highlighted and "checked" (checked in Acrobat Reader 9 ...
8
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 ...
8
votes
2answers
586 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} ...
4
votes
5answers
4k views

Editing LaTeX generated PDF

Is there an application (in Windows, Unix, or Mac) that allows you to edit the LaTeX generated PDF. I know there is pdfsync, but it only gives you the line, and then you have to search where in the ...
14
votes
2answers
993 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) ...
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
126 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 ...
2
votes
1answer
6k 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 ...
14
votes
1answer
7k 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 ...
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
20k 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
908 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
319 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?
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
2k 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 ...
3
votes
1answer
387 views

Pandoc: Markdown to PDF, without cutting off code block lines that are too long

I'm trying to convert a Markdown file into a PDF file using Pandoc. I have a lot of code blocks in my Markdown. And if I have a line of code that is too long, it will just be cut off in the PDF. How ...
3
votes
1answer
236 views

Producing TikZ-made .pdfs and using /includegraphics on them?

I'm helping TeX a professor's handwritten notes for publishing/pre-print purposes, and for producing certain graphics, I use PGF/TikZ. However, it seems he is having trouble compiling the code ...
2
votes
1answer
2k 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
612 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 ...
7
votes
2answers
372 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 ...
7
votes
1answer
405 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 ...
5
votes
1answer
565 views

Weird warning using pdfx

I got this strange warning: \pdfobjcompresslevel > 0 requires \pdfminorversion > 4. Object streams disabled now. using pdfx package. Here it is a MWE: ...