emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Export options processed in example block
Date: Thu, 18 Oct 2012 12:32:04 +0200	[thread overview]
Message-ID: <20121018103204.GA16407@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <507FCCED.8000605@mdl29.net>

Hi Nicolas,

On Thu, Oct 18, 2012 at 11:33:33AM +0200, Nicolas Quiniou wrote:
> 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
> 

As far as I know org syntax in example blocks need to be protected by a
comma.  So something like this should work:

#+TITLE: Testing example block

#+begin_example
  ,#+TITLE: My title
#+end_example

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

  reply	other threads:[~2012-10-18 10:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-18  9:33 Export options processed in example block Nicolas Quiniou
2012-10-18 10:32 ` Suvayu Ali [this message]
2012-10-18 12:59   ` Nicolas Quiniou
2012-10-18 14:55     ` Suvayu Ali

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=20121018103204.GA16407@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.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).