summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2013-09-17 07:02:14 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2013-09-17 07:02:14 +0200
commit508ac0f57a418e0343da00710882ab1cf77030cc (patch)
treeaa56848ae16bfe9d83b96bca4c80cfccebd95334
parent68b0dba851bf38ca949ce894dfb2ab26ce2cf798 (diff)
downloadorg-mode-508ac0f57a418e0343da00710882ab1cf77030cc.tar.gz
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.
-rw-r--r--doc/org.texi7
-rw-r--r--lisp/org.el11
2 files changed, 12 insertions, 6 deletions
diff --git a/doc/org.texi b/doc/org.texi
index 1644014..3a45126 100644
--- a/doc/org.texi
+++ b/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
diff --git a/lisp/org.el b/lisp/org.el
index c319c7f..0cf141c 100644
--- a/lisp/org.el
+++ b/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