From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: [PATCH] Distinguish = and ~ delimiters in LaTeX export Date: Tue, 1 Feb 2011 12:17:17 +0100 Message-ID: <6FEC9E76-9835-4C33-ADA2-D206725FD0E1@gmail.com> References: <7D426067-ED81-42E7-B517-29F06F35EB8F@tsdye.com> <80zkqinuxa.fsf@missioncriticalit.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=48410 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkEEd-0001Dy-EO for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 06:17:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkEEb-0001J1-93 for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 06:17:22 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:57990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkEEb-0001Ih-12 for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 06:17:21 -0500 Received: by fxm12 with SMTP id 12so7606588fxm.0 for ; Tue, 01 Feb 2011 03:17:20 -0800 (PST) In-Reply-To: <80zkqinuxa.fsf@missioncriticalit.com> 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: =?ISO-8859-1?Q?S=E9bastien_Vauban?= Cc: emacs-orgmode@gnu.org On Jan 30, 2011, at 6:49 PM, S=E9bastien Vauban wrote: > Hi Thomas, > > "Thomas S. Dye" wrote: >> The default value of org-export-latex-emphasis-alist treats the =3D =20= >> and ~ >> delimiters as \\verb. Both settings are ignored because org-export- >> latex-use-verb is nil by default. The =3D and ~ delimiters produce =20= >> \texttt{} >> instead of \verb. This patch distinguishes =3D and ~ by changing the =20= >> default >> for =3D to \\texttt{%s}. >> >> The docstring has also been changed to refer to org-export-latex-=20 >> use- verb. >> >> With this patch, users exporting to LaTeX will be able to use =3D for = =20 >> \texttt >> text in LaTeX moving environments and ~ for \verb text in places =20 >> where it is >> safe to use this construct. > > What's the real use of that variable? I mean, wouldn't it be more =20 > simple if > Org's export behavior was just based on the contents of > org-export-latex-emphasis-alist? Is there verbatim in it, we use =20 > verbatim. Is > is texttt in it, we use texttt... I did put the variable in while I was developing this feature, not =20 being sure if I could get it to work properly, so to give me =20 flexibility to switch the feature on and off. The variable is not =20 meant for the user (then it would have been a defcustom), just a =20 convenience for the programmer. Hope this makes it more clear. - Carsten > > In fact, in which cases do we want to override what's described in =20 > the alist? > > Best regards, > Seb > > --=20 > S=E9bastien Vauban > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode