>From 613f28f3bc5d2a6e35093b0a6f33d9b6ec393458 Mon Sep 17 00:00:00 2001 From: rasmus Date: Sat, 31 Aug 2013 18:15:12 +0200 Subject: [PATCH 2/2] Remove dependency on latexsym. * 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. --- lisp/org.el | 5 ++--- lisp/ox-latex.el | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 572b797..90fdfee 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -3832,7 +3832,6 @@ header, or they will be appended." ("" "textcomp" t) ("" "marvosym" t) ("" "wasysym" t) - ("" "latexsym" t) ("" "amssymb" t) ("" "amstext" nil) ("" "hyperref" nil) @@ -3847,7 +3846,7 @@ Org mode to function properly: - inputenc, fontenc: for basic font and character selection - amstext: for subscript and superscript -- textcomp, marvosymb, wasysym, latexsym, amssym: for various +- textcomp, marvosymb, wasysym, amssymb: for various symbols used for interpreting the entities in `org-entities'. You can skip some of these packages if you don't use any of the symbols in it. @@ -7653,7 +7652,7 @@ This is important for non-interactive uses of the command." (t (goto-char (point-at-eol)) (insert "\n"))) - + ;; Insert the new heading (insert stars) (just-one-space) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 1fe918a..e1173ef 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -1561,7 +1561,7 @@ contextual information." (1- count))))) (checkbox (case (org-element-property :checkbox item) (on "$\\boxtimes$ ") - (off "$\\Box$ ") + (off "$\\square$ ") (trans "$\\boxminus$ "))) (tag (let ((tag (org-element-property :tag item))) ;; Check-boxes must belong to the tag. -- 1.8.4