{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

12
votes
4answers
6k views

Launching an external PDF viewer from Emacs/AUCTeX on a Mac OSX fails.

I am trying to set Emacs/AUCTeX to invoke an external PDF viewer so I can view the document output, preferably with source correlation via SyncTeX. AUCTeX, by default, suggested evince file.pdf; ...
12
votes
1answer
340 views

Tikz patterns and cmyk color model

Consider the following example. \documentclass{standalone} \usepackage[cmyk]{xcolor} \usepackage{tikz} \usetikzlibrary{patterns} \begin{document} \begin{tikzpicture} \tracingall \draw [pattern = ...
12
votes
1answer
112 views

Can I make an “abbreviation expansion” in PDF visible?

(I hope this is at least marginally on topic) When I use the <abbr> tag in HTML, the abbreviation and its expansion are marked by the browser: But if I mark an abbreviation and its ...
12
votes
1answer
504 views

Can PDF search find words with ligatures in XeLaTeX-documents?

Is there some way allow PDF search to find words with ligatures? I use XeLaTeX. \documentclass{book} \begin{document} Prefix. \end{document} In the resulting pdf file, searching for the word ...
12
votes
1answer
529 views

Embedding extended XMP metadata into a PDF file

I am preparing a thesis paper for submission into an electronic library database. Our institution cooperates with the British Library that uses their EThOS system to harvest the papers from the local ...
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 ...
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 ...
11
votes
3answers
2k 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
2answers
1k 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
1answer
3k 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
268 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
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 ...
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
415 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 ...
11
votes
1answer
206 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
210 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
919 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
319 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
19k 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
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
1k 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 ...
11
votes
1answer
644 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
1answer
66 views

Inline purified PostScript (MPS)

I just learned how to inline PDF code using the \pdfliteral command and that purified Encapsulated PostScript generated by METAPOST or purifyeps can be converted to PDF code by pdfLaTeX. However, I ...
11
votes
1answer
600 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
431 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
406 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
2answers
220 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 ...
11
votes
1answer
587 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. ...
11
votes
0answers
485 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 ...
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
3answers
248 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
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
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
2answers
1k views

Embedding a PDF file with clickable external links into a LaTeX document

I want to embed a screenshot of a web page into a LaTeX document as a vector graphic with clickable links. I'm using wkhtmltopdf to render the web page as a letter-sized pdf file with working links. ...
10
votes
2answers
2k views

Embed link to an embedded file

I am embedding a PDF file inside my LaTeX-generated PDF file using embedfile: \usepackage{embedfile} \embedfile{myfile.pdf} I would like to also insert a link that the user can click on to open the ...
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
319 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
1k views

Can't copy-paste from my PDF. Any idea why?

When using copy paste from the PDF generated from my Latex document, the text comes out garbled. What could be causing this? This is an example of the original text: At last, and taking the risk ...
10
votes
1answer
31k 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 ...
10
votes
1answer
834 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
2answers
208 views

How to have a precise control on the size of each page?

I would like to produce a pdf document whose pages have various lengths and fixed widths. An easier situation The easiest case would be for instance: the first page has a length of 10cm all the ...
10
votes
2answers
4k 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
339 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
214 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
2answers
527 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
387 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
291 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
497 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
392 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 ...