[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: org-indent, org-inlinetask: patches on github
From: |
Sébastien Vauban |
Subject: |
[Orgmode] Re: org-indent, org-inlinetask: patches on github |
Date: |
Thu, 18 Nov 2010 23:22:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi Nicolas,
> Nicolas Goaziou wrote:
>> To maintainers:
>> - to sum it up, if you don't like the idea of templates, or how it is
>> implemented, all commits but the last one are only fixes.
>> - could you delete submissions from 11-04 and 11-06 (but _not_ from
>> 10-26) on the patchwork server, as they are now included in the
>> repo?
>>
>> I'm now waiting for comments from the 3-3.5 persons in the world using
>> inline tasks!
>
> I guess I'm the last 0.5 user of inline tasks ;-)
>
> I really have no time just now, but I promise trying your patch in the next
> coming 2 days. Promised.
OK; this has been DEFERRED a bit, but DONE nonetheless...
I tested the look and feel of the export to HTML and PDF. Works fine.
Works even better (IMHO) with the suggested template:
#+begin_src emacs-lisp
;; templates for inline tasks in various exporters
(setq org-inlinetask-export-templates
'((html "<pre class=\"inlinetask\">%s%s</b><br>%s</pre>"
'((unless (eq todo "")
(format "<b><span class=\"%s %s\">%s%s</span> "
class todo todo priority))
heading content))
(latex "\\todo[inline]{\\textbf{\\textsf{%s %s}}\\linebreak{} %s}"
'((unless (eq todo "")
(format "\\textsc{%s%s}" todo priority))
heading content))
;; [...]
))
#+end_src
The advantage is to get a real different look for the inlined task, so that it
gets your attention as it deserves it.
- Regarding HTML, if you don't replace your list environment by my
proposition, I would at least exchange the position of the blank space.
Better is:
#+begin_src emacs-lisp
(format "<b><span class=\"%s %s\">%s%s</span> "
;; ^ ^
#+end_src
Otherwise, when TODO keywords have background colors, you see the keyword
with one space too much...
- Regarding LaTeX, my suggestion requires the =todonotes= LaTeX package to be
loaded in the header.
Thanks for your work!
Best regards,
Seb
--
Sébastien Vauban
- Re: [Orgmode] org-indent, org-inlinetask: patches on github, (continued)
- Re: [Orgmode] org-indent, org-inlinetask: patches on github, Carsten Dominik, 2010/11/07
- Re: [Orgmode] org-indent, org-inlinetask: patches on github, Jeff Horn, 2010/11/07
- Re: [Orgmode] org-indent, org-inlinetask: patches on github, Nicolas Goaziou, 2010/11/08
- Re: [Orgmode] org-indent, org-inlinetask: patches on github, Jeff Horn, 2010/11/08
- Re: [Orgmode] org-indent, org-inlinetask: patches on github, Eric S Fraga, 2010/11/08
- Re: [Orgmode] org-indent, org-inlinetask: patches on github, Jeff Horn, 2010/11/08
[Orgmode] Re: org-indent, org-inlinetask: patches on github, Jeff Horn, 2010/11/07
[Orgmode] Re: org-indent, org-inlinetask: patches on github, Eric S Fraga, 2010/11/08
[Orgmode] Re: org-indent, org-inlinetask: patches on github, Eric S Fraga, 2010/11/08
[Orgmode] Re: org-indent, org-inlinetask: patches on github, Sébastien Vauban, 2010/11/08
- [Orgmode] Re: org-indent, org-inlinetask: patches on github,
Sébastien Vauban <=
- Re: [Orgmode] Re: org-indent, org-inlinetask: patches on github, Nicolas Goaziou, 2010/11/18
- [Orgmode] Re: org-indent, org-inlinetask: patches on github, Sébastien Vauban, 2010/11/19
- Re: [Orgmode] Re: org-indent, org-inlinetask: patches on github, Eric S Fraga, 2010/11/20
- Re: [Orgmode] Re: org-indent, org-inlinetask: patches on github, Nicolas Goaziou, 2010/11/28
- Re: [Orgmode] Re: org-indent, org-inlinetask: patches on github, Jeff Horn, 2010/11/28