From: Daniil Frumin <difrumin@gmail.com>
To: "emacs-orgmode@gnu.org Mode" <emacs-orgmode@gnu.org>
Subject: [PATCH] Smart quote support for Russian language
Date: Thu, 14 Nov 2013 19:27:45 +0400 [thread overview]
Message-ID: <CACxkR4AWn2WUSrWOgh1YxLyM8arV3VLsn8++CecY4jGuzTLVzw@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 213 bytes --]
As discussed in here: http://thread.gmane.org/gmane.emacs.orgmode/78806
--
Smart quote support for Russian language
* ox.el (org-export-smart-quotes-alist): Added ("ru").
TINYCHANGE
Sincerely yours,
-- Daniil
[-- Attachment #1.2: Type: text/html, Size: 370 bytes --]
[-- Attachment #2: 0001-Smart-quote-support-for-Russian-language.patch --]
[-- Type: application/octet-stream, Size: 1774 bytes --]
From 364af4f535f64757f6f5d9ef779cf7cfba2ab543 Mon Sep 17 00:00:00 2001
From: Daniil Frumin <difrumin@gmail.com>
Date: Thu, 14 Nov 2013 19:26:53 +0400
Subject: [PATCH] Smart quote support for Russian language
* ox.el (org-export-smart-quotes-alist): Added ("ru").
TINYCHANGE
---
lisp/ox.el | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/lisp/ox.el b/lisp/ox.el
index 56c24c0..2b06cb4 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -4969,6 +4969,18 @@ Return a list of src-block elements with a caption."
(opening-single-quote :utf-8 "‘" :html "‘" :latex "`" :texinfo "`")
(closing-single-quote :utf-8 "’" :html "’" :latex "'" :texinfo "'")
(apostrophe :utf-8 "’" :html "’"))
+ ("ru"
+ ;; http://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%B2%D1%8B%D1%87%D0%BA%D0%B8#.D0.9A.D0.B0.D0.B2.D1.8B.D1.87.D0.BA.D0.B8.2C_.D0.B8.D1.81.D0.BF.D0.BE.D0.BB.D1.8C.D0.B7.D1.83.D0.B5.D0.BC.D1.8B.D0.B5_.D0.B2_.D1.80.D1.83.D1.81.D1.81.D0.BA.D0.BE.D0.BC_.D1.8F.D0.B7.D1.8B.D0.BA.D0.B5
+ ;; http://www.artlebedev.ru/kovodstvo/sections/104/
+ (opening-double-quote :utf-8 "«" :html "«" :latex "{}<<"
+ :texinfo "@guillemetleft{}")
+ (closing-double-quote :utf-8 "»" :html "»" :latex ">>{}"
+ :texinfo "@guillemetright{}")
+ (opening-single-quote :utf-8 "„" :html "„" :latex "\\glqq{}"
+ :texinfo "@quotedblbase{}")
+ (closing-single-quote :utf-8 "“" :html "“" :latex "\\grqq{}"
+ :texinfo "@quotedblleft{}")
+ (apostrophe :utf-8 "’" :html: "'"))
("sv"
;; based on https://sv.wikipedia.org/wiki/Citattecken
(opening-double-quote :utf-8 "”" :html "”" :latex "’’" :texinfo "’’")
--
1.7.12.4 (Apple Git-37)
next reply other threads:[~2013-11-14 15:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-14 15:27 Daniil Frumin [this message]
2013-11-14 15:33 ` [PATCH] Smart quote support for Russian language Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACxkR4AWn2WUSrWOgh1YxLyM8arV3VLsn8++CecY4jGuzTLVzw@mail.gmail.com \
--to=difrumin@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).