From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: markup in environments in latex export Date: Mon, 4 May 2009 16:28:36 +0200 Message-ID: References: <86iql57zkh.fsf@portan.ibr.cs.tu-bs.de> <8663h47njt.fsf@portan.ibr.cs.tu-bs.de> <550FAA9A-10B7-4DED-A712-77D381F68748@gmail.com> <87r5zoo1uf.fsf@gmail.com> <9FAD8E9F-E4CD-4B9D-B4D3-8777EE965B0D@gmail.com> <867i0xs3s4.fsf@portan.ibr.cs.tu-bs.de> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0z9v-00056b-Ph for emacs-orgmode@gnu.org; Mon, 04 May 2009 10:28:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0z9q-00054b-Tx for emacs-orgmode@gnu.org; Mon, 04 May 2009 10:28:43 -0400 Received: from [199.232.76.173] (port=58682 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0z9q-00054V-H5 for emacs-orgmode@gnu.org; Mon, 04 May 2009 10:28:38 -0400 Received: from ey-out-1920.google.com ([74.125.78.150]:16915) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M0z9p-0000Hp-Vb for emacs-orgmode@gnu.org; Mon, 04 May 2009 10:28:38 -0400 Received: by ey-out-1920.google.com with SMTP id 13so785716eye.24 for ; Mon, 04 May 2009 07:28:37 -0700 (PDT) In-Reply-To: <867i0xs3s4.fsf@portan.ibr.cs.tu-bs.de> 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: Chris Gray Cc: emacs-orgmode@gnu.org On May 4, 2009, at 9:52 AM, Chris Gray wrote: > Hi Carsten, > > That seems like a good solution. I will work on it and test it over > the > next couple of days and let you know when it is ready. Do you have > any > preference for the name of the file? Hard to find a good name org-block2env.el org-anyblock.el I don't know, your call. > > BTW, I also have signed and sent the copyright papers. I don't know > if > that's necessary for a contrib package, but now it's done... It is not necessary for a contrib package, but it will be good to have anyway. Maybe this add-on will move into the core distro eventually (turned off by default), or maybe you will contribute other patches. Thanks. - Carsten > > Cheers, > Chris > > Carsten Dominik wrote: > >> Hi Chris, > >> I have been pondering about this idea, and I prefer to not integrate >> it into the Org core because I think it may lead to undesired >> behavior, >> in particular in the other backends like docbook or ASCII. > >> However, I have just created three new hooks > >> * org-exp.el (org-export-preprocess-after-blockquote-hook): New >> hook. >> (org-export-preprocess-string): Run the new hook. > >> * org-latex.el (org-export-latex-after-blockquotes-hook): New >> hook. >> (org-export-latex-preprocess): Run the new hook. > >> * org-html.el (org-export-html-after-blockquotes-hook): New hook. >> (org-export-as-html): Run the new hook. > >> which would allow to easily implement your idea as an add-on package >> that we could include in the contrib directory. Would you like to >> reformulate your patch into a small add-on? The only thing I would >> like to ask is to keep it LaTeX/HTML-specific, and this means that >> the action to turn #+begin_..... into the cookies should be wrapped >> into > >> (when (or latexp htmlp) >> ....... >> ) > > > >> latexp and htmlp are a local variables available when the >> first of the three hooks is run. > >> - Carsten > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode