From unknown Sat Jun 14 03:57:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48828: Wrong command used to compile pdf latex if pst-mode package is used (beamer) Resent-From: ccpsoeta Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 04 Jun 2021 10:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48828 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 48828@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162280132117409 (code B ref -1); Fri, 04 Jun 2021 10:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jun 2021 10:08:41 +0000 Received: from localhost ([127.0.0.1]:45460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp6kq-0004Wf-5E for submit@debbugs.gnu.org; Fri, 04 Jun 2021 06:08:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:35140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp5g8-0004Pp-Bu for submit@debbugs.gnu.org; Fri, 04 Jun 2021 04:59:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lp5g8-0002QQ-30 for bug-auctex@gnu.org; Fri, 04 Jun 2021 04:59:44 -0400 Received: from smtp.lg.ehu.es ([158.227.0.66]:12855 helo=smtp.ehu.eus) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lp5g6-00076G-1C for bug-auctex@gnu.org; Fri, 04 Jun 2021 04:59:43 -0400 Received: from imsva2.lgp.ehu.es (imsva2.lgp.ehu.es [10.0.3.246]) by postfix.smtp1.imsva1 (Postfix) with ESMTPS id 96C7218435E for ; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) Received: from imsva2.lgp.ehu.es (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 844B85A051 for ; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) Received: from imsva2.lgp.ehu.es (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 792125A04F for ; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) Received: from smtp.ehu.eus (unknown [10.0.100.79]) by imsva2.lgp.ehu.es (Postfix) with ESMTPS for ; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) Received: from sipc87.si.ehu.es (sipc87.si.ehu.es [158.227.112.97]) by smtp-2 (Postfix) with ESMTP id 67319184363 for ; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) Received: by sipc87.si.ehu.es (Postfix, from userid 1000) id 507BA3414DE; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) From: ccpsoeta Date: Fri, 04 Jun 2021 10:46:37 +0200 Message-ID: <87wnraf24y.fsf@sipc87.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-Greylist: Sender IP whitelisted, Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (smtp-2 [10.0.100.79]); Fri, 04 Jun 2021 10:46:37 +0200 (CEST) X-TM-AS-GCONF: 00 X-Greylist: Sender IP whitelisted, Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (postfix.smtp1.imsva1 [10.0.100.79]); Fri, 04 Jun 2021 10:46:37 +0200 (CEST) Received-SPF: none client-ip=158.227.0.66; envelope-from=ccpsoeta@sipc87.i-did-not-set--mail-host-address--so-tickle-me; helo=smtp.ehu.eus X-Spam_score_int: -32 X-Spam_score: -3.3 X-Spam_bar: --- X-Spam_report: (-3.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_NXDOMAIN=0.9, NO_DNS_FOR_FROM=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.9 (-) X-Mailman-Approved-At: Fri, 04 Jun 2021 06:08:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) 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'. From unknown Sat Jun 14 03:57:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48828: Wrong command used to compile pdf latex if pst-mode package is used (beamer) Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 04 Jun 2021 13:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48828 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 48828@debbugs.gnu.org Received: via spool by 48828-submit@debbugs.gnu.org id=B48828.16228122035215 (code B ref 48828); Fri, 04 Jun 2021 13:11:02 +0000 Received: (at 48828) by debbugs.gnu.org; 4 Jun 2021 13:10:03 +0000 Received: from localhost ([127.0.0.1]:45822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp9aM-0001M2-SW for submit@debbugs.gnu.org; Fri, 04 Jun 2021 09:10:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp9aL-0001LO-Go for 48828@debbugs.gnu.org; Fri, 04 Jun 2021 09:10:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34304) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lp9aG-0006ay-AV for 48828@debbugs.gnu.org; Fri, 04 Jun 2021 09:09:56 -0400 Received: from p4fe3ec95.dip0.t-ipconnect.de ([79.227.236.149]:52075 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lp9aG-0004KN-1j for 48828@debbugs.gnu.org; Fri, 04 Jun 2021 09:09:56 -0400 From: Arash Esbati References: <87wnraf24y.fsf@sipc87.i-did-not-set--mail-host-address--so-tickle-me> Date: Fri, 04 Jun 2021 15:09:29 +0200 In-Reply-To: <87wnraf24y.fsf@sipc87.i-did-not-set--mail-host-address--so-tickle-me> (ccpsoeta@sipc87.i-did-not-set--mail-host-address--so-tickle-me's message of "Fri, 04 Jun 2021 10:46:37 +0200") Message-ID: <86k0n9lqt2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) ccpsoeta 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@lor@to@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 From unknown Sat Jun 14 03:57:44 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ccpsoeta Subject: bug#48828: closed (Re: bug#48828: Wrong command used to compile pdf latex if pst-mode package is used (beamer)) Message-ID: References: <86lf2b3ntv.fsf@gnu.org> <87wnraf24y.fsf@sipc87.i-did-not-set--mail-host-address--so-tickle-me> X-Gnu-PR-Message: they-closed 48828 X-Gnu-PR-Package: auctex Reply-To: 48828@debbugs.gnu.org Date: Fri, 29 Oct 2021 14:32:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1635517921-27898-1" This is a multi-part message in MIME format... ------------=_1635517921-27898-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48828: Wrong command used to compile pdf latex if pst-mode package is used= (beamer) which was filed against the auctex package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48828@debbugs.gnu.org. --=20 48828: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48828 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1635517921-27898-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48828-done) by debbugs.gnu.org; 29 Oct 2021 14:31:12 +0000 Received: from localhost ([127.0.0.1]:55538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgSuW-0006a0-7z for submit@debbugs.gnu.org; Fri, 29 Oct 2021 10:31:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgSuU-0006Tp-RE for 48828-done@debbugs.gnu.org; Fri, 29 Oct 2021 10:31:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37794) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgSuP-0004KX-JA for 48828-done@debbugs.gnu.org; Fri, 29 Oct 2021 10:31:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=cwQrtDMmvyJocb0szU0xbc9aOCT/trO0yIOIHvQUunM=; b=IWG+BjIDSX/PqdK35x9r ZVMbYWT0Cx/ABy/DM3WFVc7/Ry3LqDNzrvJvBaw8V+IZhwjVa6BGAlWI+MdmMKoxBZK5hqmQKvd9I jsBpu+xpXCIaODnyYkmhA0crvj/eCOARev29YGdoYQ+/OO41VAiKmCStby1PIA1jBStCKt8o8ZqUE S6CbtTeASHvI0W54DY1hgo63QrZto5A9tfKcjk5UdmXlAumt0GH5gdHEJUfmP6fU2otbMGw0BtpqG 3eLrrGMuBXIDDwfXNPqbM1jcxzhlFfQboF4vaDWT3kJwAomDiV+TTJXBsa85ddr7tF8QsmeXXtJ1w QLkgm8/KJfo4Nw==; Received: from p5b3265dc.dip0.t-ipconnect.de ([91.50.101.220]:53312 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgSuP-0007vz-6c for 48828-done@debbugs.gnu.org; Fri, 29 Oct 2021 10:31:05 -0400 From: Arash Esbati To: 48828-done@debbugs.gnu.org Subject: Re: bug#48828: Wrong command used to compile pdf latex if pst-mode package is used (beamer) References: <87wnraf24y.fsf@sipc87.i-did-not-set--mail-host-address--so-tickle-me> <86k0n9lqt2.fsf@gnu.org> Date: Fri, 29 Oct 2021 16:30:52 +0200 In-Reply-To: <86k0n9lqt2.fsf@gnu.org> (Arash Esbati's message of "Fri, 04 Jun 2021 15:09:29 +0200") Message-ID: <86lf2b3ntv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48828-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Arash Esbati 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@lor@to@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 ------------=_1635517921-27898-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Jun 2021 10:08:41 +0000 Received: from localhost ([127.0.0.1]:45460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp6kq-0004Wf-5E for submit@debbugs.gnu.org; Fri, 04 Jun 2021 06:08:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:35140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp5g8-0004Pp-Bu for submit@debbugs.gnu.org; Fri, 04 Jun 2021 04:59:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lp5g8-0002QQ-30 for bug-auctex@gnu.org; Fri, 04 Jun 2021 04:59:44 -0400 Received: from smtp.lg.ehu.es ([158.227.0.66]:12855 helo=smtp.ehu.eus) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lp5g6-00076G-1C for bug-auctex@gnu.org; Fri, 04 Jun 2021 04:59:43 -0400 Received: from imsva2.lgp.ehu.es (imsva2.lgp.ehu.es [10.0.3.246]) by postfix.smtp1.imsva1 (Postfix) with ESMTPS id 96C7218435E for ; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) Received: from imsva2.lgp.ehu.es (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 844B85A051 for ; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) Received: from imsva2.lgp.ehu.es (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 792125A04F for ; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) Received: from smtp.ehu.eus (unknown [10.0.100.79]) by imsva2.lgp.ehu.es (Postfix) with ESMTPS for ; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) Received: from sipc87.si.ehu.es (sipc87.si.ehu.es [158.227.112.97]) by smtp-2 (Postfix) with ESMTP id 67319184363 for ; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) Received: by sipc87.si.ehu.es (Postfix, from userid 1000) id 507BA3414DE; Fri, 4 Jun 2021 10:46:37 +0200 (CEST) From: ccpsoeta To: bug-auctex@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 Message-ID: <87wnraf24y.fsf@sipc87.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-Greylist: Sender IP whitelisted, Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (smtp-2 [10.0.100.79]); Fri, 04 Jun 2021 10:46:37 +0200 (CEST) X-TM-AS-GCONF: 00 X-Greylist: Sender IP whitelisted, Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (postfix.smtp1.imsva1 [10.0.100.79]); Fri, 04 Jun 2021 10:46:37 +0200 (CEST) Received-SPF: none client-ip=158.227.0.66; envelope-from=ccpsoeta@sipc87.i-did-not-set--mail-host-address--so-tickle-me; helo=smtp.ehu.eus X-Spam_score_int: -32 X-Spam_score: -3.3 X-Spam_bar: --- X-Spam_report: (-3.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_NXDOMAIN=0.9, NO_DNS_FOR_FROM=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 04 Jun 2021 06:08:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) 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'. ------------=_1635517921-27898-1--