{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
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 ...
12
votes
2answers
6k views

How to add a page number to the included PDF pages?

I'm creating a documentation with some included pdf files (mostly diagrams or tables) in the following way. \includepdf[pages=1-10, angle=90]{requirements/Requirements.pdf} The command ...
12
votes
2answers
1k views

how to create PDF in grayscale mode or TikZ figure only?

how to create PDF in grayscale mode? convert PDF color in PDF grayscale. I need the PDF in grayscale color. Or in TikZ figure only.
12
votes
1answer
771 views

Is it possible to render a PDF in sepia tones?

Is it possible to render a PDF in sepia tones, both the font color and overall document background? Preferably using pdflatex. The final effect could be something like this screenshot of Pocket in ...
12
votes
3answers
1k views

Adding custom metadata values to a PDF file

Is it possible to create custom metadata key/values for a PDF file? I can see (from other questions here) how to add title, author, keywords etc. However, I'm creating transcriptions of historical ...
12
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 ...
12
votes
4answers
831 views

getting the arXiv to produce a pdf with embedded fonts

I've produced a .tex file using the pstricks package for figures and the Times font (via the mathptmx package). When the arXiv compiles this to a .pdf file it doesn't seem to have the necessary fonts ...
12
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 ...
12
votes
1answer
275 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 ...
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 ...
12
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 ...
12
votes
1answer
880 views

PDF bookmark customization

I've seen a couple of PDFs which have come of their bookmarks ("index" tab in most viewers) set either in italics, bold or both. Googling around I found that the bookmark package is supposed to do ...
12
votes
1answer
6k views

Protect text in PDF from being copied [duplicate]

Possible Duplicate: PDF with un-copyable text What is the most effective ways to protect text in a PDF from being copied with Ctrl+C? I know about standard PDF copy protection, and also ...
12
votes
1answer
21k 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, ...
12
votes
2answers
8k 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 ...
12
votes
1answer
400 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
208 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
547 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
2answers
303 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 ...
12
votes
1answer
578 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
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
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
2answers
317 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
2k views

Eliminate/Edit PDF properties added by pdfLaTeX

Is there a way to change the properties that are added to PDF docs? For instance, when I go the Properties panel in Acrobat, I see: Application: LaTeX with hyperref package PDF Producer: ...
11
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 ...
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 ...
11
votes
1answer
40k 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 ...
11
votes
3answers
2k 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
1answer
428 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
285 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
246 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
1k 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
369 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
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
769 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
86 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
3answers
2k views

Generating a separate pdf file of tables and figures from a latex file?

Is it possible to generate a pdf of figures and tables of a paper from latex itself? I saw Journals and Conferences asking for a separate file of tables and figures. In this question, questioner ...
11
votes
1answer
710 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
489 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
437 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
631 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
3answers
296 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

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
4k views

How to convert text in a PDF file from fonts/text to outlines?

I have PDF graphic in which I would like to have fonts removed. All other properties of the file should remain (such as size, etc). The output file should be in PDF as well. The text itself should be ...
10
votes
4answers
7k views

What's the best way to embed Visio diagrams?

I was wondering if there is an easier (and better) way of embedding Visio diagrams into a LaTeX document. As far as I know there a two ways: Save Visio Diagram as PNG and use \includegraphics Save ...
10
votes
1answer
4k 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
324 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
2k 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
985 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 ...