r33521 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33520‎ | r33521 | r33522 >
Date:21:27, 17 April 2008
Author:simetrical
Status:old
Tags:
Comment:
Allow \C and \Q as TeX commands to match \R, \N, \Z, because the inconsistency annoys me. Patterned off r22477, so I assume this will work, although I guess not on Wikimedia until someone recompiles (which is not exactly critical).
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/math/texutil.ml (modified) (history)

Diff [purge]

Index: trunk/phase3/math/texutil.ml
@@ -408,11 +408,13 @@
409409 | "\\reals" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\mathbb{R}", "<b>R</b>")))
410410 | "\\Reals" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\mathbb{R}", "<b>R</b>")))
411411 | "\\R" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\mathbb{R}", "<b>R</b>")))
 412+ | "\\C" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\mathbb{C}", "<b>C</b>")))
412413 | "\\cnums" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\mathbb{C}", "<b>C</b>")))
413414 | "\\Complex" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\mathbb{C}", "<b>C</b>")))
414415 | "\\Z" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\mathbb{Z}", "<b>Z</b>")))
415416 | "\\natnums" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\mathbb{N}", "<b>N</b>")))
416417 | "\\N" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\mathbb{N}", "<b>N</b>")))
 418+ | "\\Q" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\mathbb{Q}", "<b>Q</b>")))
417419 | "\\lVert" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\lVert ", "||")))
418420 | "\\rVert" -> (tex_use_ams (); LITERAL (HTMLABLE (FONT_UFH,"\\rVert ", "||")))
419421 | "\\nmid" -> (tex_use_ams (); LITERAL (TEX_ONLY "\\nmid "))
Index: trunk/phase3/RELEASE-NOTES
@@ -80,6 +80,7 @@
8181 * Add class="nested" for <fieldset>s so fieldsets inside fieldsets get
8282 a slightly less huge margin and padding.
8383 * (bug 13527) Use sitemaps.org format 0.9 instead of a Google-specific format
 84+* Allow \C and \Q as TeX commands to match \R, \N, \Z
8485
8586 === Bug fixes in 1.13 ===
8687

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r22477(bug 7899) Added \hline and \vline to the list of allowed TeX commandsjeluf19:52, 27 May 2007

Status & tagging log