all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <Ken.Williams@thomsonreuters.com>
To: camille.persson@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: How to escape characters in tables
Date: Mon, 7 Mar 2011 11:45:57 -0600	[thread overview]
Message-ID: <C99A69EE.24692%ken.williams@thomsonreuters.com> (raw)
In-Reply-To: <AANLkTim5+CLM2NXDY3wBQNAG9BRNwktY-mR-ZZ5tVEAC@mail.gmail.com>


From:  Camille persson <camille.persson@gmail.com>
> 2011/3/4  <Ken.Williams@thomsonreuters.com>
>> [...] 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.


> =...= is used for code so it is printed as it written
> You may use \texttt{}
> | foo | \texttt{m\/foo\vert{}foodfight\/} |


Unfortunately that doesn't work when exporting to HTML though, I assume
it's for LaTeX export only?


I'd suggest there are 3 things that need to be addressed/fixed in org-mode.

First, the table-parser should respect =...= sections and skip over them,
just like a C preprocessor respects double-quoted string sections.

Second, there should be a way to indicate verbatim sections that doesn't
conflict with formula syntax.

Finally, there should be a way (e.g. \x{...}) to stick in a character by
ASCII/Unicode number.  This would help with several issues when a literal
character is intended but it conflicts with a markup character.


--
Ken Williams
Senior Research Scientist
Thomson Reuters
http://labs.thomsonreuters.com

      reply	other threads:[~2011-03-07 17:46 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
2011-03-04 17:41     ` Camille persson
2011-03-07 17:45       ` Ken.Williams [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C99A69EE.24692%ken.williams@thomsonreuters.com \
    --to=ken.williams@thomsonreuters.com \
    --cc=camille.persson@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 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.