|
From: <mi...@us...> - 2015-02-19 11:24:55
|
Revision: 7794
http://sourceforge.net/p/docutils/code/7794
Author: milde
Date: 2015-02-19 11:24:52 +0000 (Thu, 19 Feb 2015)
Log Message:
-----------
Add ``\\\\colon`` macro, fix spacing around colons. Fixes [ 246 ].
Modified Paths:
--------------
trunk/docutils/HISTORY.txt
trunk/docutils/docutils/utils/math/math2html.py
Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt 2015-02-17 14:55:01 UTC (rev 7793)
+++ trunk/docutils/HISTORY.txt 2015-02-19 11:24:52 UTC (rev 7794)
@@ -29,6 +29,10 @@
- patch [ 120 ] tables accept option widths: list of relative widths, 'auto'
or 'grid'.
+* docutils/utils/math/math2html.py
+
+ - add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
+
* docutils/writers/html4css1/__init__.py
- Add "docutils" to class values for "container" object to address [ 267 ].
Modified: trunk/docutils/docutils/utils/math/math2html.py
===================================================================
--- trunk/docutils/docutils/utils/math/math2html.py 2015-02-17 14:55:01 UTC (rev 7793)
+++ trunk/docutils/docutils/utils/math/math2html.py 2015-02-19 11:24:52 UTC (rev 7794)
@@ -412,7 +412,7 @@
u'\\cdot':u'⋅', u'\\cdots':u'⋯', u'\\centerdot':u'∙',
u'\\checkmark':u'✓', u'\\chi':u'χ', u'\\circ':u'∘', u'\\circeq':u'≗',
u'\\circledR':u'®', u'\\circledast':u'⊛', u'\\circledcirc':u'⊚',
- u'\\circleddash':u'⊝', u'\\clubsuit':u'♣', u'\\coloneqq':u'≔',
+ u'\\circleddash':u'⊝', u'\\clubsuit':u'♣', u'\\colon':u': ', u'\\coloneqq':u'≔',
u'\\complement':u'∁', u'\\cong':u'≅', u'\\coprod':u'∐',
u'\\copyright':u'©', u'\\cos':u'cos', u'\\cosh':u'cosh', u'\\cot':u'cot',
u'\\coth':u'coth', u'\\csc':u'csc', u'\\cup':u'∪',
@@ -643,8 +643,8 @@
modified = {
u'\n':u'', u' ':u'', u'$':u'', u'&':u' ', u'\'':u'’', u'+':u' + ',
- u',':u', ', u'-':u' − ', u'/':u' ⁄ ', u'<':u' < ', u'=':u' = ',
- u'>':u' > ', u'@':u'', u'~':u'',
+ u',':u', ', u'-':u' − ', u'/':u' ⁄ ',u':':u' : ', u'<':u' < ',
+ u'=':u' = ', u'>':u' > ', u'@':u'', u'~':u'',
}
onefunctions = {
@@ -695,7 +695,7 @@
unmodified = {
- u'characters':[u'.',u'*',u'€',u'(',u')',u'[',u']',u':',u'·',u'!',u';',u'|',u'§',u'"',],
+ u'characters':[u'.',u'*',u'€',u'(',u')',u'[',u']',u'·',u'!',u';',u'|',u'§',u'"',],
}
urls = {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|