r16890 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r16889‎ | r16890 | r16891 >
Date:13:11, 9 October 2006
Author:jeluf
Status:old
Tags:
Comment:
* (bug 4528) Lack of important LaTeX functions stackrel, rightleftharpoon
* (bug 6721) missing symbols ulcorner, urcorner, llcorner, lrcorner, twoheadrightarrow, twoheadleftarrow
* (bug 7367) Hyphens sometimes erroneously appended to equations when not converted to PNG
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/math/render.ml (modified) (history)
  • /trunk/phase3/math/texutil.ml (modified) (history)

Diff [purge]

Index: trunk/phase3/math/render.ml
@@ -19,7 +19,8 @@
2020 Sys.remove (tmpprefix ^ ".aux");
2121 Sys.remove (tmpprefix ^ ".log");
2222 Sys.remove (tmpprefix ^ ".tex");
23 - Sys.remove (tmpprefix ^ ".ps");
 23+ if Sys.file_exists (tmpprefix ^ ".ps")
 24+ then Sys.remove (tmpprefix ^ ".ps");
2425 end in
2526 let f = (Util.open_out_unless_exists (tmpprefix ^ ".tex")) in
2627 begin
Index: trunk/phase3/math/texutil.ml
@@ -152,6 +152,13 @@
153153 | "\\Downarrow" -> DELIMITER (HTMLABLE (FONT_UF, "\\Downarrow ", "⇓"))
154154 | "\\updownarrow" -> DELIMITER (TEX_ONLY "\\updownarrow ")
155155 | "\\Updownarrow" -> DELIMITER (TEX_ONLY "\\Updownarrow ")
 156+ | "\\ulcorner" -> (tex_use_ams (); DELIMITER (TEX_ONLY "\\ulcorner "))
 157+ | "\\urcorner" -> (tex_use_ams (); DELIMITER (TEX_ONLY "\\urcorner "))
 158+ | "\\llcorner" -> (tex_use_ams (); DELIMITER (TEX_ONLY "\\llcorner "))
 159+ | "\\lrcorner" -> (tex_use_ams (); DELIMITER (TEX_ONLY "\\lrcorner "))
 160+ | "\\twoheadleftarrow" -> (tex_use_ams (); DELIMITER (TEX_ONLY "\\twoheadleftarrow "))
 161+ | "\\twoheadrightarrow" -> (tex_use_ams (); DELIMITER (TEX_ONLY "\\twoheadrightarrow "))
 162+ | "\\rightleftharpoons" -> DELIMITER (TEX_ONLY "\\rightleftharpoons ")
156163 | "\\leftrightarrow" -> LITERAL (HTMLABLE (FONT_UF, "\\leftrightarrow ", "↔"))
157164 | "\\lrarr" -> LITERAL (HTMLABLE (FONT_UF, "\\leftrightarrow ", "↔"))
158165 | "\\harr" -> LITERAL (HTMLABLE (FONT_UF, "\\leftrightarrow ", "↔"))
@@ -169,7 +176,6 @@
170177 | "\\nearrow" -> LITERAL (TEX_ONLY "\\nearrow ")
171178 | "\\swarrow" -> LITERAL (TEX_ONLY "\\swarrow ")
172179 | "\\nwarrow" -> LITERAL (TEX_ONLY "\\nwarrow ")
173 - | "\\sim" -> LITERAL (TEX_ONLY "\\sim ")
174180 | "\\simeq" -> LITERAL (TEX_ONLY "\\simeq ")
175181 | "\\star" -> LITERAL (TEX_ONLY "\\star ")
176182 | "\\ell" -> LITERAL (TEX_ONLY "\\ell ")
@@ -440,6 +446,7 @@
441447 | "\\choose" -> FUN_INFIX "\\choose "
442448 | "\\atop" -> FUN_INFIX "\\atop "
443449 | "\\binom" -> FUN_AR2 "\\binom "
 450+ | "\\stackrel" -> FUN_AR2 "\\stackrel "
444451 | "\\frac" -> FUN_AR2h ("\\frac ", fun num den -> Html.html_render [num], "<hr style=\"{background: black}\"/>", Html.html_render [den])
445452 | "\\cfrac" -> (tex_use_ams (); FUN_AR2h ("\\cfrac ", fun num den -> Html.html_render [num], "<hr style=\"{background: black}\">", Html.html_render [den]))
446453 | "\\over" -> FUN_INFIXh ("\\over ", fun num den -> Html.html_render num, "<hr style=\"{background: black}\"/>", Html.html_render den)
Index: trunk/phase3/RELEASE-NOTES
@@ -279,8 +279,10 @@
280280 * (bug 7526) Make $wgDefaultUserOptions work again
281281 * (bug 7472) Localize Help namespace for Basque
282282 * (bug 7529) Including a non-existent category in an article places that article in the category
 283+* (bug 4528) Lack of important LaTeX functions stackrel, rightleftharpoon
 284+* (bug 6721) missing symbols ulcorner, urcorner, llcorner, lrcorner, twoheadrightarrow, twoheadleftarrow
 285+* (bug 7367) Hyphens sometimes erroneously appended to equations when not converted to PNG
283286
284 -
285287 == Languages updated ==
286288
287289 * Albanian (sq)