From: Carsten Dominik <carsten.dominik@gmail.com>
To: Uriel Avalos <amscopub-mail@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to insert apostrophe (') into code and verbatim text?
Date: Thu, 4 Feb 2010 18:31:02 +0100 [thread overview]
Message-ID: <1B42A8EA-259C-4172-AE90-37FF74910238@gmail.com> (raw)
In-Reply-To: <20100204114838.330cbb08@yahoo.com>
On Feb 4, 2010, at 5:48 PM, Uriel Avalos wrote:
> Here's an easy one for the guru's, why does an apostrophe at the
> beginning of a =code= not work? When I export the following text to
> HTML, the "'life" variable isn't set as code (and the = symbols show
> up):
>
> Select ='life= for the x variable.
>
> If I escape the apostrophe, I course get back the escape character
> in the HTML:
>
> Select =\'life= for the x variable.
That is because '=life=' was considered more likely than what you are
using.
Org-mode is using a heuristic method to figure out what is a normal
equal sign, and what introduces code. Feel free to play with the
variable `org-emphasis-regexp-components' and see if you can come up
with something that works for you.
- Carsten
prev parent reply other threads:[~2010-02-04 18:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 16:48 How to insert apostrophe (') into code and verbatim text? Uriel Avalos
2010-02-04 16:53 ` Nick Dokos
2010-02-05 16:09 ` Uriel Avalos
2010-02-05 15:07 ` Nick Dokos
2010-02-04 17:31 ` Carsten Dominik [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=1B42A8EA-259C-4172-AE90-37FF74910238@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=amscopub-mail@yahoo.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).