pdfTeX is an extension of TeX which is capable of directly generating PDF output. Use this tag if the used engine – pdftex/pdflatex – is significant to your question.

learn more… | top users | synonyms (1)

14
votes
1answer
2k 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 ...
13
votes
3answers
737 views

How to make fractions in powers look good

Quick question. When I type $e^{\frac{1}{2x}}$ it makes the fraction very small and hard to read. However when I type $e^{\displaystyle\frac{1}{2x}}$ it makes the fraction way to big. I guess in ...
12
votes
2answers
589 views

Insert web content dynamically (Javascript?)

This year in my field we have a large conference overlapping with the European soccer championship. Luckily my talk does not overlap with any match, but in case it will happen in the future I was ...
9
votes
3answers
143 views

Trouble using \oldstylenums with decimal points and hyphens

I am using Computer Modern font (default) with \oldstylenums command to typeset numbers in oldstyle format. However I am having trouble using it with non-numeric characters such as decimal points and ...
9
votes
1answer
6k 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
0answers
289 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 ...
8
votes
2answers
1k views

Invert Background and Text Colours across Whole Document with pdflatex

When using pdflatex is there a simple way to invert the colors to give white text on a black background across the whole document? I'd like the colours to be inverted whilst I write and edit the ...
5
votes
1answer
518 views

pgfplots with gnuplot

I got a problem with latex implementing a gnuplot code. I use PdfLatex with argument "--enable-write18". The following code should works with the first commented-out line %plot 'data.dat' u 1:2;, but ...
4
votes
1answer
265 views

Why does pasting the contents of a tikz file into my main file compile properly but not when using \input

If I place the contents of my tikz picture in my main.tex file it works like a charm using \usepgfplotslibrary{external} \tikzexternalize and subsequently: pdflatex --enable-shell ...
3
votes
1answer
283 views

Creating Interactive graphs like Stack exchange reputation tab

I like to prepare an interactive timeline graph (static on load, but dynamic on MouseHover event). Somehow is similar to the Stack-exchange reputation tab for an user. One classic example is here. ...
2
votes
3answers
2k views

Typesetting option that includes makeindex (TeX Live, TeXworks)

I used to work with the MiKTeX distribution and the included TeXworks program. The latter provided me with a typesetting-configuration that was something like pdfLaTeX + BibTeX + MakeIndex. (It ...
15
votes
1answer
1k views

Remove hyphen from word spanning two lines in text copied from a pdf file

If I copy text from a PDF and a word is hyphenated and spans two lines, the copied text contains the "-". For example: Examp- le should be copied as Example not Examp-le The problem is ...
14
votes
0answers
294 views

Customizing the height of the pages

The question I would like to control the height of the pages of the PDF documents I produce with LaTeX. Starting with a LaTeX document and two parameters: a given page size (heightPage and ...
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} ...
13
votes
2answers
368 views

How to produce character-by-character-pastable visual output that is a function of the (intended-to-paste-as-such) source code input?

Note: The original phrasing of my question was this: How to use accsupp to produce all-upercase in the visual output from input that should paste in its original, ordinary-case form? However I think a ...
13
votes
3answers
1k views

Preprocessor for LaTeX?

I'm curious to find out whether anybody has suggestions for a preprocessor for LaTeX documents. What I'm thinking of is something like cpp. The motivation for my question is that I'm writing a large ...
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
572 views

Accessibility issues

Currently, I'm generating the following pdf with pdflatex: http://dl.dropbox.com/u/2682197/book.pdf Unfortunately, this document is a bit incompatible with adobe screen reader (for blind people). ...
11
votes
2answers
292 views

\foreach with \newcommand how to use them together?

What I want to do is to shorten this \newcommand with a \foreach since this is just a very little part of what I will use. \newcommand{\CC}{{\mathbb C}} % the set of complex numbers ...
11
votes
1answer
2k views

Where I can find the source code of pdflatex.exe?

Where I can find the source code of pdflatex.exe? Edit 1 This is quoted from the link given by @TH. pdfTeX is built on top of TeX, written by Donald Knuth cum suis (Liang and so), and eTeX, ...
8
votes
1answer
1k views

Hide image in PDF, reveal with mouseover

Is there a way to load a hidden image into a pdf output document that will show up when the user moves the cursor over a relevant piece of text? E.g., a pdf file generated by tex contains this ...
8
votes
1answer
12k views

epstopdf warning: “Shell escape feature is not enabled.”

I'm having a bit of trouble trying to include .eps files in a LaTeX document compiled with pdfLaTeX. I've been told that I should use the epstopdf package to convert .eps files to .pdf on the fly. ...
6
votes
2answers
131 views

Change the color model of an included pdf

Say I have a pdf file foo.pdf that I want to include in my bla.tex document via \includegraphics{foo.pdf}. Say that foo.pdf is a colored document and that I need bla.pdf to be in gray levels. How can ...
6
votes
1answer
5k views

Error: I can't find the format file pdflatex.fmt

For no particular reason that I could identify, I was faced with the impossibility to compile any latex document and invariably got this error message each time I tried : LaTeX: problems after [0] ...
5
votes
6answers
1k views

Automatically create two PDF output files from one tex file [duplicate]

Possible Duplicate: Can one TeX file output to multiple PDF files? Let's say I have a tex file foo.tex. Now, I want to achieve that pdflatex does not only create a file foo.pdf but ...
5
votes
1answer
3k views

pdflatex: fit-page-to-contents or scale-contents-to-fit-page

I have a problem which can be solved one of two ways: Typeset a given chunk of TeX in an "infinitely wide" space, then scale the result so that its width is the width of the page. Typeset a given ...
4
votes
0answers
136 views

Unknown TikZ/pgfplots error with external [closed]

I am trying to compile a large document (PhD thesis) and I have no problems compiling without using external, but as soon as I enable that feature, it has problems. So far I haven't found the answer ...
4
votes
2answers
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 ...
4
votes
1answer
2k views

poor font quality when exporting to pdf

I use LyX 2.0 and export with pdflatex. When writing standard text and exporting to pdf, the font gets rigid. Text written in math mode, though, is exported crystal clear. I've tested that on several ...
4
votes
3answers
5k views

pstool, pdfLaTeX: Not getting pstool to work, “LaTeX Error: File not found”

I've spent lots of hours trying to solve a problem by myself. Unfortunately it seems that no one else has experienced the same problem. At least, searching through various forums and employing Google ...
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
1k views

Why do I suddenly get an auto expansion error?

On files that have worked previously, I'm suddenly getting the following error ! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. This error does not appear if I ...
3
votes
0answers
37 views

what's the best solution to split a .tex file into separate compiled files? [duplicate]

I have a .tex file that includes several chapters (all through the \input command). I would like to run pdflatex in one command such that it saves each chapter into a separate PDF file, while ...
3
votes
1answer
316 views

How to have multiple link styles with hyperref?

I have hyperrefs in many places in my program. Part of it is in normal text, which I have styled with \hypersetup. I also have some listings inside which I use hyperref. The problem is, the listings ...
2
votes
1answer
1k views

PDF contains incorrect bookmark hierarchy

After compiling my LaTeX document to PDF, I noticed that its internal bookmarks were using an incorrect hierarchy. Compare the bookmarks tree to the table of contents below: ...
2
votes
2answers
4k views

How to use PDFlatex with Tikz package?

I have to make a presentation run by PDFlatex. But I want to draw a picture in it with the Tikz package. How can I manage this?
28
votes
2answers
2k views

pdftex and javascript forms with automatic calculations

I would like to create a PDF document in TeX with a form. Some of the fields in the form will be calculated based on the values of other fields. Here is a MWE, thanks to Victor Ivrii on the pdftex ...
12
votes
2answers
822 views

Enable searching in a pdflatex-generated document

I'm typesetting a book in French, and I noticed that diacritics broke the search function of Adobe reader. For example, if I write "Numérotation" in my latex document, then Adobe Reader won't find any ...
10
votes
2answers
3k views

How do you suppress specific warnings generated by pdflatex?

A lot of the times I get warnings like "hbox overfull" when a specific part of my document is meant to be extra wide on purpose --> so I am purposefully violating the default width threshold. Or to ...
10
votes
2answers
22k views

How to include a PDF image into a PDFLaTeX document

I am generating a PDF file using pdflatex and need to include another PDF file. The reason is that I have a graphMl file which I exported from yEd graph editor to a PDF file, named sample.pdf. The TeX ...
10
votes
2answers
2k views

Generating PDF without any intermediary files (stdin/stdout)

I am programmatically generating PDF's from a template and would like to avoid hitting the hard-drive all the time. Not so much for optimization but because I run parallell threads on all the cores ...
9
votes
2answers
264 views

How can some eastern European diacritics be correctly displayed with the Alegreya font and pdftex?

I would like to use the Alegreya font in a document that features several diacritic symbols from eastern European languages. Whith xelatex everything works fine, but I would like to use pdftex, and ...
9
votes
2answers
783 views

How to Generate Random Variables then Use in Calculations in pdflatex

I'm basically trying to create multiple versions of a worksheet, each with different values for the variables in each question. To do this I'm defining random variables, then each time I compile the ...
9
votes
1answer
1k views

pgfplots: reduce tick density

I am using matlab2tikz to produce plots in latex. The default tick settings produce very dense ticks, making the axes look ugly. I know that I can use something like /pgfplots/xtick={0, 1, ... 3} ...
9
votes
4answers
650 views

Include source code of pdf picture directly into LaTeX file

Suppose you have a (PDF)LaTeX file where you include pdf pictures via \includegraphics. Now, if you want to share the LaTeX file with another person, you always have to send not only the LaTeX file ...
9
votes
1answer
523 views

How do I configure fonts and package options for different engines?

I would like to be able to rely on the code in my document class to respond correctly to whether it is being rendered using pdfLaTeX or XeTeX engines. The editor I'm using (LyX) does this using ...
8
votes
2answers
210 views

Three emdashes bound together

In many bibliography styles repeating authors are indicated with three emdashes, forming a single line. This works well with some fonts, while for others it leaves gaps: ...
8
votes
3answers
36k views

Where to download pdflatex.exe?

I ran a Google search but nothing too clear showed up. I'm looking for a Windows 7 compatible version of pdflatex.exe to help me in typesetting some math I have in an Illustrator project. I heard ...
7
votes
2answers
475 views

Libertine newtxmath and text (oldstyle) figures in headers

This is closely related to the OP with title "lining figures in tables and math, old style figures in text", and to the answer provided therein. The following (semi)MWE is to be run with pdfLaTeX: ...