Commit Graph

1534 Commits

Author SHA1 Message Date
Davide P. Cervone
590c425e45 Localize variable that was accidentaly global. 2016-08-31 11:44:05 -04:00
Davide P. Cervone
c59db4a65d Don't need 'var' twice for these variables. 2016-08-31 11:42:34 -04:00
Davide P. Cervone
24b01d336b Looks like the global variable i was removed, so no need for this line any more. 2016-08-31 11:40:59 -04:00
Davide P. Cervone
e60c792e10 Update versions and copyrights 2016-08-31 11:24:33 -04:00
Davide P. Cervone
9f7e9917e5 Make variables local that were inadvertantly global. 2016-08-30 10:37:02 -04:00
Davide P. Cervone
351616984b Merge pull request #1606 from dpvc/issue1605
Update AsciiMath to include changes since v2.6.  #1605
2016-08-29 10:19:59 -04:00
Davide P. Cervone
64b65a655c Merge pull request #1603 from dpvc/issue1584
Add MathJax.Object.isArray, and change most 'instanceof Array' to use it.  #1584
2016-08-29 10:19:05 -04:00
Davide P. Cervone
10dc11e689 Update AsciiMath to include changes since v2.6. Resolves issue #1605 2016-08-26 17:09:46 -04:00
Davide P. Cervone
d3201ada44 Make sure mmultiscripts aligns HTML-CSS color element for prescripts. 2016-08-25 06:44:14 -04:00
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
d536272781 Merge pull request #1602 from dpvc/issue1589
Handle \ref properly when there is a <base> tag.  #1589
2016-08-24 09:53:48 -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
1e9f423e29 Merge pull request #1587 from dpvc/issue1586
Make sure trimSpaces() doesn't remove tailing space in '\ '.  #1586
2016-08-24 09:41:24 -04:00
Davide P. Cervone
33ee93dbb3 Handle references properly when there is a <base> tag. Resolves issue #1589. 2016-08-24 08:06:37 -04:00
Davide P. Cervone
814045a141 Make NativeMML output only set attributes when they are not the default (just like toMathML). 2016-08-23 11:08:55 -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
b3530d60b1 Fix regression with rowalign (due to new method of aligning tables) in CHTML. 2016-08-22 12:28:17 -04:00
Davide P. Cervone
d8a85a0891 Check to make sure element is in the page before processing it. 2016-08-22 09:30:21 -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
2cdbf46bd9 Commit 65cfcb wasn't a complete solution to the stretchy change. 2016-08-22 07:31:13 -04:00
Davide P. Cervone
0a4a4d8fa5 Convert booleans in math and mstyle elements (since we can't tell what the defaults should be, punt). 2016-08-22 07:15:02 -04:00
Davide P. Cervone
e3ad30b4bd Fix typo in commit 9f0059c. 2016-08-22 06:41:25 -04:00
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
aba0f465ee Take the global scaling factor into account. 2016-08-21 15:08:54 -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
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
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
172e8a8727 Make sure trimSpaces() doesn't remove tailing space in '\ '. Resolves issue #1586 (and handles #1563 better). 2016-08-17 13:44:42 -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
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
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
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
38a9a12dcf Adjust how options are handled, as per Volker's comments. 2016-07-26 14:59:41 -04:00
Davide P. Cervone
fbed4bd61d Merge develop into issue1544 2016-07-26 14:54:46 -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
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
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