emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: srandby@gmail.com
Cc: "[Orgmode]" <emacs-orgmode@gnu.org>
Subject: Re: Drawers and HTML Export
Date: Fri, 22 May 2009 18:25:48 -0400	[thread overview]
Message-ID: <9588.1243031148@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from srandby@gmail.com of "Fri, 22 May 2009 18:06:00 EDT." <4A1721C8.4010304@gmail.com>

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
>   <p>
>   The quack <b>ducks</b>.
>   </p>
> #+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?

Nick

  reply	other threads:[~2009-05-22 22:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-22 22:06 Drawers and HTML Export srandby
2009-05-22 22:25 ` Nick Dokos [this message]
2009-05-23  0:31   ` srandby
2009-05-23  5:57     ` Carsten Dominik
2009-05-25 14:36       ` Wes Hardaker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9588.1243031148@alphaville.usa.hp.com \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=srandby@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).