Commit Graph

485 Commits

Author SHA1 Message Date
Davide P. Cervone
d47dbd1c52 Update version numbers. 2015-04-21 11:49:54 -04:00
Peter Krautzberger
9263cc4506 simplify browser check
as per @dpvc's suggestion
2015-04-15 10:10:21 -04:00
Peter Krautzberger
c91a420b1d fix IE version check 2015-04-15 10:10:21 -04:00
Peter Krautzberger
95c00da5ea for #1137: disable CHTMLpreview.js on IE<8 2015-04-15 10:10:21 -04:00
Davide P. Cervone
dbe594872f Avoid infinite loop when \mathchoice is used in munderover. Resolves issue #1151. 2015-04-13 17:30:12 -04:00
Davide P. Cervone
705f738228 Merge branch 'issue1053' into hotfix-2.5. Issue #1053. 2015-02-20 09:26:26 -05:00
Peter Krautzberger
627ab61df8 Update with recent fixes from @davidcarlisle
Fixes #1024
2015-02-20 09:23:05 -05:00
Davide P. Cervone
f87cb5cf42 Bump version numbers for updated files 2015-02-19 17:43:07 -05:00
Davide P. Cervone
b1a2b4fe03 Don't cache the value of 'selected', since calls to isEmbellished() can be made before the expression is in place, and the values of displastyle and scriptlevel are known. Resolves issue #1053. 2015-02-11 09:34:25 -05:00
Davide P. Cervone
8c9fc2122b Make sure these extensions pas on ALL arguments to the routines they override. (Needed for fix to toHTML to allow measurements to be grouped.) 2015-02-09 12:45:18 -05:00
Davide P. Cervone
6d6720ecf5 Don't convert delimiters to unicode in \genfrac (since that is now done by \bigg and \big later on). Resolves issue #1033. 2015-02-05 16:42:46 -05:00
Davide P. Cervone
106283ff72 Fix more var issues (noted by YUI compression) 2015-01-29 10:57:05 -05:00
Davide P. Cervone
bc8d472f2f Fix more var issues (noted by YUI compression) 2015-01-29 10:55:05 -05:00
Davide P. Cervone
714b9702fa Fix use of var and a few undefined variable names (noted by YUI compression) 2015-01-29 10:24:28 -05:00
Davide P. Cervone
f5c10288dd Update copyright dates. 2015-01-29 10:21:06 -05:00
Davide P. Cervone
31fcf19d92 Update file versions to 2.5.0. Ready for release! 2015-01-28 14:49:36 -05:00
Davide P. Cervone
0433a7b0ee Some fixes to get things to work in older IE versions. 2015-01-28 14:46:15 -05:00
Davide P. Cervone
85f9612242 Add handling of CommonHTML to noErrors.js. Issue #1021 2015-01-28 11:45:01 -05:00
Davide P. Cervone
94b7c4243b Don't set overlay W/H if it has already been removed (IE8). 2015-01-26 15:19:18 -05:00
Davide P. Cervone
dd3da20704 Change 0em to 0 to make reftest for 776 easier. 2015-01-25 12:38:48 -05:00
Davide P. Cervone
ecc8e7c350 Change from setting form=infix to adding an empty <mi>, since MathML spacing and TeX spacing are slightly different. Issue #811. 2015-01-25 11:46:16 -05:00
Davide P. Cervone
1bb9758dc8 Trap errors with document.namespace (it crashes IE10 in standards mode). 2015-01-24 15:45:09 -05:00
Davide P. Cervone
efa443ce65 Check for toCommonHTML first, and allow errors to propagate (restarts should restart, not be trapped here). Resolves issue #1018. 2015-01-23 12:45:26 -05:00
Davide P. Cervone
af8efeafd5 Merge remote-tracking branch 'dpvc/develop' into develop 2015-01-21 08:54:00 -05:00
Davide P. Cervone
598c1e7c07 When closing table cells, get new table pointer. Resolves issue #1013. 2015-01-20 14:21:34 -05:00
Christian Perfect
e5f69e3ed2 fix typo in helpdialog.js 2015-01-20 16:49:16 +00:00
Davide P. Cervone
93fd3bfa64 Fix incorrect code for tab. 2015-01-16 10:06:41 -05:00
Davide P. Cervone
0df957f3c0 Don't escape \n, \r, or \t in toMathML text output. (Issue #847.) 2015-01-16 09:48:00 -05:00
Davide P. Cervone
4adc5726f6 Merge pull request #1005 from mathjax/texvc
Add wikipedia-texvc extension
2015-01-15 10:45:26 -05:00
Peter Krautzberger
6ff3894316 minor corrections to #1003 as discussed there 2015-01-14 22:58:20 +01:00
Davide P. Cervone
2431a90a9f Rename variable used for displayIndent so it doesn't conflict with previous usage. Also, handle '0em' and similar values as '0'. Resolves issue #1000. 2015-01-11 09:20:30 -05:00
physikerwelt (Moritz Schubotz)
cfe05db863 MediaWiki-texvc support
We add a conversion table that converts MediaWiki specific
markup to standard LaTeX. This approach is more or less
maitenance free, and relies on the existence some special
macros mostly originating from amsmath and amsfonts package.

In the future one could expand the macros with semantic annotation
like for instance that $\\mathbb{R}$ stands for the semantic
concept reals, if it was produced using the texvc macro $\\reals$.
2015-01-09 23:27:30 +01:00
Davide P. Cervone
e4265d3969 Implement toCommonHTML for \mathchoice. Resolves issue #998. 2015-01-07 08:30:48 -05:00
Davide P. Cervone
cce02ddfde Don't produce doube exponent/subscript errors for UnderOver constructs like \underline and \overbrace. Resolves issue reported on StackExchange. 2015-01-06 17:47:48 -05:00
Davide P. Cervone
d6b6b2e249 Fix indenting of toMathML output. 2015-01-05 11:04:55 -05:00
Davide P. Cervone
9fd243d9bd Make NativeMML attributes work the same as toMathML ones (makes sure href/style/etc are passed on properly). 2015-01-05 10:57:07 -05:00
Davide P. Cervone
9d153e3a11 Make sure that tagged equations get mtables with the correct displaystyle (now that displaystyle is no longer inherited, see issue #839.) 2014-12-31 10:10:50 -05:00
Davide P. Cervone
4b6a2f4ec3 Add priority 100 to label reset so that it comes after other post-filters (in particular, the CTHML-preview, which can load files). Resolves second issue in #970. 2014-12-31 08:07:38 -05:00
Davide P. Cervone
88a96372c0 Update version numbers for 2.5.0-beta 2014-12-30 18:27:01 -05:00
Davide P. Cervone
034041e6d3 Adjust times so that the second pass doesn't take so long (we may need to tweak these further). 2014-12-30 18:20:20 -05:00
Davide P. Cervone
3f5730a59f Merge branch 'CHTML-preview' into develop 2014-12-30 17:55:48 -05:00
Davide P. Cervone
0305716511 Allow configuration to disable CHTML-preivew, but still allow menu to override. Make loading of this page enable preview by default. Fix handling of preview color. Fix restart when CommonHTML config is loaded but jax.js isn't. 2014-12-30 17:53:20 -05:00
Davide P. Cervone
ba23831ebc Merge pull request #806 from christianp/ctop
Use ctop.js instead of XSLT in Content MathML extension.

Finally getting to merge this.  At long last!
2014-12-30 16:12:38 -05:00
Davide P. Cervone
ba4d1b13fe Merge remote-tracking branch 'dpvc/develop' into develop 2014-12-30 16:09:21 -05:00
Davide P. Cervone
2f3d09cc30 Change version back so merge of ctop is clean. 2014-12-30 16:04:13 -05:00
Davide P. Cervone
5ccdf60b52 Merge pull request #964 from mathjax/issue921
add mml3 extension.  Issue #921.
2014-12-29 10:31:15 -05:00
Peter Krautzberger
12d8eef96b import fixes for RTL+elementary math; source: https://code.google.com/p/web-xslt/ 2014-12-29 16:14:34 +01:00
Davide P. Cervone
501b96c859 Save preview in script.MathJax to fix issue #975. 2014-12-26 17:49:59 -05:00
Davide P. Cervone
fc7faf4b54 Properly handle spacing around operators in second column of aligned and gathered environments. Issue #982 2014-12-26 17:07:02 -05:00
Peter Krautzberger
f785418e8a pull in update from ctop/mml3.xslt that adds left/\right mlongdiv notation 2014-12-17 09:19:01 +01:00