From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emanuele Santoro Subject: Rendering quoted HTML outside the last headline's HTML. Date: Sun, 8 Nov 2015 19:32:29 +0100 Message-ID: <20151108193229.2829ac7e@nadia> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvVLR-0003GK-GH for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 14:09:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvVLO-0002OK-AU for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 14:09:41 -0500 Received: from 93-50-112-244.ip152.fastwebnet.it ([93.50.112.244]:47559 helo=elena.santoro.tk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvVLO-0002Nx-3r for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 14:09:38 -0500 Received: from nadia (93-50-112-244.ip152.fastwebnet.it [93.50.112.244]) by elena.santoro.tk (Postfix) with ESMTPSA id DC3C6160076 for ; Sun, 8 Nov 2015 19:31:45 +0100 (CET) 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 Hi there! I render the org-mode project of my website using HTML export functions. I created a three-columns layout by using the Bootstrap (http://getbootstrap.com/) and by wrapping the first three columns within a div element of class "row". I do this by prepending and appending some static html via the #+HTML directive, as in: #+HTML:
and #+HTML:
Also, I set the HTML_CONTAINER variable to use proper css classes: #+HTML_CONTAINER: div class="col-md-4" Now the problems arise: 1) I have noticed that when closing the headline tag, org will generate a syntactically wrong tag. Most browser will ignore such mistakes but it's still annoying. 2) Everything works okay if there are three or less columns. When adding another column, I close the "row" container and open another one, by adding #+HTML: #+HTML:
But this code is rendered within the HTML code of the previous headline. In general, it is not clear "where" a piece of HTML will be rendered. Is there a way to specify that? Is there a way to say, like: "this piece of HTML is not part of the current headline and should be rendered after the last headline has been rendered" ? Thanks in advance, -- Emanuele Santoro