{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

3
votes
2answers
1k views

Vertical orientation landscape page in a PDF output file

I'm using the lscape environment to produce landscape pages in my LaTeX document for pages that have large figures or tables, so that my page numbering is in the right place when it comes to printing ...
0
votes
0answers
24 views

Protecting .pdf file created from latex [duplicate]

I know it is possible to protect file from printing with Adobe tools, but is this done on latex layer or with pdf tools? And is it also possible to protect created pdf file with password in following ...
0
votes
0answers
13 views

Linking large PDF - time-out?

I have a problem regarding a beamer presentation, from where I have to link several other PDF documents. No problem occurs with small files, but with some of them (larger than ~15MB) nothing happens ...
-1
votes
0answers
29 views

the best way to convert from pdf to xml [on hold]

could anybody suggest what is the best way to convert from the pdf to xml.
17
votes
4answers
3k views

How to create PDF and HTML output from the same source

I'm working on a document that has been published only as a PDF file until now. To utilize some of PDF's features, it uses the packages pdfpages and pdftex and commands like includepdf{}. But soon ...
2
votes
0answers
44 views

PDF optimization packages/options

I noticed that when compiling any document in TeX, the resulting PDF can be reduced in size by quite much. For example, take \documentclass{article} \begin{document} Lorem ipsum dolor sit amet, ...
1
vote
0answers
43 views

Wrong pdf output size

I'm trying to create an image (.pdf) that should be filled with black and white thick lines. The code I'm using is working pretty good except for the fact that the matrix output size is not correct ...
0
votes
0answers
37 views

Compilation error: missing \begin{document} [duplicate]

I know that this question as been asked a thousand times on this site, but all of the other ones are either closed as off topic, or (when I tried) didn't work. pdflatex outline.tex yields ...
2
votes
0answers
51 views

Previewing bibliography entries on mouse-over of the PDF's citation links

I had the brilliant idea to have my generated PDF display the bibliography entry as a tooltip when someone hovers over the citation number with his/her mouse pointer. I found this question which ...
2
votes
2answers
56 views

How can I preserve hyperlinks in a PDF that is a subset of the pages in a larger PDF?

I would like to send my colleague just part of a document. The document includes hyperlinks from the hyperref package for clickable cross-referencing within my document. I have tried to create a PDF ...
2
votes
1answer
30 views

suppress mailto: hover prompt in pdf

I don't have a MWE and am not even sure what package I am include that is responsible for it, but if I include text like: git@github.com:peeterjoot/mathematica.git I end up with a ...
47
votes
3answers
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, ...
4
votes
1answer
46 views

How do I make an attached non-pdf file display like a link?

I'm embedding an external file in my pdf with \usepackage{attachfile2} and \textattachfile[color=1 1 1]{description}{file.txt}. How can I make the text look the same as it would if I had used the ...
4
votes
2answers
48 views

Using ranges with pdfpages fails

The documentation says the following: E.g.: pages=- will insert all pages of the document [...] however, when I put \includepdf[pages=-]{foobar.pdf} in my LaTeX doc (compiled w/ xelatex), I get ...
0
votes
1answer
34 views

How to insert pspicture in article

I unable to run the following code. How to resolve it. Now i am using Miktex 2.9. and Winedt. Kindly help me to resolve it. \documentclass[a4paper,12pt]{article} \usepackage{layout} ...
1
vote
0answers
34 views

Webform not recognizing my PDF as a PDF [closed]

Sometimes when i try to upload my resume onto an online form the site wont accept my file saying something along the lines of: The file you uploaded is not a PDF file. This has happened to me a ...
1
vote
0answers
53 views

White space around cropped pdf [closed]

I am trying to insert a figure which is in PDF format using \includegraphics. The problem is that although I have already cropped my figure using pdfcrop tool but when I compile my tex file I got the ...
8
votes
4answers
2k 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 ...
11
votes
2answers
2k 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 ...
16
votes
2answers
776 views

XeLaTeX and TikZ - how do I ensure my PDFs are using the CMYK color model?

The place I want to print my document at needs the PDF to be provided in CMYK. The document is mostly text, except for a few graphs and plots which are done in TikZ or pgfplots. As suggested in this ...
5
votes
0answers
30 views

Add destinations for external links to PDF file? [duplicate]

According to this document, it is possible to add "destinations" to a PDF file that can be used to navigate directly to certain places in the document when opening it: Open a PDF file to a set ...
14
votes
1answer
323 views

Reproducible LaTeX builds - compile to a file which always hashes to the same value

I am interested in using LaTeX in a way such that when I compile twice, I get the very same resulting file. My test.tex: \documentclass{article} \begin{document} Hello, World! \end{document} ...
6
votes
1answer
596 views

PDF updating on OS X Yosemite

Since OS X Yosemite, the standard Preview.app no longer seems to keep position when updating a LaTeX PDF. I tried PDFView, which does keep position, but renders text very ugly. (Same engine as ...
8
votes
2answers
1k views

Can't silence a pdftex “PDF inclusion: multiple PDFs with page group” error

I am having an issue with PDFs generatied in Inkscape. If multiple files generated in this way are included on a single page I get the following error: pdfTeX warning: pdflatex.exe (file ...
2
votes
0answers
50 views

Problem with pdfpc and latex-beamer presentations

I have a figure which uses pattern. The same behavior I notice with one of the examples of pgfplots, http://pgfplots.sourceforge.net/pgfplots.pdf page 211. When I use envince everything looks normal ...
5
votes
2answers
138 views

Token allowed in PDF string in \section but not in a customized (with \addcontentsline) section command

babel's frenchb option makes active e.g. ! character by making it automatically preceded by a \thinspace. Such active characters are properly supported in sections by hyperref's bookmarks. But, when I ...
0
votes
0answers
24 views

How to print pages starting from Pg 1 and not the preceeding roman numbered pages?

Pages for table of contents etc are generally numbered in roman lowercase numbers and actual content starts from page numbered one. One usually wants to avoid printing the initial pages in drafting ...
49
votes
4answers
7k 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 ...
15
votes
1answer
11k 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 ...
6
votes
1answer
907 views

pdflatex without ghostscript to preserve transparency of included pdfs

I'm trying to include a pdf with a transparent gradient using pdflatex from texlive installed with macports. Using the article class (not standalone), the transparency of the included pdf is lost when ...
1
vote
1answer
54 views

Pixelated PDF output [duplicate]

The PDF output of my LyX documents is rather pixelated as can be seen on the image. Does anyone know how to fix this? This is pdfTeX, Version 3.14159265-2.6-1.40.15 (MiKTeX 2.9) (preloaded ...
2
votes
0answers
40 views

Add hyperlinks to LaTeX generated PDF (without changing sources)

Sometimes you are given a PDF created with LaTeX but without hyperref. This is ok for printing but navigating the document on-screen can get annoying if the document is very long. My question is: ...
29
votes
2answers
1k views

Are mouse over definitions of acronyms possible?

I have a lot of acronyms in my thesis and I am using the acro package. I would like to know if there is an option to make it possible for the acronyms within the thesis to display a mouse over ...
2
votes
1answer
30 views

How to insert a blank page after an icluded pdf only of this pdf is present in the directory?

I have multiple pdf files(that have only one page) that I need to include into a document. I succeeded in making Latex include the .pdfs that are present in the directory with this: ...
2
votes
1answer
97 views

Reduce pdf file size for large image produced by pgfplots

I created a plot using pgfplots. The plot is embedded in a document. The total size of the document is about 26 MB, while the plot is 12.5 MB. The plot contains a lot of data which makes the pdf ...
3
votes
1answer
83 views

Importing a PDF created in Numbers displaying incorrectly

I created a LaTeX document using Overleaf and a diagram I made in Numbers and exported in PDF format. I included it into Latex like so: \documentclass[12pt,a4paper]{article} \usepackage{fullpage} ...
3
votes
1answer
38 views

looking for equivalent to natbib's `\citepalias` in biblatex with active links using \hypersetup

I recently made the switch from natbib to biblatex. I've been using \hypersetup to make active links with natbib––it helps me navigate my document as I am working on it (see below for example). ...
1
vote
1answer
624 views

pdfpages/hyperref - Contents link jumps to wrong part of page

I'm using pdfpages to combine multiple pdf documents; I would also like a front 'contents' page for the new file, using hyperref to allow me to jump directly to the correct page. The 'addtotoc' option ...
3
votes
2answers
87 views

Why do EPS images have lower quality than PDF images?

I'm using Tikz to create some vector graphics images. I'm finding that when I compile my images to EPS (the preferred format of my publisher) the quality is significantly lower than if compiled to ...
1
vote
3answers
274 views

How to autorotate pdflscape landscape pages when n-upping

I'm using pdflscape for my landscape pages in an A5 portrait document. Then I use the following command line to prepare the PDF to be printed on A4 paper: pdftk blank.pdf document.pdf output ...
4
votes
1answer
41 views

Hyperref not expanding macros in section titles?

I defined a macro that typesets a technical name using math symbols, in my example $\alpha$-thingy. When used in a \section, \hyperref would complain that it cannot use the symbol to compose the ...
3
votes
2answers
201 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 ...
2
votes
0answers
25 views

How can LyX create a pdf file that's suitable for Amazon Createspace publishing? [duplicate]

LyX by default creates documents in pdf file format version 1.5 Amazon Createspace says that it supports pdf submissions in pdf file format version 1.4 and below. They don't say they support this ...
1
vote
0answers
25 views

Ipe transparency changes colors [duplicate]

I have some trouble when applying transparency to ipe objects - colours become much more grayish. We have for instance this example (ipe capture / final pdf capture): The problem has definitely ...
70
votes
7answers
12k 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 ...
1
vote
1answer
85 views

PDF form as background image - filling the form fields

I'd like to elaborate my proof of concept so that I can be confident with selected tools/packages for this task before I start implementing it. Scenario. I have several documents (each document has ...
3
votes
1answer
88 views

Is it possible to convert utf8 IPA chars of different foreign languages to pdf?

I tried very hard to convert pre-formatted IPA characters to pdf using xelatex but failed so far. I use Debian and latexmk command. The report is from the database and is formatted and paginated so ...
0
votes
0answers
29 views

Is it possible to extract the bibliography from a PDF file as a .bibtex?

There is a pdf report that has a good list of references for my field, can I extract them as a bibtex file to reuse them ?
3
votes
0answers
56 views

Where can I find the PDF syntax for texorpdfstring?

I use \texorpdfstring for section commands, but how do I find the PDF syntax? For instance, I recently learned about \texttwosuperior just by chance. Is there a reference for similar symbols?
0
votes
0answers
39 views

generate an editable file (e.g. odt) from my latex sources for editor

The document I am writing has many tex files. I want to give my editor a copy of the document. The copy may not be a pdf because the editor wants/needs to edit the document (spelling, grammar) and is ...