Commit Graph

2928 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
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