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)

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
662 views

Installing EBGaramond for pdfLaTeX

I made a foolish choice to play around with fonts a few days ago, and haven't escaped since. After getting very kind and useful help here yesterday, I decided to follow the advice given, and change to ...
4
votes
1answer
548 views

Pixelated font as on Texas Instruments calculators

For pedagogical reasons, I would like to build one environment to display something like the screen of one Texas Instruments calculator. What I'm looking for is a way to produce, via pdflatex, one ...
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 ...
2
votes
1answer
996 views

Specifying CJK fonts for pdftex and CJK.sty

I'm compiling a Japanese TeX file written with CJK.sty, and using the IPA fonts. I used ttf2tfm to generate tfm files. Is there a way to tell pdftex that a set of tfm files correspond to one Unicode ...
13
votes
1answer
445 views

Hyphens at end of line disappear upon pasting, even if they were present in the input

When I paste text from pdflatex output, there are two things about hyphens that I would like to change: Hyphens paste as "hyphen-minus" (U+002D, "-"), but I would prefer the newer Unicode character ...
13
votes
1answer
1k views

File size difference between XeLaTeX and pdfLaTeX

When working with MacTeX 2010, I noticed that XeLaTeX generates files considerably smaller than pdfLaTeX on the same input. Even with the small example \documentclass[11pt]{article} \begin{document} ...
13
votes
2answers
890 views

Regular expressions with pdfTeX

How can one use \pdfmatch with regular expressions and where can one find a listing and description of all the available pdfTeX primitives and help on their use? Edit The latest issue of the pdfTeX ...
12
votes
3answers
859 views

Compile all tex files within a folder at once

Is there a way to compile all tex files within a specific folder, from LINUX terminal, at once? I would like to do this using pdflatex or lualatex in a way to create a pdf file for each distinc ...
12
votes
1answer
20k views

Including GIF image in pdflatex document

I'm trying to include GIF image in my LaTeX document. To my understanding this is possible. I'm using pdflatex and I get the following message: ERROR: LaTeX Error: Unknown graphics extension: .gif. ...
12
votes
2answers
4k 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
162 views

In which way have fake spaces made it to actual use?

I skimmed the abstracts of TUG 2014 and stumbled over "Fake spaces" with pdfTeX -- the best of both worlds by Ross Moore. The abstract says: With the 2014 version of TeX Live, new primitives are ...
10
votes
1answer
937 views

Linux Libertine and pdfTeX: glyph `a' undefined

I have little doubt, usually, in the Linux Libertine font with LaTeX / pdflatex, but a couple of weeks ago, the following happened to me: I have the file with the following test.tex ...
9
votes
2answers
378 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
1answer
2k views

Errors using pdfx package to generate PDF/A

I need to submit my thesis in PDF/A format. I am using LyX, but I don't think that is relevant for my question. I get this error message when running pdfx package: ! pdfTeX error (ext5): cannot ...
8
votes
1answer
263 views

page break in the middle of a \cite

With pdflatex all my citation are pdf hyperlinks to the respective entry in the bibliography. This causes a problem when occasionally Latex decides to do a page break in the middle of a citation so ...
8
votes
1answer
5k views

Option clash when using graphicx and tikz packages

The following code fails Option clash for package graphicx, it seems to be an incompatibility between the package graphicx (when the option pdftex is used) and the package tikz. ...
8
votes
1answer
2k 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 ...
7
votes
1answer
346 views

How do I know which ligatures are used in my document?

In order to know which ligatures I might consider disabling, I would like to know which ones are actually used in my document. (Which ligatures are provided by a font is a more general question; I ...
7
votes
1answer
739 views

How to input kana with PDFLaTeX?

There are a lot of topics about how to use Japanese font, but, often the answer is: use XeLaTeX (or some other), or worse, it's just doesn't work at all. So, knowing that I'm working with PDFLaTeX ...
7
votes
1answer
678 views

How to use latekmk with feynmf/feynmp?

Background The latexmk tool can be used to automatically process your LaTeX files enough times to generate the output. As discussed here and here, latexmk now supports setting out_dir which passes ...
7
votes
1answer
357 views

Use case for pdfTeX's \quitvmode

While reading one of Lev's answers, I encountered a pdfTeX primitive \quitvmode that I have never noticed before. The pdfTeX manual states that this causes TeX to leave (internal) vertical mode and ...
6
votes
3answers
293 views

UTF-8 error with verbments

I'm writing a book using Latex in what I want to write code in Python. My operating system is Linux and my editor is Kile with: \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
6
votes
2answers
512 views

How to determine the run time of a loop?

pdfTeX, provides two macros that can be used to determine the time elapsed from a run start. The first one determines the elapsed time in "scaled seconds", that means seconds divided by 65536. ...
5
votes
1answer
845 views

Options controlling PDF Output

I came across a line in a LaTeX file reading \pdfoptionsminorversion=6. This changed the minor version of PDF, which I confirmed by looking at the generated PDF. Now, this option doesn't seem to be ...
5
votes
1answer
793 views

How to run LaTeX and lilypond-book in one command?

I was wondering if there was any command which would let me create a PDF from a LyTeX source in one step. Currently, I am first executing lilypond-book: lilypond-book --latex-program=pdflatex --pdf ...
5
votes
1answer
301 views

Make entire document heavier using pdfrender

This is a follow up question to this answer of this question. The code given in the answer above seems to break for any extensible horizontal bars such as the vinculum, square root bar, and ...
5
votes
1answer
717 views

pdfcrop and --bbox command line option

This tool that's distributed with texlive has no actual documentation for the bbox parameter. It just says that --bbox "<left> <bottom> <right> <top>" What units do these ...
5
votes
1answer
4k views

pdflatex, latexmk, synctex: Adding an option to pdflatex causes synctex to fail

The user "Mike" kindly helped me on Latex, Emacs: automatically open TeX Help buffer on error and close it after correction of the error? to create the following function which makes error detection ...
4
votes
4answers
3k views

Latex or PdfLatex to generate DVI

I would like to generate DVI output using latex or pdflatex, it doesn't matter. First, I would like to mention that I run the following command to compile my document and it runs successfully - ...
4
votes
1answer
3k views

How to use pstool in pdfLatex?

Update: After I adding those --shell -escape commands, when I run the code as below, it still cannot work. \documentclass[pdftex]{memoir} \usepackage{color} \usepackage{pstool} \input macros.tex ...
3
votes
1answer
67 views

How to use macro inside \pdfpageattr

I would like to use macro to set /MediaBox, /BleedBox, /CropBox and /TrimBox equal to the actual page size. But it seems that \pdfpageattr is reading list of tokens and is not a "regular macro" (if I ...
3
votes
1answer
229 views

Why does biber increase compilation time of pdflatex runs dramatically (factor 2.8!!)?

Since I am using biber, the compilation time for my document has increased dramatically. It's a dissertation with <300 pages and a full latexmk compilation suddenly needed 26 minutes which is not ...
2
votes
2answers
464 views

MikTeX Error Results from Boondox / Mathalfa LaTeX Font Package

New LaTeX user here. While reading this nice question and its answer, I discovered the "BOONDOX Calligraphic" font and tried to implement it in my document. I've been having some troubles, and after a ...
2
votes
1answer
2k views

Recover TeX file back from compiled PDF [duplicate]

Possible Duplicate: How to convert PDF to (La)TeX? Has anyone written a piece of code that (at least) tries to reconstruct (standard) LaTeX from a compiled PDF file? I mean, identifying ...
2
votes
2answers
570 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 ...
0
votes
1answer
148 views

PDFLatex tables are covering up text

I have a series of images that I'm displaying using a table environment. However, pdflatex places my table over the references portion of my paper. I've tried [htb!] options for the table, and it ...
22
votes
2answers
731 views

What is “%&-line parsing enabled”?

My latex logs begin with %&-line parsing enabled What does it mean?
13
votes
2answers
580 views

How to tell when to use pdflatex, latex, and xelatex for any given tex file?

I'm writing an automatic compiling pipeline that should be able to compile any given tex file into a pdf. The diversity of the input tex files mainly shows up in what format of figures they use and ...
9
votes
3answers
1k views

Incompatibilities of cmap with fontenc/hyperref?

The following code doesn't compile (with pdflatex) \documentclass{article} \usepackage{cmap} \usepackage[T1]{fontenc} \usepackage[pdfa=true]{hyperref} \begin{document} Hello. \end{document} ...
8
votes
1answer
644 views

Enumerate within TikZ node

Compiling the following code with pdflatex: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[remember picture, overlay] \draw (current page.center) node { ...
8
votes
1answer
3k views

pdfTeX warning (ext4): destination with the same identifier (name{figure.1}) has been already used, duplicate ignored

I've tried to make bilingual caption with package "ccaption" and compiled it with pdfLaTeX. It works fine but with a warning: pdfTeX warning (ext4): destination with the same identifier ...
8
votes
1answer
211 views

Is it possible to tell pdflatex to terminate after the first error?

In case of a syntax error, pdflatex usually (in \errorstopmode) gets interactive and asks you what to do. I know I can press: X to terminate S to enter \scrollmode (continue processing without ...
7
votes
1answer
1k 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
2answers
424 views

How to add numerical (ala No Starch Press) listing notes without XeTeX?

I've been following the instructions and code available at: https://zuttobenkyou.wordpress.com/2010/12/05/latex-saner-source-code-listings-no-starch-press-style/ I would like to add notes (and style) ...
5
votes
2answers
5k views

includegraphics choosing pdf instead of eps [closed]

I previously posted this on stackoverflow.com where it was suggested that I post it here. So apologies in advance for cross-posting. I am using LaTeX in ubuntu 10.04 to build a TeX file that uses ...
4
votes
1answer
994 views

what is the correct way to check for latex, pdflatex and html in the same latex document?

What is the correct way to check for if one is running in pdflatex vs latex vs. an html processor such as tex4ht? Suppose I have some latex code that I only want to show up in html, and not show up ...
4
votes
1answer
4k views

Problem with sansmathaccent under pdftex

I get the following error when I try to typeset a beamer document. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+525/600 --dpi 525 mathkerncmssi8 gsftopk: fatal: map file `cid-base.map' not ...
3
votes
5answers
367 views

How to insert characters with special meaning into a document

I was trying to add the symbol ^ in the document and getting error. How could I do that \documentclass{article} \begin{document} Hello world \^ \end{document} I need to add \,$... to document
3
votes
2answers
835 views

Show output of a full LaTeX document

A couple of days ago, I found showexpl, it is wonderful and works very well. But there is one thing missing that it doesn't let me do and it is to only show the output/result of some commands. For ...