Commit Graph

3017 Commits

Author SHA1 Message Date
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
405687bc27 Merge pull request #1604 from mathjax/issue1577
[locales] update from mathjax-i18n for v2.7.0
2016-08-26 15:25:19 -04:00
Davide P. Cervone
d3201ada44 Make sure mmultiscripts aligns HTML-CSS color element for prescripts. 2016-08-25 06:44:14 -04:00
Peter Krautzberger
707039288d [locales] update from mathjax-i18n for v2.7.0
* updates: de, kn, ko, lki, nl, oc, pl, pt-br, pt, zh-hans
* additions: diq
resolves #1577
2016-08-25 09:55:40 +02: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
2f5b3eebc3 It's OK to change the original 'document', since it is a temporary MathML tree that is used to create the internal JS version and then is discarded. It is replaced by the result of content-mathml anyway. 2016-08-24 10:11:56 -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
f0d730eff3 Merge pull request #1596 from dpvc/issue1593
Don't allow `\require{mhchem}` to override one already loaded.  #1593
2016-08-24 09:52:33 -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
37c3bcf878 Merge pull request #1591 from dpvc/issue1570
Change 'rev=' to 'V=' in cache breaking code.  #1570
2016-08-24 09:46:07 -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
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
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
df6c3fc490 Don't allow \require{mhchem} to override one already loaded from [Contrib]. Resolves issue #1593. 2016-08-21 12:27:50 -04:00
Davide P. Cervone
47a7f1f36b Fix incorrect assignments content-mathml extension, and don't modify original document. Resolves issue #1575. 2016-08-21 12:08:08 -04:00
Davide P. Cervone
9a0bc1b20a Change 'rev=' to 'V=' in cache braking code (in hopes that doesn't conflict with anyone's server usage). Resolves issue #1570. 2016-08-21 09:41:58 -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
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