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".
This commit is contained in:
Nicolas Goaziou 2010-12-06 19:24:00 +01:00
parent 2c23f2f064
commit b3e16cda95
1 changed files with 5 additions and 6 deletions

View File

@ -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)