GNU bug report logs -
#35649
12.1.2; Creating a beamer document fails
Previous Next
Reported by: Jonas Neundorf <jonas.neundorf <at> desy.de>
Date: Thu, 9 May 2019 14:34:01 UTC
Severity: normal
Found in version 12.1.2
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 35649 in the body.
You can then email your comments to 35649 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#35649
; Package
auctex
.
(Thu, 09 May 2019 14:34:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jonas Neundorf <jonas.neundorf <at> desy.de>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Thu, 09 May 2019 14:34:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Dear all,
I try to create a beamer document by opening a .tex file and
inserting the document environment with C-c C-e in auctex 12.1.2. It fails with the message:
Symbol's value as variable is void: LaTeX-hyperref-package-options-list
The symbol is requested in line 374 of beamer.el and defined in line 38 of
hyperref.el. It still worked a few weeks ago, so I suppose a recent
update is the cause. As I have no other packages than auctex and the
built-ins of my Emacs (version 25.2.2) installed, this should not come
from a package conflict. I have tried reinstalling auctex to no effect. A backtrace is appended below.
Best regards,
Jonas Neundorf
Debugger entered--Lisp error: (void-variable LaTeX-hyperref-package-options-list)
eval(LaTeX-hyperref-package-options-list)
#[(x) "A@\203A <at> 9\203\301A@!\204@\302A@!CB\207\207" [x functionp eval] 3](("hyperref" LaTeX-hyperref-package-options-list))
mapcar(#[(x) "A@\203A <at> 9\203\301A@!\204@\302A@!CB\207\207" [x functionp eval] 3] (("usepdftitle" ("false")) ("envcountsect") ("notheorems") ("noamsthm") ("compress") ("t") ("c") ("leqno") ("fleqn") ("handout") ("trans") ("pdftex") ("nativepdf") ("pdfmark") ("dvips") ("dviwindo") ("dvipsone") ("vtex") ("ps2pdf") ("ignorenonframetext") ("noamssymb") ("bigger") ("smaller") ("8pt") ("9pt") ("10pt") ("11pt") ("12pt") ("14pt") ("17pt") ("20pt") ("draft") ("CJK") ("cjk") ("pgf") ("hyperref" LaTeX-hyperref-package-options-list) ("color") ("xcolor") ("ucs") ("utf8x") ("utf8") ("aspectratio" ("1610" "169" "149" "54" "43" "32"))))
multi-prompt-expand-completion-table((("usepdftitle" ("false")) ("envcountsect") ("notheorems") ("noamsthm") ("compress") ("t") ("c") ("leqno") ("fleqn") ("handout") ("trans") ("pdftex") ("nativepdf") ("pdfmark") ("dvips") ("dviwindo") ("dvipsone") ("vtex") ("ps2pdf") ("ignorenonframetext") ("noamssymb") ("bigger") ("smaller") ("8pt") ("9pt") ("10pt") ("11pt") ("12pt") ("14pt") ("17pt") ("20pt") ("draft") ("CJK") ("cjk") ("pgf") ("hyperref" LaTeX-hyperref-package-options-list) ("color") ("xcolor") ("ucs") ("utf8x") ("utf8") ("aspectratio" ("1610" "169" "149" "54" "43" "32"))))
multi-prompt-key-value("(Optional) Options (k=v): " (("usepdftitle" ("false")) ("envcountsect") ("notheorems") ("noamsthm") ("compress") ("t") ("c") ("leqno") ("fleqn") ("handout") ("trans") ("pdftex") ("nativepdf") ("pdfmark") ("dvips") ("dviwindo") ("dvipsone") ("vtex") ("ps2pdf") ("ignorenonframetext") ("noamssymb") ("bigger") ("smaller") ("8pt") ("9pt") ("10pt") ("11pt") ("12pt") ("14pt") ("17pt") ("20pt") ("draft") ("CJK") ("cjk") ("pgf") ("hyperref" LaTeX-hyperref-package-options-list) ("color") ("xcolor") ("ucs") ("utf8x") ("utf8") ("aspectratio" ("1610" "169" "149" "54" "43" "32"))))
TeX-read-key-val(t (("usepdftitle" ("false")) ("envcountsect") ("notheorems") ("noamsthm") ("compress") ("t") ("c") ("leqno") ("fleqn") ("handout") ("trans") ("pdftex") ("nativepdf") ("pdfmark") ("dvips") ("dviwindo") ("dvipsone") ("vtex") ("ps2pdf") ("ignorenonframetext") ("noamssymb") ("bigger") ("smaller") ("8pt") ("9pt") ("10pt") ("11pt") ("12pt") ("14pt") ("17pt") ("20pt") ("draft") ("CJK") ("cjk") ("pgf") ("hyperref" LaTeX-hyperref-package-options-list) ("color") ("xcolor") ("ucs") ("utf8x") ("utf8") ("aspectratio" ("1610" "169" "149" "54" "43" "32"))))
LaTeX-beamer-class-options()
TeX-arg-document(nil)
TeX-parse-argument(nil TeX-arg-document)
TeX-parse-arguments((TeX-arg-document))
TeX-parse-macro("documentclass" (TeX-arg-document))
TeX-insert-macro("documentclass")
LaTeX-env-document("document")
apply(LaTeX-env-document "document" nil)
LaTeX-environment-menu("document")
LaTeX-environment(nil)
funcall-interactively(LaTeX-environment nil)
call-interactively(LaTeX-environment nil nil)
command-execute(LaTeX-environment)
Emacs : GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21)
of 2017-09-22, modified by Debian
Package: 12.1.2
current state:
==============
(setq
AUCTeX-date "2019-02-08"
window-system 'x
LaTeX-version "2e"
TeX-style-path '("~/.emacs.d/auctex" "/home/neundorf/.emacs.d/elpa/auctex-12.1.2/style"
"/home/neundorf/.emacs.d/auctex/auto" "/home/neundorf/.emacs.d/auctex/style"
"auto" "style")
TeX-auto-save nil
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#35649
; Package
auctex
.
(Thu, 09 May 2019 15:46:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 35649 <at> debbugs.gnu.org (full text, mbox):
Hi Jonas and Arash,
>>>>> Jonas Neundorf <jonas.neundorf <at> desy.de> writes:
> I try to create a beamer document by opening a .tex file and
> inserting the document environment with C-c C-e in auctex 12.1.2. It fails with the message:
> Symbol's value as variable is void: LaTeX-hyperref-package-options-list
Thanks for the report. Arash, it turned out that our expectation[1] was
not correct. The style file beamer.el requires to be processed with
`TeX-run-style-hooks' in order to obtain its class options for use with
completion. Just loading it with `TeX-load-style' is not enough because
hyperref.el, which defines the variable
`LaTeX-hyperref-package-options-list', is loaded only through
`(TeX-run-style-hooks ... "hyperref" ...) in the style hook created with
`(TeX-add-style-hook "beamer" ...)'.
What way should we take? To partially revert the change discussed in
[1]? Or to fix the style file each time similar problem occurs? Or
somethig else?
Regards,
Ikumi Keita
[1]
https://lists.gnu.org/archive/html/auctex/2018-11/msg00028.html
https://lists.gnu.org/archive/html/auctex/2018-11/msg00029.html
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#35649
; Package
auctex
.
(Thu, 09 May 2019 19:47:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 35649 <at> debbugs.gnu.org (full text, mbox):
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
>>>>>> Jonas Neundorf <jonas.neundorf <at> desy.de> writes:
>> I try to create a beamer document by opening a .tex file and
>> inserting the document environment with C-c C-e in auctex 12.1.2. It fails with the message:
>
>> Symbol's value as variable is void: LaTeX-hyperref-package-options-list
>
> Thanks for the report. Arash, it turned out that our expectation[1] was
> not correct. The style file beamer.el requires to be processed with
> `TeX-run-style-hooks' in order to obtain its class options for use with
> completion. Just loading it with `TeX-load-style' is not enough because
> hyperref.el, which defines the variable
> `LaTeX-hyperref-package-options-list', is loaded only through
> `(TeX-run-style-hooks ... "hyperref" ...) in the style hook created with
> `(TeX-add-style-hook "beamer" ...)'.
>
> What way should we take? To partially revert the change discussed in
> [1]? Or to fix the style file each time similar problem occurs? Or
> somethig else?
Hi Keita,
I haven't looked at it in depth, but what do you think about this
solution?
--8<---------------cut here---------------start------------->8---
diff --git a/style/beamer.el b/style/beamer.el
index fb69fc41..5de0d323 100644
--- a/style/beamer.el
+++ b/style/beamer.el
@@ -363,6 +363,7 @@ also be a string. Then the length of the string is used."
(defun LaTeX-beamer-class-options ()
"Read the beamer class options from the user."
+ (TeX-load-style "hyperref")
(TeX-read-key-val t '(("usepdftitle" ("false")) ("envcountsect")
("notheorems") ("noamsthm") ("compress") ("t") ("c")
("leqno") ("fleqn") ("handout") ("trans") ("pdftex")
--8<---------------cut here---------------end--------------->8---
Best, Arash
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#35649
; Package
auctex
.
(Fri, 10 May 2019 05:55:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 35649 <at> debbugs.gnu.org (full text, mbox):
Hi Arash,
>>>>> Arash Esbati <arash <at> gnu.org> writes:
>> What way should we take? To partially revert the change discussed in
>> [1]? Or to fix the style file each time similar problem occurs? Or
>> somethig else?
> Hi Keita,
> I haven't looked at it in depth, but what do you think about this
> solution?
Thanks, it works well. This is categorazed in the second type of the
approaches mentioned above. Does anyone have different opinion that we
should take the first conservative type approach? If not, I agree with
this solution.
> diff --git a/style/beamer.el b/style/beamer.el
> index fb69fc41..5de0d323 100644
> --- a/style/beamer.el
> +++ b/style/beamer.el
> @@ -363,6 +363,7 @@ also be a string. Then the length of the string is used."
> (defun LaTeX-beamer-class-options ()
> "Read the beamer class options from the user."
> + (TeX-load-style "hyperref")
> (TeX-read-key-val t '(("usepdftitle" ("false")) ("envcountsect")
> ("notheorems") ("noamsthm") ("compress") ("t") ("c")
> ("leqno") ("fleqn") ("handout") ("trans") ("pdftex")
Regards,
Ikumi Keita
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#35649
; Package
auctex
.
(Thu, 16 May 2019 06:22:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 35649 <at> debbugs.gnu.org (full text, mbox):
>>>>> Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
> Hi Arash,
>>>>> Arash Esbati <arash <at> gnu.org> writes:
>>> What way should we take? To partially revert the change discussed in
>>> [1]? Or to fix the style file each time similar problem occurs? Or
>>> somethig else?
>> Hi Keita,
>> I haven't looked at it in depth, but what do you think about this
>> solution?
> Thanks, it works well. This is categorazed in the second type of the
> approaches mentioned above. Does anyone have different opinion that we
> should take the first conservative type approach? If not, I agree with
> this solution.
Since nobody opposed Arash's idea for this week, I think it's accepted.
Arash, do you commit it for yourself? Or should I do that?
Best,
Ikumi Keita
Reply sent
to
Arash Esbati <arash <at> gnu.org>
:
You have taken responsibility.
(Fri, 17 May 2019 11:53:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jonas Neundorf <jonas.neundorf <at> desy.de>
:
bug acknowledged by developer.
(Fri, 17 May 2019 11:53:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 35649-done <at> debbugs.gnu.org (full text, mbox):
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
> Since nobody opposed Arash's idea for this week, I think it's accepted.
> Arash, do you commit it for yourself? Or should I do that?
Change pushed. Best, Arash
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#35649
; Package
auctex
.
(Fri, 17 May 2019 12:55:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 35649-done <at> debbugs.gnu.org (full text, mbox):
>>>>> Arash Esbati <arash <at> gnu.org> writes:
> Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
>> Since nobody opposed Arash's idea for this week, I think it's accepted.
>> Arash, do you commit it for yourself? Or should I do that?
> Change pushed. Best, Arash
Thanks!
Bye,
Ikumi Keita
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 15 Jun 2019 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 84 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.