From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: 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 [thread overview]
Message-ID: <8638osf0b4.fsf@somewhere.org> (raw)
In-Reply-To: 86ioxof30h.fsf@somewhere.org
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
prev parent reply other threads:[~2013-09-26 8:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-26 6:30 org-html-publish-to-html fails to recognize BEGIN_EXAMPLE/END_EXAMPLE blocks when exporting an example containing org-mode heading Iannis Zannos
2013-09-26 7:36 ` Sebastien Vauban
2013-09-26 8:34 ` Sebastien Vauban [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8638osf0b4.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).