emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Smart quote support for Russian language
@ 2013-11-14 15:27 Daniil Frumin
  2013-11-14 15:33 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Daniil Frumin @ 2013-11-14 15:27 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org Mode


[-- 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 "&lsquo;" :latex "`" :texinfo "`")
      (closing-single-quote :utf-8 "’" :html "&rsquo;" :latex "'" :texinfo "'")
      (apostrophe :utf-8 "’" :html "&rsquo;"))
+    ("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 "&laquo;" :latex "{}<<"
+    			   :texinfo "@guillemetleft{}")
+     (closing-double-quote :utf-8 "»" :html "&raquo;" :latex ">>{}"
+    			   :texinfo "@guillemetright{}")
+     (opening-single-quote :utf-8 "„" :html "&bdquo;" :latex "\\glqq{}"
+    			   :texinfo "@quotedblbase{}")
+     (closing-single-quote :utf-8 "“" :html "&ldquo;" :latex "\\grqq{}"
+    			   :texinfo "@quotedblleft{}")
+     (apostrophe :utf-8 "’" :html: "&#39;"))
     ("sv"
      ;; based on https://sv.wikipedia.org/wiki/Citattecken
      (opening-double-quote :utf-8 "”" :html "&rdquo;" :latex "’’" :texinfo "’’")
-- 
1.7.12.4 (Apple Git-37)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Smart quote support for Russian language
  2013-11-14 15:27 [PATCH] Smart quote support for Russian language Daniil Frumin
@ 2013-11-14 15:33 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-11-14 15:33 UTC (permalink / raw)
  To: Daniil Frumin; +Cc: emacs-orgmode@gnu.org Mode

Daniil Frumin <difrumin@gmail.com> writes:

> As discussed in here: http://thread.gmane.org/gmane.emacs.orgmode/
> 78806

Applied, thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-14 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-14 15:27 [PATCH] Smart quote support for Russian language Daniil Frumin
2013-11-14 15:33 ` Bastien

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