浏览代码

Clean up list of default LaTeX packages

* doc/org.texi (@LaTeX{} specific attributes): Document that tabu
and tabularx packages are not in the default set of packages.
* lisp/org.el (org-latex-default-packages-alist): Add the `rotating'
package to the list of default packages.  Improve docstring.
Carsten Dominik 11 年之前
父节点
当前提交
508ac0f57a
共有 2 个文件被更改,包括 12 次插入6 次删除
  1. 5 2
      doc/org.texi
  2. 7 4
      lisp/org.el

+ 5 - 2
doc/org.texi

@@ -11616,8 +11616,11 @@ environment.  Default mode is determined in
 @item :environment
 @vindex org-latex-default-table-environment
 Environment used for the table.  It can be set to any @LaTeX{} table
-environment, like @code{tabularx}, @code{longtable}, @code{array},
-@code{tabu}, @code{bmatrix}@enddots{}  It defaults to
+environment, like @code{tabularx}@footnote{Requires adding the
+@code{tabularx} package to @code{org-latex-packages-alist}.},
+@code{longtable}, @code{array}, @code{tabu}@footnote{Requires adding the
+@code{tabu} package to @code{org-latex-packages-alist}.},
+@code{bmatrix}@enddots{} It defaults to
 @code{org-latex-default-table-environment} value.
 @item :caption
 @code{#+CAPTION} keyword is the simplest way to set a caption for a table

+ 7 - 4
lisp/org.el

@@ -3834,6 +3834,7 @@ header, or they will be appended."
     (""     "longtable" nil)
     (""     "float"     nil)
     (""     "wrapfig"   nil)
+    (""     "rotating"  nil)
     ("normalem" "ulem"  t)
     (""     "amsmath"   t)
     (""     "textcomp"  t)
@@ -3851,14 +3852,16 @@ The packages in this list are needed by one part or another of
 Org mode to function properly:
 
 - inputenc, fontenc:  for basic font and character selection
+- fixltx2e: Important patches of LaTeX itself
+- graphicx: for including images
+- longtable: For multipage tables
+- float, wrapfig: for figure placement
+- rotating: for sideways figures and tables
+- ulem: for underline and strike-through
 - amsmath: for subscript and superscript and math environments
 - textcomp, marvosymb, wasysym, amssymb: for various symbols used
   for interpreting the entities in `org-entities'.  You can skip
   some of these packages if you don't use any of their symbols.
-- ulem: for underline and strike-through
-- graphicx: for including images
-- float, wrapfig: for figure placement
-- longtable: for long tables
 - hyperref: for cross references
 
 Therefore you should not modify this variable unless you know