From: Antoine Musso Date: Sat, 20 May 2006 20:54:18 +0000 (+0000) Subject: Fix #2015: add "\sim" to ~ conversion for HTML rendering X-Git-Tag: 1.31.0-rc.0~57079 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=5a96140bb20da5202843f6c1ebb1ed8c7886c98d;p=lhc%2Fweb%2Fwiklou.git Fix #2015: add "\sim" to ~ conversion for HTML rendering --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4482458d0f..53e0fe06a9 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/math/texutil.ml b/math/texutil.ml index 67cb1a81dd..f7678e3459 100644 --- a/math/texutil.ml +++ b/math/texutil.ml @@ -100,6 +100,7 @@ let find = function | "\\rho" -> LITERAL (HTMLABLEC (FONT_UF, "\\rho ", "ρ")) | "\\Rho" -> LITERAL (HTMLABLEC (FONT_RTI, "P", "Ρ")) | "\\varrho" -> LITERAL (TEX_ONLY "\\varrho ") + | "\\sim" -> LITERAL (HTMLABLEC (FONT_UF, "\\sim ", "˜")) | "\\sigma" -> LITERAL (HTMLABLEC (FONT_UF, "\\sigma ", "σ")) | "\\Sigma" -> LITERAL (HTMLABLEC (FONT_RTI, "\\Sigma ", "Σ")) | "\\varsigma" -> LITERAL (TEX_ONLY "\\varsigma ")