From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henry Hirsch Subject: Wrapping sections in html not possible Date: Sat, 29 Nov 2014 08:43:26 +0100 Message-ID: <20141129074326.GM21741@w3-net.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xucgu-00067L-0d for emacs-orgmode@gnu.org; Sat, 29 Nov 2014 02:43:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xucgn-0006rG-RW for emacs-orgmode@gnu.org; Sat, 29 Nov 2014 02:43:39 -0500 Received: from w3-net.de ([176.9.171.27]:47031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xucgn-0006qm-Ko for emacs-orgmode@gnu.org; Sat, 29 Nov 2014 02:43:33 -0500 Received: from henry by w3-net.de with local (Exim 4.80) (envelope-from ) id 1Xucgg-0005U9-GR for emacs-orgmode@gnu.org; Sat, 29 Nov 2014 08:43:26 +0100 Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, When the following code snippet is exported to html the jumbotron section is not wrapped in the jumbotron class but the jumbotron div is in another section and the closing div is in the content of my jumbotron. * Another Section #+BEGIN_HTML
#+END_HTML * content of my jumbotron This text is all about my jumbotron #+BEGIN_HTML
#+END_HTML * Another Section So how can org mode support wrapping sections in html? Especially for more complex cases where a section or multiple sections will be wrapped in multiple divs. I am using macros extensively and a workaround so far is to not use org-modes sections but use a macro like #+MACRO: heading #+HTML:

$1

to create headlines. Which works but is unsatisfactory for obvious reasons. I am very interested in your thoughts. Regards Henry