emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-html-publish-to-html fails to recognize BEGIN_EXAMPLE/END_EX


From: Sebastien Vauban
Subject: Re: [O] org-html-publish-to-html fails to recognize BEGIN_EXAMPLE/END_EXAMPLE blocks when exporting an example containing org-mode heading
Date: Thu, 26 Sep 2013 10:34:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Hi Iannis,

Iannis Zannos wrote:
> On Thu, Sep 26, 2013 at 10:36 AM, Sebastien Vauban wrote:
>> Iannis Zannos wrote:
>> > when trying to export as html an example which contains org-mode headings,
>> > the example is not "quoted" in mono-space as it should be. Example:
>> >
>> > *1. Failing example: *
>> >
>> > This is a test of publishing an example which contains org mode code in
>> > html:
>> >
>> > #+BEGIN_EXAMPLE
>> > * test
>> > #+END_EXAMPLE
>> >
>> > End of test.
>>
>> The official solution (normally automatic for Org code blocks) is to have a
>> "," inserted before the "*"; it is removed automatically when exporting.
>
> Thank you for the answer. It is clear now.

Glad it helped!

> Perhaps the info manual of org-mode should be updated to indicate this? I
> would propose to do this in the following places in the manual:
>
> 11.3 Literal examples
> and perhaps also:
> 15.2 Easy Templates

Would you mind providing a patch?

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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