Explorar o código

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

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

TINYCHANGE
Brian Carlson %!s(int64=5) %!d(string=hai) anos
pai
achega
5acf4d4692
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lisp/ox-latex.el

+ 2 - 2
lisp/ox-latex.el

@@ -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