GNU bug report logs - #39097
12.2.0; Preview gets lost and doesn't find the LaTeX source file

Previous Next

Package: auctex;

Reported by: Giacomo Boffi <giacomo.boffi <at> polimi.it>

Date: Sun, 12 Jan 2020 13:05:01 UTC

Severity: normal

Tags: notabug

Found in version 12.2.0

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39097 in the body.
You can then email your comments to 39097 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#39097; Package auctex. (Sun, 12 Jan 2020 13:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Giacomo Boffi <giacomo.boffi <at> polimi.it>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Sun, 12 Jan 2020 13:05:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Giacomo Boffi <giacomo.boffi <at> polimi.it>
To: "bug-auctex <at> gnu.org" <bug-auctex <at> gnu.org>
Subject: 12.2.0; Preview gets lost and doesn't find the LaTeX source file
Date: Sun, 12 Jan 2020 10:48:21 +0000
Dear Maintainer,

I have the file 'check.tex'

====================
\documentclass{article}
\begin{document}
\[ a=4 \]
\end{document}
====================

that I edit in Emacs, I have compiled it using pdflatex and everything
is fine - next from the Preview menu I select
"generate previews for document" and I get an error message


====================
error in process sentinel: LaTeX found no preview images
====================

and the '* .../check output *' buffer contains

====================
Running `Preview-LaTeX' on `check' with ``pdflatex  -file-line-error  --synctex=1 "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "\input" "{\detokenize{" check.tex "}}"''
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2019-10-01> patch level 3

No auxiliary output files.


! LaTeX Error: File ` check.tex ' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: tex )

Enter file name: 
! Emergency stop.
<read *> 
         
<*> ...1/05]\fi} \input {\detokenize{ check.tex }}
                                                  ^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on texput.log.

TeX Output exited as expected with code 1 at Sun Jan 12 00:09:52
LaTeX: LaTeX found no preview images
====================

Thank you in advance for your help
gb

==================================================================
Emacs  : GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.11)
 of 2019-09-22, modified by Debian
Package: 12.2.0

current state:
==============
(setq
 AUCTeX-date "2019-10-31"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("~/.emacs.d/auctex" "/home/boffi/.emacs.d/elpa/auctex-12.1.2/style" "/home/boffi/.emacs.d/auctex/auto"
                  "/home/boffi/.emacs.d/auctex/style" "auto" "style")
 TeX-auto-save t
 TeX-parse-self t
 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"))
 )




Information forwarded to bug-auctex <at> gnu.org:
bug#39097; Package auctex. (Sun, 12 Jan 2020 13:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 39097 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Giacomo Boffi <giacomo.boffi <at> polimi.it>
Cc: 39097 <at> debbugs.gnu.org
Subject: Re: bug#39097: 12.2.0;
 Preview gets lost and doesn't find the LaTeX source file
Date: Sun, 12 Jan 2020 22:20:47 +0900
Hi Giacomo,

>>>>> Giacomo Boffi <giacomo.boffi <at> polimi.it> writes:
> ! LaTeX Error: File ` check.tex ' not found.

> Type X to quit or <RETURN> to proceed,
> or enter new name. (Default extension: tex )

> Enter file name: 
> ! Emergency stop.
> <read *> 
         
> <*> ...1/05]\fi} \input {\detokenize{ check.tex }}
>                                                   ^^M
> !  ==> Fatal error occurred, no output PDF file produced!
> Transcript written on texput.log.

> TeX Output exited as expected with code 1 at Sun Jan 12 00:09:52
> LaTeX: LaTeX found no preview images
> ====================

That problem was already fixed in relatively new version of AUCTeX.
Please try the latest version of 12.2 of AUCTeX from ELPA or release
tarball.

Regards,
Ikumi Keita




Information forwarded to bug-auctex <at> gnu.org:
bug#39097; Package auctex. (Sun, 12 Jan 2020 20:26:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: boffi <giacomo.boffi <at> polimi.it>
To: bug-auctex <at> gnu.org
Subject: Re: bug#39097: 12.2.0;
 Preview gets lost and doesn't find the LaTeX source file
Date: Sun, 12 Jan 2020 21:23:28 +0100
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:

> That problem was already fixed in relatively new version of AUCTeX.
> Please try the latest version of 12.2 of AUCTeX from ELPA or release
> tarball.

in my .emacs I have

(setq package-archives
      '(("gnu" . "https://elpa.gnu.org/packages/")
        ("melpa-stable" . "https://stable.melpa.org/packages/")
        ("melpa" . "https://melpa.org/packages/")))

and in the package listing the latest auctex that I have listed is
12.2.0 — obviously I'm missing something...

In the hypotesis that I won't install the release tarball, what should I
do to install the latest auctex?





Information forwarded to bug-auctex <at> gnu.org:
bug#39097; Package auctex. (Mon, 13 Jan 2020 14:47:01 GMT) Full text and rfc822 format available.

Message #14 received at 39097 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: boffi <giacomo.boffi <at> polimi.it>
Cc: 39097 <at> debbugs.gnu.org
Subject: Re: bug#39097: 12.2.0;
 Preview gets lost and doesn't find the LaTeX source file
Date: Mon, 13 Jan 2020 23:46:10 +0900
Hi Giacomo,

>>>>> boffi <giacomo.boffi <at> polimi.it> writes:
> in my .emacs I have

> (setq package-archives
>       '(("gnu" . "https://elpa.gnu.org/packages/")
>         ("melpa-stable" . "https://stable.melpa.org/packages/")
>         ("melpa" . "https://melpa.org/packages/")))

> and in the package listing the latest auctex that I have listed is
> 12.2.0 ― obviously I'm missing something...

I suspect that you have two instances of AUCTeX installation.  In your
previous message, I read
----------------------------------------------------------------------
current state:
==============
[...]
 TeX-style-path '("~/.emacs.d/auctex" "/home/boffi/.emacs.d/elpa/auctex-12.1.2/style" "/home/boffi/.emacs.d/auctex/auto"
                  "/home/boffi/.emacs.d/auctex/style" "auto" "style")
----------------------------------------------------------------------
which looks like that you have AUCTeX 12.1, while the "Subject" header
begins with "...12.2.0" which suggests that you have 12.2.

> In the hypotesis that I won't install the release tarball, what should I
> do to install the latest auctex?

Look into ~/.emacs.d/elpa/ and see what directories are there.  If you
have both auctex-12.1.2 and auctex-12.2.0, delete the former.  And if
you have customized `TeX-style-path', erase (or modify) the
customization so that you can load from AUCTeX 12.2.  Then restart
emacs.

Regards,
Ikumi Keita




Information forwarded to bug-auctex <at> gnu.org:
bug#39097; Package auctex. (Mon, 13 Jan 2020 16:02:02 GMT) Full text and rfc822 format available.

Message #17 received at 39097 <at> debbugs.gnu.org (full text, mbox):

From: Giacomo Boffi <giacomo.boffi <at> polimi.it>
To: "39097 <at> debbugs.gnu.org" <39097 <at> debbugs.gnu.org>, Ikumi Keita
 <ikumi <at> ikumi.que.jp>
Subject: Re: bug#39097: 12.2.0; Preview gets lost and doesn't find the LaTeX
 source file
Date: Mon, 13 Jan 2020 16:01:22 +0000
[Message part 1 (text/plain, inline)]
Dear Keita,
it's even simpler...

I was using an instance of Emacs that started some time ago,
when 12.1.x was still the best on Earth, and I updated
all my packages w/o restarting Emacs (blushing emoticon).

Since I restarted Emacs (I rebooted with a new kernel, that is)
everything is fine again w/o fiddling with directories or
configuration.

Lesson learned, sorry for the noise on the mailing list, thank you.
.g.
________________________________
From: Ikumi Keita <ikumi <at> ikumi.que.jp>
Sent: Monday, January 13, 2020 15:46
To: Giacomo Boffi <giacomo.boffi <at> polimi.it>
Cc: 39097 <at> debbugs.gnu.org <39097 <at> debbugs.gnu.org>
Subject: Re: bug#39097: 12.2.0; Preview gets lost and doesn't find the LaTeX source file

Hi Giacomo,

>>>>> boffi <giacomo.boffi <at> polimi.it> writes:
> in my .emacs I have

> (setq package-archives
>       '(("gnu" . "https://elpa.gnu.org/packages/")
>         ("melpa-stable" . "https://stable.melpa.org/packages/")
>         ("melpa" . "https://melpa.org/packages/")))

> and in the package listing the latest auctex that I have listed is
> 12.2.0 ― obviously I'm missing something...

I suspect that you have two instances of AUCTeX installation.  In your
previous message, I read
----------------------------------------------------------------------
current state:
==============
[...]
 TeX-style-path '("~/.emacs.d/auctex" "/home/boffi/.emacs.d/elpa/auctex-12.1.2/style" "/home/boffi/.emacs.d/auctex/auto"
                  "/home/boffi/.emacs.d/auctex/style" "auto" "style")
----------------------------------------------------------------------
which looks like that you have AUCTeX 12.1, while the "Subject" header
begins with "...12.2.0" which suggests that you have 12.2.

> In the hypotesis that I won't install the release tarball, what should I
> do to install the latest auctex?

Look into ~/.emacs.d/elpa/ and see what directories are there.  If you
have both auctex-12.1.2 and auctex-12.2.0, delete the former.  And if
you have customized `TeX-style-path', erase (or modify) the
customization so that you can load from AUCTeX 12.2.  Then restart
emacs.

Regards,
Ikumi Keita
[Message part 2 (text/html, inline)]

Information forwarded to bug-auctex <at> gnu.org:
bug#39097; Package auctex. (Tue, 14 Jan 2020 07:44:02 GMT) Full text and rfc822 format available.

Message #20 received at 39097 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Giacomo Boffi <giacomo.boffi <at> polimi.it>
Cc: "39097 <at> debbugs.gnu.org" <39097 <at> debbugs.gnu.org>
Subject: Re: bug#39097: 12.2.0;
 Preview gets lost and doesn't find the LaTeX source file
Date: Tue, 14 Jan 2020 16:43:21 +0900
Hi Giacomo,

>>>>> Giacomo Boffi <giacomo.boffi <at> polimi.it> writes:
> Dear Keita,
> it's even simpler...

> I was using an instance of Emacs that started some time ago,
> when 12.1.x was still the best on Earth, and I updated
> all my packages w/o restarting Emacs (blushing emoticon).

> Since I restarted Emacs (I rebooted with a new kernel, that is)
> everything is fine again w/o fiddling with directories or
> configuration.

> Lesson learned, sorry for the noise on the mailing list, thank you.
> .g.

OK, I'll close this bug.

Bye,
Ikumi Keita




Added tag(s) notabug. Request was from Ikumi Keita <ikumi <at> ikumi.que.jp> to control <at> debbugs.gnu.org. (Tue, 14 Jan 2020 07:44:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 39097 <at> debbugs.gnu.org and Giacomo Boffi <giacomo.boffi <at> polimi.it> Request was from Ikumi Keita <ikumi <at> ikumi.que.jp> to control <at> debbugs.gnu.org. (Tue, 14 Jan 2020 07:44:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 11 Feb 2020 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.