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)

7
votes
1answer
4k 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 ...
6
votes
2answers
117 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
6answers
992 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
2k 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
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
1answer
802 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
303 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
2answers
3k 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?
13
votes
3answers
3k views

How do I get Korean (Hangul) characters to typeset in LaTeX ?

I've been unable to find a concise answer anywhere else on the web. Since its only a few words, albeit crucial ones, that are in Korean I don't want to have to muck around with HLaTex or deviate from ...
12
votes
2answers
722 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 ...
12
votes
2answers
3k views

Conflict between color, graphicx and libertine

Compiling the following with pdflatex (TeXLive 2009/Debian on Ubuntu 10.04 "Lucid Lynx") \documentclass{article} \usepackage{ifpdf} \ifpdf \usepackage[T1]{fontenc} \usepackage{libertine} % ...
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
181 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 ...
8
votes
2answers
193 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
1answer
200 views

How can I use -max-print-line in pdftex (TexLive)?

I know that Miktex has an option -max-print-line=n to change the width of the output. I wondered if something like that existed for pdftex from TexLive ? I'm on Gentoo. It is very annoying to have ...
8
votes
2answers
2k 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 ...
8
votes
1answer
472 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 ...
7
votes
2answers
346 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: ...
7
votes
1answer
815 views

calling latex from php: security issues

I am trying to program a web interface for automated generation of calculus tests. The idea is to take some input from user, say number of problems and name of instructor, and then by means of php ...
7
votes
1answer
381 views

pdfTeX font expansion error - \SetExpansion in microtype package

I am trying to hammer in some stacked matrix notation to fit the paragraph by shrinking the font. To do so I am using the \SetExpansion option from the microtype package. But pdfTeX is spitting out ...
6
votes
3answers
983 views

Problem of Arabic numbers in math mode with 'New TX' math font option [Libertine] compiled by XeLaTeX

Recently i decided to use the Libertine font to write my dissertation, because finally there is kinda math font for Libertine: \usepackage[libertine]{newtxmath}. Since I want to enable of the ...
6
votes
3answers
28k 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 ...
6
votes
3answers
6k views

How to make images appear at their actual size?

Whenever I insert an image into my PDFTex document (using the code below) it seems to be resized to fit the width of the page. I know I can change this using the scale parameter, but that means I have ...
5
votes
2answers
649 views

PSTricks + pdfLaTeX resulting in fonts not embedding into eventual PDF

I want my eventual PDF to have all fonts embedded. Using special psdots in pstricks is causing this to fail. Here is a MWE of something which results in non-embedded fonts: ...
5
votes
1answer
811 views

How to make slash (/) paste with correct Unicode codepoint depending on context?

Unicode offers different characters for the slash: U+002F (/) for the ordinary slash U+2215 (∕) for the mathematical division operator U+2044 (⁄) to designate vulgar fractions How can I have these ...
5
votes
3answers
3k views

Compile Tex inside Microsoft C#.net

I know there are some command-line applications like pdflatex that can help me to compile a LaTex document from C#.Net (using the System.Diagnostics.Process class) . I wanna know that what's the ...
5
votes
2answers
2k views

metapost and pdflatex

I'm trying to use figures created with metapost in a TeX document compiled with pdflatex, but I have some troubles. I did as advised here, but it fails! My code is this : ...
5
votes
2answers
717 views

Why doesn't pdfTeX support PStricks directly?

I am sorry, I have to remove the previous question. I didn't realize I had messed up everything (from my other questions) here. The hidden idea was actually as follows, but I had simplified it in a ...
5
votes
1answer
11k views

PNG: importing it with latex | pdflatex | xelatex

I never understood how (pdf)latex determines the size of imported bitmaps, but many years ago I experimentally elaborated simple rule that allowed me to get same output by running either latex or ...
4
votes
1answer
935 views

Shortcut to compile the .tex and .bib in one go with Texmaker?

As known, Texmaker requires the user to PDFLaTeX first, then BibTeX, and then PDFLaTeX twice. This is really tedious. Is there any shortcut that allows me to do it in one go? Update: Some say that ...
4
votes
2answers
298 views

Configuring pdflatex for labels in Asymptote

Asymptote now works just fine except for when I try to add labels (that are created using LaTeX). In that case, I get Process started Cannot execute C:\MiKTeX ...
4
votes
1answer
2k views

md-chr7y source file could not be found

I am trying to build a document with pdflatex (MikTeX) but it fails. It seems to be the used font on the title page. The error is as follows: miktex-makemf: The md-chr7y source file could not be ...
4
votes
2answers
483 views

grabbing a single Greek glyph from an alternative font in math mode?

I have a physics textbook that is used by students who typically have no previous familiarity with the Greek alphabet. In the Computer Modern math font, lowercase gamma is highly stylized. The loop at ...
4
votes
2answers
2k views

metapost pictures in pdflatex

To include metapost pictures in a latex file compiled by pdflatex I usually do something like \usepackage[pdftex]{graphicx} ... \includegraphics{filename-without-mps} but this requires all metapost ...
3
votes
1answer
4k 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] ...
3
votes
1answer
917 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
0answers
2k views

“Tex capacity exceeded.” with beamer [closed]

I use MikTex 2.9 and am compiling a beamer presentation. I have 100+ pages. The file compiles if I comment out about half of the frames. I managed one presentation by compiling the two halves one ...
3
votes
2answers
361 views

How can I keep browsing my pdf with synctex at the same time as LaTeX is rebuilding it?

As discussed here pdflatex preview problem: white pdf pages with only hyperref-rectangles visible during compile? when working on my dissertation which takes a long time to compile (even when ...
3
votes
1answer
15k views

Package pdftex.def error PDF mode expected

Took me 6 hours today and still doesn't work, the error is : Package pdftex.def error PDF mode expected mf-texlive/tex/latex/pdftex-def/pdftex.def Example document: \documentclass{article} ...
3
votes
1answer
2k views

How can I create a multi line split inside of a radical inside of an array environment?

I have an align like this: \begin{align*} \sigma &= \sqrt{\sum_x \left[ (x-\mu_x)^2\mathbf{f}(x) \right] } = \sqrt{\frac{1}{10}\sum_x (x-\mu_x)^2 } \\ &= \sqrt{\frac{1}{10}( (0-.45)^2 + ...
2
votes
0answers
16k views

Getting pdfLaTeX ro run on new install (Mac OS X Lion) [closed]

New laptop, and attempting to set up TeXShop . I downloaded MacTeX, and attempted to install (using install-tl), but Terminal said I did not have permission. Found instructions to enable root user, ...
2
votes
2answers
468 views

How to force pdfTeX and XeTeX to produce the same measurement for the imported image?

resolution is undefined in XeTeX so the following code will produce different values when compiled with pdfTeX and XeTeX. \documentclass{article} \usepackage{graphicx} \newsavebox\IBox ...
2
votes
1answer
1k views

htlatex leaves undefined reference (“??” link) but pdflatex produces correct output

We have a large document that runs through pdflatex and through htlatex. The pdflatex output is fully ok. The htlatex output is also ok (it contains all images etc.) except that for some ...
1
vote
1answer
2k views

Including pdf_tex images from inkscape

I am trying to use pdftex to lay out a document including images made in inkscape. From inkscape I can output the images as pdfs with accompanying pdf_tex files and put these in a figure environment. ...
0
votes
0answers
89 views

How to include .tif pictures via pdftex? [duplicate]

Possible Duplicate: Which graphics formats can be included in documents processed by latex or pdflatex? I am in the process of writing a paper for submission to PLOS ONE. Under their ...
0
votes
1answer
1k views

Add Latex font for figure labels, legends and equation annotations with .png and .eps figures

For exporting eps figures from Matlab i use matlabfrag and laprint functions so that i split the psfrag commands (.tex) and figure(.eps) streams. During the compilation using pstool or auto-pst-pdf ...