1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-03 08:30:03 +00:00

ox-latex.el: Fix the display of checkbox items

* lisp/ox-latex.el (org-latex-item): Fix the display of
checkbox items.

TINYCHANGE
This commit is contained in:
Brian Carlson 2020-02-11 12:28:02 +01:00 committed by Bastien
parent 749c08c263
commit 5acf4d4692

View File

@ -2209,9 +2209,9 @@ contextual information."
"\\item"
(cond
((and checkbox tag)
(format "[{%s %s}] %s" checkbox tag tag-footnotes))
(format "{%s %s} %s" checkbox tag tag-footnotes))
((or checkbox tag)
(format "[{%s}] %s" (or checkbox tag) tag-footnotes))
(format "{%s} %s" (or checkbox tag) tag-footnotes))
;; Without a tag or a check-box, if CONTENTS starts with
;; an opening square bracket, add "\relax" to "\item",
;; unless the brackets comes from an initial export