Commit Graph

  • ec3cf0ae3a Merge pull request #1592 from dpvc/issue1575 Davide P. Cervone 2016-08-29 10:17:47 -04:00
  • 8344a10a83 Use Array.isArray, when possible. Davide P. Cervone 2016-08-29 10:15:52 -04:00
  • 10dc11e689 Update AsciiMath to include changes since v2.6. Resolves issue #1605 Davide P. Cervone 2016-08-26 17:09:46 -04:00
  • 405687bc27 Merge pull request #1604 from mathjax/issue1577 Davide P. Cervone 2016-08-26 15:25:19 -04:00
  • d3201ada44 Make sure mmultiscripts aligns HTML-CSS color element for prescripts. Davide P. Cervone 2016-08-25 06:44:14 -04:00
  • 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 Peter Krautzberger 2016-08-25 09:55:40 +02:00
  • 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. Davide P. Cervone 2016-08-24 12:05:53 -04:00
  • 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. Davide P. Cervone 2016-08-24 10:11:56 -04:00
  • d536272781 Merge pull request #1602 from dpvc/issue1589 Davide P. Cervone 2016-08-24 09:53:48 -04:00
  • f0d730eff3 Merge pull request #1596 from dpvc/issue1593 Davide P. Cervone 2016-08-24 09:52:33 -04:00
  • 3310136281 Merge pull request #1595 from dpvc/issue1594 Davide P. Cervone 2016-08-24 09:50:45 -04:00
  • 37c3bcf878 Merge pull request #1591 from dpvc/issue1570 Davide P. Cervone 2016-08-24 09:46:07 -04:00
  • 62e8298223 Merge pull request #1590 from dpvc/issue1555 Davide P. Cervone 2016-08-24 09:43:57 -04:00
  • 1e9f423e29 Merge pull request #1587 from dpvc/issue1586 Davide P. Cervone 2016-08-24 09:41:24 -04:00
  • 33ee93dbb3 Handle references properly when there is a <base> tag. Resolves issue #1589. Davide P. Cervone 2016-08-24 08:06:37 -04:00
  • 814045a141 Make NativeMML output only set attributes when they are not the default (just like toMathML). Davide P. Cervone 2016-08-23 11:08:55 -04:00
  • 7ec37f65f0 One more fix for CommonHTML full-width tables (undoes an incorrect change in 0e9f51f3 Davide P. Cervone 2016-08-22 20:20:29 -04:00
  • b3530d60b1 Fix regression with rowalign (due to new method of aligning tables) in CHTML. Davide P. Cervone 2016-08-22 12:28:17 -04:00
  • d8a85a0891 Check to make sure element is in the page before processing it. Davide P. Cervone 2016-08-22 09:30:21 -04:00
  • 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. Davide P. Cervone 2016-08-22 08:47:28 -04:00
  • 2cdbf46bd9 Commit 65cfcb wasn't a complete solution to the stretchy change. Davide P. Cervone 2016-08-22 07:31:13 -04:00
  • 0a4a4d8fa5 Convert booleans in math and mstyle elements (since we can't tell what the defaults should be, punt). Davide P. Cervone 2016-08-22 07:15:02 -04:00
  • e3ad30b4bd Fix typo in commit 9f0059c. Davide P. Cervone 2016-08-22 06:41:25 -04:00
  • 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. Davide P. Cervone 2016-08-21 19:33:04 -04:00
  • 03db3c7b59 Move the location of clearCounts() so that they are cleared both before and after the typeset action. Davide P. Cervone 2016-08-21 18:51:34 -04:00
  • aba0f465ee Take the global scaling factor into account. Davide P. Cervone 2016-08-21 15:08:54 -04:00
  • 65cfcb80ac Update mmultiscripts to accommodate change where stretch is passed as an option (in 470d97c). Davide P. Cervone 2016-08-21 15:01:55 -04:00
  • fc47ec0171 Properly scale elements with font-family specified. Resolves issue #1594. Davide P. Cervone 2016-08-21 14:55:59 -04:00
  • df6c3fc490 Don't allow \require{mhchem} to override one already loaded from [Contrib]. Resolves issue #1593. Davide P. Cervone 2016-08-21 12:27:50 -04:00
  • 47a7f1f36b Fix incorrect assignments content-mathml extension, and don't modify original document. Resolves issue #1575. Davide P. Cervone 2016-08-21 12:08:08 -04:00
  • 9a0bc1b20a Change 'rev=' to 'V=' in cache braking code (in hopes that doesn't conflict with anyone's server usage). Resolves issue #1570. Davide P. Cervone 2016-08-21 09:41:58 -04:00
  • 9775358fec Set previews to have display:none. Resolves issue #1555. Davide P. Cervone 2016-08-21 09:32:00 -04:00
  • 4a9bee1f2f Fix regression in HTML-CSS linebreak code that causes processing error in some cases. Davide P. Cervone 2016-08-18 15:50:17 -04:00
  • dd2ac513ce Fix problem with identifying display math due to change from looking of frame to using previousSibling. Davide P. Cervone 2016-08-18 10:16:03 -04:00
  • f6c72b41d6 Be sure to remove all previous output in HTML-CSS jax. Davide P. Cervone 2016-08-17 18:56:57 -04:00
  • 624572a654 Handle interleaved Typeset() calls better. Davide P. Cervone 2016-08-17 16:20:59 -04:00
  • 172e8a8727 Make sure trimSpaces() doesn't remove tailing space in '\ '. Resolves issue #1586 (and handles #1563 better). Davide P. Cervone 2016-08-17 13:44:42 -04:00
  • d3eec1386a One more test for math being removed from the document (Issue 1456). Davide P. Cervone 2016-08-15 15:51:42 -04:00
  • 470d97c494 Fix toCommonHTML() so stretch is passed as an option (prevents math processing error in fractions with line breaks) Davide P. Cervone 2016-08-12 11:29:53 -04:00
  • ce6b7290d6 Fix regression with line breaks in CHTML in-line equations (equations would disappear). Davide P. Cervone 2016-08-11 11:47:26 -04:00
  • 5d4a84345e Trim spaces from content-mathml elements (helps with issue #989. Davide P. Cervone 2016-08-05 14:29:31 -04:00
  • 4779c91b5f Merge pull request #1574 from dpvc/issue1573 Davide P. Cervone 2016-08-05 12:08:08 -04:00
  • 317f838654 Don't need to use currentColor after all. Issue #1573. Davide P. Cervone 2016-08-05 12:01:47 -04:00
  • 199badf8e0 Merge pull request #1537 from dpvc/mhchem-opt-in Davide P. Cervone 2016-08-05 11:21:52 -04:00
  • a7db49a6aa Merge pull request #1554 from dpvc/issue1182 Davide P. Cervone 2016-08-05 11:18:13 -04:00
  • 4ea6e97c3b Merge pull request #1569 from dpvc/issue1568 Davide P. Cervone 2016-08-05 11:07:20 -04:00
  • 1179e74595 Merge pull request #1567 from dpvc/issue911 Davide P. Cervone 2016-08-05 11:05:24 -04:00
  • c45629f7a0 Merge pull request #1556 from dpvc/issue1434 Davide P. Cervone 2016-08-05 10:25:00 -04:00
  • 71369c3d73 Merge pull request #1550 from dpvc/issue1543 Davide P. Cervone 2016-08-05 10:23:43 -04:00
  • 2cc672face Merge pull request #1547 from dpvc/issue1539 Davide P. Cervone 2016-08-05 10:21:49 -04:00
  • 13cd70757f Use currentColor rather than black for menclose when mathcolor isn't specified. Resolves issue #1573. Davide P. Cervone 2016-08-04 10:55:10 -04:00
  • 66c73ced49 Fix typo in fileRev(). Since we don't use the file-specific versions anyway, it never had any effect. Davide P. Cervone 2016-08-04 10:52:16 -04:00
  • c5b61d4f32 Make sure we test only control sequences at the END of the parameter. Davide P. Cervone 2016-07-28 07:28:00 -04:00
  • 83387dd3f1 Treat control sequences as a unit when matching a macro template. Resolves both issues for #1568. Davide P. Cervone 2016-07-28 07:23:42 -04:00
  • 38a9a12dcf Adjust how options are handled, as per Volker's comments. Davide P. Cervone 2016-07-26 14:59:41 -04:00
  • 1d2df8cc68 Merge pull request #1546 from dpvc/issue1544 Davide P. Cervone 2016-07-26 14:56:16 -04:00
  • fbed4bd61d Merge develop into issue1544 Davide P. Cervone 2016-07-26 14:54:46 -04:00
  • 4db3f74d38 Merge pull request #1565 from dpvc/issue1563 Davide P. Cervone 2016-07-23 16:07:05 -04:00
  • f5e818cc21 Merge pull request #1552 from dpvc/issue1022 Davide P. Cervone 2016-07-23 15:59:56 -04:00
  • 62737984e8 Merge pull request #1551 from dpvc/issue1087 Davide P. Cervone 2016-07-23 15:57:34 -04:00
  • 0940fcea09 Merge pull request #1549 from dpvc/issue1548 Davide P. Cervone 2016-07-23 15:53:41 -04:00
  • d26341c5c3 Merge pull request #1533 from dpvc/issue1532 Davide P. Cervone 2016-07-23 15:47:56 -04:00
  • 119f050dd3 Merge pull request #1526 from dpvc/issue989 Davide P. Cervone 2016-07-23 15:45:43 -04:00
  • 0037d6b6df Make \def, \let, and \newcommand handle '\ ' properly. Make \let set a control sequence to an undefined control sequence. Resolves issues #1563 and #1564. Davide P. Cervone 2016-07-21 15:37:14 -04:00
  • edc2618568 Don't use getComputedStyle() if it is not available (fake styles). Davide P. Cervone 2016-07-12 11:50:51 -04:00
  • 4817368010 Use getBoundingClientRect() to improve handling of menu placement when the body is scrolled or has margin settings. Resolves issue #1434. Davide P. Cervone 2016-07-11 19:56:00 -04:00
  • fc91998d79 Merge branch 'issue1364' into develop. Issue #1364. Davide P. Cervone 2016-07-11 10:14:07 -04:00
  • 898f3717a4 Fix typo in commit 3ee5ca3. Resolves issue #1363 for CommonHTML Davide P. Cervone 2016-07-11 10:12:06 -04:00
  • f9dbe8b07d Merge pull request #1542 from dpvc/issue1541 Davide P. Cervone 2016-07-08 09:14:14 -04:00
  • e75d86950f Merge pull request #1538 from dpvc/issue1364 Davide P. Cervone 2016-07-08 09:13:01 -04:00
  • 23af855cf5 Merge pull request #1534 from dpvc/full-width-fix Davide P. Cervone 2016-07-08 09:11:55 -04:00
  • 4f87ff1b87 Merge pull request #1530 from dpvc/issue1478 Davide P. Cervone 2016-07-08 08:58:37 -04:00
  • 4120eb146c Merge pull request #1529 from dpvc/font-fixes Davide P. Cervone 2016-07-08 08:54:28 -04:00
  • 0c52c281c9 Merge pull request #1525 from dpvc/issue1403 Davide P. Cervone 2016-07-08 08:37:24 -04:00
  • 081ff8dfac Add filtering for padding in \bbox. Resolves issue #1183 Davide P. Cervone 2016-07-07 15:31:01 -04:00
  • 6c7f18a72f Add filtering for lengths for padding/margin/border/outline/font-size, and handle things like padding-top, etc. Resolves issue #1182 Davide P. Cervone 2016-07-07 15:09:30 -04:00
  • 153387d689 Merge pull request #1514 from dpvc/issue1415 Davide P. Cervone 2016-07-06 14:21:24 -04:00
  • 189239a9eb Fix conflicts with develop. Davide P. Cervone 2016-07-06 14:20:49 -04:00
  • dd32c56008 Merge pull request #1524 from dpvc/issue1445 Davide P. Cervone 2016-07-06 14:05:32 -04:00
  • cb7314d9e8 Merge pull request #1523 from dpvc/issue1468 Davide P. Cervone 2016-07-06 14:03:55 -04:00
  • 1c9e74a8f6 Merge pull request #1512 from dpvc/node241 Davide P. Cervone 2016-07-06 14:01:23 -04:00
  • d29f299c35 Merge pull request #1511 from dpvc/issue1356 Davide P. Cervone 2016-07-06 13:59:57 -04:00
  • 07709589b1 Merge pull request #1510 from dpvc/issue1393 Davide P. Cervone 2016-07-06 13:52:22 -04:00
  • c0331703f4 Merge pull request #1509 from dpvc/issue1084 Davide P. Cervone 2016-07-06 13:50:45 -04:00
  • 7b98391a68 Add ignoreTags to asciimath2jax to be consistent with tex2jax. Davide P. Cervone 2016-07-06 11:59:43 -04:00
  • 2f1c09224a Fix line breaking to handle hrefs properly both when they are split and when they are not. Resolves issue #1022. Davide P. Cervone 2016-07-06 07:43:04 -04:00
  • 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. Davide P. Cervone 2016-07-05 21:06:31 -04:00
  • 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. Davide P. Cervone 2016-07-05 13:18:05 -04:00
  • fb998031b6 Don't require both prevLevel > 0 and scriptlevel > 0 (either true shoudl be sufficient). Resolves issue #911. Davide P. Cervone 2016-07-04 13:43:31 -04:00
  • 4fdec9f911 Remove debugging code. Davide P. Cervone 2016-07-04 13:36:40 -04:00
  • 86165f9a3a Fix determination of line-breaing parent element. Resolves issue #1548. Davide P. Cervone 2016-07-04 13:16:06 -04:00
  • ba22166399 handle case where options are not passed. Davide P. Cervone 2016-07-04 12:56:53 -04:00
  • 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. Davide P. Cervone 2016-07-04 12:50:10 -04:00
  • 47a072fae6 Add stretchy data for U+20D7 to HTML-CSS, CHTML, SVG data for TeX and STIX fonts. Other fonts already have it. Resolves issue #1544. Davide P. Cervone 2016-07-04 11:36:05 -04:00
  • 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. Davide P. Cervone 2016-07-04 11:02:06 -04:00
  • 3ee5ca30bb Don't let preview width interfere with the determination of the container width. Resolves issue #1364. Davide P. Cervone 2016-06-23 20:37:25 -04:00
  • cdea890e52 Make mhchem have a config parameter that can be used to select the new version (when it is available on the CDN) or the old legacy version. Davide P. Cervone 2016-06-23 20:25:23 -04:00
  • f2ac60f2c5 Make sure CHTML output stays a table-cell when focused. Davide P. Cervone 2016-06-22 13:59:09 -04:00
  • 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). Davide P. Cervone 2016-06-22 11:58:12 -04:00
  • 94f2f20448 Fix problem with Safari inserting linebreaks for in-line math due to new width-detection scheme (linebreakSpan). #1478. Davide P. Cervone 2016-06-20 18:23:18 -04:00