From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Newman Subject: Html export suggestion (use of
) Date: Fri, 5 Oct 2007 21:57:15 +0100 Message-ID: <20071005215715.21604ade@newmanfamily.me.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_z9Nc.RF=TF02BcqC94J7jhT" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IduEe-0004SD-2U for emacs-orgmode@gnu.org; Fri, 05 Oct 2007 16:57:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IduEd-0004S1-AL for emacs-orgmode@gnu.org; Fri, 05 Oct 2007 16:57:23 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IduEd-0004Ry-4z for emacs-orgmode@gnu.org; Fri, 05 Oct 2007 16:57:23 -0400 Received: from smtp1.enta.net ([62.249.192.219]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IduEc-0004wx-Jw for emacs-orgmode@gnu.org; Fri, 05 Oct 2007 16:57:22 -0400 Received: from newmanfamily.me.uk (84-45-232-14.no-dns-yet.enta.net [84.45.232.14]) by smtp1.enta.net (Postfix) with ESMTP id 7C76D12D0C0 for ; Fri, 5 Oct 2007 22:00:28 +0100 (BST) Received: from newmanfamily.me.uk (localhost.localdomain [127.0.0.1]) by newmanfamily.me.uk (8.14.1/8.14.1) with ESMTP id l95KvFhH003046 for ; Fri, 5 Oct 2007 21:57:18 +0100 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: org-mode --MP_z9Nc.RF=TF02BcqC94J7jhT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline I had wondered if there was any value in wrapping the html export in
sections to match the structure of the org file. For example, rather than:

1 Heading

Text

1.1 Subheading

More text

1.2 Further subheading

Still more text

export:

1 Heading

Text

1.1 Subheading

More text

1.2 Further subheading

Still more text

Aside from the minor drawback of making the file a bit bigger, it should have no negative effects, but it would have at least two benefits: 1) It would be very easy (via CSS) to apply styles to match the structure of the file e.g. indenting lower level sections. See attachment for example. 2) It should make it easier, with xslt to manipulate the exported files e.g. to extract specific sections -- Mike --MP_z9Nc.RF=TF02BcqC94J7jhT Content-Type: text/html; name=Example.html Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=Example.html temp

1 Heading

Text

1.1 Subheading

More text

1.2 Further subheading

Still more text

1 Heading

Text

1.1 Subheading

More text

1.2 Further subheading

Still more text

--MP_z9Nc.RF=TF02BcqC94J7jhT 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 --MP_z9Nc.RF=TF02BcqC94J7jhT--