{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

8
votes
1answer
779 views

Copying LaTeX from a PDF

Is there a way to copy from a PDF to a LaTeX document? Whenever I do it, it copies in with weird symbols in the place of LaTeX commands for example: $$f:\mathbb{R}\rightarrow \mathbb{R}$$ copies in ...
7
votes
1answer
1k views

From LaTeX to PDF/A

I have noticed that my PDFs (which I compile from LaTeX using PdfTexify on Windows 7 in MikTeX 2.9 with WinEdt) sometimes do not render properly on Mac OS X (e.g. the contents of some figures may not ...
6
votes
0answers
133 views

Does it make sense to convert lightgray into cmyk for more legible printing results? Does this necessitate choosing a (different and) darker colour? [closed]

In my document I'm using the colour lightgray which looks nice on screen, but is barely decipherable when printed (with a BW-laser-printer). Using the xcolor pkg: Would it make sense to try and ...
5
votes
1answer
331 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 ...
5
votes
1answer
286 views

generating flow of content in pdf (aka using the **zoombox** feature)

i am sure this feature is called something else entirely, but i have seen some recent pdfs in arxiv that seem to have information about the layout of the pdf such that when we click on a twocolumn ...
4
votes
2answers
9k views

Including a PDF page in latex with pdfpages without scaling

I am writing a document in LaTeX and I'm trying to include a frontpage in PDF (aptly called "Frontpage.pdf") the document, to be compiled with Pdflatex. I tried to include it with the pdfpages ...
4
votes
2answers
1k views

Embedding files into a PDF document with dvipdfmx

I use the embedfile package in order to embed the LaTeX source code into the final PDF with the following code: \documentclass{article} \usepackage{embedfile} \embedfile{\jobname.tex} ...
21
votes
1answer
3k views

Creating a PDF bookmark that goes straight to a section heading, not above or below it.

Is it possible to create a new bookmark to a section heading that is not listed in the Table of Contents (i.e., using the starred form — \section*{A title})? \pdfbookmark (part of hyperref.sty) or ...
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
213 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
11k 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} ...
12
votes
1answer
404 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 = ...
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 ...
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
170 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
2answers
3k views

Package xcolor Error: Undefined colors “Maroon”/“Royal Blue” when master has PDF included classicthesis 3.1

I am using classicthesis 3.1 in Lyx 2.0.6. When I include PDFs in the master document, I receive the following error: ! Package xcolor Error: Undefined color `Maroon'. See the xcolor package ...
8
votes
6answers
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
501 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
397 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
0answers
268 views

Changing colors of included cmyk jpg

I am trying to convert a pdf containing grayscale pictures and black text into shades of a single color in cmyk color space (for printing). I was thus very happy to learn, from a side remark in one ...
6
votes
2answers
251 views

How to embed videos in pdf with ConTeXt?

I have heard that it is possible to embed videos with ConTeXt in tex-files and in the resulting pdf-file. Hans Hagen wrote very briefly about videos in his manual, but there is no Minexample. I could ...
6
votes
1answer
415 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
0answers
148 views

How can I create a show/hide button?

I would like to create a show/hide button that appears on a typeset PDF so that when it is clicked, the content appears. This is similar to the ideas here: Hide all but one instances of a custom ...
5
votes
1answer
3k views

Changing the default TeXlipse compiler to PDFLatex

I just installed TeXlipse, and want to make my .tex-file alongside my Java-code (in the same Java-project). Right now, I can compile, but only to .dvi, which I dislike because of the bad viewer. Is ...
5
votes
1answer
1k views

How to do forward search to PDF file opened with Okular from include files when editing using VIM/GVIM

I'm using vim to edit my tex files and I use latex suite as a plugin to compile my tex sources and view them in using Okular pdf viewer. Setting the following in Okular settings makes inverse search ...
4
votes
0answers
368 views

Lyx IEEEtran template copyright overlaps text, authors not appearing

How do you make certain that the copyright and publisher id mark are correctly located at the bottom of an IEEEtran template Lyx document when rendered as PDF? I've tried a couple of suggestions but ...
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
631 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
419 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
168 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
4answers
839 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 ...
7
votes
1answer
141 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
689 views

PNG figures in black and white

I'm trying to include a png figure and it works when I see it in dvi, but the ps comes in black and white. If I compile directly to pdf there is no problem. However I'm using psTricks for a different ...
7
votes
1answer
496 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
708 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
142 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 ...
6
votes
2answers
1k views

multipage pdf as separate image in LaTeX [duplicate]

Possible Duplicate: pdflatex, \includegraphics, and multi-page PDF files Sometimes I create a multi-page pdf as output, e.g. graphs from R. Is there a possibility which allows me to select ...
5
votes
2answers
775 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
453 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
166 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
437 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
273 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
902 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 ...