emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: [patch] two bugs: one with comments and with exporting


From: Nicolas Goaziou
Subject: Re: [Orgmode] Re: [patch] two bugs: one with comments and with exporting inline tasks
Date: Thu, 04 Nov 2010 18:45:32 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO)

Hello,
>>>>> Sébastien Vauban writes:

> Eric S Fraga wrote:
>> In terms of what to actually do with inline tasks on export, what I
>> would love to see would be to have an inline task converted to a
>> footnote with a marginpar note, along the lines of:
>> 
>> #+begin_src latex
>> \footnote{\textbf{<<headline text>>}: <<body 
>> text>>}\marginpar{\fbox{\thefootnote}}
>> #+end_src
>> 
>> i.e. where <<headline text>> would be replaced by "TODO figure out
>> why this doesn't work" and <<body text>> by all the text between
>> the ****** lines. This is roughly the type of construct I use when
>> I annotate latex documents directly. What do you think?

> ... that we need this.

What about creating a customizable alist, namely
org-inlinetask-export-templates, containing exporters paired with
format strings?

For example, it could contain :

'((html . "<@span class=\"%s %s\" %s@</span>")
  (latex . "\\footnote{\\textbf{%s %s}: %s}\\marginpar{\\fbox{\\thefootnote}}"))

where first %s is TODO, second %s is heading, and third one is
content.

Default values would be whatever is used right now.

Any comments?

Regards,

-- Nicolas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]