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
1 changed files with 2 additions and 2 deletions

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