Browse Source

Fix structure of `org-export-latex-default-packages-alist'

Carsten Dominik 15 năm trước cách đây
mục cha
commit
999d09058b
2 tập tin đã thay đổi với 19 bổ sung14 xóa
  1. 5 0
      lisp/ChangeLog
  2. 14 14
      lisp/org.el

+ 5 - 0
lisp/ChangeLog

@@ -1,3 +1,8 @@
+2010-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
+
+	* org.el (org-export-latex-default-packages-alist): Use list
+	instead of cons for the entries.
+
 2010-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
 
 	* org-entities.el (org-entity-get-representation): Catch the case

+ 14 - 14
lisp/org.el

@@ -2936,20 +2936,20 @@ appears on the page."
 ;; when formatting latex fragments.  Originally it was part of the
 ;; LaTeX exporter, which is why the name includes "export".
 (defcustom org-export-latex-default-packages-alist
-  '(("AUTO" . "inputenc")
-    ("T1"   . "fontenc")
-    (""     . "graphicx")
-    (""     . "longtable")
-    (""     . "float")
-    (""     . "wrapfig")
-    (""     . "soul")
-    (""     . "t1enc")
-    (""     . "textcomp")
-    (""     . "marvosym")
-    (""     . "wasysym")
-    (""     . "latexsym")
-    (""     . "amssymb")
-    (""     . "hyperref"))
+  '(("AUTO" "inputenc")
+    ("T1"   "fontenc")
+    (""     "graphicx")
+    (""     "longtable")
+    (""     "float")
+    (""     "wrapfig")
+    (""     "soul")
+    (""     "t1enc")
+    (""     "textcomp")
+    (""     "marvosym")
+    (""     "wasysym")
+    (""     "latexsym")
+    (""     "amssymb")
+    (""     "hyperref"))
   "Alist of default packages to be inserted in the header. DON'T CHANGE THIS.
 Unless abslutely necessary that is.
 All the packages in this list are needed by one part or another of Org-mode