{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

11
votes
2answers
962 views

What can cause generated PDF document whose text are not correctly copyable?

I was wondering why some PDF documents compiled from some LaTeX code does not make its text correctly copyable, i.e. what you can get is nonsense text? For example, this pdf document (I don't have the ...
11
votes
3answers
1k views

Quickly extracting individual pages from a document

Let's say I have created a 100-page book with the book document class. What is the quickest way to extract, say, pages 3, 67-70, and 80 from the book into six separate PDF files? Is there any ...
11
votes
1answer
2k views

pdfTeX warning: “version allowed”

After including some figures (saved as .pdfs) in my LaTeX document with \includegraphics, I got the following warning: pdfTeX warning: pdflatex.exe (file ./figure/figure_1.pdf): PDF inclusion: ...
11
votes
2answers
232 views

TikZ picture wrecks page on Adobe Reader

The following MWE contains the offending code. The page that this code is on does not show up when the PDF is seen in Acrobat Reader. I do not use Acrobat myself, but my advisor does, so my thesis has ...
11
votes
2answers
1k 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 ...
11
votes
2answers
2k 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 ...
11
votes
1answer
135 views

A basic question about raw pdf file output by pdftex

Consider the following simple tex file, to be compiled with pdflatex. \pdfcompresslevel=0 \documentclass{standalone} \begin{document} \hrulefill \end{document} Thanks to \pdfcompresslevel=0, the ...
11
votes
1answer
165 views

How to produce unicode copyable alternative text? (with accsupp)

In the following example, I can't manage to make accsupp store the unicode alternative text. The resulting PDF looks as expected but the copyable text is not the correct one. I tried this with ...
11
votes
1answer
189 views

How do I use same figure multiple times?

Is there a way to use same figure multiple times -- without reinserting it? That is I don't want to pay it's weigth several times in the output pdf file. I remember I saw someone telling adjustbox ...
11
votes
1answer
848 views

hyperref: pdftitle and wrong character encoding [duplicate]

Possible Duplicate: Using non ASCII characters in author names and titles within hyperref pdfinfo \documentclass[12pt,a4paper]{mwrep} \usepackage{polski} \usepackage[utf8]{inputenc} ...
11
votes
1answer
289 views

Telling Tikz/Tex to produce raster instead of vector in resulting PDF

I am using MikTeX and Tikz package to generate images (playing cards on A4 paper). The result is nice, but slow (too many vector objects, printing is hell slow). Is there a way to directly tell TeX ...
11
votes
1answer
1k views

How do I make an attached 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.pdf}. How can I make the text look the same as it would if I had used the ...
11
votes
1answer
17k views

How do I open a pdf file in the TexMaker internal PDF viewer using a user-defined quick build sequence?

I'm trying to write a document with a bibliography, and none of the default Quick Build presets have a BibTex parsing step. It's easy enough to make a sequence of commands that run PdfLaTeX, BibTex, ...
11
votes
1answer
583 views

LaTeX color and ICC color profiles

I have a (pdf|Xe)LaTeX document and trying to keep it CMYK. For some documents, I use a certain color for it's elements, which is RGB #BDCDDA. As my final document should be using the Adobe CMYK ...
11
votes
3answers
2k 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 ...
11
votes
3answers
2k views

Can pdf thumbnail previews in file explorer be influenced?

Some pdf files have a nice preview thumbnail in Windows (7) Explorer, e.g. those produced by my the software of my scanner: For my LaTeX files produced with pdfTeX, however, it just shows the ...
11
votes
1answer
531 views

Store information about which paper tray to use in PDF

Searching here, I found the question Embedding printer settings in pdf - while related, this appears to apply to printer settings for the entire PDF, not for changing printer settings per page. Our ...
11
votes
1answer
400 views

Exclude images for printing pdf

I have a document that has images that are very, very dark. As such, they should not be printed when the user goes to print. Somebody I'm working with loves to print, and they use a lot of toner ...
11
votes
1answer
390 views

Branching lines in TikZ without antialiasing/subpixel artifact?

Is there a way to properly branch a line into several lines in TikZ? Simply adding paths creates a darkening artifact where the paths overlap: \begin{tikzpicture}[very thin,-stealth] \draw (-1, 0) ...
11
votes
1answer
568 views

Hide “real” font name in PDF

Does anyone know how to change the font name listed in the "Document Properties" window of the PDF reader? For example, instead of A030-Reg-8r, which is an Arial clone, I'd like to have written Arial. ...
10
votes
4answers
2k views

Include Adobe Illustrator files (ai) with XeTeX

Adobe Illustrator files are PDF compatible. That is a regular PDF reader, ex. Sumatra-pdf, can open and view them. I was hoping it would be possible to have xetex (with xelatex) and graphicx to ...
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}% ...
10
votes
3answers
214 views

Using LaTeX for pre-printed paper

I'm thinking of moving from Crystal Reports to a LaTeX based solution, but it's a requirement to be able to make a pdf that conforms to a pre-printed layout (in the company I work we use pre-printed ...
10
votes
2answers
1k 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 ...
10
votes
1answer
317 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?
10
votes
1answer
3k views

email adress renders incomplete mailto in PDF

When I put \email{e.xmaple@example.com} in a LaTeX document the resulting PDF shows the email address correct, but the link points to .xample@example.com. de character before the dot gets left off. ...
10
votes
1answer
748 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 ...
10
votes
3answers
1k views

Why do some vector graphics included into a document force rasterization of the whole page and subsequently ruin the look of the text in cups?

When I \includegraphics certain PDF files (for example this SVG converted with Inkscape), the output produced by LuaLaTeX or PDFLaTeX will be such that when the page containing the picture is printed ...
10
votes
2answers
3k views

Can PDFLaTeX produce PDF/A? [duplicate]

Possible Duplicate: How to generate PDF/A and PDF/X? I wonder if pdflatex can produce a standard PDF/A-1 or PDF/A-2 for archival purposes. That would be quite useful. Of course by that I ...
10
votes
1answer
275 views

Store black and white information in a generated pdf

Last time when I printed my thesis at a copy shop the nice girl asked me if my pdf has some kind of color information stored inside. She explained to me that their printers can detect black and white ...
10
votes
1answer
203 views

Partial italic text in PDF bookmarks

In my LaTeX file I've got some chapter titles with partial italicised text. With the hyperref package, I get the required bookmarks, etc. but the style for these partial italicised text disappears. ...
10
votes
1answer
403 views

Why does my conference/university require me to use dvi intermediary format?

What for? I thought pdfLaTeX was simpler and eliminated useless steps as well as possible font issues? In other words what is the difference between a pdf generated using the LaTeX command and dvi's ...
10
votes
2answers
6k views

How to generate pdf without any Type3 fonts?

For a publisher I have to generate a pdf file which does not contain any Type3 fonts. Until now I thought that using pdflatex on current LaTeX distributions should be enough to get a pdf file without ...
10
votes
1answer
815 views

Header and page numbers with pdfpages

I have a chapter of attachments which contains pdf files in this format, using the awesome pdfpages package: \chapter{Title} Lots of multipage pdfs following ...
10
votes
2answers
482 views

How to create page with non printing annotation

I would like to add text 'This page intentionally left blank' to blank page (with header) but I would like to this text appear in pdf but not in the printed document. Is it even possible? If so, how?
10
votes
1answer
352 views

How do I add accented characters to PDF info without using hyperref?

Using pdflatex, I'm looking to add PDF information into by document, including an accented name (Rónán Daly). Normally I'd use hyperref to do this; however, the conference I'm submitting to is ...
10
votes
1answer
276 views

Performance of LaTeX and other TeX derivatives

I need to generate thousands of pdf reports, based on some data. Right now I am using pdflatex for this. Are there differences in performance between pdflatex and other TeX derivatives? My content is ...
10
votes
1answer
475 views

Reusing an image without duplicating it

PGF has a nice feature, declaring an image and re-using it again and again. With a PDF backend, it reduces the size of the output, as the image is embedded in the file only once. However, the PGF ...
10
votes
2answers
2k views

How can I get pdflatex to make tooltips attached to text, like HTML's abbr tag?

I'm writing my CV and I'd like something that works like HTML's abbr tag in my document. I know there are packages like pdfcomment and cooltooltips, but those really only work with Acrobat Reader -- ...
10
votes
2answers
384 views

Generate large document by pdfTeX, then break result into many PDF files while preserving links

This is the PDF file of a book I wrote: http://www.abstractmath.org/Handbook/handbook.pdf It takes a long time to download because it is a big file. I generated it using pdfLaTeX. Is there a way to ...
10
votes
1answer
114 views

Refer to labels of merged pdfs?

Do I need to use an extra program (pax) in order to bookmark labels of merged pdfs? For my application, I use KOMA-Script for the letter and moderncv for the CV. Therefore, I have to use two ...
10
votes
1answer
184 views

Copyright metadata into Adobe Reader using pdflatex

Ok, first of all I'm quite aware there are a couple of question that address this issue. More in specific: How to add copyright information to PDF metadata Eliminate/Edit PDF properties added by ...
10
votes
2answers
2k views

Output Beamer notes to a separate PDF file?

Is there a simple way to have Beamer output the presentation notes to a separate PDF file whenever compiling the presentation? I know one way is to create two master files, one for the presentation ...
10
votes
2answers
2k views

Moving from pdfLaTeX to XeTeX - what do I need to know?

I've used pdfLaTeX for some time, but have encountered problems wanting to use other fonts than the defaults. I've been recommended to use XeTeX instead, as this supports usage of system fonts ...
10
votes
2answers
178 views

How to create a 'summary of changes' with latexdiff

Following my previous question, I have successfully created a dif.tex file of a large, complex project, the results of which can be seen here. (This was done, in the end by updating latexdiff to the ...
10
votes
1answer
193 views

Width threshold for space detection

I'm writing this stuff pdf2htmlEX, for each distance between two consecutive letters, I need to check if there should be a space character or not. Especially for PDF files generated by LaTeX, which ...
9
votes
2answers
146 views

How to insert searchable value for PDF reader?

In a dictionary a headword can consist of special characters like in this example : Eyja·fjalla··jök|ull. I would like to achieve that the user in PDF reader in PDF file can search for ...
9
votes
2answers
502 views

TeX4ht: \includegraphics[page=10]{foo.pdf}

I have a long LaTeX document with lots of figures that were included using commands of the form \includegraphics[page=10]{foo.pdf} Everything compiles fine with pdfLaTeX. I planned to convert the ...
9
votes
1answer
514 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} ...
9
votes
4answers
673 views

pdf vs dvi vs postscript

I have a few questions regarding these three: What is the difference between those three outputs? Does it make any difference in how my code is processed or just how it is displayed? What's ...