瀏覽代碼

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

Carsten Dominik 15 年之前
父節點
當前提交
999d09058b
共有 2 個文件被更改,包括 19 次插入14 次删除
  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