[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 093b21c8c3 1/2: org-latex--caption/label-string: Ad
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 093b21c8c3 1/2: org-latex--caption/label-string: Add comment |
Date: |
Wed, 10 Apr 2024 12:58:26 -0400 (EDT) |
branch: externals/org
commit 093b21c8c31f5220505eda4bdfcd70e18ada1726
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
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/87twtovkjh.fsf@gmx.us/
(if nonfloat
(cl-case type*
(paragraph "figure")