diff --git a/preview.el.in b/preview.el.in --- a/preview.el.in +++ b/preview.el.in @@ -3542,7 +3542,13 @@ "Preview-LaTeX" (if (consp (cdr dumped-cons)) (preview-do-replacements - command preview-undump-replacements) + command + (append preview-undump-replacements + ;; Since the command options provided in + ;; (TeX-engine-alist) are dropped, give them + ;; back. + (list (list "\\`\\([^ ]+\\)" + (TeX-command-expand "%(latex)" nil))))) command) file))) (condition-case err (progn