{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

13
votes
0answers
1k views

How to get radio boxes right in PDF forms using hyperref? [closed]

I would like to create a fillable PDF form containing radio buttons using hyperref. The text fields turn out fine. The problem is with the radio boxes. Only one fillable radio box is visible when ...
12
votes
4answers
1k views

What causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?

Internally, what causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?
12
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 ...
12
votes
4answers
4k 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 ...
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
7k 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
1answer
606 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} ...
12
votes
1answer
792 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
847 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
44k 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 ...
12
votes
1answer
321 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
1answer
911 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
7k 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
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 ...
12
votes
3answers
233 views

Test the hyperlinks of a pdf document [closed]

Is there any way to test the hyperlinks of a pdf file ? Suppose I have a pdf file containing a large number of hyperlinks, can I test automatically the response I will have when following those links ...
12
votes
1answer
288 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
563 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
322 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
589 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
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
3answers
310 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 ...
11
votes
4answers
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 ...
11
votes
2answers
326 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
3k 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

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
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
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. ...
11
votes
1answer
337 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?
11
votes
1answer
1k 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 ...
11
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 ...
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
431 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
305 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
256 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
376 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 to use CMYK-Colors in the whole document

I found out, that my color laser printer prints graphics with gray color in RGB-Representation instead of using black (they are more red then gray). So it seems, that PDFLaTeX is creating ...
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
804 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
98 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
748 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
504 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
2answers
3k 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 ...
11
votes
1answer
444 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) ...