GNU bug report logs - #48828
Wrong command used to compile pdf latex if pst-mode package is used (beamer)

Previous Next

Package: auctex;

Reported by: ccpsoeta <ccpsoeta <at> sipc87.i-did-not-set--mail-host-address--so-tickle-me>

Date: Fri, 4 Jun 2021 10:09:02 UTC

Severity: normal

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ccpsoeta <ccpsoeta <at> sipc87.i-did-not-set--mail-host-address--so-tickle-me>
To: bug-auctex <at> gnu.org
Subject: Wrong command used to compile pdf latex if pst-mode package is used
 (beamer)
Date: Fri, 04 Jun 2021 10:46:37 +0200
Hi!

When loading the beamer document below AucTex recognises it as a pdf
("Latex/P" in modeline), but when trying to compile it with C-c C-c it
wrongly uses "latex" instead of "pdflatex", i.e., it uses following
command:

latex  -file-line-error -shell-escape   -interaction=nonstopmode example-bug.tex

The culprit is the "\usepackage{pst-node}" line. When removed, it works OK.

Steps to reproduce:

Start 'emacs -Q'

Do initial setup

#+begin_src emacs-lisp
(add-to-list 'load-path "/home/user/git/auctex/site-lisp")
(load "auctex.el" nil t t)
#+end_src

visit the following file:

#+begin_src latex

\documentclass[10pt]{beamer}
\usepackage{pst-node} % this is the culprit line
\begin{document}
\begin{frame}
  \frametitle{title}
  \small
  content
\end{frame}
\end{document}

#+end_src

Compile with 'C-c C-c'.




This bug report was last modified 3 years and 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.