|
@@ -1877,18 +1877,13 @@ contextual information."
|
|
|
(latex-type (let ((env (plist-get attr :environment)))
|
|
|
(cond (env (format "%s" env))
|
|
|
((eq type 'ordered) "enumerate")
|
|
|
- ((eq type 'unordered) "itemize")
|
|
|
- ((eq type 'descriptive) "description")))))
|
|
|
+ ((eq type 'descriptive) "description")
|
|
|
+ (t "itemize")))))
|
|
|
(org-latex--wrap-label
|
|
|
plain-list
|
|
|
(format "\\begin{%s}%s\n%s\\end{%s}"
|
|
|
latex-type
|
|
|
- ;; Put optional arguments, if any inside square brackets
|
|
|
- ;; when necessary.
|
|
|
- (let ((options (format "%s" (or (plist-get attr :options) ""))))
|
|
|
- (cond ((equal options "") "")
|
|
|
- ((string-match "\\`\\[.*\\]\\'" options) options)
|
|
|
- (t (format "[%s]" options))))
|
|
|
+ (or (plist-get attr :options) "")
|
|
|
contents
|
|
|
latex-type))))
|
|
|
|