From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Using orgmode to take "inline notes" for research
Date: Thu, 07 Apr 2011 11:20:27 +0200 [thread overview]
Message-ID: <80bp0iquxw.fsf@somewhere.org> (raw)
In-Reply-To: BANLkTi=KfD4FWbfF6Qj1yfKC_YGd0hmZ6A@mail.gmail.com
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
next prev parent reply other threads:[~2011-04-07 9:20 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-06 2:02 Using orgmode to take "inline notes" for research John Hendy
2011-04-06 3:21 ` Jeff Horn
2011-04-06 10:33 ` Sébastien Vauban
2011-04-06 16:33 ` John Hendy
2011-04-06 16:47 ` John Hendy
2011-04-06 17:27 ` Samuel Wales
2011-04-06 18:08 ` John Hendy
2011-04-06 18:16 ` Samuel Wales
2011-04-06 18:16 ` John Hendy
2011-04-06 19:11 ` Mark Elston
2011-04-07 4:19 ` Jeff Horn
2011-04-07 9:20 ` Sébastien Vauban [this message]
2011-04-07 15:26 ` John Hendy
2011-04-07 15:33 ` Jeff Horn
2011-04-07 15:48 ` John Hendy
2011-04-08 20:53 ` Sébastien Vauban
2011-04-12 16:30 ` John Hendy
2011-04-12 16:39 ` John Hendy
2011-04-12 17:57 ` John Hendy
2011-04-25 19:51 ` Sébastien Vauban
2011-04-26 13:07 ` John Hendy
2011-04-12 18:20 ` Eric S Fraga
2011-04-12 18:56 ` John Hendy
2011-04-17 23:36 ` Rasmus
2011-04-20 17:46 ` Eric S Fraga
2011-04-16 7:24 ` Nicolas Goaziou
2011-04-07 12:39 ` Nicolas Goaziou
2011-04-06 3:32 ` Eric Schulte
2011-04-06 4:10 ` Erik Iverson
2011-04-06 5:02 ` Eric Schulte
2011-04-06 16:16 ` John Hendy
2011-04-07 5:33 ` Eric S Fraga
2011-04-07 16:10 ` John Hendy
2011-04-08 18:18 ` Eric S Fraga
2011-04-08 20:08 ` John Hendy
2011-04-06 16:11 ` John Hendy
2011-04-06 16:09 ` John Hendy
2011-04-06 16:42 ` Eric Schulte
-- strict thread matches above, loose matches on Subject: below --
2011-04-06 3:52 Rustom Mody
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80bp0iquxw.fsf@somewhere.org \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).