From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Drawers and HTML Export Date: Sat, 23 May 2009 07:57:21 +0200 Message-ID: <1D024EE4-C6B0-45CE-AF6E-C0FB9CCAA7F1@gmail.com> References: <4A1721C8.4010304@gmail.com> <9588.1243031148@alphaville.usa.hp.com> <4A1743EA.2050702@gmail.com> Mime-Version: 1.0 (Apple Message framework v935.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 1M7kEe-0008IR-GM for emacs-orgmode@gnu.org; Sat, 23 May 2009 01:57:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7kEZ-0008IF-GL for emacs-orgmode@gnu.org; Sat, 23 May 2009 01:57:31 -0400 Received: from [199.232.76.173] (port=57178 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7kEZ-0008IC-8A for emacs-orgmode@gnu.org; Sat, 23 May 2009 01:57:27 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:54286) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7kEY-0002Ji-SD for emacs-orgmode@gnu.org; Sat, 23 May 2009 01:57:27 -0400 Received: by ewy6 with SMTP id 6so2399810ewy.42 for ; Fri, 22 May 2009 22:57:24 -0700 (PDT) In-Reply-To: <4A1743EA.2050702@gmail.com> 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: srandby@gmail.com Cc: "[Orgmode]" On May 23, 2009, at 2:31 AM, srandby@gmail.com wrote: > Nick Dokos wrote: >> srandby@gmail.com wrote: >>> I just discovered that if I put HTML source code into a drawer, it >>> is >>> not exported. The following example illustrates a situation where >>> only >>> the headline is exported. >>> >>> #+DRAWERS: DUCK >>> * Ducks Quack >>> :DUCK: >>> #+BEGIN_HTML >>>

>>> The quack ducks. >>>

>>> #+END_HTML >>> :END: >>> >>> Is this behavior intended or is it a bug? I would like to put HTML >>> code in a drawer to keep it out of the way. I am using Org-Mode >>> 6.26trans in Emacs 22. >>> >> I haven't tried it but this should help: >> ,---- >> | org-export-with-drawers is a variable defined in `org-exp.el'. >> | Its value is nil >> | | Documentation: >> | Non-nil means, export with drawers like the property drawer. >> | When t, all drawers are exported. This may also be a list of >> | drawer names to export. >> | | You can customize this variable. >> `---- >> Does it? > > Setting org-export-with-drawers to t allows the draws to be > exported, but it also exports the drawer delimiters (the :DUCK: and > the :END: in my example) which I don't want to be exported. I've > been looking at the various export variables, but I can't find > anything that will stop the drawer delimiters from being exported. I > think I'll stick with my current set up which doesn't use drawers. Indeed, there is no way currently to use drawers as you intend. - Carsten