[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Re: Using orgmode to take "inline notes" for research
From: |
Sébastien Vauban |
Subject: |
[O] Re: Using orgmode to take "inline notes" for research |
Date: |
Thu, 07 Apr 2011 11:20:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi Jeff,
Jeff Horn wrote:
> No problem. As a note for others searching on this, I'll just go ahead and
> re-iterate that if you don't want a particular inline-task to be printed,
> just add the :noexport: tag to the headline.
Better to say it twice!
> Sebastian, or others: One is able to add properties to inline-style
> headlines correct? John could add an HTML container class property and use a
> stylesheet to play with HTML export, including "indentation", but I don't
> know if there is any equivalent help from the LaTeX exporter.
This is my current config for nice styling:
#+begin_src emacs-lisp
;; initial state (TODO keyword) of inline tasks
(setq org-inlinetask-default-state "TODO")
;; templates for inline tasks in various exporters
(setq org-inlinetask-export-templates
'((html "<pre class=\"inlinetask\"><b>%s%s</b>%s</pre>"
'((unless (eq todo "")
(format "<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))
(ascii " -- %s%s%s"
'((unless (eq todo "")
(format "%s%s " todo priority))
heading
(unless (eq content "")
(format "\n ¦ %s"
(mapconcat 'identity
(org-split-string content "\n")
"\n ¦ ")))))))
#+end_src
Customize to your own taste (and report back!)...
Best regards,
Seb
--
Sébastien Vauban
- Re: [O] Using orgmode to take "inline notes" for research, (continued)
- Re: [O] Using orgmode to take "inline notes" for research, Jeff Horn, 2011/04/05
- [O] Re: Using orgmode to take "inline notes" for research, Sébastien Vauban, 2011/04/06
- Re: [O] Using orgmode to take "inline notes" for research, John Hendy, 2011/04/06
- Re: [O] Using orgmode to take "inline notes" for research, John Hendy, 2011/04/06
- Re: [O] Using orgmode to take "inline notes" for research, Samuel Wales, 2011/04/06
- Re: [O] Using orgmode to take "inline notes" for research, John Hendy, 2011/04/06
- Re: [O] Using orgmode to take "inline notes" for research, Samuel Wales, 2011/04/06
- Re: [O] Using orgmode to take "inline notes" for research, John Hendy, 2011/04/06
- Re: [O] Using orgmode to take "inline notes" for research, Mark Elston, 2011/04/06
- Re: [O] Using orgmode to take "inline notes" for research, Jeff Horn, 2011/04/07
- [O] Re: Using orgmode to take "inline notes" for research,
Sébastien Vauban <=
- Re: [O] Re: Using orgmode to take "inline notes" for research, John Hendy, 2011/04/07
- Re: [O] Re: Using orgmode to take "inline notes" for research, Jeff Horn, 2011/04/07
- Re: [O] Re: Using orgmode to take "inline notes" for research, John Hendy, 2011/04/07
- [O] Re: Using orgmode to take "inline notes" for research, Sébastien Vauban, 2011/04/08
- Re: [O] Using orgmode to take "inline notes" for research, John Hendy, 2011/04/12
- Re: [O] Using orgmode to take "inline notes" for research, John Hendy, 2011/04/12
- Re: [O] Using orgmode to take "inline notes" for research, John Hendy, 2011/04/12
- Re: [O] Using orgmode to take "inline notes" for research, Sébastien Vauban, 2011/04/25
- Re: [O] Using orgmode to take "inline notes" for research, John Hendy, 2011/04/26
- Re: [O] Using orgmode to take "inline notes" for research, Eric S Fraga, 2011/04/12