summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-03-01 11:06:00 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2013-03-01 11:06:00 +0100
commit25b5ab8a23470e8c06bd652c1eef66a016d84b58 (patch)
tree2c8d33fd1d578f813fea49505a36416cee14e219
parentce3e6555d3e24a6bf75d34fdf8a2bb67bfee3e4e (diff)
downloadorg-mode-25b5ab8a23470e8c06bd652c1eef66a016d84b58.tar.gz
ox-latex: Fix nested markup in TODO keyword defalt format
* lisp/ox-latex.el (org-latex-format-headline-default-function): Use declarative shape to nest makup for TODO keywords. Previous syntax generated errors during export.
-rw-r--r--lisp/ox-latex.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 7bb44fe..6f4052b 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -1506,7 +1506,7 @@ holding contextual information."
"Default format function for a headline.
See `org-latex-format-headline-function' for details."
(concat
- (and todo (format "\\textbf{\\textsc{\\textsf{%s}}} " todo))
+ (and todo (format "{\\bfseries\\sffamily %s} " todo))
(and priority (format "\\framebox{\\#%c} " priority))
text
(and tags