From 56483ad1739b52c2abdd6d1a677bb155b4e5a37d Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 17 Apr 2014 17:35:48 +0200 Subject: [PATCH] Small fix * contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files, org-bibtex-process-bib-files): Use correct encoding. * lisp/ox.el (org-export-dictionary): Update "Reference" entry. --- contrib/lisp/ox-bibtex.el | 12 ++++++++---- lisp/ox.el | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/contrib/lisp/ox-bibtex.el b/contrib/lisp/ox-bibtex.el index ca1513c06..9aa5b1fed 100644 --- a/contrib/lisp/ox-bibtex.el +++ b/contrib/lisp/ox-bibtex.el @@ -213,7 +213,7 @@ Return new parse tree." (cond ((org-export-derived-backend-p backend 'html) (insert (format "
\n

%s

\n" - (org-export-translates "References" :bibtex info))) + (org-export-translate "References" :html info))) (insert-file-contents (concat file ".html")) (insert "\n
")) ((org-export-derived-backend-p backend 'ascii) @@ -223,9 +223,13 @@ Return new parse tree." "-o" (concat file ".txt"))) (error "Executing pandoc failed")) - (insert (format - "%s\n==========\n\n" - (org-export-translates "References" :bibtex info))) + (insert + (format + "%s\n==========\n\n" + (org-export-translate + "References" + (intern (format ":%s" (plist-get info :ascii-charset))) + info))) (insert-file-contents (concat file ".txt")) (goto-char (point-min)) (while (re-search-forward diff --git a/lisp/ox.el b/lisp/ox.el index e03cf2fae..2e7664912 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -5486,7 +5486,7 @@ them." :utf-8 "Распечатка %d.:") ("zh-CN" :html "代码%d " :utf-8 "代码%d ")) ("References" - ("fr" :default "Références")) + ("fr" :ascii "References" :default "Références")) ("See section %s" ("da" :default "jævnfør afsnit %s") ("de" :default "siehe Abschnitt %s")