Commit Graph

2386 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Davide P. Cervone
7a03186c26 Fix missing comma spotted by minifier. 2016-02-07 15:42:34 -05:00
Davide P. Cervone
11b5897959 Update version numbers of changed files 2016-02-07 15:34:12 -05:00
Davide P. Cervone
fdd0b7787f Set some menuSettings to null so that the defaults work properly, but they still appear in the list so people know about them. 2016-02-07 14:11:52 -05:00
Davide P. Cervone
beb8efaa04 Use correct event handler for keypress, and delete previous error if we are reprocessing the scripts. 2016-02-06 17:44:25 -05:00
Davide P. Cervone
78fce5d3dc Fix [Math Processing Error] objects to work with new menu code in 2.6.0. 2016-02-06 13:42:16 -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
32c540b355 Merge branch 'issue1009' into develop. Issue #1009. 2016-02-06 10:42:31 -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
a597f2107e Fix formatting 2016-02-06 09:26:29 -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
0a33759241 Add text-rending:optimizeLegibility to integrals and other characters that extend well past their width. Resolves issue #1009 2016-02-01 11:07:25 -05:00
Davide P. Cervone
0740dd4735 Only set movablelimits for nodes of class OP 2016-01-30 08:44:31 -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
9ec8e34ee5 Remove lspace and rspace from being used by renderers other than NativeMML. 2016-01-28 16:52:24 -05:00
Davide P. Cervone
54ac450144 Fix spacing for operators with movablelimits that are converted to <mo> 2016-01-28 16:38:59 -05:00
Davide P. Cervone
e8186ee317 Fix #1259 for \mathop and \operatorname as well. 2016-01-27 14:52:24 -05:00
Davide P. Cervone
2b5f6103cc Merge branch 'issue1360' into develop. Issue #1360. 2016-01-27 14:40:13 -05:00
Davide P. Cervone
d478573b33 Return the NODES array in getNodesByClass(). 2016-01-27 01:15:07 -05:00
Davide P. Cervone
1318ffeb88 Fix CHTML.getNode() to handle nested tags, and fix CHTMLchildNode() for munderover and msubsup elements. Resolves issue #1360 2016-01-26 14:59:32 -05:00
Davide P. Cervone
e315be2978 Reorganize fraction layout in order to align fraction lines better. (Probably should do something similar for munderover and possibly msupsub as well.) Resolves issue #1348. 2016-01-26 12:21:25 -05:00
Davide P. Cervone
24a6cf7c25 Merge branch 'issue1359' into develop. Issue #1359. 2016-01-26 11:05:34 -05:00
Davide P. Cervone
60de3854b9 Merge branch 'issue1353' into develop. Issue #1353. 2016-01-26 11:05:02 -05:00
Davide P. Cervone
1f570173b5 Merge branch 'issue1197' into develop. Issue #1197. 2016-01-25 13:55:09 -05:00
Davide P. Cervone
618f8d0466 Merge branch 'issue1259' into develop. Issue #1259. 2016-01-25 13:54:45 -05:00
Davide P. Cervone
5c4bf98e90 Merge branch 'issue1321' into develop. Issue #1321. 2016-01-25 13:54:21 -05:00
Davide P. Cervone
27d4db2424 Merge branch 'issue1350' into develop. Issue #1350. 2016-01-25 13:54:05 -05:00
Davide P. Cervone
4d0af10b8d If measurements can't be taken in getHDW(), move the test elements to the document.body instead in hopes that it is visible. Resolves issue #1353. 2016-01-25 12:02:24 -05:00
Davide P. Cervone
99782aee54 Remove padding from elements where CSS overrides it. Resolves issue #1359. 2016-01-25 08:43:47 -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
404c73c30a Don't allow movablelimits in the base of \underset and \overset. Resolves issue #1259. 2016-01-24 15:32:12 -05:00
Davide P. Cervone
6eddcc8f5d Don't pass font to math inside text boxes. Resolves issue #1321. 2016-01-24 15:25:36 -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
8c023bef43 Repack and recombine final updates 2015-12-30 11:49:42 -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
80649cb16c Remove unused variable identified by compressor 2015-12-29 09:57:31 -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
Peter Krautzberger
76fae189a7 localization: updates from MathJax-i18n 2015-12-29 13:27:47 +01:00
Davide P. Cervone
38007fdc5b Update AsciiMath to include changes since MathJax 2.5 2015-12-28 15:59:15 -05:00
Davide P. Cervone
4c50eb0864 Remove unneeded code, add missing support for zoom, and adjust CSS to display better. 2015-12-28 09:26:43 -05:00
Davide P. Cervone
f3728603a9 Remove unused variable 2015-12-28 07:35:37 -05:00
Davide P. Cervone
ae8ae0cb72 Fix a number of issues found by running IE8. 2015-12-23 19:40:41 -05:00
Davide P. Cervone
46676fd233 Merge branch 'issue1314' into develop. Issue #1314. 2015-12-18 05:52:05 -05:00
Davide P. Cervone
0727dd5ae3 Make right clip be the width+1000 rather than a fixed size. Issue #1314 2015-12-18 05:48:19 -05:00
Davide P. Cervone
916965b777 Make clip rect larger so that wide math will not beclipped. Resolves issue #1314 2015-12-17 19:58:32 -05:00
Davide P. Cervone
e7c11c969a Fix focus problems due to overly aggressive CSS, and done add space around HTML-CSS output (which was causing problems). 2015-12-17 17:00:42 -05:00
Davide P. Cervone
32c2d9b9fc Change cache-breaking value in MathJax.js 2015-12-14 11:45:34 -05:00
Davide P. Cervone
f1b4a178c0 Fix multiply defined var's as discovered by yuicompressor. 2015-12-14 11:35:57 -05:00
Davide P. Cervone
a1460f8993 Update version numbers for 2.6.0-beta.2 2015-12-14 10:14:34 -05:00
Davide P. Cervone
20f42d692d Merge branch 'issue1332' into develop. Issue #1332. 2015-12-14 10:10:25 -05:00
Peter Krautzberger
fbd7d6e9b0 plainSource: snsure IE8 compatibility 2015-12-13 15:40:54 +01:00
Davide P. Cervone
3737c8d84b Merge branch 'preview-disable' into develop 2015-12-11 16:14:37 -05:00
Davide P. Cervone
bfcb0e94b5 Recompute the bounding box for an mrow with stretchable embellished operators that didn't actually stretch. Resolves issue #1332. 2015-12-11 11:53:53 -05:00
Davide P. Cervone
5973694116 Make a flag for output jax to control fast preview (so we don't have to maintain a blakc-list here). 2015-12-09 16:26:41 -05:00
Davide P. Cervone
7342aebe66 Allow page to enable/disable previews via API calls (for use with editor previews, for example). 2015-12-09 16:16:45 -05:00
Davide P. Cervone
e894193e51 Move location of assistive MathML to be more closely related to the position of the typeset math. Issue #1235. 2015-12-08 19:02:37 -05:00
Davide P. Cervone
d776874898 Merge branch 'issue1280' into develop. Issue #1280. 2015-12-08 18:07:36 -05:00
Davide P. Cervone
e3a2603361 Merge branch 'issue1312' into develop. Issue #1312. 2015-12-08 18:06:50 -05:00
Davide P. Cervone
f60da6ff0e Merge pull request #1322 from mathjax/issue1235
Update AssistiveMML
2015-12-08 18:03:47 -05:00
Peter Krautzberger
040ddd652c plainTeX output jax: check MathML input for TeX and asciimath annotation and use it. 2015-12-08 11:15:55 +01:00
Davide P. Cervone
a729427ca6 Remove debugging log messages. 2015-12-06 11:02:27 -05:00
Davide P. Cervone
58d698f355 More improvements to function-apply with operators. Issue #1312 2015-12-06 08:16:25 -05:00
Davide P. Cervone
21dd8a4b46 Make sure main container element gets width set when using right margin for negative size 2015-12-06 07:49:24 -05:00
Davide P. Cervone
757660863f Handle boxes with negative widths in CHTML. Resolves issue #1280 2015-12-05 18:43:31 -05:00
Davide P. Cervone
b231a0537c Merge branch 'issue1326' into develop. Issue #1326. 2015-12-05 13:45:29 -05:00
Davide P. Cervone
a911742bd2 Merge branch 'issue1324' into develop. Issue #1324. 2015-12-04 14:37:47 -05:00
Davide P. Cervone
e47e221afa Merge branch 'issue1312' into develop. Issue #1312. 2015-12-04 14:37:32 -05:00
Davide P. Cervone
eb6f1c0123 Merge branch 'issue1323' into develop. Issue #1323. 2015-12-04 14:37:15 -05:00
Davide P. Cervone
80125f99f1 Merge branch 'issue1316' into develop. Issue #1316. 2015-12-04 14:36:49 -05:00
Davide P. Cervone
3ff16901e6 Undo change in \underline (remove accent=false) since this produces poor results. Issue #1255. 2015-12-04 10:31:51 -05:00
Davide P. Cervone
206dc7f490 Make horizontal stretchy characters use multiple extenders rather than CSS transform. Issue #1326 2015-12-04 10:28:54 -05:00
Davide P. Cervone
49003fe4ac Fix vertical stretchy characters to use multiple extenders rather than CSS transform. Issue #1326 2015-12-03 11:49:55 -05:00
Davide P. Cervone
0e4b3f05e2 Make scaling basd on a list rather than hard-coded if-then statements. Issue #1324 2015-12-03 08:11:39 -05:00
Davide P. Cervone
1c938cc48e Add CommonHTML to the 'Scale All Math' list. Issue #1324. 2015-12-03 08:02:08 -05:00
Davide P. Cervone
458cd7a760 Improve heuristics for adding function-apply following operators. Issue #1312. 2015-12-03 07:43:00 -05:00
Davide P. Cervone
6a7ac1740f Copy empty Presentation MathML elements verbatim rather than inserting <mi> with the name of the element, as neede for Content MathML. Resolves issue #1323. 2015-12-02 15:21:24 -05:00
Davide P. Cervone
2307a753b2 Fix problem with mtext losing initial spacing when the mtext containe only one printable character. Issue #1316. 2015-12-02 14:58:53 -05:00
Davide P. Cervone
3cdcd73b01 Merge branch 'issue1295' into develop. Issue #1295. 2015-12-02 11:19:58 -05:00
Davide P. Cervone
aa21c9fedd Merge branch 'issue1287' into develop. Issue #1287. 2015-12-02 11:19:08 -05:00
Davide P. Cervone
4246f20ed4 Merge branch 'issue1255' into develop. Issue #1255. 2015-12-02 11:17:33 -05:00
Peter Krautzberger
21a10de3eb Update AssistiveMML
Add `role=presentation` to root element and parent of the plain MathML

Fixes #1235
2015-11-30 21:34:16 +01:00
Peter Krautzberger
b28461f032 plainsource outpt: first commit 2015-11-18 13:47:36 +01:00
Moritz Schubotz
05fe60e8fa Add missing symbols
Not all symbols from the class other_literals2 were supported
cf mathjax#1236
2015-11-06 16:52:54 +01:00
Davide P. Cervone
ea98a6e562 Make height/depth of horizontal stretchy characters be maximum of the height/depth of the component parts, rather than TeX's approach of using the extender's height and depth. Also, make over-brace and other over macros not set accent=false so they match TeX and the under versions better. Resolves #1255. 2015-11-02 09:22:36 -05:00
Davide P. Cervone
7c39f064d0 Handle scriptlevel set on arrays via an mstyle node (affects smallmatrix). Resolves issue #1295. 2015-11-01 19:22:11 -05:00
Davide P. Cervone
04bb13e932 Lookup stack container for stretchy operators for msubsup in CHTML. Resolves issue #1287. 2015-10-18 07:33:24 -04:00
Davide P. Cervone
ecbfb344c3 Move event handler to maction element rather than duplication it in two places (for HTML-CSS output). 2015-10-17 23:36:13 -04:00
Davide P. Cervone
415be7eaf7 Add explicit table border-spacing since Firefox seems to need this to avoid too large a space around the math when focusing. If the spacing is too small, it seems that Firefox fails to treat the inlein-table as a table, so use 3px and use the margin to remove it so there is no change in position. 2015-10-17 23:35:24 -04:00
Davide P. Cervone
83b482f4b4 Fix typo in bbox for mfrac, and add ability to draw debugging bounding box for a given element. 2015-10-17 22:19:54 -04:00
Davide P. Cervone
4c85dc09b9 Make mactions nest properly in SVG output 2015-10-17 06:01:15 -04:00
Davide P. Cervone
c68c690468 Make sure CHTML zoom has access to the proper container 2015-10-17 06:01:03 -04:00
Davide P. Cervone
b679e7e4df Merge branch 'issue1279' into develop. Issue #1279. 2015-10-14 09:09:35 -04:00
Davide P. Cervone
48e3ed1047 Merge branch 'issue1283' into develop. Issue #1283. 2015-10-14 08:01:41 -04:00
Davide P. Cervone
c8d09126b5 Make table frame and lines respect the scaling factor for the table (so they get thicker if the table is scaled). Issue #1279 2015-10-13 06:23:17 -04:00
Davide P. Cervone
c8ea88e195 Make horizontal lines have minimum lickness of 1px so they don't disappear. Issue #1279. 2015-10-13 06:15:32 -04:00
Davide P. Cervone
3b8ab2e5c1 Round em's to nearest pixel to avoid WebKit alignment issues. Resolves issue #1283. 2015-10-11 18:57:38 -04:00
Davide P. Cervone
7c3fbd95cc Mark CHTML output so that tex2jax won't re-process it. Resolves issue #1285. 2015-10-11 14:31:41 -04:00
Davide P. Cervone
0c77e8c880 Repack and recombine for 2.6-beta.1 2015-10-08 20:54:21 -04:00
Davide P. Cervone
225ac4680f Update version numbers of changed files 2015-10-08 20:52:14 -04:00
Davide P. Cervone
974b5d34c8 Merge branch 'issue1281' into develop. Issue #1281. 2015-10-08 20:46:10 -04:00
Davide P. Cervone
74c7898fca Merge branch 'issue1279' into develop. Issue #1279. 2015-10-08 20:45:59 -04:00
Davide P. Cervone
015c36ef84 Merge branch 'issue1278' into develop. Issue #1278. 2015-10-08 20:45:41 -04:00
Davide P. Cervone
bd5c6d7496 Scale pixels by the scaling factor in effect for node (since they are not relative units and won't be scaled automatically). Issue #1279 2015-10-08 08:35:59 -04:00
Davide P. Cervone
4765effa5f Make sure horizontal lines have units in pixels rather than ems so they are less likely to disappear 2015-10-08 08:19:05 -04:00
Davide P. Cervone
9da8bc6fdb Have non-token elements get the correct scaling factor (using the proper mathsize) rather than setting it to 1. This resolves issue #1281. 2015-10-08 08:12:29 -04:00
Davide P. Cervone
47163b5c70 Add missing ':focus' in CSS for handling outline better 2015-10-08 08:07:30 -04:00
Davide P. Cervone
1fa9bbaef0 Force width of mrow if there is negative space within the mrow (to work around WebKit bug). Resolves issue #1278. 2015-10-07 18:06:49 -04:00
Davide P. Cervone
4d6190c581 Use inline-table to make focus outline work better for all browsers. Resolves issue #1282 2015-10-06 20:48:15 -04:00
Davide P. Cervone
6535c031ed Fix alignment problems with horizontal stretched characters. Resolves issue #1276. 2015-10-03 08:31:17 -04:00
Davide P. Cervone
2fbc393e1a Merge branch 'issue1272' into develop. Issue #1272. 2015-10-02 12:48:04 -04:00
Davide P. Cervone
f6b72dda3a Merge branch 'issue1271' into develop. Issue #1271. 2015-10-02 12:47:55 -04:00
Davide P. Cervone
fe5d05f07b Fix spacing of eqnarray environment. Resolves issue #1272 2015-09-30 21:51:36 -04:00
Davide P. Cervone
7200c2e9a5 Add support for PreviewHTML and CommonHTML to noErrors extension. Resolves issue #1271 2015-09-29 23:10:12 -04:00
Davide P. Cervone
90fdfd4783 Fix isMathJaxNode() to work with NativeMML output and don't worry about tagName starting with 'mjx-' since CHTML doesn't do that anymore. Fix isJax() to call isMathJaxNode() properly. Remove isMathJaxNode() call from HashCheck(), since that is taken care of in getJaxFor() automatically. Resolves issue #1273. 2015-09-29 22:01:11 -04:00
Davide P. Cervone
c83db737ec Fix problems found during packing of files 2015-09-19 17:26:48 -04:00
Davide P. Cervone
2557ccedae Update version number to 2.6-beta for beta release 2015-09-19 10:08:08 -04:00
Davide P. Cervone
358e79765c Added support for \mathchoice now that the old CommonHTML is named PreviewHTML. 2015-09-18 15:58:50 -04:00
Davide P. Cervone
65d9ee1160 Change MJXf-* to MJXp-* (since we renamed FastHTML to PreviewHTML) 2015-09-18 15:49:41 -04:00
Davide P. Cervone
f0c93c2d98 Fix problem with fractions in quirks mode in Safari and IE. Resolves issue #1035 2015-09-18 15:43:01 -04:00
Davide P. Cervone
245b847abc Merge pull request #1267 from mathjax/fix_separator_bug
Fixes the menu bug introduced by giving separators a role.
2015-09-17 06:13:56 -04:00
Davide P. Cervone
b2a53ac6bc Merge pull request #1262 from dpvc/more-menu
A few menu display tweaks
2015-09-17 06:13:23 -04:00
zorkow
90f77e33a5 Fixes the menu bug introduced by giving separators a role. 2015-09-16 11:31:56 +01:00
Davide P. Cervone
1af1680715 Update configurations and add new ones 2015-09-15 08:46:25 -04:00
Davide P. Cervone
dd2ba79883 Change dialog close button text to be more specific 2015-09-15 08:27:42 -04:00
Davide P. Cervone
45817c1519 merge branch 'develop' into more-menu (fix conflicts with Volker's changes) 2015-09-14 07:27:21 -04:00
Davide P. Cervone
980091128a Merge pull request #1265 from mathjax/add_more_aria
Add some more ARIA
2015-09-14 07:20:48 -04:00
Davide P. Cervone
00af8c161e Use isEdge for MSEdge detection 2015-09-14 06:57:01 -04:00