Explorar o código

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

Carsten Dominik %!s(int64=15) %!d(string=hai) anos
pai
achega
999d09058b
Modificáronse 2 ficheiros con 19 adicións e 14 borrados
  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>
 2010-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
 
 
 	* org-entities.el (org-entity-get-representation): Catch the case
 	* 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
 ;; when formatting latex fragments.  Originally it was part of the
 ;; LaTeX exporter, which is why the name includes "export".
 ;; LaTeX exporter, which is why the name includes "export".
 (defcustom org-export-latex-default-packages-alist
 (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.
   "Alist of default packages to be inserted in the header. DON'T CHANGE THIS.
 Unless abslutely necessary that is.
 Unless abslutely necessary that is.
 All the packages in this list are needed by one part or another of Org-mode
 All the packages in this list are needed by one part or another of Org-mode