Commit Graph

2936 Commits

Author SHA1 Message Date
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
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
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
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