From 093b21c8c31f5220505eda4bdfcd70e18ada1726 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Wed, 10 Apr 2024 16:36:10 +0300 Subject: [PATCH] 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 3a7c645d4..5c19e1fe7 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/87twtovkjh.fsf@gmx.us/ (if nonfloat (cl-case type* (paragraph "figure")