From mboxrd@z Thu Jan 1 00:00:00 1970 From: srandby@gmail.com Subject: Re: Drawers and HTML Export Date: Fri, 22 May 2009 20:31:38 -0400 Message-ID: <4A1743EA.2050702@gmail.com> References: <4A1721C8.4010304@gmail.com> <9588.1243031148@alphaville.usa.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M7f9P-0007tc-5e for emacs-orgmode@gnu.org; Fri, 22 May 2009 20:31:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7f9K-0007tM-Cr for emacs-orgmode@gnu.org; Fri, 22 May 2009 20:31:46 -0400 Received: from [199.232.76.173] (port=37795 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7f9K-0007tJ-7j for emacs-orgmode@gnu.org; Fri, 22 May 2009 20:31:42 -0400 Received: from qw-out-1920.google.com ([74.125.92.145]:38385) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7f9J-00076r-VK for emacs-orgmode@gnu.org; Fri, 22 May 2009 20:31:42 -0400 Received: by qw-out-1920.google.com with SMTP id 4so1220123qwk.24 for ; Fri, 22 May 2009 17:31:41 -0700 (PDT) In-Reply-To: <9588.1243031148@alphaville.usa.hp.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: "[Orgmode]" 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. Scott Randby