branch: externals/org
commit 093b21c8c31f5220505eda4bdfcd70e18ada1726
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>

    org-latex--caption/label-string: Add comment
---
 lisp/ox-latex.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 3a7c645d46..5c19e1fe70 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -1612,6 +1612,11 @@ For non-floats, see `org-latex--wrap-label'."
              (let ((type* (if (eq type 'latex-environment)
                               (org-latex--environment-type element)
                             type)))
+                ;; \captionof{%s}
+                ;; %s must be a registered LaTeX environment.
+                ;; figure is always there, while listing is defined by
+                ;; additional packages.
+                ;; See https://list.orgmode.org/orgmode/[email protected]/
                (if nonfloat
                    (cl-case type*
                      (paragraph "figure")

Reply via email to