Commit Graph

692 Commits

Author SHA1 Message Date
Davide P. Cervone
c52d3b0e8e Update a11y to 1.2.2 to fix a11y path for earcon. 2017-04-24 15:46:28 -04:00
Davide P. Cervone
54e3fe234d Update a11y to 1.2.1 to fix SRE path 2017-04-24 13:26:47 -04:00
Davide P. Cervone
f9367aace6 Update copyright and version 2017-04-24 09:24:28 -04:00
Davide P. Cervone
8485788917 Update to v3.2.0 of mhchem. 2017-04-20 09:25:04 -04:00
Davide P. Cervone
3245058ccb Add a11y extensions, add [a11y] path, and allow MathJax to look for paths recursively. 2017-04-18 11:30:55 -04:00
Davide P. Cervone
4ddd35cd1c Add mhchem version 3, and adjust legcy mhchem to load it from the correct location. 2017-04-13 13:54:52 -04:00
Davide P. Cervone
efdf879406 Update version numbers to 2.7.0 2016-10-02 12:26:00 -04:00
Davide P. Cervone
94fdf4dc5e Move AssistiveMML and InTabOrder menus to new Accessibility submenu (coordinates with MathJax-a11y#153 to move accessibility menu items to the same location) 2016-09-28 16:59:59 -04:00
Sebastiaan van der Tol
e891f238f7 Fixed initilization of AMS.IDs and AMS.eqIDs 2016-09-23 10:45:25 +02:00
Davide P. Cervone
e60c792e10 Update versions and copyrights 2016-08-31 11:24:33 -04:00
Davide P. Cervone
eb0f9181da Quote reserved word (fails in IE < 9). 2016-08-30 10:21:47 -04:00
Davide P. Cervone
64b65a655c Merge pull request #1603 from dpvc/issue1584
Add MathJax.Object.isArray, and change most 'instanceof Array' to use it.  #1584
2016-08-29 10:19:05 -04:00
Davide P. Cervone
ec3cf0ae3a Merge pull request #1592 from dpvc/issue1575
Fix incorrect assignment in content-mathml extension.  #1575
2016-08-29 10:17:47 -04:00
Davide P. Cervone
d9ebbae56b Add MathJax.Object.isArray, and change most 'instanceof Array' to use it (unless the arrays are only going to generated by MathJax internals). Resolves issue #1584. 2016-08-24 12:05:53 -04:00
Davide P. Cervone
2f5b3eebc3 It's OK to change the original 'document', since it is a temporary MathML tree that is used to create the internal JS version and then is discarded. It is replaced by the result of content-mathml anyway. 2016-08-24 10:11:56 -04:00
Davide P. Cervone
d536272781 Merge pull request #1602 from dpvc/issue1589
Handle \ref properly when there is a <base> tag.  #1589
2016-08-24 09:53:48 -04:00
Davide P. Cervone
f0d730eff3 Merge pull request #1596 from dpvc/issue1593
Don't allow `\require{mhchem}` to override one already loaded.  #1593
2016-08-24 09:52:33 -04:00
Davide P. Cervone
33ee93dbb3 Handle references properly when there is a <base> tag. Resolves issue #1589. 2016-08-24 08:06:37 -04:00
Davide P. Cervone
df6c3fc490 Don't allow \require{mhchem} to override one already loaded from [Contrib]. Resolves issue #1593. 2016-08-21 12:27:50 -04:00
Davide P. Cervone
47a7f1f36b Fix incorrect assignments content-mathml extension, and don't modify original document. Resolves issue #1575. 2016-08-21 12:08:08 -04:00
Davide P. Cervone
172e8a8727 Make sure trimSpaces() doesn't remove tailing space in '\ '. Resolves issue #1586 (and handles #1563 better). 2016-08-17 13:44:42 -04:00
Davide P. Cervone
5d4a84345e Trim spaces from content-mathml elements (helps with issue #989. 2016-08-05 14:29:31 -04:00
Davide P. Cervone
199badf8e0 Merge pull request #1537 from dpvc/mhchem-opt-in
Make mhchem have a config parameter to select the new version
2016-08-05 11:21:52 -04:00
Davide P. Cervone
a7db49a6aa Merge pull request #1554 from dpvc/issue1182
Add filtering of CSS styles like padding/margin, etc.  #1182 and #1183
2016-08-05 11:18:13 -04:00
Davide P. Cervone
4ea6e97c3b Merge pull request #1569 from dpvc/issue1568
Treat control sequences as a unit when matching a macro template. #1568
2016-08-05 11:07:20 -04:00
Davide P. Cervone
c45629f7a0 Merge pull request #1556 from dpvc/issue1434
Improve menu placement.  #1434
2016-08-05 10:25:00 -04:00
Davide P. Cervone
c5b61d4f32 Make sure we test only control sequences at the END of the parameter. 2016-07-28 07:28:00 -04:00
Davide P. Cervone
83387dd3f1 Treat control sequences as a unit when matching a macro template. Resolves both issues for #1568. 2016-07-28 07:23:42 -04:00
Davide P. Cervone
4db3f74d38 Merge pull request #1565 from dpvc/issue1563
Fix problems with defining \  (control-space).  #1563 and #1564
2016-07-23 16:07:05 -04:00
Davide P. Cervone
62737984e8 Merge pull request #1551 from dpvc/issue1087
Allow <wbr> in TeX code (just like <br>).  #1087
2016-07-23 15:57:34 -04:00
Davide P. Cervone
119f050dd3 Merge pull request #1526 from dpvc/issue989
Make minus in <mn> produce U+2212 rather than U+002D.  #989
2016-07-23 15:45:43 -04:00
Davide P. Cervone
0037d6b6df Make \def, \let, and \newcommand handle '\ ' properly. Make \let set a control sequence to an undefined control sequence. Resolves issues #1563 and #1564. 2016-07-21 15:37:14 -04:00
Davide P. Cervone
edc2618568 Don't use getComputedStyle() if it is not available (fake styles). 2016-07-12 11:50:51 -04:00
Davide P. Cervone
4817368010 Use getBoundingClientRect() to improve handling of menu placement when the body is scrolled or has margin settings. Resolves issue #1434. 2016-07-11 19:56:00 -04:00
Davide P. Cervone
4120eb146c Merge pull request #1529 from dpvc/font-fixes
Font fixes
2016-07-08 08:54:28 -04:00
Davide P. Cervone
081ff8dfac Add filtering for padding in \bbox. Resolves issue #1183 2016-07-07 15:31:01 -04:00
Davide P. Cervone
6c7f18a72f Add filtering for lengths for padding/margin/border/outline/font-size, and handle things like padding-top, etc. Resolves issue #1182 2016-07-07 15:09:30 -04:00
Davide P. Cervone
7b98391a68 Add ignoreTags to asciimath2jax to be consistent with tex2jax. 2016-07-06 11:59:43 -04:00
Davide P. Cervone
92e1ce90b5 Add <wbr> as ignored tag, and change to a list of ones to ignore. Cache the math.nextSibling node. Remove msieNewlineBug and fold that into the ignoreTags hash. Resolves issue #1087. 2016-07-05 21:06:31 -04:00
Davide P. Cervone
cdea890e52 Make mhchem have a config parameter that can be used to select the new version (when it is available on the CDN) or the old legacy version. 2016-06-23 20:25:23 -04:00
Davide P. Cervone
e7446074c0 Make content-mathml extension use proper form for <mn>-n</mn>. Issue #989. 2016-06-18 09:23:48 -04:00
Davide P. Cervone
a2a62be374 Use U+007C and U+2016 for delimiters rather than U+2223 and U+2225. Resolves issue #1175. 2016-06-16 10:01:13 -04:00
Davide P. Cervone
1e999e389e Don't have preprocessors make a preview if there already is one. Resolves issue #1445. 2016-06-14 15:32:53 -04:00
Davide P. Cervone
97b9fbcfab Merge pull request #1513 from dpvc/issue1497
Don't do assistive MathML when the output renderer is PlainSource.  #1497
2016-06-14 11:32:51 -04:00
Davide P. Cervone
66ac29bbd8 Merge pull request #1515 from dpvc/issue1391
Add copyright notice to mediawiki-texvc.  #1391
2016-06-09 13:56:56 -04:00
Davide P. Cervone
abb7084ae9 Merge pull request #1479 from dpvc/issue1478
Properly determine container widths.  Resolves issue #1478.
2016-06-08 07:32:15 -04:00
Davide P. Cervone
d11ef35af0 Fix mediawiki name in comment. #1391. 2016-06-07 16:13:23 -04:00
Davide P. Cervone
d4df0a8c92 Add copyright notice. Re-indent. Update version number. Resolves issue #1391 2016-06-07 16:11:44 -04:00
Davide P. Cervone
11f617c516 Don't do assistive MathML when the output renderer is PlainSource. Resolves issue #1497. 2016-06-07 15:50:49 -04:00
Davide P. Cervone
c4198d2349 Catch IE8 errors with inserting MathML from AssistiveMML extension. Since there is no reader tht can handle this with IE8 anyway, there isn't much point in trying to figure out whatever bug is the source of this error. Resolves issue #1477. 2016-05-17 17:00:23 -04:00