Update master to v2.7.1 #1

Merged
SuzanneSoy merged 242 commits from master into master 2017-05-02 14:25:00 +01:00

242 Commits

Author SHA1 Message Date
Peter Krautzberger
d71cc40666 Merge pull request #1740 from dpvc/2.7.1-rc.1
Update for 2.7.1
2017-04-25 10:29:36 +02:00
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
9a870c1806 Update package.json version 2017-04-24 11:28:28 -04:00
Davide P. Cervone
380d2798de Repack and recombine 2017-04-24 10:11:05 -04:00
Davide P. Cervone
93e16997bb Update config files to use [a11y] for accessibility menu 2017-04-24 10:10:47 -04:00
Davide P. Cervone
51310e6df0 Add copyright to latest.js 2017-04-24 09:27:00 -04:00
Davide P. Cervone
f9367aace6 Update copyright and version 2017-04-24 09:24:28 -04:00
Davide P. Cervone
3448400078 Merge pull request #14 from dpvc/cdnjs
Updates for cdnjs
2017-04-24 08:53:04 -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
513954a6d5 Add latest param in case we need MathJax.js to know it has been called from lastest.js in the future. 2017-04-15 09:49:19 -04:00
Davide P. Cervone
8d30a0453d Make version check a little more robust. 2017-04-15 09:49:19 -04:00
Davide P. Cervone
4fd69bee0f Rename CDN-latest.js to latest.js, and make a copy in the main directory, not just the unpacked one. 2017-04-15 09:49:19 -04:00
Davide P. Cervone
d49394aca1 Don't load past version 2 (i.e., don't automatically load version 3). 2017-04-15 09:49:19 -04:00
Davide P. Cervone
f865b6a83a Add CDN-latest.js for loading the latest copy from a cdn without knowing the version. 2017-04-15 09:49:19 -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
4d0f54d4ed Don't translate cdn.mathjax.org addresses any more. 2017-04-13 12:20:59 -04:00
Peter Krautzberger
6273842a97 Merge pull request #1638 from mathjax/develop
v2.7.0 release
2016-10-14 14:37:21 +02:00
Peter Krautzberger
773c2d4d3b Merge pull request #1636 from mathjax/issue1635
[package.json] update version to 2.7.0
2016-10-12 17:13:06 +02:00
Peter Krautzberger
f966934a12 [package.json] update version to 2.7.0 2016-10-11 11:28:26 +02:00
Davide P. Cervone
7e3dd3f936 Repack and recombine for v2.7.0 2016-10-02 12:38:51 -04:00
Davide P. Cervone
efdf879406 Update version numbers to 2.7.0 2016-10-02 12:26:00 -04:00
Davide P. Cervone
d2a570ded8 Update AsciiMath to include changes since previous update 2016-10-02 12:24:46 -04:00
Davide P. Cervone
862d01bf86 Merge branch 'svg-mglyph' into develop 2016-10-02 12:00:29 -04:00
Davide P. Cervone
2d9cd83fe6 Use original src for mglyph image rather than full URI (better for mathjax-node). 2016-10-02 11:59:58 -04:00
Davide P. Cervone
d1a178c027 Merge pull request #1627 from dpvc/menu-patch
Move AssistiveMML and InTabOrder menus to new Accessibility submenu (…
2016-10-02 11:57:32 -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
Davide P. Cervone
ac64449847 Merge pull request #1612 from dpvc/issue1610
Use proper glyph for \| in TeX fonts (in HTML-CSS, CHTML, and SVG).  #1610
2016-09-27 18:45:54 -04:00
Davide P. Cervone
33bcd3336c Merge pull request #1623 from basvandertol/FIX_AMSmath_ID_initilization
Fix for minor bug in fix for issue #240
2016-09-27 18:43:48 -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
46d6bff330 Repack font changes 2016-09-02 13:50:47 -04:00
Davide P. Cervone
c81008858d Remap U+2016 to U+2225 in normal and bold TeX fonts, now that \| produces U+2016, and this isn't in MAIN font. Resolves issue #1610. 2016-09-02 13:30:04 -04:00
Davide P. Cervone
e1810fe2a9 Update Contrib to always use https, and repack MathJax.js 2016-09-01 09:15:46 -04:00
Davide P. Cervone
bccbbea5ef Fix package.json version 2016-08-31 16:27:01 -04:00
Davide P. Cervone
44e127f544 Add the packed version of the new diq language 2016-08-31 12:04:25 -04:00
Davide P. Cervone
61f4baee9c Repack and recombine for 2.7.0-beta 2016-08-31 12:03:20 -04:00
Davide P. Cervone
590c425e45 Localize variable that was accidentaly global. 2016-08-31 11:44:05 -04:00
Davide P. Cervone
c59db4a65d Don't need 'var' twice for these variables. 2016-08-31 11:42:34 -04:00
Davide P. Cervone
24b01d336b Looks like the global variable i was removed, so no need for this line any more. 2016-08-31 11:40:59 -04:00
Davide P. Cervone
e60c792e10 Update versions and copyrights 2016-08-31 11:24:33 -04:00
Davide P. Cervone
aa3936a80c Add noContrib parameter to allow MathJax to be used off-line once we add the accessibility menu to the combined config files. 2016-08-31 08:43:58 -04:00
Davide P. Cervone
76508cce89 Merge pull request #1608 from mathjax/issue1577
[localization] add diq, lki to MathJax.js
2016-08-31 07:52:44 -04:00
Peter Krautzberger
67ca3f36d4 [localization] add diq, lki to MathJax.js
fixes #1607
2016-08-31 09:32:25 +02:00
Davide P. Cervone
9f7e9917e5 Make variables local that were inadvertantly global. 2016-08-30 10:37:02 -04:00
Davide P. Cervone
eb0f9181da Quote reserved word (fails in IE < 9). 2016-08-30 10:21:47 -04:00
Davide P. Cervone
351616984b Merge pull request #1606 from dpvc/issue1605
Update AsciiMath to include changes since v2.6.  #1605
2016-08-29 10:19:59 -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
8344a10a83 Use Array.isArray, when possible. 2016-08-29 10:15:52 -04:00
Davide P. Cervone
10dc11e689 Update AsciiMath to include changes since v2.6. Resolves issue #1605 2016-08-26 17:09:46 -04:00
Davide P. Cervone
405687bc27 Merge pull request #1604 from mathjax/issue1577
[locales] update from mathjax-i18n for v2.7.0
2016-08-26 15:25:19 -04:00
Davide P. Cervone
d3201ada44 Make sure mmultiscripts aligns HTML-CSS color element for prescripts. 2016-08-25 06:44:14 -04:00
Peter Krautzberger
707039288d [locales] update from mathjax-i18n for v2.7.0
* updates: de, kn, ko, lki, nl, oc, pl, pt-br, pt, zh-hans
* additions: diq
resolves #1577
2016-08-25 09:55:40 +02: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
3310136281 Merge pull request #1595 from dpvc/issue1594
Properly scale elements with font-family specified. #1594
2016-08-24 09:50:45 -04:00
Davide P. Cervone
37c3bcf878 Merge pull request #1591 from dpvc/issue1570
Change 'rev=' to 'V=' in cache breaking code.  #1570
2016-08-24 09:46:07 -04:00
Davide P. Cervone
62e8298223 Merge pull request #1590 from dpvc/issue1555
Set previews to have display:none.  #1555
2016-08-24 09:43:57 -04:00
Davide P. Cervone
1e9f423e29 Merge pull request #1587 from dpvc/issue1586
Make sure trimSpaces() doesn't remove tailing space in '\ '.  #1586
2016-08-24 09:41:24 -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
814045a141 Make NativeMML output only set attributes when they are not the default (just like toMathML). 2016-08-23 11:08:55 -04:00
Davide P. Cervone
7ec37f65f0 One more fix for CommonHTML full-width tables (undoes an incorrect change in 0e9f51f3 2016-08-22 20:20:29 -04:00
Davide P. Cervone
b3530d60b1 Fix regression with rowalign (due to new method of aligning tables) in CHTML. 2016-08-22 12:28:17 -04:00
Davide P. Cervone
d8a85a0891 Check to make sure element is in the page before processing it. 2016-08-22 09:30:21 -04:00
Davide P. Cervone
0e9f51f39e Fix regression with precentage-width tables that are less than 100% wide caused by changes to full-width CSS to fix shrink-wrap issues. 2016-08-22 08:47:28 -04:00
Davide P. Cervone
2cdbf46bd9 Commit 65cfcb wasn't a complete solution to the stretchy change. 2016-08-22 07:31:13 -04:00
Davide P. Cervone
0a4a4d8fa5 Convert booleans in math and mstyle elements (since we can't tell what the defaults should be, punt). 2016-08-22 07:15:02 -04:00
Davide P. Cervone
e3ad30b4bd Fix typo in commit 9f0059c. 2016-08-22 06:41:25 -04:00
Davide P. Cervone
9f0059cfb4 Handle hidden elements properly in HTML-CSS and SVG now that we are not looking up by frame ID. Also, cache hidden elements in SVG like in HTML-CSS. 2016-08-21 19:33:04 -04:00
Davide P. Cervone
03db3c7b59 Move the location of clearCounts() so that they are cleared both before and after the typeset action. 2016-08-21 18:51:34 -04:00
Davide P. Cervone
aba0f465ee Take the global scaling factor into account. 2016-08-21 15:08:54 -04:00
Davide P. Cervone
65cfcb80ac Update mmultiscripts to accommodate change where stretch is passed as an option (in 470d97c). 2016-08-21 15:01:55 -04:00
Davide P. Cervone
fc47ec0171 Properly scale elements with font-family specified. Resolves issue #1594. 2016-08-21 14:55:59 -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
9a0bc1b20a Change 'rev=' to 'V=' in cache braking code (in hopes that doesn't conflict with anyone's server usage). Resolves issue #1570. 2016-08-21 09:41:58 -04:00
Davide P. Cervone
9775358fec Set previews to have display:none. Resolves issue #1555. 2016-08-21 09:32:00 -04:00
Davide P. Cervone
4a9bee1f2f Fix regression in HTML-CSS linebreak code that causes processing error in some cases. 2016-08-18 15:50:17 -04:00
Davide P. Cervone
dd2ac513ce Fix problem with identifying display math due to change from looking of frame to using previousSibling. 2016-08-18 10:16:03 -04:00
Davide P. Cervone
f6c72b41d6 Be sure to remove all previous output in HTML-CSS jax. 2016-08-17 18:56:57 -04:00
Davide P. Cervone
624572a654 Handle interleaved Typeset() calls better. 2016-08-17 16:20:59 -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
d3eec1386a One more test for math being removed from the document (Issue 1456). 2016-08-15 15:51:42 -04:00
Davide P. Cervone
470d97c494 Fix toCommonHTML() so stretch is passed as an option (prevents math processing error in fractions with line breaks) 2016-08-12 11:29:53 -04:00
Davide P. Cervone
ce6b7290d6 Fix regression with line breaks in CHTML in-line equations (equations would disappear). 2016-08-11 11:47:26 -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
4779c91b5f Merge pull request #1574 from dpvc/issue1573
Use currentColor rather than black for menclose with no math color.  #1573
2016-08-05 12:08:08 -04:00
Davide P. Cervone
317f838654 Don't need to use currentColor after all. Issue #1573. 2016-08-05 12:01:47 -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
1179e74595 Merge pull request #1567 from dpvc/issue911
Fix spacing for initial fraction in exponent position.  #911
2016-08-05 11:05:24 -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
71369c3d73 Merge pull request #1550 from dpvc/issue1543
Fix vector arrow positioning in CHTML.  #1543
2016-08-05 10:23:43 -04:00
Davide P. Cervone
2cc672face Merge pull request #1547 from dpvc/issue1539
Fix fractions with line breaks in HTML output.  #1539
2016-08-05 10:21:49 -04:00
Davide P. Cervone
13cd70757f Use currentColor rather than black for menclose when mathcolor isn't specified. Resolves issue #1573. 2016-08-04 10:55:10 -04:00
Davide P. Cervone
66c73ced49 Fix typo in fileRev(). Since we don't use the file-specific versions anyway, it never had any effect. 2016-08-04 10:52:16 -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
38a9a12dcf Adjust how options are handled, as per Volker's comments. 2016-07-26 14:59:41 -04:00
Davide P. Cervone
1d2df8cc68 Merge pull request #1546 from dpvc/issue1544
Add stretchy data for U+20D7.  #1544
2016-07-26 14:56:16 -04:00
Davide P. Cervone
fbed4bd61d Merge develop into issue1544 2016-07-26 14:54:46 -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
f5e818cc21 Merge pull request #1552 from dpvc/issue1022
Handle hrefs during line breaking.  #1022
2016-07-23 15:59:56 -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
0940fcea09 Merge pull request #1549 from dpvc/issue1548
Fix determination of line-breaing parent element. #1548.
2016-07-23 15:53:41 -04:00
Davide P. Cervone
d26341c5c3 Merge pull request #1533 from dpvc/issue1532
Use a new approach to aligning labels with their table rows.  #1532
2016-07-23 15:47:56 -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
fc91998d79 Merge branch 'issue1364' into develop. Issue #1364. 2016-07-11 10:14:07 -04:00
Davide P. Cervone
898f3717a4 Fix typo in commit 3ee5ca3. Resolves issue #1363 for CommonHTML 2016-07-11 10:12:06 -04:00
Davide P. Cervone
f9dbe8b07d Merge pull request #1542 from dpvc/issue1541
Fix problems with stretching <mover> in <mtd> elements.  #1541
2016-07-08 09:14:14 -04:00
Davide P. Cervone
e75d86950f Merge pull request #1538 from dpvc/issue1364
Don't let preview width interfere with the determination of the container width. #1364
2016-07-08 09:13:01 -04:00
Davide P. Cervone
23af855cf5 Merge pull request #1534 from dpvc/full-width-fix
Make sure CHTML output stays a table-cell when focused.
2016-07-08 09:11:55 -04:00
Davide P. Cervone
4f87ff1b87 Merge pull request #1530 from dpvc/issue1478
Fix problem with Safari inserting line breaks before in-line math. #1478
2016-07-08 08:58:37 -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
0c52c281c9 Merge pull request #1525 from dpvc/issue1403
Allow MathJax root to be configured.  #1403
2016-07-08 08:37:24 -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
153387d689 Merge pull request #1514 from dpvc/issue1415
Don't unwrap mrow when created fenced elements.  #1415
2016-07-06 14:21:24 -04:00
Davide P. Cervone
189239a9eb Fix conflicts with develop. 2016-07-06 14:20:49 -04:00
Davide P. Cervone
dd32c56008 Merge pull request #1524 from dpvc/issue1445
Don't make a preview if there already is one.  #1445
2016-07-06 14:05:32 -04:00
Davide P. Cervone
cb7314d9e8 Merge pull request #1523 from dpvc/issue1468
Don't copy environment into array environments.  #1468
2016-07-06 14:03:55 -04:00
Davide P. Cervone
1c9e74a8f6 Merge pull request #1512 from dpvc/node241
Make CHTML mglyph scale image size by hand.  mathjax/MathJax-node#241
2016-07-06 14:01:23 -04:00
Davide P. Cervone
d29f299c35 Merge pull request #1511 from dpvc/issue1356
Don't convert attribute to boolean unless the default is a boolean.  #1356
2016-07-06 13:59:57 -04:00
Davide P. Cervone
07709589b1 Merge pull request #1510 from dpvc/issue1393
Prevent CSS bleedthrough for box-sizing (set by Bootstrap CSS).  #1393
2016-07-06 13:52:22 -04:00
Davide P. Cervone
c0331703f4 Merge pull request #1509 from dpvc/issue1084
Make delimiters symmetric for \left and \right.  #1084
2016-07-06 13:50:45 -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
2f1c09224a Fix line breaking to handle hrefs properly both when they are split and when they are not. Resolves issue #1022. 2016-07-06 07:43:04 -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
595d38e8af Change class to mjx-box so that width will have the proper effect (due to fix in CSS in PR #1448). Resolves issue #1543. 2016-07-05 13:18:05 -04:00
Davide P. Cervone
fb998031b6 Don't require both prevLevel > 0 and scriptlevel > 0 (either true shoudl be sufficient). Resolves issue #911. 2016-07-04 13:43:31 -04:00
Davide P. Cervone
4fdec9f911 Remove debugging code. 2016-07-04 13:36:40 -04:00
Davide P. Cervone
86165f9a3a Fix determination of line-breaing parent element. Resolves issue #1548. 2016-07-04 13:16:06 -04:00
Davide P. Cervone
ba22166399 handle case where options are not passed. 2016-07-04 12:56:53 -04:00
Davide P. Cervone
68369285fd Make fractions with linebreaks center the elements based on the natural width (not 100%) in HTML-CSS and CHTML, just as in SVG. Resolves issue #1539. 2016-07-04 12:50:10 -04:00
Davide P. Cervone
47a072fae6 Add stretchy data for U+20D7 to HTML-CSS, CHTML, SVG data for TeX and STIX fonts. Other fonts already have it. Resolves issue #1544. 2016-07-04 11:36:05 -04:00
Davide P. Cervone
0e433e2f40 Fix getNode() yet again to walk the tree properly. Also, make CHTMLcoreNode() step through inferred rows (to match what Core() does). Finally, make CHTMLaddChild() add a box of the correct type if forceChild is set. Resolves issue #1541. 2016-07-04 11:02:06 -04:00
Davide P. Cervone
3ee5ca30bb Don't let preview width interfere with the determination of the container width. Resolves issue #1364. 2016-06-23 20:37:25 -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
f2ac60f2c5 Make sure CHTML output stays a table-cell when focused. 2016-06-22 13:59:09 -04:00
Davide P. Cervone
b6504fb366 Use a new approach to aligning labels with their table rows that should reduce the round-off problems by forcing each row to the desired height, and doing the same with the labels. Resolves issue #1532 (and #1500). 2016-06-22 11:58:12 -04:00
Davide P. Cervone
94f2f20448 Fix problem with Safari inserting linebreaks for in-line math due to new width-detection scheme (linebreakSpan). #1478. 2016-06-20 18:23:18 -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
8f628e0590 Adjust height and depth of minus to match plus, and fix arrow rep to remove the extra when it is used as an arrow extender. Fix up some spacing and use shorthands for some font names. Resolves issue #1187. 2016-06-16 22:20:56 -04:00
Davide P. Cervone
1d9ba6992a Add alias for U+2206 to U+0394, and remove incorrect data from SVG files. Apparently the batik conversion added these somehow, so that should still be fixed. Resolves issue #1418. 2016-06-16 11:30:58 -04:00
Davide P. Cervone
4a4a15a4d2 Fix SVG fontdata for stretchy characters in the fontdata-extras file. Resolves issue #1421. 2016-06-16 10:27: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
913dcb5601 Remap U+007C to variant form, and vice-versa. Resolves issue #1154 2016-06-16 09:51:17 -04:00
Davide P. Cervone
61f57ed631 Fix stretch data for U+222B (integral) in STIX-Web data for HTML-CSS and SVG, and add it so local STIX data. Resolves issue #1092. 2016-06-16 08:58:49 -04:00
Davide P. Cervone
7523687f4c Merge pull request #1527 from dpvc/issue1519
Fix spelling of 'protocol'.  Issue #1519.
2016-06-16 08:28:38 -04:00
Davide P. Cervone
3a41708375 Merge pull request #1521 from dpvc/issue1470
Make left arrow use combining left arrow for accents.  #1470
2016-06-15 16:53:22 -04:00
Davide P. Cervone
30990c4ab8 Fix spelling of 'protocol'. Issue #1519. 2016-06-15 15:45:01 -04:00
Davide P. Cervone
6e3b6716f8 Merge pull request #1522 from dpvc/issue1519
Add Contrib to the Ajax paths. #1519
2016-06-15 08:44:29 -04:00
Davide P. Cervone
3d36b7a4ba Make minus in <mn> produce U+2212 rather than U+002D. Resolves issue #989. 2016-06-14 20:00:10 -04:00
Davide P. Cervone
05c5e7ad01 Allow MathJax root to be configured. Resolves issue #1403. 2016-06-14 18:20:58 -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
dbc70acd58 Make copyEnv a shared constant. 2016-06-14 14:59:49 -04:00
Davide P. Cervone
fcda005c56 Don't copy environment into array environments. Resolves issue #1468. 2016-06-14 14:22:51 -04:00
Davide P. Cervone
1b32cd95d9 Add Contrib to the Ajax paths. Resolves issue #1519. 2016-06-14 13:58:34 -04:00
Davide P. Cervone
947d1556ea Make left arrow use combining left arrow for accents (consistent with right arrow). 2016-06-14 13:50:38 -04:00
Davide P. Cervone
a1c40e7a02 Make left arrow use combining left arrow for accents (consistent with right arrow). 2016-06-14 13:41:32 -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
9779801c51 Merge pull request #1508 from dpvc/issue1023
Fix problems with \middle.  #1023
2016-06-08 07:13:05 -04:00
Davide P. Cervone
fb5505cf8a Merge pull request #1507 from dpvc/mglyph-src
Don't add a 'src' attribute (<image> uses href, not src)
2016-06-08 06:56:39 -04:00
Davide P. Cervone
5c12c99381 Merge pull request #1505 from dpvc/issue1004
Make rowlines="" and rowlines=" " be rowlines="none".  #1004
2016-06-08 06:55:00 -04:00
Davide P. Cervone
dd0d6cab3c Merge pull request #1501 from dpvc/issue1499
Allow percentage width to bubble up in bbox.updateFrom(cbox). #1499
2016-06-08 06:52:17 -04:00
Davide P. Cervone
e715e1dd99 Merge pull request #1503 from dpvc/issue1500
Handle adjusting cell heights properly. #1500
2016-06-08 06:50:58 -04:00
Davide P. Cervone
b11691eeb3 Merge pull request #1484 from dpvc/issue1469
Mark accented operators as not having movable limits.  #1469.
2016-06-08 06:49:36 -04:00
Davide P. Cervone
b2f2748c8e Merge pull request #1481 from dpvc/issue1480
Fix problem in CHTML with mmultiscripts that contain stretchy characters. #1480
2016-06-08 06:44:21 -04:00
Davide P. Cervone
559102f017 Remove unneeded parentheses. #1478 2016-06-08 06:40:20 -04:00
Davide P. Cervone
58e2717d45 Merge pull request #1459 from dpvc/issue1447
Improve getNode() so that is finds the correct node. #1447
2016-06-08 06:33:11 -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
f067eccd30 Don't unwrap mrow when created fenced elements (in case attributes have been attached to the mrow). Resolves issue #1415. 2016-06-07 16:01:23 -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
ae4f60f2df Make CHTML mglyph scale image size by hand rather than using offsetWidth and offsetHeight, since those cause reflow. This also makes it work in mathjax-node. Resolves mathjax/Mathjax-node#241. 2016-06-07 12:43:09 -04:00
Davide P. Cervone
a6b7700c18 Don't convert attribute to boolean unless the default is a boolean. Resolves issue #1356. 2016-06-07 11:25:26 -04:00
Davide P. Cervone
5b6aa4f82a Prevent CSS bleedthrough for box-sizing (set by Bootstrap CSS). Resolves issue #1393. 2016-06-07 10:45:59 -04:00
Davide P. Cervone
cfeaa8668f Mark delimters are symmetric when used with \left and \right. Resolves issue #1084. 2016-06-07 10:23:01 -04:00
Davide P. Cervone
00864b0635 surround \middle with OPEN and CLOSE TeXAtoms, so that the spacing will be consistent with TeX's version (e.g., \mathrel{}\middle|\mathrel{} will produce the right spacing). As a side effect, this resolves the problem with the quotes, sot this resolves issue #1023. 2016-06-07 10:14:51 -04:00
Davide P. Cervone
02cfa458d8 Don't add a 'src' attribute (<image> uses href, not src) 2016-06-07 10:06:18 -04:00
Davide P. Cervone
acbb444141 Make rowlines='' and rowlines=' ' be rowlines='none'. Resolives issue #1004. 2016-06-07 06:46:13 -04:00
Davide P. Cervone
8c51621661 Merge pull request #1483 from dpvc/issue1477
Catch IE8 errors with inserting MathML from AssistiveMML extension. #1477
2016-06-06 16:12:19 -04:00
Davide P. Cervone
2e82e8f17b Merge pull request #1485 from dpvc/issue1449
Allow line breaks within TeXAtom elements  Resolves issue #1449.
2016-06-06 16:04:24 -04:00
Davide P. Cervone
6d689b135a Merge pull request #1504 from dpvc/respeq119
Make getJaxForMath() work even during chunking.
2016-06-06 16:01:56 -04:00
Davide P. Cervone
0d192ebf70 Make getJaxForMath() work even during chunking. Resolves issue mathjax/MathJax-RespEq#119. 2016-06-06 07:41:18 -04:00
Davide P. Cervone
fef425431b Handle adjusting cell heights properly. Add a 1em strut to work around issues with cells containing no text and cells that are shorter than the midpoint of the font. Resolves issue #1500. 2016-06-06 07:15:04 -04:00
Davide P. Cervone
a118ca9e82 Allow percentage width to bubble up un bbox.updateFrom(cbox). Resolves issue #1499. 2016-06-02 16:33:15 -04:00
Davide P. Cervone
c9fc3ae66b Fix up comment. 2016-05-18 12:37:23 -04:00
Davide P. Cervone
2f37edaadf Construct the script boxes in the DOM so that stretchy characters can use CHTMLnodeElement() to locate their associated DOM nodes properly. The boxes are moved into the correct places later. REsolves issue #1480. 2016-05-18 12:30:53 -04:00
Davide P. Cervone
b51e686afc Allow line breaks within TeXAtom elements Resolves issue #1449. 2016-05-17 19:20:03 -04:00
Davide P. Cervone
ab7d436bb1 Mark accented operators as not having movable limits. Resolves issue #1469. 2016-05-17 19:07:17 -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
422065a0c1 Fix CSS for IE < 8. 2016-05-17 16:56:56 -04:00
Davide P. Cervone
97ab12ea52 Properly determine container width for shrink-wrapped elements in CommonHTML. Issue #1478. 2016-05-17 15:55:07 -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
67bca32380 Properly determine container width for shrink-wrapped elements, and try to handle the problem with full-width equations being too wide when the ex-size isn't measured accurately enough. Issue #1478. 2016-05-17 15:52:50 -04:00
Davide P. Cervone
e1d430d1b3 Make getNode() non-recursive and add comments for what it does. Issue #1447. 2016-05-17 12:31:47 -04:00
Davide P. Cervone
c0c63b1e12 Merge pull request #1475 from dpvc/issue1474
Avoid error when \overset or \underset is empty.  Resolves issue #1474.
2016-05-17 11:26:36 -04:00
Davide P. Cervone
fd223636e0 Merge pull request #1462 from dpvc/issue1441
Bubble percentage widths up while line breaking in CHTML.  Resolves issue #1441.
2016-05-17 11:25:42 -04:00
Davide P. Cervone
264981846f Merge pull request #1461 from dpvc/issue1452
Make sure 0 remains 0 when rounding to pixels (plus a bit).  Resolves issue #1452.
2016-05-17 11:24:01 -04:00
Davide P. Cervone
ce4982f34b Merge pull request #1454 from dpvc/issue831
Use full location URL for xlink references in SVG <use> elements.  Resolves issue #831.
2016-05-17 11:22:57 -04:00
Davide P. Cervone
56db9c00b8 Avoid error when \overset or \underset is empty. Resolves isue #1474. 2016-05-15 09:07:51 -04:00
Davide P. Cervone
19b813a4a7 Make Volker's suggested change. Issue #1452. 2016-05-11 20:48:29 -04:00
Davide P. Cervone
e14a8516d7 Make Volker's suggested change. Issue #831. 2016-05-11 20:39:42 -04:00
Davide P. Cervone
17cd3349c7 Merge pull request #1465 from dpvc/issue1437
Don't set role in CHTML and HTML-CSS output.   Resolves issue #1437.
2016-05-11 17:24:04 -04:00
Davide P. Cervone
ba2b068281 Merge pull request #1464 from dpvc/issue1419
Make sure resetEquationNumbers is always defined.  Resolves issue #1419.
2016-05-11 17:23:00 -04:00
Davide P. Cervone
88d1bb03d3 Merge pull request #1463 from dpvc/issue1428
Reset message strings for messageStyle=simple for each typeset.  Resolves issue #1428.
2016-05-11 17:22:01 -04:00
Davide P. Cervone
d8f89ffade Merge pull request #1460 from dpvc/issue1370
Adjust position of rule for square root when it is made via `createRule()`.  Resolves #1370.
2016-05-11 17:20:59 -04:00
Davide P. Cervone
ba600e8f35 Merge pull request #1458 from dpvc/issue1422
Fix problem with container width in SVG when math is scaled.  Resolves issue #1422.
2016-05-11 17:12:58 -04:00
Davide P. Cervone
a091415f55 Merge pull request #1457 from dpvc/issue1451
Fix problem with Plane1 not being mapped to the MathJax fonts properly.  Resolves issue #1451.
2016-05-11 17:12:02 -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
1d849674e1 Merge pull request #1455 from dpvc/environment-fix
Fix TeX.Environment() to use the correct end environment.
2016-05-11 17:08:29 -04:00
Davide P. Cervone
a63aa92102 Add a dummy resetEquationNumbers() function that is replaced by AMS. Resolves issue #1419. 2016-05-04 08:45:28 -04:00
Davide P. Cervone
c2c5d8af17 Reset message strings for messageStyle=simple for each typeset operation. Resolves issue #1428 2016-05-04 08:36:02 -04:00
Davide P. Cervone
902aa2bf7e Don't set role in CHTML and HTML-CSS output, and fix comments in other jax. Issue #1437. 2016-05-04 08:18:59 -04:00
Davide P. Cervone
715dadf23a Bubble percentage widths up while line breaking in CHTML. Resolves issue #1441. 2016-05-04 08:08:18 -04:00
Davide P. Cervone
35ca30ef4c Make sure 0 remains 0 when rounding to pixels (plus a bit). Resolves issue #1452. 2016-05-03 21:15:55 -04:00
Davide P. Cervone
5fc8bc2add Merge pull request #1448 from mathjax/issue1443
[CommonHTML] fix typo in styles
2016-05-02 19:06:49 -04:00
Davide P. Cervone
d9a64a2603 Adjust position of rule for square root when it is made via createRule(). Resolves issue #1370. 2016-04-29 19:29:54 -04:00
Davide P. Cervone
7116cde328 Improve getNode() so that it doesn't find elements inside nodes that come from other MathML nodes (those with IDs). Resolves issue #1447. 2016-04-29 19:02:15 -04:00
Davide P. Cervone
b7385f44d2 Fix problem with container width in SVG when math is scaled. Resolves issue #1422. 2016-04-29 10:32:23 -04:00
Davide P. Cervone
22c19a8186 Fix problem with Plane1 not being mapped to the MathJax fonts properly. Resolves issue #1451. 2016-04-29 09:43:00 -04:00
Peter Krautzberger
9da81b518e [CommonHTML] fix typo in styles
Fixes #1443
2016-04-21 10:06:26 +02:00
Davide P. Cervone
bd29c05f63 Merge pull request #1446 from mathjax/issue1442
[package.json] set main to unpacked/MathJax.js
2016-04-18 08:15:37 -04:00
Peter Krautzberger
6b6e2cf665 [package.json] set main to unpacked/MathJax.js
Fixes #1442
2016-04-18 09:21:02 +02:00
Davide P. Cervone
fc1d3d49f0 Remove previous output that is marked by MathJax_Processed as well as MathJax_Processing. Also could have allowed proper output in issue #1384, though it woud have replaced all the math on the page. 2016-04-08 16:17:15 -04:00
Davide P. Cervone
bab0a8dd8c Add more checks that the script tags are still in the active DOM before trying to use them. Resolves puzzling.SE issue #1384. 2016-04-08 14:03:34 -04:00
Davide P. Cervone
d698760e58 Fix TeX.Environment() to use the correct end environment. 2016-04-08 13:38:43 -04:00
Peter Krautzberger
288e4f476d Update CONTRIBUTING.md
Fix link to test framework; fixes #1430
2016-04-06 10:33:33 +02: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
11cd99bd7c Merge pull request #1396 from uhoreg/check-script-parentnode
Don't die if script has been removed from document
2016-03-20 09:11:39 -04:00
Hubert Chathi
6e7530d253 Don't die if script has been removed from document 2016-02-22 11:42:04 -05:00
Davide P. Cervone
3473ccb613 Use full location URL for xlink references in SVG <use> elements when the page includes a <base> element. Resolves issue #831. 2016-02-22 16:58:06 +01:00