Remove dependency on latexsym LaTeX package

* ox-latex.el (org-latex-item): Use square as unchecked symbol.
* org.el (org-latex-default-packages-alist): Remove latexsym.

Use amssymb symbols to reduce required packages.
This commit is contained in:
rasmus 2013-08-31 18:15:12 +02:00 committed by Nicolas Goaziou
parent b69fa027c0
commit 8a05053ce4
2 changed files with 5 additions and 7 deletions

View File

@ -3831,7 +3831,6 @@ header, or they will be appended."
("" "textcomp" t) ("" "textcomp" t)
("" "marvosym" t) ("" "marvosym" t)
("" "wasysym" t) ("" "wasysym" t)
("" "latexsym" t)
("" "amssymb" t) ("" "amssymb" t)
("" "amstext" nil) ("" "amstext" nil)
("" "hyperref" nil) ("" "hyperref" nil)
@ -3846,10 +3845,9 @@ Org mode to function properly:
- inputenc, fontenc: for basic font and character selection - inputenc, fontenc: for basic font and character selection
- amstext: for subscript and superscript - amstext: for subscript and superscript
- textcomp, marvosymb, wasysym, latexsym, amssym: for various - textcomp, marvosymb, wasysym, amssymb: for various symbols used
symbols used for interpreting the entities in `org-entities'. for interpreting the entities in `org-entities'. You can skip
You can skip some of these packages if you don't use any of the some of these packages if you don't use any of their symbols.
symbols in it.
- ulem: for underline and strike-through - ulem: for underline and strike-through
- graphicx: for including images - graphicx: for including images
- float, wrapfig: for figure placement - float, wrapfig: for figure placement
@ -7652,7 +7650,7 @@ This is important for non-interactive uses of the command."
(t (t
(goto-char (point-at-eol)) (goto-char (point-at-eol))
(insert "\n"))) (insert "\n")))
;; Insert the new heading ;; Insert the new heading
(insert stars) (insert stars)
(just-one-space) (just-one-space)

View File

@ -1561,7 +1561,7 @@ contextual information."
(1- count))))) (1- count)))))
(checkbox (case (org-element-property :checkbox item) (checkbox (case (org-element-property :checkbox item)
(on "$\\boxtimes$ ") (on "$\\boxtimes$ ")
(off "$\\Box$ ") (off "$\\square$ ")
(trans "$\\boxminus$ "))) (trans "$\\boxminus$ ")))
(tag (let ((tag (org-element-property :tag item))) (tag (let ((tag (org-element-property :tag item)))
;; Check-boxes must belong to the tag. ;; Check-boxes must belong to the tag.