GNU bug report logs - #35649
12.1.2; Creating a beamer document fails

Previous Next

Package: auctex;

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.

Full log


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

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Jonas Neundorf <jonas.neundorf <at> desy.de>,
    Arash Esbati <arash <at> gnu.org>
Cc: 35649 <at> debbugs.gnu.org
Subject: Re: bug#35649: 12.1.2; Creating a beamer document fails
Date: Fri, 10 May 2019 00:45:17 +0900
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




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.