Table of Contents
1 Test heading
#+BEGINEXPORT html
2 HTML only heading
Text which should appear in HTML exports, but not \LaTeX{}. #+ENDEXPORT
|
From: | Lixin Chin |
Subject: | [O] Bug: Unable to nest headings within export blocks [9.0 (9.0-elpa @ c:/Data/Documents/emacs.d/elpa/org-20161102/)] |
Date: | Thu, 3 Nov 2016 11:47:57 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
As per the subject, when a heading line is included within a `#+BEGIN_EXPORT backend ... #+END_EXPORT' block, it breaks the parsing of the block, which is instead split into multiple `paragraph' elements. See the attached example (test.org), and associate exports (test.tex) and (test.html). Tested with `emacs -Q -l minimal-org.el', with the org package installed from http://orgmode.org/elpa/, org-20161102.
test.org
Description: Text document
test.tex
Description: Text document
#+BEGINEXPORT html
Text which should appear in HTML exports, but not \LaTeX{}. #+ENDEXPORT
Created: 2016-11-03 Thu 11:34
minimal-org.el
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |