mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-11 09:20:32 +00:00
ox-latex: Prefix lst: to source block labels
* lisp/ox-latex.el (org-latex--label): Use the "lst:" prefix when generating source block labels ("lst" contracted from "listing").
This commit is contained in:
parent
2cb62c0798
commit
5766ddd758
@ -1554,6 +1554,7 @@ Eventually, if FULL is non-nil, wrap label within \"\\label{}\"."
|
||||
(`paragraph
|
||||
(and (org-element-property :caption datum)
|
||||
"fig:"))
|
||||
(`src-block "lst:")
|
||||
(_ nil))
|
||||
(org-export-get-reference datum info))))))
|
||||
(cond ((not full) label)
|
||||
|
Loading…
Reference in New Issue
Block a user