Brion VIBBER
f1a0b5c254
Merge "Remove textcolor macro. It was just a hack to make the colors work."
2012-03-26 22:42:38 +00:00
Derk-Jan Hartman
f0c2308047
"\displaystyle" does not need curly braces as it does not take a parameter.
...
Thanks to User:Nageh for providing feedback:
https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Mathematics/Archive/2012/Mar#mathJax_progress
Change-Id: I52781773c7146f87a839720867a49f1dd6d74483
2012-03-27 00:39:55 +02:00
Derk-Jan Hartman
2205264ada
Remove textcolor macro. It was just a hack to make the colors work.
...
Change-Id: Ifbb05f3750075cbb4104bba5d1ef865fee8857e5
2012-03-27 00:22:22 +02:00
Brion VIBBER
7756451286
Merge "Adding arccot, arcsec and arccsc for bug 35186."
2012-03-26 22:00:12 +00:00
Derk-Jan Hartman
ef921fc4ef
Load the TeX extension cancel, because it is supported by texvc and in use on wiki. Fixes part of Bug 35186
...
Change-Id: Icfb2894e4f755ae364a29bcace3e1d14b52c9e87
2012-03-26 23:36:14 +02:00
Derk-Jan Hartman
5013c60be1
Adding arccot, arcsec and arccsc for bug 35186.
...
This says to treat these commands as Named functions, just as arcsin, arctan etc.
Change-Id: Ib11d9cb99f4ced0a063fd0913b9cacf544049f36
2012-03-26 23:21:33 +02:00
Derk-Jan Hartman
e592db16e7
Adding the tex colors to our texvc configuration, Fixes the lacking colors as pointed out in bug 35186.
...
We can remove the pre mathjax 2.0 color hack now that the color extensions is enabled.
Change-Id: I7863e3131689b2140e31cd09a3d663113f686b83
2012-03-26 00:09:56 +02:00
Brion Vibber
b572b021b9
followup r113661 - fix for renamed func
2012-03-12 20:59:32 +00:00
Brion Vibber
7335093337
use pre-minified MathJax files, they load faster
2012-03-12 20:54:04 +00:00
Brion Vibber
c89a0003f1
tweaks to MathJax setup & customizations from mathjax-users list
...
Some fixes, cleanup, and modernization
2012-03-12 20:41:43 +00:00
Brion Vibber
87cbb1f4c8
MathJax loading fixes from mathjax-users list:
...
* fix for $ stripping in IE
* wrap everything in {} for \displaystyle
2012-03-07 19:33:08 +00:00
Brion Vibber
b93e71e0ae
fix for MathJax zoom setting: should be 'Click' not 'click'
...
[per feedback on mathjax-users list]
2012-03-07 00:06:40 +00:00
Brion Vibber
261310bad9
Tweak MathJax loading per recommendations from mathjax-users list:
...
* drop some of the init lines that don't appear to work/be needed
* only load MathJax.js through ResourceLoader; let MathJax's loader handle the rest
This gets us working in Chrome, where previously we hadn't initialized correctly. Should also help in IE, still needs testing.
Will probably want to swap in the pre-minimized versions of the files at some point, but the expanded ones are fine at this stage of work.
2012-03-06 21:57:12 +00:00
Brion Vibber
2be6ad801a
Avoid conflict between MathJax's TeX finder and our own: remove theirs so we don't end up putting preview markup inside other markup
2012-03-05 22:45:56 +00:00
Brion Vibber
e85a658c2f
switch two files in MathJax setup that were incorrectly split to the wrong filenames :)
2012-03-05 22:24:54 +00:00
Brion Vibber
a4c39f94a6
remove stub file -- unneeded as it's been expanded into other files
2012-03-05 19:51:17 +00:00
Brion Vibber
d84a00a9ed
* (bug 34828) Fix MathJax initializer to operate on images as well as text form
...
Warning: this piggybacks on 'alt' text and can be broken if a manual alt text was specified on a <math> bit. Needs to be more nativey.
Also cleaned up the conditional setup code since we're already only called when a <math> is present.
2012-03-02 00:26:56 +00:00
Brion Vibber
296b767c62
uncomment a couple bits in mathjax setup that had been disabled while fiddling
2012-03-02 00:07:32 +00:00
Brion Vibber
f8ad1f3e86
Fix for font path on MathJax 2.0
2012-03-01 02:00:16 +00:00
Brion Vibber
83a8af23f8
MathJax 2.0 update mostly works!
2012-03-01 01:57:44 +00:00
Brion Vibber
f5df298230
Straight update of MathJax to 2.0 -- doesn't currently load correctly if experimental $wgMathUseMathJax is enabled, be warned!
...
Using the unpacked files; minus the PNG fonts.
2012-03-01 01:21:20 +00:00
Tim Starling
74d5aa19f8
* (bug 34538) Fixed compatibility with $wgResourceLoaderExperimentalAsyncLoading in some extensions.
...
* Tested AbuseFilter.
* Did not test ArticleCreationWorkflow, Configure, ContributionTracking, FlaggedRevs, FundraiserPortal, InlineCategorizer, MarkAsHelpful, Math/Mathjax.
* Fixed a typo in a comment in LiveTranslate.
* Did not review extensions alphabetically after MoodBar.
2012-02-21 04:03:00 +00:00
Brion Vibber
f0f9ec9b9f
Drop a trailing ',' in an array def; causes errors in IE 6 and IE 7
2011-12-08 23:00:10 +00:00
Brion Vibber
a36b0e04d8
Initial experimental import of MathJax source into Math extension as a client-side rendering supplement to the PNG rendering.
...
* Pulled in MathJax 1.1 (minus the 112 megabytes of PNG "fonts")
* Pulled in some of <https://en.wikipedia.org/wiki/User:Nageh/mathJax > bits for initialization
This doesn't currently override PNG images, but does replace the text-form if you configure it.
2011-12-06 01:17:35 +00:00