From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: [patch] two bugs: one with comments and with exporting inline tasks Date: Fri, 05 Nov 2010 12:50:27 +0000 Message-ID: <87zktoue7g.fsf@pinto.chemeng.ucl.ac.uk> References: <87iq0gknpg.fsf@pinto.chemeng.ucl.ac.uk> <87pqunv83v.wl%n.goaziou@gmail.com> <87iq0fla93.fsf@ucl.ac.uk> <8739rjl3s6.fsf@ucl.ac.uk> <87mxppcz8r.wl%n.goaziou@gmail.com> <87lj59cyrz.wl%n.goaziou@gmail.com> <87k4ktcyax.wl%n.goaziou@gmail.com> <878w19gzdq.fsf@ucl.ac.uk> <87iq0dchfm.wl%n.goaziou@gmail.com> <87wrotgoer.fsf@ucl.ac.uk> <87hbfxcfq2.wl%n.goaziou@gmail.com> <878w19azbv.fsf@ucl.ac.uk> <87eib1cdm4.wl%n.goaziou@gmail.com> <87vd4d9i7r.fsf@ucl.ac.uk> <80y6993vao.fsf@mundaneum.com> <87aalpc79f.wl%n.goaziou@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=49165 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PELkn-0007gv-4z for emacs-orgmode@gnu.org; Fri, 05 Nov 2010 08:51:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PELkV-0002WL-CP for emacs-orgmode@gnu.org; Fri, 05 Nov 2010 08:50:48 -0400 Received: from vscani-b2.ucl.ac.uk ([144.82.108.135]:47468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PELkV-0002WE-74 for emacs-orgmode@gnu.org; Fri, 05 Nov 2010 08:50:31 -0400 In-Reply-To: <87aalpc79f.wl%n.goaziou@gmail.com> (Nicolas Goaziou's message of "Thu, 04 Nov 2010 18:45:32 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: =?iso-8859-1?Q?S=E9bastien?= Vauban , emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > >>>>>> S=E9bastien 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{<>}: <>}\marginpar{\fbox{\t= hefootnote}} >>> #+end_src >>> >>> i.e. where <> would be replaced by "TODO figure out >>> why this doesn't work" and <> 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=3D\"%s %s\" %s@") > (latex . "\\footnote{\\textbf{%s %s}: %s}\\marginpar{\\fbox{\\thefootno= te}}")) > > 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! --=20 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.02trans (release_7.3.26.g4d02)