From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Quiniou Subject: Export options processed in example block Date: Thu, 18 Oct 2012 11:33:33 +0200 Message-ID: <507FCCED.8000605@mdl29.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOmTf-0001MT-KR for emacs-orgmode@gnu.org; Thu, 18 Oct 2012 05:33:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOmTb-00040J-HI for emacs-orgmode@gnu.org; Thu, 18 Oct 2012 05:33:19 -0400 Received: from ip2.mdl29.net ([91.217.154.233]:57825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOmTb-0003zv-Au for emacs-orgmode@gnu.org; Thu, 18 Oct 2012 05:33:15 -0400 Received: from localhost (localhost [127.0.0.1]) by mail (Postfix) with ESMTP id 5B55720086 for ; Thu, 18 Oct 2012 11:33:12 +0200 (CEST) Received: from ip2.mdl29.net ([127.0.0.1]) by localhost (mail.mdl29.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bq-WAfE4TyZL for ; Thu, 18 Oct 2012 11:33:11 +0200 (CEST) Received: from [192.168.1.11] (ARennes-259-1-234-82.w2-12.abo.wanadoo.fr [2.12.241.82]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail (Postfix) with ESMTPSA id 15AF520084 for ; Thu, 18 Oct 2012 11:33:10 +0200 (CEST) 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, When I put #+TITLE in a block example and try to export an Org file in HTML (with org-export), results are unexpected : Org file -- #+TITLE: Testing example block #+begin_example #+TITLE: My title #+end_example HTML file -- [..] My title [..] To obtain expected results, I found two solutions : - prefix "#+TITLE: My title" with ';' - put "#+TITLE: Testing example block" *after* "#+TITLE: My title" To my mind, example is a protecting-block. Therefore, as mentionned in org-protecting-blocks documentation, his content should not be "processed as Org syntax". Regards, -- Emacs : GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.4) of 2012-08-28 on shaun Package: Org-mode version 7.9.2 (7.9.2-dist @ /usr/share/emacs/site-lisp/org/) Value of org-exporting-blocks : ("src" "example" "latex" "ascii" "html" "docbook" "ditaa" "dot" "r" "R") Tested with org-minimal.el.