Commit Graph

257 Commits

Author SHA1 Message Date
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
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
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
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
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
aba0f465ee Take the global scaling factor into account. 2016-08-21 15:08:54 -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
9775358fec Set previews to have display:none. Resolves issue #1555. 2016-08-21 09:32:00 -04:00
Davide P. Cervone
624572a654 Handle interleaved Typeset() calls better. 2016-08-17 16:20:59 -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
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
38a9a12dcf Adjust how options are handled, as per Volker's comments. 2016-07-26 14:59: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
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
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
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
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
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
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
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
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
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
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
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
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
97ab12ea52 Properly determine container width for shrink-wrapped elements in CommonHTML. Issue #1478. 2016-05-17 15:55:07 -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
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
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
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
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
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
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
zorkow
a1bfe0afcf Adds configuration for excluding MathJax elements from tab order. 2016-02-06 09:26:29 -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