From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Gray Subject: Re: markup in environments in latex export Date: Mon, 04 May 2009 09:52:59 +0200 Message-ID: <867i0xs3s4.fsf@portan.ibr.cs.tu-bs.de> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0szK-0003of-Qt for emacs-orgmode@gnu.org; Mon, 04 May 2009 03:53:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0szG-0003oB-To for emacs-orgmode@gnu.org; Mon, 04 May 2009 03:53:22 -0400 Received: from [199.232.76.173] (port=39881 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0szG-0003o8-O3 for emacs-orgmode@gnu.org; Mon, 04 May 2009 03:53:18 -0400 Received: from mx20.gnu.org ([199.232.41.8]:14531) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M0szG-0000CS-2v for emacs-orgmode@gnu.org; Mon, 04 May 2009 03:53:18 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M0szF-0008Ff-B1 for emacs-orgmode@gnu.org; Mon, 04 May 2009 03:53:17 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M0szB-00066r-Gq for emacs-orgmode@gnu.org; Mon, 04 May 2009 07:53:13 +0000 Received: from portan.ibr.cs.tu-bs.de ([134.169.34.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 May 2009 07:53:13 +0000 Received: from chrismgray by portan.ibr.cs.tu-bs.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 May 2009 07:53:13 +0000 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: emacs-orgmode@gnu.org 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? 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... 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