emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Albert Krewinkel <tarleb@moltkeplatz.de>
To: James Ryland Miller <james.ryland.miller@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to escape an asterisk on org-mode
Date: Thu, 12 Jun 2014 10:01:30 +0200	[thread overview]
Message-ID: <87sinar1yd.fsf@caffelatte.moltkeplatz.de> (raw)
In-Reply-To: <CADPbT+CPL-B6Q3pCcTj_ZwXFeoGJhzU0r9iKCK68hC0kX2maPw@mail.gmail.com> (James Ryland Miller's message of "Wed, 11 Jun 2014 23:29:31 -0500")

Hi James,

James Ryland Miller <james.ryland.miller@gmail.com> writes:
> I'm trying to escape an asterisk character, i.e. "*" to use in regular
> text. I.e., "The person wanted to say *BSD". And I don't want to use a
> verbatim or code block because monospace is not what I need.
>
> I've tried \* to escape the character and it doesn't work. I'm on Org 8.2.5h.

There is currently no way to escape characters in this way.  Using an
asterisk like in your example should work fine -- except if the text
after it makes it seem like the asterisk is actually markup. (e.g.
"The person wanted to say *BSD.  Now this is bold*"

Whether an asterisk is treated as a symbol or as markup follows some
rather complicated rules, but there are two simple rules that make the
behavior predictable:

1. Asterisks intended for markup must occur right before and after the
   words that are to be printed in bold, i.e. *this is bold*, but
   * neither this* is,  *nor this *.

2. Markup cannot span more than two lines:
   *this
   is not
   bold*

HTH

Albert



-- 
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124

  parent reply	other threads:[~2014-06-12  8:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-12  4:29 How to escape an asterisk on org-mode James Ryland Miller
2014-06-12  5:14 ` Nick Dokos
2014-06-12  8:01 ` Albert Krewinkel [this message]
2014-06-12  9:23   ` James Miller
2014-06-12 17:20     ` Nicolas Goaziou

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=87sinar1yd.fsf@caffelatte.moltkeplatz.de \
    --to=tarleb@moltkeplatz.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=james.ryland.miller@gmail.com \
    /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).