Commit Graph

671 Commits

Author SHA1 Message Date
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
Davide P. Cervone
22c1cf4cb9 Properly determine container width for shrink-wrapped elements in HTML-CSS, and add the CSS from handle-floats into the standard HTML-CSS. Remove the content of the handle-floats extension. Issue #1478. 2016-05-17 15:54:33 -04:00
Davide P. Cervone
094b1391f0 Merge pull request #1456 from dpvc/issue1384
Fix problems from puzzling.SE.  #1384.
2016-05-11 17:10:02 -04:00
Davide P. Cervone
d698760e58 Fix TeX.Environment() to use the correct end environment. 2016-04-08 13:38:43 -04:00
Davide P. Cervone
3183eca200 Add checks to make sure that the math hasn't been removed from the page. (Resolves issue #1384.) 2016-03-20 11:48:12 -04:00
Davide P. Cervone
11b5897959 Update version numbers of changed files 2016-02-07 15:34:12 -05:00
Davide P. Cervone
6000aa1d78 Bring menuSettings up to date in MathJax.js and default.js, and add localization IDs for menu items where they were missing (i.e, implied). 2016-02-06 12:40:09 -05:00
Davide P. Cervone
d1a569c905 Add jax parameter to getTabOrder() so that, if overridden, you can identify the jax (and it asociated script). 2016-02-06 10:35:31 -05:00
Davide P. Cervone
7df65c9d7a Fix inTabOrder menu action, change default, and factor out code for setting/unsetting the tab index (in case the page author wants to call it. 2016-02-06 09:26:29 -05:00
zorkow
a1bfe0afcf Adds configuration for excluding MathJax elements from tab order. 2016-02-06 09:26:29 -05:00
Davide P. Cervone
b11a9b1b65 Handle movablelimits on TeXAtom of class OP in toMathML, NativeMML, and MathML input. 2016-01-29 14:12:42 -05:00
Davide P. Cervone
b69e0a63b1 Don't need extra spacing in \varprojlim and \varinjlim now that the renderers handle the positioning better. 2016-01-28 17:14:28 -05:00
Davide P. Cervone
1f570173b5 Merge branch 'issue1197' into develop. Issue #1197. 2016-01-25 13:55:09 -05:00
Davide P. Cervone
27d4db2424 Merge branch 'issue1350' into develop. Issue #1350. 2016-01-25 13:54:05 -05:00
Davide P. Cervone
dc450d6bc7 Handle movablelimits on TeXAtom elements. Resolves issue #1197. 2016-01-24 18:26:50 -05:00
Davide P. Cervone
4182b58c14 Don't allow assistive MathML to become part of the selection. Resolves issue #1350. 2016-01-24 13:29:31 -05:00
Davide P. Cervone
bd817dab40 Combine configuration with page's configuration. Resolves issue #1358. 2016-01-24 11:40:27 -05:00
Davide P. Cervone
d0d59b6876 Make AssistiveMML menu item not hidden, and make it add and remove the MathML when toggled. Refactor AssistiveMML extension so that the Add and Remove functions can be called by the menu change. 2015-12-30 11:39:27 -05:00
Davide P. Cervone
db1ce61854 Fix \centerdot using wrong glyph (only works for MathJax TeX fonts). 2015-12-30 09:40:15 -05:00
Davide P. Cervone
ba0de5c8a0 Update version numbers to 2.6.0 2015-12-29 09:36:52 -05:00
Davide P. Cervone
b3f1a8afa6 Merge pull request #1329 from pkra/pkra-jax
New PlainSource output jax by pkra
2015-12-29 08:49:48 -05:00
Davide P. Cervone
a1460f8993 Update version numbers for 2.6.0-beta.2 2015-12-14 10:14:34 -05:00