From 256eafe32c2b8db4e766aa542fd5f6f878dda227 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 12 Apr 2012 12:44:16 +0200 Subject: [PATCH] org-e-latex: Properly handle quotes at bol * EXPERIMENTAL/org-e-latex.el (org-e-latex-quotes): Properly handle quotes at bol. --- EXPERIMENTAL/org-e-latex.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/EXPERIMENTAL/org-e-latex.el b/EXPERIMENTAL/org-e-latex.el index 1fb634ccd..e2e18e6a5 100644 --- a/EXPERIMENTAL/org-e-latex.el +++ b/EXPERIMENTAL/org-e-latex.el @@ -617,8 +617,14 @@ during latex export it will output ;;;; Plain text (defcustom org-e-latex-quotes - '(("fr" ("\\(\\s-\\|[[(]\\)\"" . "«~") ("\\(\\S-\\)\"" . "~»") ("\\(\\s-\\|(\\)'" . "'")) - ("en" ("\\(\\s-\\|[[(]\\)\"" . "``") ("\\(\\S-\\)\"" . "''") ("\\(\\s-\\|(\\)'" . "`"))) + '(("fr" + ("\\(\\s-\\|[[(]\\|^\\)\"" . "«~") + ("\\(\\S-\\)\"" . "~»") + ("\\(\\s-\\|(\\|^\\)'" . "'")) + ("en" + ("\\(\\s-\\|[[(]\\|^\\)\"" . "``") + ("\\(\\S-\\)\"" . "''") + ("\\(\\s-\\|(\\|^\\)'" . "`"))) "Alist for quotes to use when converting english double-quotes. The CAR of each item in this alist is the language code.