Nicolas Goaziou 12 лет назад
Родитель
Сommit
efccedbf65
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      lisp/org.el
  2. 1 1
      lisp/ox-latex.el

+ 1 - 0
lisp/org.el

@@ -3837,6 +3837,7 @@ Org mode to function properly:
   symbols used for interpreting the entities in `org-entities'.
   symbols used for interpreting the entities in `org-entities'.
   You can skip some of these packages if you don't use any of the
   You can skip some of these packages if you don't use any of the
   symbols in it.
   symbols in it.
+- soul: for underline and strike-through
 - graphicx: for including images
 - graphicx: for including images
 - float, wrapfig: for figure placement
 - float, wrapfig: for figure placement
 - longtable: for long tables
 - longtable: for long tables

+ 1 - 1
lisp/ox-latex.el

@@ -525,7 +525,7 @@ When nil, no transformation is made."
 					 (code . verb)
 					 (code . verb)
 					 (italic . "\\emph{%s}")
 					 (italic . "\\emph{%s}")
 					 (strike-through . "\\st{%s}")
 					 (strike-through . "\\st{%s}")
-					 (underline . "\\underline{%s}")
+					 (underline . "\\ul{%s}")
 					 (verbatim . protectedtexttt))
 					 (verbatim . protectedtexttt))
   "Alist of LaTeX expressions to convert text markup.
   "Alist of LaTeX expressions to convert text markup.