emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Sébastien Vauban
Subject: [Orgmode] Re: [patch] two bugs: one with comments and with exporting inline tasks
Date: Fri, 05 Nov 2010 09:01:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

Hello Nicolas,

Nicolas Goaziou wrote:
>>>>>> 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?

This seems like a good approach -- if not the right! -- to me.

Best regards,
  Seb

-- 
Sébastien Vauban




reply via email to

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