X-Loop: help-debbugs@HIDDEN Subject: bug#36114: Can't run preview latex after deleting prv files Resent-From: Berthold Lorke <berthold@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-auctex@HIDDEN Resent-Date: Thu, 06 Jun 2019 13:19:02 +0000 Resent-Message-ID: <handler.36114.B.1559827129746 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 36114 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 36114 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.1559827129746 (code B ref -1); Thu, 06 Jun 2019 13:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jun 2019 13:18:49 +0000 Received: from localhost ([127.0.0.1]:49263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hYsI5-0000By-5d for submit <at> debbugs.gnu.org; Thu, 06 Jun 2019 09:18:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <berthold@HIDDEN>) id 1hYsHz-0000Bf-30 for submit <at> debbugs.gnu.org; Thu, 06 Jun 2019 09:18:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:34996) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <berthold@HIDDEN>) id 1hYsHt-0002TJ-VV for submit <at> debbugs.gnu.org; Thu, 06 Jun 2019 09:18:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <berthold@HIDDEN>) id 1hYsHs-0000R6-Ek for bug-auctex@HIDDEN; Thu, 06 Jun 2019 09:18:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <berthold@HIDDEN>) id 1hYsHq-0002HU-V3 for bug-auctex@HIDDEN; Thu, 06 Jun 2019 09:18:36 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::11]:20679) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <berthold@HIDDEN>) id 1hYsHp-0001vy-OX for bug-auctex@HIDDEN; Thu, 06 Jun 2019 09:18:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1559827110; s=strato-dkim-0002; d=lorke.de; h=Message-ID:Date:Subject:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=+rQsi+QBkeMt6KZ47sJLmKjunzUAWRK7zMYDV2nhN9c=; b=pRsMMp8+Aohe9KMeMAvGZ2NDCIjgIoUuiac04TSRJ1gOM6CrEKPUqDWkEFmXf8HOOv WBR6XOIpMAisRoykHvX1lQv91MGjoDlfFlVVIqrzXadXyoGWCFxy5V9J9K81LqqZ2MBW uEtwmAOv3jf3Uh8RUjvB52hnIAKwjus1dd9ZPyoJU8WA8KlYbzcE2yPliVcMElIYFMY3 34ymiRYVnunojFmOcSHw/7Q3nWo6nkBCGqqx317K+JrCoNVKpmqX7qv1Q/2o0eQe7bPz gSa7KCSX1mZTHMsBZJqFbQNNNs1wXAF5VPx0gfYsKNl3p0x3FSyjM0ul96B7tkz2G9N4 Leww== X-RZG-AUTH: ":LmkWYUind/sPg6+jpcKJzU88Td0kzv/qdwAut5fBNI54jQKR6GCURvI7xkfDskKubB93Zw==" X-RZG-CLASS-ID: mo00 Received: from schlepptop by smtp.strato.de (RZmta 44.18 AUTH) with ESMTPSA id v09a9cv56DITbQS (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for <bug-auctex@HIDDEN>; Thu, 6 Jun 2019 15:18:29 +0200 (CEST) From: Berthold Lorke <berthold@HIDDEN> Date: Thu, 06 Jun 2019 15:16:38 +0200 Message-ID: <87a7eun9ah.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::11 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) When running preview latex the first time on a document, everything is fine. But then when I delete the created folder _region_.prv and the files _region_.log, prv_test.fmt, prv_test.log and _region_.tex, I can not run preview latex (say with C-c C-p C-b) anymore, it gives me the following error Running `Preview-LaTeX' on `~/junk/_region_' with ``lualatex -interaction=nonstopmode -file-line-error \&prv_test "/AUCTEXINPUT{" _region_.tex "}"'' This is LuaTeX, Version 1.07.0 (TeX Live 2018/Arch Linux) restricted system commands enabled. kpathsea: Running mktexfmt prv_test.fmt mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order): mktexfmt: /etc/texmf/web2c/fmtutil.cnf mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes: mktexfmt: /home/berber/.texlive/texmf-config/web2c/fmtutil.cnf mktexfmt [INFO]: writing formats under /home/berber/.texlive/texmf-var/web2c mktexfmt [INFO]: did not find entry for byfmt=prv_test, skipped mktexfmt [INFO]: Disabled formats: 6 mktexfmt [INFO]: Not selected formats: 36 mktexfmt [INFO]: Total formats: 42 mktexfmt [INFO]: exiting with status 0 Sorry, I can't find the format `prv_test.fmt'; will try `prv_test.fmt'. kpathsea: Running mktexfmt prv_test.fmt mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order): mktexfmt: /etc/texmf/web2c/fmtutil.cnf mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes: mktexfmt: /home/berber/.texlive/texmf-config/web2c/fmtutil.cnf mktexfmt [INFO]: writing formats under /home/berber/.texlive/texmf-var/web2c mktexfmt [INFO]: did not find entry for byfmt=prv_test, skipped mktexfmt [INFO]: Disabled formats: 6 mktexfmt [INFO]: Not selected formats: 36 mktexfmt [INFO]: Total formats: 42 mktexfmt [INFO]: exiting with status 0 I can't find the format file `prv_test.fmt'! TeX Output exited as expected with code 1 at Mon Jun 3 16:17:28 LaTeX: LaTeX found no preview images Also see https://emacs.stackexchange.com/questions/50829/preview-latex-doesnt-work-when-i-delete-the-region-prv-folder I want it to be as if I never ran preview latex, so that I can run it again. There must be some entry in some other file that gets created that I have to remove. Emacs : GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8) of 2019-04-12 Package: 12.1.2 current state: ============== (setq AUCTeX-date "2019-02-08" window-system 'x LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "/tmp/.emacs.d/elpa/auctex-12.1.2/style" "/tmp/.emacs.d/auctex/auto" "/tmp/.emacs.d/auctex/style" "auto" "style") TeX-auto-save nil TeX-parse-self nil TeX-master t TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %`%(extraopts) %S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %T" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber") ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t :help "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :help "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help "Convert PostScript file to PDF") ("Glossaries" "makeglossaries %s" TeX-run-command nil t :help "Run makeglossaries to create glossary file") ("Index" "makeindex %s" TeX-run-index nil t :help "Run makeindex to create index file") ("upMendex" "upmendex %s" TeX-run-index t t :help "Run upmendex to create index file") ("Xindy" "texindy %s" TeX-run-command nil t :help "Run xindy to create index file") ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness") ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for common mistakes") ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary command") ) )
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Berthold Lorke <berthold@HIDDEN> Subject: bug#36114: Acknowledgement (Can't run preview latex after deleting prv files) Message-ID: <handler.36114.B.1559827129746.ack <at> debbugs.gnu.org> References: <87a7eun9ah.fsf@HIDDEN> X-Gnu-PR-Message: ack 36114 X-Gnu-PR-Package: auctex Reply-To: 36114 <at> debbugs.gnu.org Date: Thu, 06 Jun 2019 13:19:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-auctex@HIDDEN If you wish to submit further information on this problem, please send it to 36114 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 36114: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36114 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#36114: Can't run preview latex after deleting prv files Resent-From: Arash Esbati <arash@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-auctex@HIDDEN Resent-Date: Fri, 08 Mar 2024 20:58:02 +0000 Resent-Message-ID: <handler.36114.B36114.170993145716161 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 36114 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Berthold Lorke <berthold@HIDDEN> Cc: 36114 <at> debbugs.gnu.org Received: via spool by 36114-submit <at> debbugs.gnu.org id=B36114.170993145716161 (code B ref 36114); Fri, 08 Mar 2024 20:58:02 +0000 Received: (at 36114) by debbugs.gnu.org; 8 Mar 2024 20:57:37 +0000 Received: from localhost ([127.0.0.1]:59753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rihHc-0004Cb-Tr for submit <at> debbugs.gnu.org; Fri, 08 Mar 2024 15:57:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <arash@HIDDEN>) id 1rihHa-0004CL-OD for 36114 <at> debbugs.gnu.org; Fri, 08 Mar 2024 15:57:35 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <arash@HIDDEN>) id 1rihGy-0000rJ-SR; Fri, 08 Mar 2024 15:56:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=zDi5E5EjBDFzanWM5C1/jIQfkztNazNBJH+K35QtzgM=; b=LZi8rTvUGCjQ/7PqURVl rxJL+Gi7v8mGszs9yUwnFHE7q3s7YaUocloHwHLm2c73Tn5kpRk3aDqkjtQzqJR2dbMwZrYvtpanL 9OJajtRX75e1fU8C8FR1ng9wC6T332VmS604DX4RTeiWDYUtvgZsG7Ju/VDiBcydEK0R5Nizvr/N7 usN1eFQKCZswsra0DdFgda1dteX1xY8xGVcXf80t6sYYDdNYTkiMi2Km+dpMLGYOSqVN3yKAQs5Z2 w4a/+bnA1MQvwxs2KNi0xCrpYv8e+x6JnFu1cGY5qxHqsUOmaW6JnFnGR9JMGtDBDPjh38JY+9zLn p700NB6K5VjePA==; From: Arash Esbati <arash@HIDDEN> In-Reply-To: <87a7eun9ah.fsf@HIDDEN> (Berthold Lorke's message of "Thu, 06 Jun 2019 15:16:38 +0200") References: <87a7eun9ah.fsf@HIDDEN> Date: Fri, 08 Mar 2024 21:56:53 +0100 Message-ID: <m2o7bov3vu.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Berthold Lorke <berthold@HIDDEN> writes: > When running preview latex the first time on a document, everything is > fine. > But then when I delete the created folder _region_.prv and the files > _region_.log, prv_test.fmt, prv_test.log and _region_.tex, I can not run > preview latex (say with C-c C-p C-b) anymore, it gives me the following > error > > > Running `Preview-LaTeX' on `~/junk/_region_' with ``lualatex -interaction=nonstopmode -file-line-error \&prv_test "/AUCTEXINPUT{" _region_.tex "}"'' > This is LuaTeX, Version 1.07.0 (TeX Live 2018/Arch Linux) > restricted system commands enabled. > > kpathsea: Running mktexfmt prv_test.fmt > mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order): > mktexfmt: /etc/texmf/web2c/fmtutil.cnf > mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes: > mktexfmt: /home/berber/.texlive/texmf-config/web2c/fmtutil.cnf > mktexfmt [INFO]: writing formats under /home/berber/.texlive/texmf-var/web2c > mktexfmt [INFO]: did not find entry for byfmt=prv_test, skipped > mktexfmt [INFO]: Disabled formats: 6 > mktexfmt [INFO]: Not selected formats: 36 > mktexfmt [INFO]: Total formats: 42 > mktexfmt [INFO]: exiting with status 0 > Sorry, I can't find the format `prv_test.fmt'; will try `prv_test.fmt'. > > kpathsea: Running mktexfmt prv_test.fmt > mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order): > mktexfmt: /etc/texmf/web2c/fmtutil.cnf > mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes: > mktexfmt: /home/berber/.texlive/texmf-config/web2c/fmtutil.cnf > mktexfmt [INFO]: writing formats under /home/berber/.texlive/texmf-var/web2c > mktexfmt [INFO]: did not find entry for byfmt=prv_test, skipped > mktexfmt [INFO]: Disabled formats: 6 > mktexfmt [INFO]: Not selected formats: 36 > mktexfmt [INFO]: Total formats: 42 > mktexfmt [INFO]: exiting with status 0 > I can't find the format file `prv_test.fmt'! > > TeX Output exited as expected with code 1 at Mon Jun 3 16:17:28 > LaTeX: LaTeX found no preview images > > > Also see > https://emacs.stackexchange.com/questions/50829/preview-latex-doesnt-work-when-i-delete-the-region-prv-folder > > I want it to be as if I never ran preview latex, so that I can run it > again. > There must be some entry in some other file that gets created that I > have to remove. (I'm going through old bug reports that unfortunately weren't resolved at the time.) I don't understand the intention behind it: If you start preview with 'C-c C-p C-b', you're fine, but why do delete the files above unconditionally? Remove them after your session, or use 'C-c C-p C-c C-b' to delete them. Best, Arash
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.