From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thalis Charakas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73854: 29.4; tex-mode: unexpected and inconsistent behaviour of `tex-compile`, `tex-file`, and `tex-view` Date: Thu, 17 Oct 2024 18:36:19 +0000 Message-ID: Reply-To: Thalis Charakas Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15349"; mail-complaints-to="usenet@ciao.gmane.io" To: 73854@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 17 20:37:59 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t1VNn-0003pB-AS for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Oct 2024 20:37:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1VNY-0005Zt-5h; Thu, 17 Oct 2024 14:37:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1VNW-0005ZP-0K for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2024 14:37:42 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t1VNV-0001sA-NT for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2024 14:37:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=wuzK5Qwe5nEfECic7/L8SoyaZW9uESORF/f46CXDYYE=; b=YSs4Gi8tn28qazfxbrEcWZAH0q0kzmMhHQRw1TkrR9OoINXhgdKb/8siUo7YNhWK9CrHb334fMG5n0taNkgG85+L8OPRA11/niEpAltVn/LForRrCpmCIfAq6J+6Y05O5aSY8BXs87Sg2BmnTR6bKkPksMAmf5CfTWPjTgZPKyWdFi5Q0WlymnL2yYOibc1tiwVPdpvLlT5xQE93KQQ5JHMNqXorDNsyd0I8I7xHH35xJm9Kzo0h+WMx/woPUABfeXA1LLBeLDLSLP8yVCcGZ5fGSzL4CMNp33tGFSoDv0jUuQmI9ffbrpXYweGfpDLxkGZqAMU71CoZbbf4iZwusA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t1VNq-0005wx-Mb for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2024 14:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thalis Charakas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Oct 2024 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73854 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.172919023622797 (code B ref -1); Thu, 17 Oct 2024 18:38:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Oct 2024 18:37:16 +0000 Original-Received: from localhost ([127.0.0.1]:35605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1VN5-0005vc-7U for submit@debbugs.gnu.org; Thu, 17 Oct 2024 14:37:15 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1VMz-0005vR-Aw for submit@debbugs.gnu.org; Thu, 17 Oct 2024 14:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1VMd-0005Wj-Bn for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2024 14:36:47 -0400 Original-Received: from mail-0201.mail-europe.com ([51.77.79.158]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1VMY-0001pX-QG for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2024 14:36:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1729190182; x=1729449382; bh=wuzK5Qwe5nEfECic7/L8SoyaZW9uESORF/f46CXDYYE=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=SmKA3tweYYYXY8MqAz1fJUl6CXwJNH47Rlf7nxVv1opJ547ZkNWig5ZzXzdw9KH9Z hr/lZ19Y3fXG0797WizV9kieQrUG0vhbHPnsKhGIqCCSsYaCQt5kNLKifiy/V3GwKH uIJqmwoFeEyrJQ3dotKsPWhxjomQNHsTU66h0vkTVbPmWyDNhL9aST0Sv/QZj5T0Ul IAjJeO6n9U5Bc6yD8U+Z47NwbEaEzdMyg5nFc+T+DIIZAARzxWr2Ba8QguPN09ox32 FQ71Z1MYRgJgD5dH2HqSPPhZMXtWyIaw7oFsyLN04uGlDRTgajn023pbarS4h5ctrr Qn0o6Ydtddb5g== Feedback-ID: 840084:user:proton X-Pm-Message-ID: 9cc6bdffea48d9b202ae103708e18f1a23b153bf Received-SPF: pass client-ip=51.77.79.158; envelope-from=thales1@protonmail.com; helo=mail-0201.mail-europe.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293746 Archived-At: Basically, `tex-view` works, opening Evince, on a compiled .pdf only after a .dvi is created. Running 'emacs -Q' I evaluate the following in the scratch buffer, to make it so that latex is compiled to pdf: ``` (setq tex-print-file-extension ".pdf" tex-dvi-view-command "evince" tex-dvi-print-command "lpr") ``` the last two lines are following the instructions on the description of `tex-print-file-extension`. I navigate to a simple .tex in an empty directory and press `C-c C-c` which is bound by default to `tex-compile`, I press enter, as the default is `pdflatex`, and the file compiles, creating a .pdf in the directory. After that I press `C-c C-v`, which is bound to `tex-view` but Evince does not open, instead I get the message "tex-print: No appropriate =E2=80=98.dvi=E2=80=99 file could be found. If I press `C-c C-f= ` (`tex-file`) after that, a .dvi file is created, and now `tex-view` works, meaning it opens the .pdf with Evince. The fact that `tex-view` works on the .pdf only when a .dvi is first created seems like a bug. In GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-07-22, modified by Debian built on x86-ubc-01 Windowing system distributor 'The X.Org Foundation', version 11.0.12201009 System Description: Debian GNU/Linux 12 (bookworm) Configured using: 'configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29.4/site-lisp:= /usr/local/share/emacs/site-lisp:/usr/share/emacs/29.4/site-lisp:/usr/share= /emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29.4/site-lisp:= /usr/local/share/emacs/site-lisp:/usr/share/emacs/29.4/site-lisp:/usr/share= /emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --with-cairo --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2 -ffile-prefix-map=3D/build/reproducible-path/emacs-29.4+1=3D. -fstack-prot= ector-strong -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: el_GR.UTF-8 value of $LC_NUMERIC: el_GR.UTF-8 value of $LC_TIME: el_GR.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: LaTeX Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils sh-script smie treesit executable files-x format-spec tex-mode compile text-property-search shell pcomplete comint ansi-osc ansi-color ring latexenc time-date cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 104929 9925) (symbols 48 8831 0) (strings 32 26957 1346) (string-bytes 1 823130) (vectors 16 18588) (vector-slots 8 380866 9613) (floats 8 55 42) (intervals 56 359 0) (buffers 984 14))