{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
1answer
96 views

How to get correct PDF metadata?

I am having trouble getting the PDF metadata to be created. I tried using the code below but the metadata is not created. \documentclass[15pt,a4paper]{article} \usepackage{lipsum} \usepackage{url} ...
0
votes
0answers
22 views

How to reduce the pdf file size in latex document? [duplicate]

Duplicate question I generated a pdf file from latex files, the size is around 7.5 MB. I am wondering is there any way I can reduce the PDF document size. Thanks in advance.
2
votes
0answers
64 views

Problems updating flavour of linux

Translated from Spanish: Good Morning. I have several books made with Tex (pdf made with XeLaTeX) and I have encountered a problem updating my software. Currently I have installed texlive-full + ...
1
vote
2answers
93 views

PDF bookmarks don't work correctly (every reference points to the first page of the document) [closed]

As I almost described in the title of this question, my problem is the following: I'm trying to create suitable PDF bookmarks to my document but all the references (bookmarks on the left side, ...
5
votes
0answers
115 views

Using Ghostscript to compress pdf with 3D content

I have used Ghostscript to compress the pdf output of some large files as it seems to do a better job of getting rid of duplicate font information than Adobe Acrobat (which sometimes loses certain ...
5
votes
1answer
184 views

When I convert a PDF to plain text, the text is scrambled [duplicate]

When I convert a PDF created in MiKTeX to plain text, all diacritics are at the wrong place. I need to send my thesis to online antiplagiator checking page. Example: pr´ce a diskusia mˆˇu tvorit ...
1
vote
0answers
87 views

classicthesis PDF uneven font size in Adobe Reader [closed]

I'm using the classicthesis template in Lyx, and I've notice that I'm having strange results when viewing my pdf's through adobe reader. For the small caps style, I'm seeing uneven letter size (for ...
2
votes
1answer
162 views

extracting data from an interactive form

I am currently creating a fillable PDF - Form for a survey (I know, there are more convenient ways...). I wonder wether there is an option to make the participants' data available for further ...
1
vote
1answer
75 views

Similar package with fontawesome

Is there any other package similar to fontawesome? I ask that because i can not use fontawesome as it scales the icons in adobe reader X (I am using friggeri.cls). Same problem in this link: Friggeri ...
0
votes
0answers
39 views

EPS figures are misplaced on top of the text

I have uninstalled and re-installed the complete version of Miktex (version 2.9). Now, for any .tex file that I run, the .eps figures are misplaced on top of the text. There is no problem if I use ...
2
votes
0answers
65 views

Latex PDF - Hyperref Zoom in - pdfview

I am currently strugelling with the following problem: I would like to create a TikZ graph in which I can click on the node text (hyperref) to jump and zoom in to another part of the graph: I ...
10
votes
2answers
162 views

In which way have fake spaces made it to actual use?

I skimmed the abstracts of TUG 2014 and stumbled over "Fake spaces" with pdfTeX -- the best of both worlds by Ross Moore. The abstract says: With the 2014 version of TeX Live, new primitives are ...
5
votes
0answers
260 views

Differences between XeLaTeX and LuaLaTeX embedding fonts (with optical sizes) in PDF

Using TexLive 2014 (updated today) on Windows 7 the following code compiles using XeLaTeX and LuaLaTeX: \documentclass{article} \usepackage{fontspec} \setmainfont[ Extension = .otf, Path=otf/, ...
1
vote
0answers
56 views

Importing PDF image with filled surfaces using graphicx [closed]

So I coded up a plot in pgfplots for inclusion in a document and it came out very nice. I've attached what it looks like below straight from the original pgfplots compilation. I generated the filled ...
1
vote
1answer
117 views

Loss of Quality when merging PDF with pdfpages

I have a quality problem when merging one-sided PDFs into multiple page PDFs using the pdfpages package. The initial PDFs consist of scanned sides of books. I create the LaTeX-File inside R and ...
12
votes
3answers
190 views

Section numbers in PDF bookmarks

I need to write section numbers in PDF bookmarks, but only for section (and not for subsections etc.). Desired result: Now I use bookmark package, so I can write numbers for every bookmark with ...
1
vote
1answer
114 views

How to make LaTeX-PDF as 'machine readable' as Word-PDF [closed]

I am using LaTeX to typeset my CV. Many companies now do not personally read applicants' submissions but instead scan them for keywords and phrases using a piece of software. I have the impression ...
3
votes
1answer
142 views

Let pdflatex/Lualatex write a PDF “checkpoint”

Assume that you have a program that is writing a report while it computes, and the report is a LaTeX file with text, TikZ figures, ect. that needs to be compiled to a PDF before it can be viewed ...
6
votes
0answers
188 views

Special effects in TikZ leads to unprintable PDF

So I recently made a picture of the Mexican Hat Potential (related to the Brout-Englert-Higgs Mechanism of particle physics). I am more than satisfied with the graph and everything, but I noticed ...
0
votes
0answers
29 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 ...
2
votes
0answers
72 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
59 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
40 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
143 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
1answer
49 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 ...
2
votes
2answers
106 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 ...
4
votes
2answers
121 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 ...
4
votes
1answer
88 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 ...
0
votes
1answer
54 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
40 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
94 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 ...
5
votes
0answers
32 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
363 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} ...
2
votes
0answers
138 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
182 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
50 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 ...
1
vote
1answer
98 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
58 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: ...
2
votes
1answer
98 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
197 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
126 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
2answers
135 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 ...
4
votes
1answer
109 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
1answer
100 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). ...
2
votes
0answers
27 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
27 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 ...
3
votes
1answer
127 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
52 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 ?
0
votes
0answers
82 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 ...
6
votes
1answer
101 views

ifpdf prematurely terminates iffalse

I have the following minimum code stored inside the file.dtx file: % \iffalse % \begin{macrocode} %<*driver> \documentclass{ltxdoc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} ...