* lisp/ox-latex.el: Document some undocumented function arguments
(org-latex-generate-engraved-preamble): (org-latex--remove-packages): Document INFO argument.
This commit is contained in:
parent
ad1aff1722
commit
bfa4f9d5aa
|
@ -1309,8 +1309,8 @@ used. When nil, no theme is applied."
|
|||
(defun org-latex-generate-engraved-preamble (info)
|
||||
"Generate the preamble to setup engraved code.
|
||||
The result is constructed from the :latex-engraved-preamble and
|
||||
:latex-engraved-options export options, the default values of
|
||||
which are given by `org-latex-engraved-preamble' and
|
||||
:latex-engraved-options export options (passed via INFO plist), the
|
||||
default values of which are given by `org-latex-engraved-preamble' and
|
||||
`org-latex-engraved-options' respectively."
|
||||
(let* ((engraved-options
|
||||
(plist-get info :latex-engraved-options))
|
||||
|
@ -1782,6 +1782,8 @@ and `org-latex-default-packages-alist'. If the fourth argument
|
|||
of a package is neither nil nor a member of the LaTeX compiler
|
||||
associated to the document, the package is removed.
|
||||
|
||||
LaTeX compiler is defined in :latex-compiler INFO plist entry.
|
||||
|
||||
Return new list of packages."
|
||||
(let ((compiler (or (plist-get info :latex-compiler) "")))
|
||||
(if (not (member-ignore-case compiler org-latex-compilers)) pkg-alist
|
||||
|
|
Loading…
Reference in New Issue