From 7de492a0c434797934c12522a75aa58e720f445c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 5 Apr 2014 09:50:20 +0200 Subject: [PATCH] Update docstrings * lisp/org.el (org-latex-packages-alist, org-latex-default-packages-alist): Update docstrings. --- lisp/org.el | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 6d6fbeb52..318d95a15 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -3874,10 +3874,18 @@ Org mode to function properly: Therefore you should not modify this variable unless you know what you are doing. The one reason to change it anyway is that you might be loading some other package that conflicts with one -of the default packages. Each cell is of the format -\( \"options\" \"package\" snippet-flag). If SNIPPET-FLAG is t, -the package also needs to be included when compiling LaTeX -snippets into images for inclusion into non-LaTeX output." +of the default packages. Each element is either a cell or +a string. + +A cell is of the format: + + \( \"options\" \"package\" SNIPPET-FLAG). + +If SNIPPET-FLAG is non-nil, the package also needs to be included +when compiling LaTeX snippets into images for inclusion into +non-LaTeX output. + +A string will be inserted as-is in the header of the document." :group 'org-latex :group 'org-export-latex :set 'org-set-packages-alist @@ -3895,18 +3903,22 @@ snippets into images for inclusion into non-LaTeX output." "Alist of packages to be inserted in every LaTeX header. These will be inserted after `org-latex-default-packages-alist'. -Each cell is of the format: +Each element is either a cell or a string. - \(\"options\" \"package\" snippet-flag) +A cell is of the format: -SNIPPET-FLAG, when t, indicates that this package is also needed -when turning LaTeX snippets into images for inclusion into + \(\"options\" \"package\" SNIPPET-FLAG) + +SNIPPET-FLAG, when non-nil, indicates that this package is also +needed when turning LaTeX snippets into images for inclusion into non-LaTeX output. +A string will be inserted as-is in the header of the document. + Make sure that you only list packages here which: - - you want in every file - - do not conflict with the setup in `org-format-latex-header'. + - you want in every file; + - do not conflict with the setup in `org-format-latex-header'; - do not conflict with the default packages in `org-latex-default-packages-alist'." :group 'org-latex