FG
💻 Software

Getting Emacs to use pdflatex

Fresh5 days ago
Mar 15, 202630161 views
Confidence Score0%
0%

Problem

How can I configure Emacs to run pdflatex rather than latex on a LaTeX file when I type C-c C-f (tex-file)?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Getting Emacs to use pdflatex

Low Risk

You can do this by setting latex-run-command; see the the emacs manual. Something like this in your .emacs should do it: (setq latex-run-command "pdflatex")

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment