From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: How to export =\'= as a table entry in latex Date: Tue, 28 Sep 2010 18:52:40 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=36510 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0dTR-0007sf-0p for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 12:56:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0dTP-0006uv-JG for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 12:56:12 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:63215) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0dTP-0006uj-EU for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 12:56:11 -0400 Received: by ewy19 with SMTP id 19so452182ewy.0 for ; Tue, 28 Sep 2010 09:56:10 -0700 (PDT) In-Reply-To: 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: zwz Cc: emacs-orgmode@gnu.org 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