{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

5
votes
0answers
420 views

Make latexmk and pdfviewer robust against latex errors [closed]

Sometimes latexmk fails because the file was saved premature. For example the user forgets to close a { bevore he saves the .tex file. The user has to get latexmk back on the road again and usually ...
1
vote
1answer
376 views

PDFs included by XeLaTeX are rotated

When I include an image in pdf format, the image in the file is normal when compiling with pdfLaTeX, but it is rotated counterclockwise 90 degree when using XeLaTeX. The questions are: Why? How to ...
19
votes
5answers
6k 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
1answer
1k 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 ...
1
vote
1answer
236 views

Preview in auctex on debian stable works in dvi mode, but fails on pdf mode

My auctex renders preview images on my debian stable system (6.0.6) if I set it to dvi mode, but it fails if I set auctex to pdf mode. I assume there is either a mistake in my emacs configuration ...
2
votes
1answer
8k 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 ...
15
votes
1answer
4k views

How to force pdfminorversion globally?

I have a problem with opening PDF files in Acrobat Reader. It comes up with error 131. I have solved this issue thanks to How to overcome Acrobat Reader error 131 with a pdfLaTeX doc? The solution to ...
6
votes
2answers
2k views

How can i import a 3D SolidWorks Model into my PDF using LaTeX

Acrobat Adobe supports 3D PDFs to be included into LaTeX. I could use another tool to create a PDF and import that PDF into my build, but i would rather use a package o include a solid works model ...
12
votes
1answer
566 views

Vertical position after navigating to hyperref hypertargets from hyperlinks seems too low

The vertical scroll position after navigating to a \hypertarget from a \hyperlink (described in the hyperref manual) seems to be too low. The scroll position is at the baseline of the \hypertarget, so ...
3
votes
0answers
156 views

Figures (pdf) do not contain any text in the final document [closed]

I am creating some plots in Matlab and saving them as pdf files. When I include these pdf files in latex (i am using MikTex and pdflatex) using \includegraphics, all text from plots (legends, xlabel, ...
72
votes
11answers
20k views

Multiple PDFs with page group included in a single page warning

I updated TeX Live to the Ubuntu Quantal version (2012.20120611-4) and I suddenly got this warning: PDF inclusion: multiple pdfs with page group included in a single page This is a minimal ...
4
votes
1answer
266 views

On how double precision numbers are encoded in a pdf file

Imagine the following tikz/pgfplots code: % compile as: lualatex --jobname=figname-f1 figname.tex \documentclass[10pt]{book} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.6} ...
6
votes
1answer
4k 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
380 views

Including same PDF image many times: how to optimize?

I am include (with graphicx’s \includegraphics) the same small PDF vector graphics many many times in my LaTeX file, always at the same size. I then compile my document with pdflatex. While the size ...
0
votes
0answers
99 views

How do I compress PDFs generated by pdflatex? [duplicate]

Possible Duplicate: How to create small PDF files for the Internet The PDF files generated by pdflatex are quite large. If I bring these into Acrobat and save compressed I can typically ...
7
votes
1answer
257 views

After a series of nested \includegraphics, some PDF viewers fail to display the image

I'll admit this is a convoluted example, but I like drawing with TikZ and LaTeX and this particular issue has come up for me more than once. The minimal working example takes a few files, but in a ...
2
votes
1answer
101 views

Why can't I set hyperref's pdfinfo from within a group? (Is it a bug?) [closed]

When I run the following code (using hyperref version 2012/09/27 v6.83g), I do not get any errors or warnings, but the metadata I set using pdfinfo doesn't appear. If I uncomment the \@firstofone ...
16
votes
3answers
800 views

Need alt text for images in pdf for screen readers

I need the generated PDF to have "alt" text associated with each image so that a screen reader can read the alt text to the visually impaired user. I understand that essentially just including the ...
8
votes
1answer
839 views

Fill rectangular area with PDF pattern like graph paper

Short version I want to fill one or more rectangular areas on a page using a regular pattern. The area should span the page width and stretch vertically to fill remaining space. The pattern should be ...
12
votes
1answer
3k 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 ...
0
votes
1answer
1k views

MLA Package and Thumbpdf

I'm currently trying to set up a template for MLA format. There's one warning that never goes away, however: Package thumbpdf Warning: Thumbnail data file `Project*Name.tpt' not found. Does ...
3
votes
2answers
206 views

A pdf without the table of contents [duplicate]

Possible Duplicate: Adding Table of Contents to existing PDF I've scanned various articles from different books and put together so there is a one pdf file now. I would like to make a ...
1
vote
1answer
1k views

PDF Analyser or repair tool [closed]

I got one PDF that is resultant file after conversion and merging of 17 documents(few documents were already converted to PDF) however resultant file has been converted and merged using activePDF. ...
7
votes
1answer
164 views

plain xetex page labels

there are some PDF files that some reader displays the printed page number as the current page number. I also saw, that this can be achieved in latex with hyperref package. what I'm look for is ...
10
votes
1answer
10k 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 ...
5
votes
0answers
128 views

Hide and reveal segments in PDF output of LaTeX [duplicate]

Possible Duplicate: Constructing a dynamic PDF I want to include the solution of a math problem under its statement, but not in full view. I would rather have a page segment that can be ...
30
votes
1answer
1k views

Is it possible to distinguish between the soft copy and the hard copy of a pdf?

I have a document with a significant difference between its hard-copy and soft-copy. Something like some text-boxes which should be printed bold and big in the hard copy but should be hidden (or as ...
1
vote
2answers
931 views

PDF compatibility, how to validate? [duplicate]

Possible Duplicate: PDF conformance tool I have created PDF-files using XeLaTeX and there has been no problem when I have shared these files with co-workers using Acrobat Reader. But when I ...
12
votes
1answer
3k 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 ...
4
votes
1answer
3k views

Lost LaTeX-file - but served pdf - File [duplicate]

Possible Duplicate: How to convert PDF to (La)TeX? Recover TeX file back from compiled PDF I wrote a long book in LaTeX - but my pc broke down and now it is all lost, only a pdf copy of ...
5
votes
1answer
2k 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
2answers
222 views

Include pdf-graphic without including the whole pdf

I have drawn a lattice in latex with tikz, successfully compiled it to a pdf and been able to include it in my document. However, the whole PDF (i.e. A4 page) is included and I only want to include ...
3
votes
2answers
808 views

Create landscape image page in pdf, without breaking text flow

Here is an MWE. If you compile this to PDF, you get a half-empty page on the first page, as the last part of the text doesn't come up, but is forced onto a new page. Compare this with the same thing, ...
6
votes
1answer
83 views

How to temporarily suppress image insertion when compiling?

There are some big images in my document and compiling is taking substantial amount of time. When compiling a tex file to a dvi (and subsequently ps and pdf), is there any way I can temporarily ...
13
votes
3answers
3k 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 ...
3
votes
1answer
559 views

Set arbitrary page numbers in pdf file

When I am using different \pagenumberings in a document, the PDF viewer shows the right page numbers, that is pages i, ii, etc... for \pagenumbering{roman} and 1, 2, etc... for \pagenumbering{arabic} ...
10
votes
1answer
243 views

Width threshold for space detection

I'm writing this stuff pdf2htmlEX, for each distance between two consecutive letters, I need to check if there should be a space character or not. Especially for PDF files generated by LaTeX, which ...
3
votes
2answers
786 views

How to set pdf start page to a given label?

I'm working on a longish document and am often working on sections in the middle, so that after compiling I have to do a fair bit of digging to find the bit I was working on. After a while this can ...
8
votes
0answers
957 views

How to deal with (probably bogus) errors from third party on my pdf? [closed]

I use a print-on-demand company (lulu.com) that has always been picky and inconsistent about the PDF files they accept. I'm giving them files produced by pdftex. They use various subcontractors to ...
0
votes
1answer
101 views

Which font has been used [duplicate]

Possible Duplicate: How do I find out what fonts are used in a document/picture? Which font ist used in the following document? ...
1
vote
0answers
112 views

“Find next” broken in pdflatex output in Skim on OS X Mountain Lion [closed]

When loading into Skim a pdf document that was created using pdflatex, the "Find next" action (e.g., Cmd-G or clicking the right arrow in the find bar) works incorrectly. In a document with tens of ...
5
votes
1answer
76 views

Is it possible to create a hyperlink with any name and linking to any place?

Is it possible to create hyperlinks in LaTeX that will show up as arbitrarily defined strings in the output (PDF/DVI)? For example, something like to appear in the output file: Text text text text ...
2
votes
2answers
294 views

Sweave, how to suppress opening new instance of a pdf when running pdflatex

Since I have setup SumatraPDF to automatically refresh PDFs when they change, how can I suppress "view" (resulting in opening a new instance of the pdf) when using the shortcut M-n P (running ...
3
votes
1answer
2k views

Weird behaviour of copying - no space between words

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{tgtermes} \begin{document} Polska, Rzeczpospolita Polska -- państwo unitarne w Europie Środkowej, położone ...
7
votes
4answers
2k views

Export only table of contents

What would be the preferred way to export the Table of contents I use in a .tex file to a separate .pdf? Currently I have a my-report.tex file and I wish to pair the result of pdflatex ...
9
votes
2answers
768 views

TeX4ht: \includegraphics[page=10]{foo.pdf}

I have a long LaTeX document with lots of figures that were included using commands of the form \includegraphics[page=10]{foo.pdf} Everything compiles fine with pdfLaTeX. I planned to convert the ...
5
votes
2answers
399 views

Unable to copy _ from pdf

\documentclass{article} \usepackage[T1,OT4]{fontenc} \begin{document} Text with \_. \end{document} In PDF there is a correct output: Text with _. But when I select and copy it I get: Text with . It ...
11
votes
1answer
650 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 ...
4
votes
1answer
1k views

really greyscale pdf

I may miss something: I cannot produce really greyscale or monochrome pdf. If I create a very simple document, say Hello, with no or basic packages, article or book, and compile it with pdflatex ...
0
votes
1answer
143 views

Emacs interacting with MS Windows: how to minimize windows [closed]

Title says it: Is there a way to hide MS windows windows from within Emacs? What I would like to do is create a function to: Hide all windows including Emacs Restore Emacs Restore SumatraPDF (which ...