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)

29
votes
2answers
4k views

Should I load microtype with pdflatex?

Should I always load the microtype package with pdflatex? Could it produce unwanted effects a naive user (like me) might ignore? Are there any known issues as for compatibility with other packages? ...
21
votes
2answers
4k views

Generating PDF/A-1b compliant documents using pdfx and pdfLaTeX

There are several discussions on the web on how to generate PDF/A-1b compliant documents. One approach can be found on ...
36
votes
4answers
3k views

What's the maximum number of pages a PDF produced by pdfTeX can have?

Are there some limitations regarding the pdflatex command with respect to the count of pages of the input files? My highest page count, when compiling, was 90 without any troubles. (2008) Currently ...
24
votes
1answer
1k views

Why does pdflatex produce bigger output files than latex+dvipdfm?

Consider this sample code: \documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[1-4] \end{document} When I compile this with latex and then use dvipdfm, the output file is 7893 ...
17
votes
2answers
636 views

Why characters UTF-8 encoded are ISO-8859-1 encoded when written in an external file

For an UTF-8 encoded file as follows: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % \newwrite\outtmp \immediate\openout\outtmp=out.tmp % \begin{document} ...
10
votes
2answers
689 views

pdf files show “fi”, but searching for or copying them does not work

When I pdflatex text containing "fi", e.g. "infinite", the resulting pdf-file looks correct, e.g. "infinite" is shown in the text. But when I search the pdf file for "infinite", 0 occurrences are ...
7
votes
4answers
3k views

Customizing pdfLaTeX for a particular file with AUCTeX?

I'm trying to use the TikZ 'external' library, available as of PGF 2.10. This requires running pdfLaTeX with the option -shell-escape. I usually run pdfLaTeX from AUCTeX with the option ...
17
votes
5answers
7k views

Save fillable forms

I am using the eforms package in order to build pdf fillable forms. However there is something I haven't found yet, which Adobe product do I need to purchase in order to save the edited forms? Does ...
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 ...
7
votes
2answers
147 views

Colorize external pictures using pdflatex

I have several greyscale-pictures that I would like to get colorized within pdflatex (so it will be automatically colorized to a given color, from black-to-white lets say black-to-red). Is there a ...
22
votes
2answers
771 views

How to divide document for black and color printing?

Most of my document is black text, but there is a color figure here and there. I would like to print the text on a black and white printer, and the figures on a color printer. I know i could just ...
17
votes
0answers
395 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 ...
16
votes
1answer
1k views

Proper use of cmap and mmap

I am curious about the differences between \usepackage{cmap} \usepackage[resetfonts]{cmap} \usepackage{mmap} (= \usepackage[useTeX]{mmap}) \usepackage[noTeX]{mmap} What are their precise ...
14
votes
1answer
3k 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
791 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 ...
13
votes
3answers
641 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). ...
12
votes
2answers
217 views

pdflatex - how to find bottleneck of long compiling time for my document

I'm having (again/still) a very large LateX document which I'm working on. >340 pages many graphics (mostly included pdf, but also some PNG or others) many tables (also longtables) resulting PDF is ...
11
votes
0answers
349 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 ...
10
votes
1answer
7k 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 ...
9
votes
1answer
3k views

Trouble using ffmpeg to encode a h264 video in a .mp4 container to use with media9

I can't get an ffmpeg encoded libx264 video in a .mp4 container to work with media9 and beamer. The pdf is created using pdfLaTeX. It seems to be some kind of ffmpeg issue since the following work ...
9
votes
3answers
149 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 ...
8
votes
2answers
2k 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
0answers
261 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 ...
5
votes
1answer
547 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
273 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
335 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
3k 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 ...
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 ...
16
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 ...
15
votes
2answers
13k 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
370 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 ...
11
votes
2answers
318 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
2answers
25k 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 ...
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, ...
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
3answers
41k 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 ...
8
votes
1answer
13k 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
140 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 ...
5
votes
2answers
1k views

psfrag substitute when using pdflatex

My standard way of including math in figures so far was to use psfrag and latex+dvips+ps2pdf. I am now moving to pdflatex and tend to prepare my graphics in pdf format. I was wondering if there ...
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
1answer
3k 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
6k 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
2k 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
322 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 ...