diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2010-12-06 19:24:00 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2010-12-06 19:24:00 +0100 |
commit | b3e16cda953d3f4ae150fbeae7eba3fcab0155dc (patch) | |
tree | 01c0c141d9bf8f8a12931e4f3a97062888e88760 | |
parent | 2c23f2f0643078adfe1fcf208e3bdc0e111b0baa (diff) | |
download | org-mode-b3e16cda953d3f4ae150fbeae7eba3fcab0155dc.tar.gz |
inlinetask: illustrate LaTeX export template with a new example
* lisp/org-inlinetask.el (org-inlinetask-export-templates): added
Sébastien Vauban's suggestion for LaTeX export in docstring. This is
not default as it requires an additional LaTeX package: "todonotes".
-rw-r--r-- | lisp/org-inlinetask.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el index 840a144..d6231e0 100644 --- a/lisp/org-inlinetask.el +++ b/lisp/org-inlinetask.el @@ -147,13 +147,12 @@ As an example, valid associations are: (html \"<ul><li>%s <p>%s</p></li></ul>\" (heading content)) -or, in a conditional way, +or, with the additional package \"todonotes\" for LaTeX, -(latex \"\\\\begin\{flushright\}%s%s%s\\\\end\{flushright\}\" - ((unless (eq todo \"\") - (format \"\\\\textsc\{%s%s: \}\" todo priority)) - heading - (unless (eq content \"\") (format \"\\n%s\" content))))") +(latex \"\\todo[inline]{\\textbf{\\textsf{%s %s}}\\linebreak{} %s}\" + '((unless (eq todo \"\") + (format \"\\textsc{%s%s}\" todo priority)) + heading content)))") (defvar org-odd-levels-only) (defvar org-keyword-time-regexp) |