all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: zwz <zhangweize@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to export =\'= as a table entry in latex
Date: Tue, 28 Sep 2010 18:52:40 +0200	[thread overview]
Message-ID: <BEE9A8FA-C764-4038-BEAF-820D538B83F8@gmail.com> (raw)
In-Reply-To: <m3r5gpajrz.fsf@gmail.com>


On Sep 19, 2010, at 4:29 PM, zwz wrote:

> Those days when I was preparing a presentation about the special chars
> that starts with a =\= in C programming language, I made such a table
>
> | \' | signle quote |
> | \" | double quote |
>
> It did not work after I hit C-c C-e p.
>
> So I modified it as
> | =\'= | signle quote |
> | =\"= | double quote |
>
> Still it did not produce the right thing.

This was at first puzzling, because you did exactly the right thing.

The reason why it is not working is that quotes cannot be last
in an emphasis string.  I do not remember the reason for this
I am sure there was one at some point.

What you can do is this:  Customize the variable org-emphasis-regexp- 
components and remove

   \"

and

   '

from the third element in that variable.

The your second version above should work.

- Carsten

  parent reply	other threads:[~2010-09-28 16:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-19 14:29 How to export =\'= as a table entry in latex zwz
2010-09-20 11:26 ` Giovanni Ridolfi
2010-09-28 16:52 ` Carsten Dominik [this message]
2010-09-29  8:26   ` zwz

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=BEE9A8FA-C764-4038-BEAF-820D538B83F8@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=zhangweize@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.