Commit Graph

2938 Commits

Author SHA1 Message Date
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
Davide P. Cervone
fb998031b6 Don't require both prevLevel > 0 and scriptlevel > 0 (either true shoudl be sufficient). Resolves issue #911. 2016-07-04 13:43:31 -04:00
Davide P. Cervone
4fdec9f911 Remove debugging code. 2016-07-04 13:36:40 -04:00
Davide P. Cervone
86165f9a3a Fix determination of line-breaing parent element. Resolves issue #1548. 2016-07-04 13:16:06 -04:00
Davide P. Cervone
ba22166399 handle case where options are not passed. 2016-07-04 12:56:53 -04:00
Davide P. Cervone
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. 2016-07-04 12:50:10 -04:00
Davide P. Cervone
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. 2016-07-04 11:36:05 -04:00
Davide P. Cervone
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. 2016-07-04 11:02:06 -04:00
Davide P. Cervone
3ee5ca30bb Don't let preview width interfere with the determination of the container width. Resolves issue #1364. 2016-06-23 20:37:25 -04:00
Davide P. Cervone
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. 2016-06-23 20:25:23 -04:00
Davide P. Cervone
f2ac60f2c5 Make sure CHTML output stays a table-cell when focused. 2016-06-22 13:59:09 -04:00
Davide P. Cervone
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). 2016-06-22 11:58:12 -04:00
Davide P. Cervone
94f2f20448 Fix problem with Safari inserting linebreaks for in-line math due to new width-detection scheme (linebreakSpan). #1478. 2016-06-20 18:23:18 -04:00
Davide P. Cervone
e7446074c0 Make content-mathml extension use proper form for <mn>-n</mn>. Issue #989. 2016-06-18 09:23:48 -04:00
Davide P. Cervone
8f628e0590 Adjust height and depth of minus to match plus, and fix arrow rep to remove the extra when it is used as an arrow extender. Fix up some spacing and use shorthands for some font names. Resolves issue #1187. 2016-06-16 22:20:56 -04:00
Davide P. Cervone
1d9ba6992a Add alias for U+2206 to U+0394, and remove incorrect data from SVG files. Apparently the batik conversion added these somehow, so that should still be fixed. Resolves issue #1418. 2016-06-16 11:30:58 -04:00
Davide P. Cervone
4a4a15a4d2 Fix SVG fontdata for stretchy characters in the fontdata-extras file. Resolves issue #1421. 2016-06-16 10:27:48 -04:00
Davide P. Cervone
a2a62be374 Use U+007C and U+2016 for delimiters rather than U+2223 and U+2225. Resolves issue #1175. 2016-06-16 10:01:13 -04:00
Davide P. Cervone
913dcb5601 Remap U+007C to variant form, and vice-versa. Resolves issue #1154 2016-06-16 09:51:17 -04:00
Davide P. Cervone
61f57ed631 Fix stretch data for U+222B (integral) in STIX-Web data for HTML-CSS and SVG, and add it so local STIX data. Resolves issue #1092. 2016-06-16 08:58:49 -04:00
Davide P. Cervone
7523687f4c Merge pull request #1527 from dpvc/issue1519
Fix spelling of 'protocol'.  Issue #1519.
2016-06-16 08:28:38 -04:00
Davide P. Cervone
3a41708375 Merge pull request #1521 from dpvc/issue1470
Make left arrow use combining left arrow for accents.  #1470
2016-06-15 16:53:22 -04:00
Davide P. Cervone
30990c4ab8 Fix spelling of 'protocol'. Issue #1519. 2016-06-15 15:45:01 -04:00
Davide P. Cervone
6e3b6716f8 Merge pull request #1522 from dpvc/issue1519
Add Contrib to the Ajax paths. #1519
2016-06-15 08:44:29 -04:00
Davide P. Cervone
3d36b7a4ba Make minus in <mn> produce U+2212 rather than U+002D. Resolves issue #989. 2016-06-14 20:00:10 -04:00
Davide P. Cervone
05c5e7ad01 Allow MathJax root to be configured. Resolves issue #1403. 2016-06-14 18:20:58 -04:00
Davide P. Cervone
1e999e389e Don't have preprocessors make a preview if there already is one. Resolves issue #1445. 2016-06-14 15:32:53 -04:00
Davide P. Cervone
dbc70acd58 Make copyEnv a shared constant. 2016-06-14 14:59:49 -04:00
Davide P. Cervone
fcda005c56 Don't copy environment into array environments. Resolves issue #1468. 2016-06-14 14:22:51 -04:00
Davide P. Cervone
1b32cd95d9 Add Contrib to the Ajax paths. Resolves issue #1519. 2016-06-14 13:58:34 -04:00
Davide P. Cervone
947d1556ea Make left arrow use combining left arrow for accents (consistent with right arrow). 2016-06-14 13:50:38 -04:00
Davide P. Cervone
a1c40e7a02 Make left arrow use combining left arrow for accents (consistent with right arrow). 2016-06-14 13:41:32 -04:00
Davide P. Cervone
97b9fbcfab Merge pull request #1513 from dpvc/issue1497
Don't do assistive MathML when the output renderer is PlainSource.  #1497
2016-06-14 11:32:51 -04:00
Davide P. Cervone
66ac29bbd8 Merge pull request #1515 from dpvc/issue1391
Add copyright notice to mediawiki-texvc.  #1391
2016-06-09 13:56:56 -04:00
Davide P. Cervone
abb7084ae9 Merge pull request #1479 from dpvc/issue1478
Properly determine container widths.  Resolves issue #1478.
2016-06-08 07:32:15 -04:00
Davide P. Cervone
9779801c51 Merge pull request #1508 from dpvc/issue1023
Fix problems with \middle.  #1023
2016-06-08 07:13:05 -04:00
Davide P. Cervone
fb5505cf8a Merge pull request #1507 from dpvc/mglyph-src
Don't add a 'src' attribute (<image> uses href, not src)
2016-06-08 06:56:39 -04:00
Davide P. Cervone
5c12c99381 Merge pull request #1505 from dpvc/issue1004
Make rowlines="" and rowlines=" " be rowlines="none".  #1004
2016-06-08 06:55:00 -04:00
Davide P. Cervone
dd0d6cab3c Merge pull request #1501 from dpvc/issue1499
Allow percentage width to bubble up in bbox.updateFrom(cbox). #1499
2016-06-08 06:52:17 -04:00
Davide P. Cervone
e715e1dd99 Merge pull request #1503 from dpvc/issue1500
Handle adjusting cell heights properly. #1500
2016-06-08 06:50:58 -04:00
Davide P. Cervone
b11691eeb3 Merge pull request #1484 from dpvc/issue1469
Mark accented operators as not having movable limits.  #1469.
2016-06-08 06:49:36 -04:00