From: <Ken.Williams@thomsonreuters.com>
To: fatkasuvayu+linux@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: How to escape characters in tables
Date: Fri, 4 Mar 2011 09:58:17 -0600 [thread overview]
Message-ID: <C9966697.244AD%ken.williams@thomsonreuters.com> (raw)
In-Reply-To: <20110303190707.06e8567c@bhishma.homelinux.net>
On 3/3/11 9:07 PM, "Suvayu Ali" <fatkasuvayu+linux@gmail.com> wrote:
>On Wed, 2 Mar 2011 09:25:57 -0600
><Ken.Williams@thomsonreuters.com> wrote:
>
>> The issue is that I've got tables whose cells contain the '|'
>> character (it's a table of regular expressions), and I can't seem to
>> figure out how to escape it so that it doesn't mean a delimiter
>> between cells. Anyone have advice or a pointer to the docs I can't
>> seem to find?
>>
>
>I don't think you can.
I'm making slight progress, actually.
On StackOverflow
(http://stackoverflow.com/questions/5144862/escape-pipe-character-in-org-mo
de), it was suggested to use the \vert{} character escape, which does
work.
However, since this is code (a regular expression), I want it to appear
monospaced, so I'm not out of the woods yet - here's a test case that
shows my intent:
| foo | =m/foo\vert{}foodfight/= |
The \vert{} seems not to work inside a =...= construction. Furthermore,
the =...= construction is problematic there because it conflicts with the
start-of-formula syntax.
--
Ken Williams
Senior Research Scientist
Thomson Reuters
http://labs.thomsonreuters.com
next prev parent reply other threads:[~2011-03-04 15:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-02 15:25 How to escape characters in tables Ken.Williams
2011-03-03 15:57 ` Eric S Fraga
2011-03-03 16:02 ` Ken.Williams
2011-03-04 3:07 ` Suvayu Ali
2011-03-04 15:58 ` Ken.Williams [this message]
2011-03-04 17:41 ` Camille persson
2011-03-07 17:45 ` Ken.Williams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C9966697.244AD%ken.williams@thomsonreuters.com \
--to=ken.williams@thomsonreuters.com \
--cc=emacs-orgmode@gnu.org \
--cc=fatkasuvayu+linux@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.