From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: BEGIN_EXAMPLE question Date: Wed, 12 Aug 2009 00:43:22 -0400 Message-ID: <9544.1250052202@gamaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mb5i0-0005pa-CB for emacs-orgmode@gnu.org; Wed, 12 Aug 2009 00:45:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mb5hv-0005p1-KG for emacs-orgmode@gnu.org; Wed, 12 Aug 2009 00:45:07 -0400 Received: from [199.232.76.173] (port=56672 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mb5hv-0005ow-GJ for emacs-orgmode@gnu.org; Wed, 12 Aug 2009 00:45:03 -0400 Received: from vms173011pub.verizon.net ([206.46.173.11]:54528) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mb5hu-0005UM-UD for emacs-orgmode@gnu.org; Wed, 12 Aug 2009 00:45:03 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.159]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KO8000E6YG95ONB@vms173011.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 11 Aug 2009 23:43:22 -0500 (CDT) In-reply-to: Message from Bill Hager of "Tue\, 11 Aug 2009 23\:32\:54 EDT." 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: Bill Hager Cc: emacs-orgmode@gnu.org --=-=-= Bill Hager wrote: > I don't seem to understand #+BEGIN_EXAMPLE and it's relation to html > export. What I think is that everything between a #+BEGIN_EXAMPLE and > #+END_EXAMPLE should end up in
 tags when I do a HTML export with C-c
> C-e b.  However, the reality is that everything ends up in a 

tag for me. > > My goal is to have sections of my org file end up in

 tags when I HTML
> export.  Any ideas on how I can do this?
> 
> I'm running the default emacs 22.2.1 on Ubuntu Jaunty.
> 

I can't reproduce this. I used the following simple org file:

,----
| 
| * Test
| 
| Here's an example:
| 
| #+BEGIN_EXAMPLE
| This is a test.
| #+END_EXAMPLE
`----

did C-c C-e h and got the attached html file. The example is
'd properly I think.

HTH,
Nick


--=-=-=
Content-Type: text/xml
Content-Disposition: attachment; filename=bar.html
Content-Description: HTML file produced by exporting the org file above.






bar










bar

Table of Contents

1 Test

Here's an example:

This is a test.

Author: Nick Dokos <nick@gamaville.dokosmarshall.org>

Date: 2009-08-12 00:36:59 EDT

HTML generated by org-mode 6.29trans in emacs 23

--=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --=-=-=--