{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

38
votes
5answers
50k views

How to convert PDF to (La)TeX?

I know that hardly any information is passed to the PDF when a .tex file is compiled. But is there a tool that can convert a PDF document back to (La)TeX?
18
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} ...
65
votes
1answer
13k 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 ...
66
votes
6answers
10k 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 ...
76
votes
3answers
4k 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 ...
75
votes
1answer
6k 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 ...
60
votes
8answers
8k 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 ...
38
votes
7answers
9k 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 ...
37
votes
7answers
13k 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.
34
votes
3answers
5k 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 ...
82
votes
3answers
17k 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 ...
43
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, ...
81
votes
3answers
4k 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 ...
35
votes
2answers
596 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 ...
22
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
8k 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 ...
18
votes
1answer
6k 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.
34
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 ...
49
votes
8answers
12k 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 ...
33
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 ...
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 ...
22
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 ...
19
votes
2answers
12k views

How to configure TeXnicCenter 2.0 with Sumatra (2013/2014 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 ...
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
9k 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?
39
votes
6answers
5k 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? ...
21
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 ...
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, ...
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 ...
31
votes
11answers
21k 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 ...
34
votes
8answers
51k 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 ...
32
votes
3answers
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 ...
48
votes
11answers
10k views

Multiple PDFs with page group included in a single page warning

I updated TeX Live 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 ...
24
votes
7answers
8k 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 ...
22
votes
1answer
13k 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 ...
75
votes
2answers
2k views

Revisiting producing structured PDFs from LaTeX

I am trying to produce a structured or 'tagged' PDF from pdftex (Tex Live 2013) that passes automated tests in Adobe Acrobat for tagging. These tests are the de facto indicator for a document ...
30
votes
5answers
12k 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 ...
20
votes
1answer
918 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 ...
21
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 ...
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 ...
11
votes
1answer
33k views

TexMaker - “File not found” when viewing as pdf

At the moment I'm having a problem when trying to view my LaTeX file as a PDF. Whether I do it internal or external I both the error "File not found.". I have no idea what file it means. I've read ...
12
votes
1answer
2k 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 ...
69
votes
5answers
13k views

LaTeX options for kindle?

I was wondering if there are any good settings to produce a PDF suitable for reading on a (6 inch) kindle. Main use is for intermediate reading of academic papers while they are being written: Text ...
62
votes
6answers
11k 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 ...
62
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, ...
19
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 ...
30
votes
3answers
5k views

Why can't “fi” be separated when being copied from a compiled pdf?

I notice that in a pdf file compiled from Latex, "fi" such as in "field" cannot be separated as "f" and "i" when copying text out of the pdf file. I wonder why and if this can be changed? Thanks and ...