pdfTeX is an extension of TeX which is capable of directly generating PDF output. Use this tag if your question is about pdf(La)TeX specific problems and is not related to standard (La)TeX.

learn more… | top users | synonyms (1)

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 ...
8
votes
1answer
673 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
2answers
186 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
181 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
1answer
442 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
1answer
666 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
346 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
846 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
5k 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
590 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
687 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
2answers
1k 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 ...
5
votes
3answers
2k 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
1answer
10k 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
2answers
263 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
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 : ...
4
votes
2answers
689 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 ...
4
votes
2answers
425 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
3k 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
680 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
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 ...
3
votes
2answers
356 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
13k 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
1k 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
15k 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
451 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 ...
0
votes
0answers
88 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
3answers
1k views

Embedding base14 fonts in PDF created using pdfLaTeX

I created a PDF using txfonts. But the base 14 fonts (Times-Roman, Times-Italic etc.) are not embedded in the PDF. Could somebody help me to solve this issue? The font information in my PDF is as ...
0
votes
1answer
336 views

On-Screen resolution deteriorates in pdflatex if figures are included

When I put a figure into my document (doesn't have to be bitmap, PS does the trick as well, I think the distinction is color vs no color), the on-screen resolution of the text changes at the default ...
0
votes
0answers
1k views

Pros and Cons XeTeX vs pdfLaTeX [duplicate]

Possible Duplicate: What is XeTeX exactly and why should I use it? I have been using LaTeX for a while now and compiling via pdflatex on my Mac. I have recently started to want more ...
13
votes
1answer
318 views

Leveraging a dynamic preamble to generate multiple output formats

Background The diagram below shows an architecture for generating books using a dynamic preamble. The top part of the image shows the database relations between a book theme and its preamble. The top ...
11
votes
0answers
448 views

The file does not conform to Adobe's published PDF? [closed]

My question is how to check if a pdf file created with pdfTeX-1.40.12 is conform to Adobe's published PDF ? Is it possible to know ? I try to look at the properties of the file with Adobe Reader but ...
10
votes
2answers
457 views

How can I change the text color in such a way that the effect transcends groups?

I'd like to have a command \globalred that makes all subsequent text red, even if the command is issued inside a group. For example, the output of the TeX file \documentclass{article} ...
9
votes
1answer
632 views

File size savings

This is a question just out of curiosity; I hope someone familiar with the "under-the-hood" parts of TeXLive can answer my question. I have a LaTeX source file for a presentation using Beamer, which ...
8
votes
1answer
175 views

Why I shouldn't load pdftex option with hyperref?

According to @percusse in this post, I shouldn't load the pdftex option with the hyperref package. Why is it?
8
votes
1answer
683 views

pdf objext/destinations/memory limits

At the end of the log file of the compilation run of a larger document I get Output written on <\jobname>.pdf ( <a lot of> pages, <a lot of> bytes). PDF statistics: 14055 PDF ...
7
votes
1answer
722 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} ...
7
votes
1answer
687 views

Compiling CircuiTikZ with -shell-escape (pdflatex)

I'm trying to use both CircuiTikZ and pgfplots. In order not to overflow LaTeX memory, I use the TikZ externalize library with -shell-escape command in pdfLaTeX. It compiles the pgfplots nicely, but ...
6
votes
0answers
136 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
1answer
243 views

adjusting a constant in a *.bst file (plainurl.bst)

I am using plainurl.bst style, Miktex 2.8, pdflatex to generate a pdf file. It gives explicitly the URL of my bib file. I would like to get this link attached to the title (i.e. embedded below the ...
6
votes
1answer
363 views

Lighter version of sans serif typeface

I am using the Frutiger font as the sans serif font in my document. It is invoked by \renewcommand{\sfdefault}{pfr} However this font is too bold for my taste. There is a ligher version available. ...
6
votes
1answer
1k views

pdflatex/xelatex problems with MinionPro

I am successfully using package MinionPro for pdflatex. I would like to use it also in xelatex (the math part, actually), so that I can add opentype features to the main text font. However, I am ...
6
votes
1answer
3k views

Image quality using PDFLaTeX

I've got some PNG images within my LaTeX document. The quality of the image files is sufficient and the result using LaTeX and viewing the resulting DVI file is quite what I expect - looks good. But ...
6
votes
2answers
338 views

Why is siunitx unable to typeset this mixed symbolic and numeric argument to \SI?

I'm using the MacTeX 2011 Distribution on OSX Lion (both with all updates installed) and I get a strange error from the siunitx package, that did not occur with MacTex 2010 on Snow Leopard. As a ...
5
votes
1answer
104 views

Document in Spanish with IPA and Greek, failing in PDFLaTeX and XeLaTeX

I was passing some documents I had in HTML to LaTeX for a better printout. While the main language of those documents is Spanish (and a few more are in English) there have snips in other languages, ...
5
votes
1answer
188 views

listings font size that fits 80 columns?

I want to include code in my LaTeX document using the listings package. My googling has not found me any configuration of the font size that actually fits approximately 80 columns to the width of the ...
5
votes
1answer
132 views

Compilation fail with pstool: \begin{document} wrapped in \makeatletter \makeatother

I'm trying to create a presentation with LaTeX beamer using pstool, and since updating my system to Ubuntu 13.10 (pstool 1.5a, TeX Live 2013) the compilation of the pstool auxiliary TeX files ...