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: Eric S Fraga
Subject: Re: [Orgmode] Re: [patch] two bugs: one with comments and with exporting inline tasks
Date: Fri, 05 Nov 2010 12:50:27 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> 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

This sounds perfect!

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.02trans (release_7.3.26.g4d02)



reply via email to

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