فهرست منبع

ox-latex: Fix 7a956c3880bc0970b2f41ee06762a9ce98918086

* lisp/ox-latex.el (latex): Change property name.  It fixes
  7a956c3880bc0970b2f41ee06762a9ce98918086.
(org-latex-template): Use new property.

* doc/org.texi (Publishing options): Update documentation.  Also fix
  typo.
Nicolas Goaziou 11 سال پیش
والد
کامیت
ba2a5ba9f6
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 2 2
      doc/org.texi
  2. 2 2
      lisp/ox-latex.el

+ 2 - 2
doc/org.texi

@@ -13554,7 +13554,7 @@ however, override everything.
 @multitable @columnfractions 0.32 0.68
 @item @code{:latex-active-timestamp-format}    @tab @code{org-latex-active-timestamp-format}
 @item @code{:latex-classes}                    @tab @code{org-latex-classes}
-@item @code{:latex-class}                      @tab @code{org-latex-default-class t}
+@item @code{:latex-class}                      @tab @code{org-latex-default-class}
 @item @code{:latex-default-figure-position}    @tab @code{org-latex-default-figure-position}
 @item @code{:latex-default-table-environment}  @tab @code{org-latex-default-table-environment}
 @item @code{:latex-default-table-mode}         @tab @code{org-latex-default-table-mode}
@@ -13563,7 +13563,7 @@ however, override everything.
 @item @code{:latex-format-drawer-function}     @tab @code{org-latex-format-drawer-function}
 @item @code{:latex-format-headline-function}   @tab @code{org-latex-format-headline-function}
 @item @code{:latex-format-inlinetask-function} @tab @code{org-latex-format-inlinetask-function}
-@item @code{:latex-hyperref-p}                 @tab @code{org-latex-with-hyperref t}
+@item @code{:latex-hyperref-template}          @tab @code{org-latex-hyperref-template}
 @item @code{:latex-image-default-height}       @tab @code{org-latex-image-default-height}
 @item @code{:latex-image-default-option}       @tab @code{org-latex-image-default-option}
 @item @code{:latex-image-default-width}        @tab @code{org-latex-image-default-width}

+ 2 - 2
lisp/ox-latex.el

@@ -108,7 +108,6 @@
     (:latex-class-options "LATEX_CLASS_OPTIONS" nil nil t)
     (:latex-header "LATEX_HEADER" nil nil newline)
     (:latex-header-extra "LATEX_HEADER_EXTRA" nil nil newline)
-    (:latex-hyperref-p nil "texht" org-latex-with-hyperref t)
     ;; Other variables.
     (:latex-active-timestamp-format nil nil org-latex-active-timestamp-format)
     (:latex-classes nil nil org-latex-classes)
@@ -120,6 +119,7 @@
     (:latex-format-drawer-function nil nil org-latex-format-drawer-function)
     (:latex-format-headline-function nil nil org-latex-format-headline-function)
     (:latex-format-inlinetask-function nil nil org-latex-format-inlinetask-function)
+    (:latex-hyperref-template nil nil org-latex-hyperref-template t)
     (:latex-image-default-height nil nil org-latex-image-default-height)
     (:latex-image-default-option nil nil org-latex-image-default-option)
     (:latex-image-default-width nil nil org-latex-image-default-width)
@@ -1248,7 +1248,7 @@ holding export options."
      ;; Title
      (format "\\title{%s}\n" title)
      ;; Hyperref options.
-     (format-spec (plist-get info :latex-hyperref)
+     (format-spec (plist-get info :latex-hyperref-template)
                   (format-spec-make
                    ?k (or (plist-get info :keywords) "")
                    ?d (or (plist-get info :description)"")