org-e-latex: Properly handle quotes at bol

* EXPERIMENTAL/org-e-latex.el (org-e-latex-quotes): Properly handle
  quotes at bol.
This commit is contained in:
Nicolas Goaziou 2012-04-12 12:44:16 +02:00
parent e307d08382
commit 256eafe32c
1 changed files with 8 additions and 2 deletions

View File

@ -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.