On Thu, 27 Jan 2011, Stuart Rackham wrote:



On 27/01/11 09:31, zany wrote:
Quote character attributes look like the perfect solution to this.
Clean and easy customizable.
I just tried this (using an asciidoc.conf file) and it works as
expected.

I've committed a patch to the trunk (with en and de quotes):
http://code.google.com/p/asciidoc/source/detail?r=895be0df73b9a1d3b85bf463e319eef158ce7ca9

Other language speakers please submit relevant patches for the lang-*.conf files.


 Hi all,

I suggest patch attached to message for russian and ukrainian languages.

Diff consist of quotes addon to lang-ru.conf and configuration for ukrainian. As single quotes AFAIK almost not used in Ukraine and Russia
(except for some very rare conditions) i commented them.

Suggestions and comments are welcome.

--
WBR Lavruschenko Oleksandr

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

diff -r 895be0df73b9 lang-ru.conf
--- a/lang-ru.conf	Thu Jan 27 10:50:38 2011 +1300
+++ b/lang-ru.conf	Fri Jan 28 13:51:58 2011 +0200
@@ -4,6 +4,13 @@
 #
 
 [attributes]
+# Left and right single and double quote characters.
+#lsq=‚
+#rsq=‘
+#ldq=„
+#rdq=“
+ldq=«
+rdq=»
 # Captions, used by (X)HTML backends.
 # Captions on RHS are displayed in outputs.
 ifdef::basebackend-html[]
diff -r 895be0df73b9 lang-uk.conf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lang-uk.conf	Fri Jan 28 13:51:58 2011 +0200
@@ -0,0 +1,63 @@
+#
+# AsciiDoc Ukrainian language configuration file.
+# Contributed by Oleksandr Lavrushchenko
+#
+
+[attributes]
+# Left and right single and double quote characters.
+#lsq=‚
+#rsq=‘
+#ldq=„
+#rdq=“
+ldq=«
+rdq=»
+# Captions, used by (X)HTML backends.
+# Captions on RHS are displayed in outputs.
+ifdef::basebackend-html[]
+
+caution-caption=Попередження
+important-caption=Важливо
+note-caption=Зауваження
+tip-caption=Підказка
+warning-caption=Увага
+figure-caption=Рисунок
+table-caption=Таблиця
+example-caption=Приклад
+toc-title=Зміст
+appendix-caption=Додаток
+# Man page NAME section title.
+manname-title=НАЗВА
+
+[footer-text]
+#TODO: Translation of 'Version' and 'Last updated'.
+Version {revnumber}{basebackend-xhtml11?<br />}{basebackend-xhtml11=<br>}
+Last updated {docdate} {doctime}
+
+endif::basebackend-html[]
+
+
+[specialsections]
+# DocBook special sections.
+# The regular expression on LHS is matched against source titles.
+ifdef::basebackend-docbook[]
+
+ifdef::doctype-article[]
+^Аннотация$=abstract
+endif::doctype-article[]
+
+ifdef::doctype-book[]
+^Колофон$=colophon
+^Присвячення$=dedication
+^Вступ$=preface
+endif::doctype-book[]
+
+^Предметний покажчик$=index
+^Бібліографія$=bibliography
+^Словник термінів$=glossary
+^Додаток [А-Я][:.](?P<title>.*)$=appendix
+
+endif::basebackend-docbook[]
+
+ifdef::doctype-manpage[]
+(?i)^ОГЛЯД$=synopsis
+endif::doctype-manpage[]

Reply via email to