[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Export options processed in example block
From: |
Nicolas Quiniou |
Subject: |
[O] Export options processed in example block |
Date: |
Thu, 18 Oct 2012 11:33:33 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121012 Thunderbird/16.0.1 |
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
--
[..]
<title>My title</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.
- [O] Export options processed in example block,
Nicolas Quiniou <=