{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

15
votes
2answers
2k 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 ...
43
votes
8answers
8k views

Is anybody using TeX for business reporting?

Would TeX (LaTeX, ConTeXt, etc) be a good solution for PDF business reports that require dynamically generated graphs and tables? I need to create financial reports that must look top-notch in their ...
17
votes
3answers
9k 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 ...
24
votes
4answers
7k views

Going “back” when using hyperref

I'm including \usepackage{hyperref} so that each instance of \ref (as well as each page number in the index and the table of contents) automatically links to that page. When I'm viewing the document ...
23
votes
1answer
2k views

How to set LaTeX so that PDF reader opens PDF file in a prespecified view?

When I open PDF file generated from .tex files in Adobe Reader I obtain 200% view and I'd like it to have much smaller? Are there some settings for my .tex files allowing to do that?
13
votes
2answers
3k views

PDF image files and `htlatex`

When eps files are provided, htlatex from tex4ht automatically converts to png files so that graphic files can be shown in the final html output. However, I use most of the time the pdf graphic file ...
16
votes
1answer
20k views

How do I create a PDF file that can be digitally signed?

We are using Acrobat digital signatures in my organization. With Acrobat Professional you can put in a signature block that allows signing with a client-side digital signature. This is something ...
21
votes
4answers
490 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 ...
19
votes
2answers
18k views

TeXnicCenter & Adobe Reader DC

How to configure TeXnicCenter to work with Adobe Reader DC? When I building and view current file .tex the following error "Can not execute the command" shows up and the PDF is not generated. If ...
12
votes
1answer
6k views

External (HTML) link to a specific page of a pdf file

I want to hyperlink to a certain page of a pdf file created with LaTeX from an HTML context or just as a plain-text link outside the file, e.g. using <a href="...">...</a>. Is it possible ...
19
votes
1answer
769 views

Placing the un-ligatured text in the OCR layer

I was reading Why can't "fi" be separated when being copied from a compiled pdf? and had a thought: I know that v1.4 and up PDF documents have an OCR layer. Would it be possible to have ...
18
votes
3answers
1k 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 ...
12
votes
1answer
710 views

How does PDF or PDF Viewer define a rounding rule for stroke thickness?

I defined a sequence of line segments of different thickness each as follows. \documentclass{article} \usepackage{multido} \parindent=0sp \begin{document} ...
19
votes
5answers
9k views

Save fillable forms

I am using the eforms package in order to build pdf fillable forms. However there is something I haven't found yet, which Adobe product do I need to purchase in order to save the edited forms? Does ...
8
votes
2answers
2k 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 ...
13
votes
6answers
7k views

Extracting image from PDF to use in LaTeX document?

I need to include some graphs from a datasheet in my document, but of course I don't have the source files. What would be the best course of action? It's mostly logarithmic scale graphs.
11
votes
1answer
2k views

Beamer: how to make each frame appear in the PDF toc?

I would like to have a beamer presentation in which every frame appears in the PDF table of contents (i.e. has a bookmark). My specific presentation only has sections, so all of the frames can appear ...
9
votes
1answer
1k 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 ...
5
votes
1answer
2k views

Add metadata in pdf as type pdf/a

I have created using pdfx a pdf using this command: \usepackage[a-1b]{pdfx} I would add metadata but I don't really understand how do it. I read the doc but I didn't understand pdfx guide
5
votes
2answers
14k views

Including a PDF page in latex with pdfpages without scaling

I am writing a document in LaTeX and I'm trying to include a frontpage in PDF (aptly called "Frontpage.pdf") the document, to be compiled with Pdflatex. I tried to include it with the pdfpages ...
17
votes
2answers
2k 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 ...
15
votes
3answers
5k 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 ...
13
votes
2answers
2k views

how to create PDF in grayscale mode or TikZ figure only?

how to create PDF in grayscale mode? convert PDF color in PDF grayscale. I need the PDF in grayscale color. Or in TikZ figure only.
12
votes
1answer
395 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?
11
votes
2answers
6k views

PDF hyperlinks to a given page.

I would like a command that takes two arguments: a page number and a block of text. I would like the command to create a PDF hyperlink around the text that will jump to the given page. I see that ...
7
votes
3answers
4k views

Friggeri resume - Very different rendering in different readers

I wrote my CV using the Friggeri resume template, but I just noticed a problem: the document it's rendered very differently between Acrobat Reader and FoxIt PDF Reader and Document Viewer: I used ...
7
votes
1answer
4k 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 ...
3
votes
2answers
339 views

IEEEtran Export to PDF version 5 or above

I'm writing a paper for an IEEE conference and am checking the PDF with PDFExpress. One of the errors that I'm getting is that the PDF version of my paper is under 5: (actually "version 5" in an ...
3
votes
1answer
6k views

Margin changes in converting DVI to PDF

I have a 1 inch top margin in all the pages that I have in my DVI file. When I convert this to PDF however the top margin reduces! I am not sure why this is happening. Could someone tell me how to ...
14
votes
0answers
2k 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 ...
13
votes
3answers
3k views

How to change the PDF producer metadata with XeLaTeX on MikTeX

I tried to change the PDF Producer of the generated PDF file with XeLaTeX, but it always be "MikTeX-xdvipdfmx (0.7.8)", if the PDF is generated with pdflatex, it will change as I wish, does anybody ...
12
votes
4answers
1k views

What causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?

Internally, what causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?
11
votes
1answer
2k 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 ...
6
votes
1answer
266 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
4answers
3k 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 ...
5
votes
1answer
2k 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} ...
4
votes
2answers
6k views

When converting PDF to EPS, how to prevent pdftops from rasterizing fonts and transparent regions?

Compiling the following code % Circle.tex \documentclass[cmyk]{minimal} \usepackage{pstricks} \pagestyle{empty} \topmargin=-72.27pt \oddsidemargin=-72.27pt \topskip=0pt \parindent=0pt ...
4
votes
1answer
3k views

Make an invisible vbox

I'm placing a PDF meta information in a \vbox in a plain XeTeX document, and I would like it to behave as if there were no box at all (so any additional \vskip after the \vbox will appear). Right now, ...
3
votes
2answers
26k views

How to Convert PDF containing Math (made from LaTeX) to Word

I'm writing here following http://math.stackexchange.com/questions/402407/how-to-convert-pdf-containing-math-made-from-latex-to-word and ...
3
votes
4answers
9k 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 ...
7
votes
1answer
5k 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
170 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 ...
6
votes
2answers
613 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
2k views

No Bibliography is printed and citations shown bibtex key

I writing a document in LyX (2.0.5) with references. For displaying references I use biblatex. (http://wiki.lyx.org/BibTeX/Biblatex). My latex environment is MiKTeX 2.9 Since I switched my Desktop, ...
63
votes
5answers
12k 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 ...
25
votes
7answers
9k 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 ...
28
votes
1answer
4k 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 ...
23
votes
1answer
1k 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 ...
18
votes
2answers
12k 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} ...
18
votes
4answers
9k views

Rotate single PDF page when viewing

I got a Latex document which renders fine, some content is rotated using the turn environment from the rotate package. Everything works like it should. Except: It know that it is possible to display ...