emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "David A. Gershman" <dagershman@dagertech.net>
To: emacs-orgmode@gnu.org
Subject: Turn off #+BEGIN_EXAMPLE conversions?
Date: Thu, 22 Sep 2016 13:56:56 -0700	[thread overview]
Message-ID: <CE46D6F3-2D6C-4E11-B23E-7BA4CE39769E@dagertech.net> (raw)

Hello,

I have some text in an EXAMPLE block but on HTML export '<' and '>' are converted to their '&' equivalents.  Is there a way to turn this off on a per-instance basis?

For example, I have:

#+BEGIN_EXAMPLE
  T = X + Y1
#+END_EXAMPLE

and I'd like the '1' to be subscript.  But when I write:

#+BEGIN_EXAMPLE
  T = X + Y<sub>1</sub>
#+END_EXAMPLE

obviously the'<' and '>' are converted to &lt; and &gt;.  "Y_1" also won't work. 

Is there a way/option to disable this conversion for that specific block?  Ex:

#+BEGIN_EXAMPLE :nointerpolation
  T = X + Y<sub>1</sub>
#+END_EXAMPLE

This would let the browser apply the <sub></sub> even though it's in a <pre> block.

Thanks.
-- 
David A. Gershman, CISSP
dagershman@dagertech.net

             reply	other threads:[~2016-09-22 21:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-22 20:56 David A. Gershman [this message]
     [not found] <b933896d72b349c0b856351fd1c5a192@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-23  6:22 ` Turn off #+BEGIN_EXAMPLE conversions? Eric S Fraga
2016-09-23 17:39   ` David A. Gershman
     [not found]   ` <e29f196377264c24a8d8effc322befcc@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-24 10:54     ` Eric S Fraga

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=CE46D6F3-2D6C-4E11-B23E-7BA4CE39769E@dagertech.net \
    --to=dagershman@dagertech.net \
    --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).