Browse Source

Smart quote support for Russian language

* ox.el (org-export-smart-quotes-alist): Added ("ru").

TINYCHANGE
Daniil Frumin 11 năm trước cách đây
mục cha
commit
6c585439cd
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 12 0
      lisp/ox.el

+ 12 - 0
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 "&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 "’’")