[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex c92251c 36/80: Load hyperref.el in `LaTeX-beamer

From: Tassilo Horn
Subject: [elpa] externals/auctex c92251c 36/80: Load hyperref.el in `LaTeX-beamer-class-options'
Date: Wed, 16 Oct 2019 11:07:13 -0400 (EDT)

branch: externals/auctex
commit c92251cb8dca5a35c818b0ce903277dd36e893ec
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    Load hyperref.el in `LaTeX-beamer-class-options'
    * style/beamer.el (LaTeX-beamer-class-options): Load "hyperref.el"
    in order to have `LaTeX-hyperref-package-options-list' defined
    when the document class is requested and the style hook hasn't run
    yet.  (bug#35649)
 style/beamer.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/style/beamer.el b/style/beamer.el
index fb69fc4..5de0d32 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")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]