{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

15
votes
2answers
1k views

Angle symbols which can be copy and pasted from PDF

I'm looking for a way to use the left and right narrow angle symbols (〈 〉, Unicode #3008, #3009) so that they are not changed when copy and pasted from a PDF. These symbols are used ...
14
votes
1answer
204 views

Help defining PDF syntax with listings package

I'm trying to make a pdf language definition for the listings package, but I can't get the string definition to work correctly. This is what I have defined: \lstdefinelanguage{pdf}{ ...
14
votes
2answers
10k views

Add PDF bookmark manually

I would like to add a bookmark to the table of contents. This page shows a method, but \pdfbookmark is not recognised as a command. This is my document header: \documentclass[a4paper]{report} ...
11
votes
2answers
291 views
+500

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
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
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 -- ...
9
votes
2answers
160 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 ...
8
votes
1answer
5k views

Switching color and grayscale mode for \includegraphics

Suppose I have a document that includes a lot of colorful PDFs. Now I'd like to easily switch between "color" version and "greyscale version". I'm aware of \DeclareGraphicsRule, but I think this needs ...
8
votes
5answers
4k views

Extracting image from PDF to use in LaTeX document?

I need to include some graphs from a datasheet in my document, but of course I don't have the source files. What would be the best course of action? It's mostly logarithmic scale graphs.
7
votes
3answers
481 views

Approach to creating graphics in book - TikZ, SVG, PDF, Inkscape?

I have a series of "charts" I created with Excel (before discovering LaTeX) to show the ROM character patterns for an old computer for inclusion in a book on retrocomputing. My dilemma is how to ...
7
votes
0answers
377 views

Is LuaLaTeX producing faulty pdfs? [closed]

If I compile the following minimal code with LuaLaTeX I seem to get a faulty pdf: \documentclass{article} \usepackage{fontspec} \setmainfont{Times New Roman} \begin{document} text \end{document} ...
7
votes
2answers
1k views

pdfpages, addtolist and list of tables

These may be separate questions, but the following MWE: \usepackage{pdfpages} ... \addcontentsline{lot}{subsection}{\ref{tab:UserRoles} \textbf{User Roles}} \includepdf[pages={-}, ...
6
votes
1answer
377 views

How do I make appear no-numbered sections in the hyperlinks (bookmarks) of a PDF?

I am using \section*{} to get unnumbered sections in a document. I need to get those sections in the bookmarks of the resulting PDF but they don't show up. In addition, if the first section is ...
5
votes
1answer
275 views

Create element in pdf that doesn't print to paper

I'm creating a fancy header with hyperlinks (see here) for a large document. However, if/when this document is printed, this header is not useful and uses up ink and space. Is it possible to include ...
4
votes
2answers
2k views

Friggeri resume - Very different rendering in different readers

I wrote my CV using the Friggeri resume template, but I just noticed a problem: the document it's rendered very differently between Acrobat Reader and FoxIt PDF Reader and Document Viewer: I used ...
4
votes
4answers
2k views

\includegraphics and \includepdf both remove all copy (text) from my (R outputted) pdf graphs, using pdfTeX

I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex 2010.8.30) in TexMaker 2.1 on Mac OSX. I installed the whatever latex packages using the "easier" method at ...
4
votes
2answers
1k views

Image quality of pdf file generated from latex

I have been using my computer to generating pdf files from latex file by Winshell (or lyx), but the characters (or images) in the pdf files generated on my computer looks always much worse than the ...
3
votes
2answers
400 views

T1 Encoding causing bad PDF quality? [duplicate]

I recently noticed that some of the papers I've listed on my homepage look a lot sharper than others when rendered in a PDF viewer. Curious about this, I tracked it down to this import: ...
3
votes
1answer
348 views

Adding PDF pages with \includegraphics using a loop

I need to include PDF pages with \includegraphics. I know there is the package \usepackage{pdfpages}. So this is what I have: \begin{picture}(0,0)(75,272.5) ...
2
votes
1answer
162 views

IEEEtran Export to PDF version 5 or above

I'm writing a paper for an IEEE conference and am checking the PDF with PDFExpress. One of the errors that I'm getting is that the PDF version of my paper is under 5: I opened the file in Adobe ...
14
votes
2answers
1k views

How to create linearized PDF using TeX?

Is it possible to create linearized PDFs (optimized for "fast web view") using TeX with free software? (I don't have Acrobat available.)
12
votes
1answer
369 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
4answers
821 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 ...
11
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 ...
7
votes
1answer
125 views

NewDocumentCommand-defined command in bookmark

I have a scenario where xparse's \NewDocumentCommand has a regression compared to any alternative I know, including ones defining robust commands. So I'm avoiding \NewDocumentCommand in this case, but ...
7
votes
1answer
467 views

PDF Metadata - Macro to extract (typeset) 'plain text' from a command?

I apologize in advance as I am yet to accept some answers to my previous questions; but I'll dare ask this one, as it is somewhat of a showstopper - consider this example: \documentclass{article} ...
7
votes
1answer
685 views

Creating PDF bookmarks in custom order

I use hyperref to create clickable PDF files. I have sections and subsections and they are all nicely in the PDF bookmarks. Now there are certain items in my document that I want to appear in the ...
6
votes
1answer
136 views

ogctools in combination with beamer

I try to use ocgtools in a beamer presentation, which worked for me some time ago. But now (TeXLive 2013) this seems not wo work anymore. As soon as I include the ocgtool package there are errors ...
5
votes
2answers
653 views

Embed fonts in XeLaTeX PDF output?

How do I embed fonts in XeLaTeX's PDF output? I am printing directly onto my printer, which requires PDF, EPS or PS input with embedded fonts.
5
votes
0answers
414 views

Error after creating pdf/a [closed]

I must create my thesis in pdf/a format. I'm using the package pdfx calling in the preamble: \usepackage[a-1b]{pdfx} When I open the pdf with Adobe I got the blu bar says me that file is in PDF/A ...
5
votes
1answer
5k views

How do I open the internal viewer in a custom Quick Build command with TeXStudio or TeXMaker?

I'm using TeXStudio 2.2 (A fork of TeXMaker, formerly known as TeXMakerX) and I'm trying to make a Quickbuild option that adds in Bibtex. I've written the command line as pdflatex ...
4
votes
1answer
154 views

Can programs (e.g. Matlab) be made executable from within the PDF?

Is it possible to include a program (as in say Matlab, Maple, etc.) within a LaTeX file in such a way that clicking a button on the resulting PDF file will transport the program to the related ...
4
votes
1answer
387 views

Audio examples in phonetics project

I am writing a project about phonetics and would ask if there is a way to include sound files directly in the PDF to be played directly in this file, preferably without any additional files having to ...
4
votes
2answers
263 views

How can Acrobat features be controlled from within LaTeX?

I needed to install the package xpatch which fixes a glitch in revtex4 regarding cross-referencing. However, now, every time I compile a LaTeX file the produced PDF document has the annoying sideband ...
4
votes
1answer
4k views

Converting a PDF document to PostScript/LaTeX

I have a resume in PDF format. I have seen people linking to PostScript versions of their resume. I am not sure why they do that yet. How can I convert my PDF document to a LaTeX/PostScript document? ...
3
votes
2answers
446 views

Live-Preview of LaTeX on OSX

I use the following to live-preview my LaTeX files: latexmk -pvc -pdf my_file.tex However, in OS X, Preview only updates when you bring it into focus (e.g. you click on the the window). In many ...
3
votes
2answers
361 views

Hyperlink in moderncv with acrobat reader

The hyperref in moderncv for urls and the email address cannot be opened with adobe acrobat reader. The links are working in other pdf readers. It's only an issue with moderncv opened in adobe acrobat ...
3
votes
1answer
442 views

Xetex Hebrew PDF output problem in Lyx

I am trying to compile a document that contains both English and Hebrew. The problem is, that although I have selected Documents | Settings | Use non-tex fonts via XeTeX |LuaTeX, there is no option to ...
3
votes
1answer
1k views

How to deal with PDF figures

I can insert JPEG figures in publications, but when it comes the time to include PDF figures (I prefer them for graphics because of its vectorial nature) I cannot scale them properly. I am using ...
3
votes
1answer
623 views

Two table counters and hyperref links

I have a document with two sets of tables. The first set, numbered 1 to 5, are in the main body of the text. The second, numbered 1 to 3, are in an appendix. When I use \ref to link to one of the ...
2
votes
1answer
140 views

Appendix - Adding PDF

Thanks for your awesome support so far. This page helps me a lot getting into Latex! In my appendix, I want to add several PDF-Documents (questionnaires) which I used in study. I managed to implement ...
2
votes
2answers
227 views

How to include a pdf image

All I am trying to include a pdf image in my tex file, but when I compiled the tex file, the console pop up the following error msg: ! LaTeX Error: Cannot determine size of graphic in ...
2
votes
3answers
258 views

How can the thesis structure be defined for PDF generation?

My thesis consists of these hierarchical elements: \documentclass{report} \begin{document} \tableofcontents \include{020-tex} \end{document where 020-tex.tex contains \input{030-preface} ...
2
votes
1answer
1k views

Shortcut for export PDF on LyX?

Is there a shortcut in LyX for export to PDF? Is there any way to auto export on save?
2
votes
1answer
4k views

Texmaker's internal pdf-viewer doesn't work

I have just downloaded TeXmaker ("a free, modern and cross-platform LaTeX editor for linux, macosx and windows systems that integrates many tools needed to develop documents with LaTeX, in just one ...
1
vote
3answers
2k views

Creating standalone eps files and using batch files to automate the process

I have been looking at these posts How to fix EPS with incorrect bounding box? Cannot determine size of graphic in * (no BoundingBox) How to convert PDF to EPS? How to produce EPS instead of PS ...
11
votes
1answer
423 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
606 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. ...
9
votes
1answer
652 views

File size savings

This is a question just out of curiosity; I hope someone familiar with the "under-the-hood" parts of TeXLive can answer my question. I have a LaTeX source file for a presentation using Beamer, which ...
8
votes
2answers
245 views

How can I programmatically populate a PDF's pdfcreator field?

As I understand it, embedding (as metadata) the typesetting engine that was used to produce a PDF document is good practice. Here is an example of how this can be done using the hyperref package: ...