emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Unable to nest headings within export blocks [9.0 (9.0-elpa


From: Nicolas Goaziou
Subject: Re: [O] Bug: Unable to nest headings within export blocks [9.0 (9.0-elpa @ c:/Data/Documents/emacs.d/elpa/org-20161102/)]
Date: Sat, 05 Nov 2016 08:41:44 +0100

Hello,

Lixin Chin <address@hidden> writes:

> 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 heading
>
> #+BEGIN_EXPORT latex
> Text which should appear in \LaTeX{} exports, but not HTML.
> #+END_EXPORT
>
> #+BEGIN_EXPORT html
> * HTML only heading
> Text which should appear in HTML exports, but not \LaTeX{}.
> #+END_EXPORT

You need to escape the pseudo-headline with a comma.

  #+BEGIN_EXPORT html
  ,* HTML only heading
  Text which should appear in HTML exports, but not \LaTeX{}.
  #+END_EXPORT


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]