mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-04 08:47:03 +00:00
ox-latex: Exclude newline from labels within captions
* lisp/ox-latex.el (org-latex--caption/label-string): Exclude newline character from labels within captions. Reported-by: Godefroy <godefroy.vannoye@gmail.com> <http://lists.gnu.org/r/emacs-orgmode/2019-10/msg00088.html>
This commit is contained in:
parent
1f8b454825
commit
1ec975f925
@ -1338,7 +1338,7 @@ For non-floats, see `org-latex--wrap-label'."
|
||||
(t (symbol-name type*)))
|
||||
""))
|
||||
(if short (format "[%s]" (org-export-data short info)) "")
|
||||
label
|
||||
(org-trim label)
|
||||
(org-export-data main info))))))
|
||||
|
||||
(defun org-latex-guess-inputenc (header)
|
||||
|
Loading…
Reference in New Issue
Block a user