Commit Graph

247 Commits

Author SHA1 Message Date
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
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
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
ae8ae0cb72 Fix a number of issues found by running IE8. 2015-12-23 19:40:41 -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
21dd8a4b46 Make sure main container element gets width set when using right margin for negative size 2015-12-06 07:49:24 -05:00