Преглед изворни кода

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