|
From: <mi...@us...> - 2017-11-08 11:25:13
|
Revision: 8202
http://sourceforge.net/p/docutils/code/8202
Author: milde
Date: 2017-11-08 11:25:10 +0000 (Wed, 08 Nov 2017)
Log Message:
-----------
Minor documentation update: smartquotes is still experimental.
Modified Paths:
--------------
trunk/docutils/docs/user/config.txt
trunk/docutils/docutils/utils/smartquotes.py
Modified: trunk/docutils/docs/user/config.txt
===================================================================
--- trunk/docutils/docs/user/config.txt 2017-11-08 11:24:23 UTC (rev 8201)
+++ trunk/docutils/docs/user/config.txt 2017-11-08 11:25:10 UTC (rev 8202)
@@ -678,7 +678,7 @@
smart_quotes
~~~~~~~~~~~~
-Activate the SmartQuotes_ transform to
+Activate the experimental SmartQuotes_ transform to
change straight quotation marks to typographic form. `Quote characters`_
are selected according to the language of the current block element (see
language_code_, smartquotes_locales_, and the `pre-defined quote sets`__).
Modified: trunk/docutils/docutils/utils/smartquotes.py
===================================================================
--- trunk/docutils/docutils/utils/smartquotes.py 2017-11-08 11:24:23 UTC (rev 8201)
+++ trunk/docutils/docutils/utils/smartquotes.py 2017-11-08 11:25:10 UTC (rev 8202)
@@ -404,11 +404,7 @@
# [9] Typografisk håndbok. Oslo: Spartacus. 2000. s. 67. ISBN 8243001530.
# [10] http://www.typografi.org/sitat/sitatart.html
#
- # TODO: configuration option, e.g.::
- #
- # smartquote-locales: nl: „“’’, # apostrophe for ``'s Gravenhage``
- # nr: se, # alias
- # fr: « : »:‹ : ›, # :-separated list with NBSPs
+ # See also configuration option "smartquote-locales".
quotes = {'af': u'“”‘’',
'af-x-altquot': u'„”‚’',
'bg': u'„“‚‘', # Bulgarian, https://bg.wikipedia.org/wiki/Кавички
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|