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 _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode