|
From: | Carsten Dominik |
Subject: | Re: [Orgmode] Re: [PATCH] Distinguish = and ~ delimiters in LaTeX export |
Date: | Tue, 1 Feb 2011 12:17:17 +0100 |
On Jan 30, 2011, at 6:49 PM, Sébastien Vauban wrote:
Hi Thomas, "Thomas S. Dye" wrote:The default value of org-export-latex-emphasis-alist treats the = and ~delimiters as \\verb. Both settings are ignored because org-export-latex-use-verb is nil by default. The = and ~ delimiters produce \texttt{} instead of \verb. This patch distinguishes = and ~ by changing the defaultfor = to \\texttt{%s}.The docstring has also been changed to refer to org-export-latex- use- verb.With this patch, users exporting to LaTeX will be able to use = for \texttt text in LaTeX moving environments and ~ for \verb text in places where it issafe to use this construct.What's the real use of that variable? I mean, wouldn't it be more simple ifOrg's export behavior was just based on the contents oforg-export-latex-emphasis-alist? Is there verbatim in it, we use verbatim. Isis texttt in it, we use texttt...
I did put the variable in while I was developing this feature, not being sure if I could get it to work properly, so to give me flexibility to switch the feature on and off. The variable is not meant for the user (then it would have been a defcustom), just a 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 the alist?Best regards, Seb -- Sébastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. address@hidden http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Prev in Thread] | Current Thread | [Next in Thread] |