{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

32
votes
3answers
42k views

How to convert PDF to (La)TeX?

I know that probably no information is passed to the PDF when a .tex file is compiled, but is there a tool that can convert a PDF document to (La)TeX?
16
votes
3answers
5k views

\includegraphics PDF, color problem

I'm using pdflatex, and use \includegraphics to include content of figures from PDF. PDF are exported from InkScape. \begin{figure} [!h] \centering \includegraphics[height=3cm]{fig/SUSAN.pdf} ...
62
votes
6answers
9k views

How to create small PDF files for the Internet

I feel that PDF documents when intended to be uploaded to the Internet should be of a minimal final size in bytes. Many strategies exist to create a small document: Pay attention to the size of the ...
56
votes
1answer
11k views

How to make the PDFs produced by `pdflatex` smaller?

I feel that the PDFs produced by pdflatex are too huge. So for example my 50 page book with no illustrations is 500KB. I feel it should be more like 50K or even less. The .tex files together are just ...
69
votes
3answers
3k views

Showing the bibliographic entry in a popup when you hover over the citation key

I thought it would be useful to have bibliographic entries displayed as a tooltip so readers are not interrupted by following hyperlinks or trying to find the Bibliography, so I created the following ...
74
votes
1answer
5k views

PDF colour model and LaTeX

(Strictly speaking, this is a question about XeLaTeX and the xcolor package but I’m assuming that the issue is actually with the color model of PDF.) I’m having the problem that colours in my PDF ...
34
votes
7answers
11k views

Is it possible to produce a PDF with un-copyable text?

Is it possible to produce a PDF with un-copyable text? I mean, when you want to copy text from the PDF, you can't copy it or what you copy is nonsense characters.
32
votes
3answers
4k views

How to generate PDF/A and PDF/X?

I have heard about PDF subsets PDF/A (for archival) and PDF/X (for printing). How to generate LaTeX documents like that? I'm also interested in answers with plain TeX and ConTeXt, and hopefully with ...
79
votes
3answers
3k views

Is there some way to embed LaTeX source code in a PDF file?

Several times now I have inadvertently lost the .tex file that generated a PDF file with pdflatex. Given what I know of the internal structure of PDF files, it should be possible to embed a text file ...
77
votes
3answers
15k views

Creating fillable PDFs

I'd like to create a LaTeX document that when rendered into PDF, has forms that can be filled out using Adobe Reader or other such programs. Then I'd like to be able to extract the data. I ...
56
votes
8answers
7k views

Can one TeX file output to multiple PDF files?

I'd like to be able to create a TeX file that will output multiple PDF files with one compilation. I'm not even sure if this is possible. Here is the setup: I am writing dozens of cover letters for ...
42
votes
1answer
1k views

Is it possible to provide alternative text to use when copying text from the PDF?

I’m using XeLaTeX within MiKTeX and have the following problem. Let there be some acronym, e.g. USA. I would like to write it in real small caps using \textsc{usa} but these are, of course, ...
37
votes
6answers
7k views

How to create individual chapter PDFs

My document structure has one file with preamble (i.e. MainTex) and around 75 individual .tex files (i.e. Chapter_01, Chapter_02, ..., Chapter_75) representing each chapter. I am using \include ...
20
votes
3answers
2k views

Using opacity in TikZ causes strange rendering in Acrobat.

I have a problem using opacity in TikZ. Whenever I use it somewhere in a picture, I get weird side-effects: colors in (some) other parts of the documents are changed apparently randomly and it makes ...
1
vote
2answers
6k views

Including pdf figures in Latex document using TexnicCenter

I am sorry if I missed anywhere the obvious answer to my problem, but after searching several hours for a solution I am a bit lost... I am using Texniccenter and MikTex under Windows Vista to create ...
16
votes
1answer
5k views

How to set security options to create PDF using pdflatex

My questions is very simple. How can I set security setting for a PDF file created with PDFLatex? I should set some password or print permissions, etc.
33
votes
3answers
2k views

How to preserve hyperlinks in included PDF?

I have generated PDFs with figures that have hyperlinks (hyperref to websites, \href) in them. When I compile these figures standalone the hyperlinks work. But when I try to include these PDFs (as ...
45
votes
8answers
11k views

How to annotate PDF files generated by pdflatex?

I want to annotate some PDF files (created with pdflatex), e.g. word x is missing here this part of a sentence should be moved to the front replace word x by y highlight this sentence insert a note ...
23
votes
3answers
2k views

Automatic “Zoom in” hypertext boxes in PDF

I remember long time ago, seeing PDF documents (such as online PDF versions of newspapers) that had hypertext boxes around paragraphs, such that when you clicked inside those boxes the surrounded ...
30
votes
1answer
3k views

How to create tagged PDF?

How to create tagged PDF such that they will be: good enough for PDF/UA "reflowable" on smaller screens and ebook readers Any syntax & any engine will do. Preferably using LaTeX with ...
10
votes
1answer
3k views

Box border lines not showing properly on PDF

I have the following code that generate a box with text content: \documentclass{report} \usepackage{color} \usepackage{lipsum} \newcommand\tipbox[1]{% \begin{center}% ...
46
votes
2answers
8k views

Creating Kindle-friendly versions of existing LaTeX documents

So let's say I have a large amount of documents (from ArXiv.org, suppose) that I have the LaTeX source for, and for which I would like to compile particularly Kindle-friendly versions. In particular, ...
72
votes
5answers
5k views

Is there any reason to compile to DVI rather than PDF these days?

I appreciate that in the past, latex was faster than pdflatex, but computer speeds being what they are nowadays, I can't see any difference in how quickly documents compile... So, given that the end ...
27
votes
7answers
5k views

How can I superimpose LaTeX / TeX output over a PDF file?

I have a form as a PDF file. I would like to use LaTeX/TeX to overlay my text over the form, and send the output to either a print or another PDF file. Is this possible? How would I go about it?
20
votes
5answers
2k views

‘Bundle’ TeX output in a directory

(My personal interest in this question is mainly for OS X but solutions/approaches for other operating systems are also appreciated.) What I see as a main distraction with using TeX/LateX is that it ...
37
votes
6answers
4k views

Which figure type to use: pdf or eps?

Both are vector graphics (typically) and both can be imported painlessly into a pdflatex document (so let's say we ignore dvi for this question). What are the advantages and disadvantages of each? ...
20
votes
3answers
1k views

Automatically increase PDF page height

I'd like to emulate HTML's infinite page height using LaTeX/XeTeX, i.e. have the PDF pages grow higher until a manual \newpage is issued. This could be emulated by setting a very large page height ...
18
votes
12answers
2k views

Output viewers for use with LaTeX

What viewers do you use for reviewing the beautifully-styled output of your LaTeX source? List PDF, DVI and PostScript options. Possibly, one entry per answer, and list platform availability, ...
16
votes
2answers
8k views

How to configure TeXnicCenter 2.0 with Sumatra (2013 version)

Despite having gone through Configure TexnicCenter with something else than Adobe Reader X and having looked at the TeXnicCenter + Sumatra Tutorial, there seems to some little changes for ...
11
votes
4answers
3k views

Inkscape → PDF → includegraphics → XeLaTeX → changed colors

I have an SVG file, which I have made/edited with Inkscape. I want to include this image in my thesis. The svg file is here: http://brussense.be/temp/theSVG.svg (because Inkscape uses a non-standard ...
28
votes
8answers
41k views

How to convert PDF to EPS?

I can't find a tool to convert PDF to EPS, neither in MikTeX nor in TeXLive. Is there such a tool actually? Update: Based on Herbert's accepted answer, I simplify his batch as follows: #!/bin/sh ...
22
votes
7answers
6k views

How to track changes between PDFs?

I've got a modestly large document (60 pages or so), of technical documentation, in two versions (one of them improved). Unfortunately, I seem to have lost the source of the older version (but I do ...
19
votes
1answer
12k views

URL with tilde character?

I'm trying to make a URL with a tilde character (~) in it: \usepackage{url} ... \url{http://lyle.smu.edu/~tspell/jaws} It looks right in the resulting PDF, but when clicking on it the browser goes ...
31
votes
2answers
414 views

Viewer-independent copyable spaces at the beginning of a line?

I need to include a couple of Python code listings, where the indentation of the lines (using some number of spaces) is significant. I would like for the code listings to be copyable, so the spaces at ...
29
votes
11answers
18k views

How to avoid large margins around Matlab plot in PDF

I am preparing image files to be included in a latex document. The image file is generated by printing a Matlab plot. If I print the plot in eps format, the content of the eps file is fully occupied ...
28
votes
2answers
2k views

Is hyperref really the best way to add metadata to a TeX file?

So I know one of hyperref's features is that it can add metadata to you PDFs. This is a nice feature and if you're putting stuff online, it's good to include metadata. But is the hyperref package ...
37
votes
9answers
8k views

Multiple pdfs with page group included in a single page warning

I updated TexLive to the Ubuntu Quantal version (2012.20120611-4) and I suddenly got this warning: PDF inclusion: multiple pdfs with page group included in a single page This is a minimal example ...
19
votes
1answer
832 views

How to make text copy in PDF previewers ignore lineno line numbers?

I'm using lineno for a document. I have it configured to put line numbers in the margins of the document. I generate PDF using pdflatex. Here's the problem: when people copy a region of text in a ...
30
votes
5answers
2k views

LaTeX accessibility

Does anyone know of any LaTeX modules that makes the pdf output generated by pdflatex Americans with Disabilities Act of 1990 (ADA)/Section 508 compliant? Specifics: With regard to math. One simple ...
20
votes
3answers
3k views

Is there a way to make standard LaTex PDF output look good *on screen* as well

While LaTeX-based PDFs are generally very good when printed, I find most of them really hard and annoying to read on-screen when viewing the full page. Most line widths are very small, which results ...
20
votes
3answers
3k views

PDF version issue when including PDF figures

I keep getting the following line in my log file ** WARNING ** Version of PDF file (1.5) is newer than version limit specification. with reference to each image I'm trying to include in my ...
12
votes
1answer
1k views

Can you have hyperlinks to locations in different PDFs?

It's possible to hyperlink to another PDF file using Adobe Acrobat using the following LaTeX code: \href{run:target.pdf}{Click me!} If this is placed in source.pdf, then you can click on the ...
52
votes
5answers
8k views

Is there a specialized Pdf viewer for Latex-Beamer presentations on Linux?

Most of the time when presenting a talk people connect their laptop to a video projector. So they effectively have an extra screen at their disposal. Because of that many Software options for ...
60
votes
10answers
6k views

Preparing PDF files for ebook readers, etc.

People are nowadays increasingly often reading papers on screen, using ebook readers, tablet PCs, laptops, etc. A typical PDF file generated with Latex is far from ideal for such use; in particular, ...
29
votes
5answers
11k views

How to setup synctex with vim, pdflatex and an open-source PDF-viewer under Linux?

Inspired by the comments to this answer I am curious how to actually setup and use forward/reverse (inverse) search with vim, pdflatex and an open-source PDF-viewer under Linux. Btw, to give more ...
60
votes
0answers
1k views

Revisiting producing structured PDFs from LaTeX

I am trying to produce a structured or 'tagged' PDF from pdftex (Tex Live 2012) that passes automated tests in Adobe Acrobat for tagging. I need to do this so that LaTeX will be accepted as a way of ...
18
votes
5answers
2k views

Constructing a dynamic PDF

I wish to create a dynamic PDF file to write an article. This article will contain some theorems. The user will click a theorem and this will drill down to reveal the proof of that theorem. I think ...
12
votes
3answers
3k views

Phantom spaces in listings (pdf)

I have a problem with SQL code in a PDF document. For code representation I'm using the listings package. Everything works perfect until I copy-paste that code from the created PDF document. I get ...
11
votes
3answers
2k views

Minimize automatically the page size of the PDF outputs

I would like to produce the PDF version of the following TEX code without margins. How can I achieve this automaticcaly, even if it needs tricky code (I'm a regular user of Python) ? I would like to ...
6
votes
1answer
3k views

A button that runs an external program from a Beamer PDF presentation

I want to add a "run demo" button to a Beamer presentation (PDF file) that will launch an external Java application. Can this be done somehow - Embed an "exec" command inside a PDF using ...