Fix #2015: add "\sim" to ~ conversion for HTML rendering
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 20 May 2006 20:54:18 +0000 (20:54 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 20 May 2006 20:54:18 +0000 (20:54 +0000)
RELEASE-NOTES
math/texutil.ml

index 4482458..53e0fe0 100644 (file)
@@ -303,6 +303,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 6025) SpecialImport: wrong message when no file selected
 * (bug 6015) EditPage: add spacing in the boxes "edit is minor" and "watch this"
 * (bug 6018) Userrights: new message when no user specified ('nouserspecified')
+* (bug 2015) Add "\sim" to ~ conversion for HTML rendering
 
 == Compatibility ==
 
index 67cb1a8..f7678e3 100644 (file)
@@ -100,6 +100,7 @@ let find = function
     | "\\rho"              -> LITERAL (HTMLABLEC (FONT_UF,  "\\rho ", "&rho;"))
     | "\\Rho"              -> LITERAL (HTMLABLEC (FONT_RTI, "P", "&Rho;"))
     | "\\varrho"           -> LITERAL (TEX_ONLY "\\varrho ")
+    | "\\sim"              -> LITERAL (HTMLABLEC (FONT_UF,  "\\sim ", "&tilde;"))
     | "\\sigma"            -> LITERAL (HTMLABLEC (FONT_UF,  "\\sigma ", "&sigma;"))
     | "\\Sigma"            -> LITERAL (HTMLABLEC (FONT_RTI, "\\Sigma ", "&Sigma;"))
     | "\\varsigma"         -> LITERAL (TEX_ONLY "\\varsigma ")