GNU bug report logs -
#48828
Wrong command used to compile pdf latex if pst-mode package is used (beamer)
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48828 in the body.
You can then email your comments to 48828 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#48828
; Package
auctex
.
(Fri, 04 Jun 2021 10:09:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ccpsoeta <ccpsoeta <at> sipc87.i-did-not-set--mail-host-address--so-tickle-me>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Fri, 04 Jun 2021 10:09:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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'.
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#48828
; Package
auctex
.
(Fri, 04 Jun 2021 13:11:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 48828 <at> debbugs.gnu.org (full text, mbox):
ccpsoeta <ccpsoeta <at> sipc87.i-did-not-set--mail-host-address--so-tickle-me> writes:
> 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'.
I don't think AUCTeX is wrongly using latex instead of pdflatex. Insert
some piece of PSTricks code and try it again, e.g.
\documentclass[10pt]{beamer}
\usepackage{pst-node}
\begin{document}
\begin{frame}
\frametitle{title}
\small
content \\[3ex]
\begin{pspicture}[showgrid](0,-2)(6,2)
\pnode{A}\psdot(A)\uput[90](A){A}
\pnode[0,-2]{B}\psdot(B)\uput[90](B){B}
\pnode(2,0){C}\psdot(C)\uput[90](C){C}
\pnode[1,-2](2,0){D}\psdot(D)\uput[90](D){D}
\pnode[2,2](3.5,0){E}\psdot(E)\uput[90](E){E}
\end{pspicture}
\end{frame}
\end{document}
and pdflatex chokes with this message:
! Undefined control sequence.
\c <at> lor <at> to <at> ps ->\PSTricks
_Not_Configured_For_This_Format
Unless you don't use a package like "pst-pdf", pdflatex is the wrong
engine if you want to use PSTricks, you want to go for latex&dvips.
Best, Arash
Reply sent
to
Arash Esbati <arash <at> gnu.org>
:
You have taken responsibility.
(Fri, 29 Oct 2021 14:32:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
ccpsoeta <ccpsoeta <at> sipc87.i-did-not-set--mail-host-address--so-tickle-me>
:
bug acknowledged by developer.
(Fri, 29 Oct 2021 14:32:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 48828-done <at> debbugs.gnu.org (full text, mbox):
Arash Esbati <arash <at> gnu.org> writes:
> I don't think AUCTeX is wrongly using latex instead of pdflatex. Insert
> some piece of PSTricks code and try it again, e.g.
>
> \documentclass[10pt]{beamer}
> \usepackage{pst-node}
> \begin{document}
> \begin{frame}
> \frametitle{title}
> \small
> content \\[3ex]
> \begin{pspicture}[showgrid](0,-2)(6,2)
> \pnode{A}\psdot(A)\uput[90](A){A}
> \pnode[0,-2]{B}\psdot(B)\uput[90](B){B}
> \pnode(2,0){C}\psdot(C)\uput[90](C){C}
> \pnode[1,-2](2,0){D}\psdot(D)\uput[90](D){D}
> \pnode[2,2](3.5,0){E}\psdot(E)\uput[90](E){E}
> \end{pspicture}
> \end{frame}
> \end{document}
>
> and pdflatex chokes with this message:
>
> ! Undefined control sequence.
> \c <at> lor <at> to <at> ps ->\PSTricks
> _Not_Configured_For_This_Format
>
> Unless you don't use a package like "pst-pdf", pdflatex is the wrong
> engine if you want to use PSTricks, you want to go for latex&dvips.
Some weeks passed since last message. I'm closing this report for now,
we can re-open it once new activities come up.
Best, Arash
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 27 Nov 2021 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 149 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.