From mboxrd@z Thu Jan 1 00:00:00 1970 From: zwz Subject: Re: How to export =\'= as a table entry in latex Date: Wed, 29 Sep 2010 16:26:03 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=42909 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0s0E-0000n3-2e for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 04:27:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0s08-0000Q6-6I for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 04:27:01 -0400 Received: from lo.gmane.org ([80.91.229.12]:35630) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0s07-0000Pp-Uh for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 04:26:56 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P0s03-0002Wt-RN for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 10:26:51 +0200 Received: from 221.12.171.112 ([221.12.171.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Sep 2010 10:26:51 +0200 Received: from zhangweize by 221.12.171.112 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Sep 2010 10:26:51 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Carsten Dominik writes: > 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 Thanks for your instructions. And yes, it puzzled me a lot. Maybe there should be an easier workaround, e.g. by #+OPTIONS.