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:
parent
b69fa027c0
commit
8a05053ce4
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue