[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48828: Wrong command used to compile pdf latex if pst-mode package i
From: |
ccpsoeta |
Subject: |
bug#48828: 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'.
- bug#48828: Wrong command used to compile pdf latex if pst-mode package is used (beamer),
ccpsoeta <=