LaTeX: Use \ul (from the "soul" package) instead of \uline

* ox-latex.el (org-latex-text-markup-alist): Use \ul{...} for
underlining instead of \uline{...} as requiring the hyperref
package makes \uline{...} unusable on headline.

* org.el (org-latex-default-packages-alist): Add the "soul"
package.

Thanks to Konstantin Kliakhandler for reporting this.
This commit is contained in:
Bastien Guerry 2014-03-22 00:27:34 +01:00
parent 5a195423d3
commit b399ff0cba
2 changed files with 2 additions and 1 deletions

View File

@ -3843,6 +3843,7 @@ header, or they will be appended."
("" "wrapfig" nil)
("" "rotating" nil)
("normalem" "ulem" t)
("" "soul" t)
("" "amsmath" t)
("" "textcomp" t)
("" "marvosym" t)

View File

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