org-latex--caption/label-string: Add comment
This commit is contained in:
parent
78e9dd0c42
commit
093b21c8c3
|
@ -1612,6 +1612,11 @@ For non-floats, see `org-latex--wrap-label'."
|
||||||
(let ((type* (if (eq type 'latex-environment)
|
(let ((type* (if (eq type 'latex-environment)
|
||||||
(org-latex--environment-type element)
|
(org-latex--environment-type element)
|
||||||
type)))
|
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
|
(if nonfloat
|
||||||
(cl-case type*
|
(cl-case type*
|
||||||
(paragraph "figure")
|
(paragraph "figure")
|
||||||
|
|
Loading…
Reference in New Issue