GNU bug report logs -
#30158
11.90.2.2017-07-25; latex from command line is ok, but called from auctex, gives problems
Previous Next
Reported by: Uwe Brauer <oub <at> mat.ucm.es>
Date: Thu, 18 Jan 2018 15:29:01 UTC
Severity: normal
Found in version 11.90.2.2017
Done: Arash Esbati <arash <at> gnu.org>
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 30158 in the body.
You can then email your comments to 30158 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#30158
; Package
auctex
.
(Thu, 18 Jan 2018 15:29:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Uwe Brauer <oub <at> mat.ucm.es>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Thu, 18 Jan 2018 15:29:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
That is very bizarre.
I just installed Ubuntu 16.06 and recompiled GNU emacs, git
version, I also run the git version from auctex.
The file in questions looks like
\input{annu-header-beamer-dynamik.tex}
\begin{document} \begin{frame} Blabla \end{frame}
Now the input file sits in
/home/oub/ALLES/HGs/tex/sty
And I have set a TeX input path
The command env gives
TEXINPUTS=.:/home/oub/tex/:/home/oub/ALLES/HGs/tex/bib:/home/oub/ALLES/HGs/tex/sty:
Which is fine.
So running
pdflatex file.tex
Gives
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live
2015/Debian) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode (./prog_elementos-17-18.tex LaTeX2e
<2016/02/01> Babel <3.9q> and hyphenation patterns for 81
language(s) loaded.
(/home/oub/ALLES/HGs/tex/sty/annu-header-beamer-dynamik.tex
(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamer.cls
(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasercs.sty)
Document Class: beamer 2015/01/05 3.36 A class for typesetting
presentations (r cs-revision 8a39122e1f63)
Etc etc
However running latex (pdflatex mode activated) in auctex gives
now.
Running `LaTeX' on `prog_elementos-17-18' with ``pdflatex
-file-line-error --synctex=1 -interaction=nonstopmode "\input"
prog_elementos-17-18.tex'' This is pdfTeX, Version
3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded
format=pdflatex)
restricted \write18 enabled.
entering extended mode LaTeX2e <2016/02/01> Babel <3.9q> and
hyphenation patterns for 81 language(s) loaded.
(./prog_elementos-17-18.tex ! LaTeX Error: File
`annu-header-beamer-dynamik.tex' not found. Type X to quit or
<RETURN> to proceed, or enter new name. (Default extension: tex)
Enter file name: ./prog_elementos-17-18.tex:7: Emergency stop.
<read *>
l.7 \input{annu-header-beamer-dynamik.tex}
^^M
./prog_elementos-17-18.tex:7: ==> Fatal error occurred, no output
PDF file produced! Transcript written on
prog_elementos-17-18.log. TeX Output exited abnormally with code
1 at Thu Jan 18 16:26:07
I don't understand that at all
When I run from the command line
pdflatex -file-line-error --synctex=1 -interaction=nonstopmode
"\input" prog_elementos-17-18.tex
Everything is ok. What is up here?
Uwe Brauer
Emacs : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
of 2017-10-18
Package: 11.90.2.2017-07-25
current state:
==============
(setq
AUCTeX-date "2017-07-25"
window-system 'x
LaTeX-version "2e"
TeX-style-path '("/home/oub/emacs/site-lisp/packages/auctex-git/auctex/style/" "/home/oub/ALLES/HGs/tex/sty/auto" "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 texinfo-mode ams-tex-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")
("Index" "makeindex %s" TeX-run-index nil t :help "Run makeindex to create index file")
("makegloss" "makeindex %s.nlo -s nomencl.ist -o %s.nls" TeX-run-command t t)
("pandoclatex2odt" "/home/oub/.cabal/bin/pandoc -s -R -f latex --toc %s.tex --reference-odt=/home/oub/ALLES/Templates/preferences.odt -t odt -o %O"
TeX-run-command t t)
("pandoclatex2docx" "/home/oub/.cabal/bin/pandoc -s -R -f latex %s.tex --reference-docx=/home/oub/ALLES/Templates/preferences.docx -t docx -o %D"
TeX-run-command t t)
("" "" TeX-run-command nil t) ("oolatex" "/usr/share/tex4ht/oolatex %t" TeX-run-command t t)
("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#30158
; Package
auctex
.
(Fri, 19 Jan 2018 21:15:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 30158 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> I just installed Ubuntu 16.06 and recompiled GNU emacs, git version, I
> also run the git version from auctex.
>
>
> The file in questions looks like
> \input{annu-header-beamer-dynamik.tex} \begin{document} \begin{frame}
> Blabla \end{frame}
>
> Now the input file sits in
>
> /home/oub/ALLES/HGs/tex/sty
>
> And I have set a TeX input path
>
> The command env gives
> TEXINPUTS=.:/home/oub/tex/:/home/oub/ALLES/HGs/tex/bib:/home/oub/ALLES/HGs/tex/sty:
>
> Which is fine.
Hi Uwe,
in your .tex file, what do see if you insert and eval this:
(insert "\n"
(format "%s" (getenv "TEXINPUTS")))
Best, Arash
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#30158
; Package
auctex
.
(Fri, 19 Jan 2018 21:18:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 30158 <at> debbugs.gnu.org (full text, mbox):
> Uwe Brauer <oub <at> mat.ucm.es> writes:
> Hi Uwe,
> in your .tex file, what do see if you insert and eval this:
> (insert "\n"
> (format "%s" (getenv "TEXINPUTS")))
Hi Arash,
Thanks for your answer. I am not sure whether I will test this before
Monday, since I have left that laptop in the university. I might however
to a similar installation here at home. I'll keep you informed.
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#30158
; Package
auctex
.
(Fri, 19 Jan 2018 23:21:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 30158 <at> debbugs.gnu.org (full text, mbox):
> Uwe Brauer <oub <at> mat.ucm.es> writes:
> Hi Uwe,
> in your .tex file, what do see if you insert and eval this:
So finally I installed Ubuntu 16.06 also in the other laptop and
found the same (for me very serious) problem.
> (insert "\n"
> (format "%s" (getenv "TEXINPUTS")))
.:/home/oub/.emacs.d/elpa/auctex-11.91.0/latex: What the heck,
is this? I will try it also on my very old machine with Ununtu
14.04, but that tomorrow. Good night.
Uwe
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#30158
; Package
auctex
.
(Sat, 20 Jan 2018 10:13:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 30158 <at> debbugs.gnu.org (full text, mbox):
> Uwe Brauer <oub <at> mat.ucm.es> writes:
> Hi Uwe,
> in your .tex file, what do see if you insert and eval this:
> (insert "\n"
> (format "%s" (getenv "TEXINPUTS")))
So I just checked my Ubuntu 14.04 machine, there I obtain
.:/home/oub/.emacs.d/elpa/auctex-11.91.0/latex:.:/home/oub/tex/:/home/oub/ALLES/HGs/tex/bib:/home/oub/ALLES/HGs/tex/sty:/home/oub/ALLES/HGs/tex/sty/local-bidi/bidibeamer:/home/oub/ALLES/HGs/tex/letter/laletter:/home/oub/ALLES/HGs/tex/sty/fig:/home/oub/ALLES/HGs/tex/letter/paletter:
As I should. So I am frankly puzzled. Any idea?
Uwe
> Best, Arash
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#30158
; Package
auctex
.
(Sat, 20 Jan 2018 10:39:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 30158 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> > Uwe Brauer <oub <at> mat.ucm.es> writes:
>
> > Hi Uwe,
>
> > in your .tex file, what do see if you insert and eval this:
>
> > (insert "\n" > (format "%s" (getenv
> "TEXINPUTS")))
>
> So I just checked my Ubuntu 14.04 machine, there I obtain
> .:/home/oub/.emacs.d/elpa/auctex-11.91.0/latex:.:/home/oub/tex/:/home/oub/ALLES/HGs/tex/bib:/home/oub/ALLES/HGs/tex/sty:/home/oub/ALLES/HGs/tex/sty/local-bidi/bidibeamer:/home/oub/ALLES/HGs/tex/letter/laletter:/home/oub/ALLES/HGs/tex/sty/fig:/home/oub/ALLES/HGs/tex/letter/paletter:
> As I should. So I am frankly puzzled. Any idea?
Where/how do you set TEXINPUTS?
--
David Kastrup
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#30158
; Package
auctex
.
(Sat, 20 Jan 2018 13:21:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 30158 <at> debbugs.gnu.org (full text, mbox):
> Uwe Brauer <oub <at> mat.ucm.es> writes:
> Where/how do you set TEXINPUTS?
I am using the tcsh shell, so in the
.login via setenv
setenv TEXINPUTS ".:${HOME}/tex/:${HOME}/ALLES/HGs/tex/bib:${HOME}/ALLES/HGs/tex/sty:${HOME}/ALLES/HGs/tex/sty/local-bidi/bidibeamer:${HOME}/ALLES/HGs/tex/letter/laletter:${HOME}/ALLES/HGs/tex/sty/fig:${HOME}/ALLES/HGs/tex/letter/paletter:"
And on the command line
Env returns the correct
TEXINPUTS=.:/home/oub/tex/:/home/oub/ALLES/HGs/tex/bib:/home/oub/ALLES/HGs/tex/sty:/home/oub/ALLES/HGs/tex/sty/local-bidi/bidibeamer:/home/oub/ALLES/HGs/tex/letter/laletter:/home/oub/ALLES/HGs/tex/sty/fig:/home/oub/ALLES/HGs/tex/letter/paletter:
And running latex from the command line works.
So I now started emacs from the command line and then everything is
fine. Only when I use an icon to start with. Strange.
This did not occur in Ubuntu 14.04 (and 16 is slower and thanks to
systemd it looks now really messy, ok off topic I admit).
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#30158
; Package
auctex
.
(Sat, 20 Jan 2018 13:31:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 30158 <at> debbugs.gnu.org (full text, mbox):
Hi Uwe,
2018-01-20 14:19 GMT+01:00 Uwe Brauer <oub <at> mat.ucm.es>:
> So I now started emacs from the command line and then everything is
> fine. Only when I use an icon to start with. Strange.
This isn't much strange if you use Ubuntu. If I remember correctly,
programs started from the desktop environment don't know about users
init files.
I never tried myself because I didn't need to, but you may want to
have a look at https://github.com/purcell/exec-path-from-shell in
order to set your environment variables from the shell.
Bye,
Mosè
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#30158
; Package
auctex
.
(Sat, 20 Jan 2018 13:45:02 GMT)
Full text and
rfc822 format available.
Message #29 received at submit <at> debbugs.gnu.org (full text, mbox):
>>> "Mosè" == Mosè Giordano <mose <at> gnu.org> writes:
> Hi Uwe, 2018-01-20 14:19 GMT+01:00 Uwe Brauer
> <oub <at> mat.ucm.es>:
>> So I now started emacs from the command line and then
>> everything is fine. Only when I use an icon to start with.
>> Strange.
> This isn't much strange if you use Ubuntu. If I remember
> correctly, programs started from the desktop environment
> don't know about users init files.
Well in the case of Ubuntu 14.04 it worked. I have to re check the
machine, but I cannot remember any special setting I did there and
not in Ubuntu 16.
> I never tried myself because I didn't need to, but you may
> want to have a look at
> https://github.com/purcell/exec-path-from-shell in order to
> set your environment variables from the shell.
I tried to set
'(exec-path-from-shell-variables (quote ("PATH" "MANPATH"
"TEXINPUTS")))
Via custom but that did not help. Odd situation.
Uwe
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#30158
; Package
auctex
.
(Sat, 20 Jan 2018 13:52:02 GMT)
Full text and
rfc822 format available.
Message #32 received at submit <at> debbugs.gnu.org (full text, mbox):
>>> "Mosè" == Mosè Giordano <mose <at> gnu.org> writes:
> Hi Uwe,
> 2018-01-20 14:19 GMT+01:00 Uwe Brauer <oub <at> mat.ucm.es>:
>> So I now started emacs from the command line and then everything is
>> fine. Only when I use an icon to start with. Strange.
> This isn't much strange if you use Ubuntu. If I remember correctly,
> programs started from the desktop environment don't know about users
> init files.
> I never tried myself because I didn't need to, but you may want to
> have a look at https://github.com/purcell/exec-path-from-shell in
> order to set your environment variables from the shell.
I just found out that adding
(exec-path-from-shell-copy-env "TEXINPUTS")
To my init file 'solved' the issue.
Not sure what the conclusion should be. It seems not to be an auctex
bug. Maybe the documentation should say something about it. On the other
hand I have been the first so far to complain....
Reply sent
to
Arash Esbati <arash <at> gnu.org>
:
You have taken responsibility.
(Wed, 24 Jan 2018 21:03:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Uwe Brauer <oub <at> mat.ucm.es>
:
bug acknowledged by developer.
(Wed, 24 Jan 2018 21:03:02 GMT)
Full text and
rfc822 format available.
Message #37 received at 30158-close <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
>>>> "Mosè" == Mosè Giordano <mose <at> gnu.org> writes:
>
> > Hi Uwe,
> > 2018-01-20 14:19 GMT+01:00 Uwe Brauer <oub <at> mat.ucm.es>:
> >> So I now started emacs from the command line and then everything is
> >> fine. Only when I use an icon to start with. Strange.
>
> > This isn't much strange if you use Ubuntu. If I remember correctly,
> > programs started from the desktop environment don't know about users
> > init files.
>
> Not sure what the conclusion should be. It seems not to be an auctex
> bug. Maybe the documentation should say something about it. On the other
> hand I have been the first so far to complain....
Hi Uwe,
I've seen this question also some times from people on MacOS -- it's not
an AUCTeX bug. It is more the issue Mosè has described. I can't tell
how you can fix it, but I'm closing this report since it doesn't apply
to AUCTeX.
Best, Arash
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#30158
; Package
auctex
.
(Wed, 24 Jan 2018 21:25:02 GMT)
Full text and
rfc822 format available.
Message #40 received at 30158-close <at> debbugs.gnu.org (full text, mbox):
> Uwe Brauer <oub <at> mat.ucm.es> writes:
> Hi Uwe,
> I've seen this question also some times from people on MacOS --
> it's not an AUCTeX bug. It is more the issue Mosè has described. I
> can't tell how you can fix it, but I'm closing this report since
> it doesn't apply to AUCTeX.
Oh, Mose gave me an important advice, namely to install the
exec-path-from-shell package and then put
(exec-path-from-shell-copy-env "TEXINPUTS")
In the init file. Didn't I wrote about it in the list? Maybe it should
be added somewhere in the documentation, to provide similar reports.
Uwe
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 22 Feb 2018 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 36 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.