From 84de2396c3f0fcdc9994028b5bf5f0005c763496 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 9 Jun 2013 11:11:13 +0200 Subject: [PATCH] ox-latex: Use \ul (from soul package) instead of \underline * lisp/org.el (org-latex-default-packages-alist): Document need for "soul" package. * lisp/ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul" package) instead of \underline for underline text. --- lisp/org.el | 1 + lisp/ox-latex.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index b9e6d9e95..bf996570a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -3828,6 +3828,7 @@ Org mode to function properly: 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. +- soul: for underline and strike-through - graphicx: for including images - float, wrapfig: for figure placement - longtable: for long tables diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 18be4133c..c8484ff04 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -525,7 +525,7 @@ When nil, no transformation is made." (code . verb) (italic . "\\emph{%s}") (strike-through . "\\st{%s}") - (underline . "\\underline{%s}") + (underline . "\\ul{%s}") (verbatim . protectedtexttt)) "Alist of LaTeX expressions to convert text markup. -- 2.11.4.GIT