Commit Graph

193 Commits

Author SHA1 Message Date
Davide P. Cervone
c68c690468 Make sure CHTML zoom has access to the proper container 2015-10-17 06:01:03 -04:00
Davide P. Cervone
b679e7e4df Merge branch 'issue1279' into develop. Issue #1279. 2015-10-14 09:09:35 -04:00
Davide P. Cervone
48e3ed1047 Merge branch 'issue1283' into develop. Issue #1283. 2015-10-14 08:01:41 -04:00
Davide P. Cervone
c8ea88e195 Make horizontal lines have minimum lickness of 1px so they don't disappear. Issue #1279. 2015-10-13 06:15:32 -04:00
Davide P. Cervone
3b8ab2e5c1 Round em's to nearest pixel to avoid WebKit alignment issues. Resolves issue #1283. 2015-10-11 18:57:38 -04:00
Davide P. Cervone
7c3fbd95cc Mark CHTML output so that tex2jax won't re-process it. Resolves issue #1285. 2015-10-11 14:31:41 -04:00
Davide P. Cervone
974b5d34c8 Merge branch 'issue1281' into develop. Issue #1281. 2015-10-08 20:46:10 -04:00
Davide P. Cervone
74c7898fca Merge branch 'issue1279' into develop. Issue #1279. 2015-10-08 20:45:59 -04:00
Davide P. Cervone
015c36ef84 Merge branch 'issue1278' into develop. Issue #1278. 2015-10-08 20:45:41 -04:00
Davide P. Cervone
bd5c6d7496 Scale pixels by the scaling factor in effect for node (since they are not relative units and won't be scaled automatically). Issue #1279 2015-10-08 08:35:59 -04:00
Davide P. Cervone
4765effa5f Make sure horizontal lines have units in pixels rather than ems so they are less likely to disappear 2015-10-08 08:19:05 -04:00
Davide P. Cervone
9da8bc6fdb Have non-token elements get the correct scaling factor (using the proper mathsize) rather than setting it to 1. This resolves issue #1281. 2015-10-08 08:12:29 -04:00
Davide P. Cervone
47163b5c70 Add missing ':focus' in CSS for handling outline better 2015-10-08 08:07:30 -04:00
Davide P. Cervone
1fa9bbaef0 Force width of mrow if there is negative space within the mrow (to work around WebKit bug). Resolves issue #1278. 2015-10-07 18:06:49 -04:00
Davide P. Cervone
4d6190c581 Use inline-table to make focus outline work better for all browsers. Resolves issue #1282 2015-10-06 20:48:15 -04:00
Davide P. Cervone
6535c031ed Fix alignment problems with horizontal stretched characters. Resolves issue #1276. 2015-10-03 08:31:17 -04:00
Davide P. Cervone
c83db737ec Fix problems found during packing of files 2015-09-19 17:26:48 -04:00
Davide P. Cervone
45817c1519 merge branch 'develop' into more-menu (fix conflicts with Volker's changes) 2015-09-14 07:27:21 -04:00
Davide P. Cervone
031dccee98 Fix CHTML issues due to change from custom tags to span-with-class approach (i.e., replace uses of getElementsByTagName). Also fix some issues found by running the test suite. 2015-09-13 17:48:29 -04:00
Davide P. Cervone
0412d8ec7e Fixed CHTML.addElement to be able to create non-span elements (e.g., the <a> needed for href attributes) 2015-09-12 14:23:35 -04:00
Davide P. Cervone
17e02d710c Fix removal of previously rendered CHTML output (for Rerender, etc) to lok for class rather than node type, now that we switched to all spans again (sigh). 2015-09-12 14:19:37 -04:00
Davide P. Cervone
b1647c98e7 Make sure CommonHTML output is marked by isMathJax 2015-09-12 07:30:54 -04:00
Davide P. Cervone
3a15f83059 Adjust role for SVG output and put aria-label on the SVG element rather than the enclosing span; add role and aria-label to CHTML output. Resolves issue #1192. 2015-09-11 10:44:50 -04:00
zorkow
94b0d7d1ee Merge branch 'develop' into integrate_keyboard_events
Conflicts:
	unpacked/jax/output/CommonHTML/jax.js
2015-09-01 18:30:46 +01:00
Davide P. Cervone
e6f15a4bec Convert use of custom tags to span-with-class 2015-08-29 08:24:44 -04:00
zorkow
189d4a8a81 Adds tabbing and menu key event for for all renderers. 2015-08-29 01:02:33 +01:00
Davide P. Cervone
3032239f7e Make fraction spacing consistent with HTML-CSS and SVG output 2015-08-25 12:12:51 -04:00
Davide P. Cervone
37d7a91a69 Only use mathsize on token elements 2015-08-25 08:09:43 -04:00
Davide P. Cervone
bea44b3029 Avoid problem with empty base element 2015-08-24 19:32:27 -04:00
Davide P. Cervone
0714de5336 Force a little more space in fractions, and get the spacing right for \atop 2015-08-24 18:03:45 -04:00
Davide P. Cervone
b80e69967b Add scaling factor to length2em computations (since containers set font-size, the absolute dimensions need to be adjusted to compensate). Make an mbase version to make that easier. 2015-08-24 18:00:28 -04:00
Davide P. Cervone
d139834179 Make sure mspace and mfrac set their scaling factors. 2015-08-24 13:56:58 -04:00
Davide P. Cervone
e59f6d6484 Make sure parents of percentage-width elements have percentage widths. 2015-08-24 13:11:47 -04:00
Davide P. Cervone
5296f1111f Make mtextFontInherit take the math scaling factor into account (issue 826). 2015-08-24 10:59:07 -04:00
Davide P. Cervone
3100f10c4a Don't count spacing (in paddingLeft and Right) as part of the width of an <mo> element 2015-08-24 10:45:47 -04:00
Davide P. Cervone
d400e00812 Handle math italic with mtextFontInherit, record unkown character axis properly, and get correct scaling for unknown characters. 2015-08-24 10:08:24 -04:00
Davide P. Cervone
6e1301e681 Update CHTML to get the proper node for handling horizontal stretchy characters. 2015-08-24 08:23:20 -04:00
Davide P. Cervone
966444bc31 Fix zoom scaling, and fix handling over overlaps on top and bottom 2015-08-22 12:13:15 -04:00
Davide P. Cervone
5f00f6facd Rename mapchars to remapchars property for consistency (was wrong in mo.CHTMLcanStretch). 2015-08-22 10:12:03 -04:00
Davide P. Cervone
fc04b1943d Fix typo in handling UTF-16 characters 2015-08-22 09:37:39 -04:00
Davide P. Cervone
2cce710826 Handle align attribute for munderover 2015-08-22 07:52:25 -04:00
Davide P. Cervone
e7961f0dd2 Make phantom background colors not disappear, make spaces be kept in char boxes, and handle mrow-enclosed atom in superscripts (still needs work, like TWO mrows, etc., and should be made part of mml jax). 2015-08-22 07:50:56 -04:00
Davide P. Cervone
b5d6f31252 Add missind 'node' to CHTMLstretchH() call. 2015-08-21 07:46:01 -04:00
Davide P. Cervone
273a96a122 Handle unitless linethickness in mfrac 2015-08-20 11:16:22 -04:00
Davide P. Cervone
948620fa02 Handle missing elements better (see issue 486) 2015-08-20 10:32:21 -04:00
Davide P. Cervone
6b399e3726 Remove spacing from under and over scripts (see issue 815), and handle the bbox.D value better when there are multiple elements in an mrow. 2015-08-20 08:50:01 -04:00
Davide P. Cervone
9b09bd9b2d Merge branch 'variable-centers' into chtml 2015-08-11 12:56:52 -04:00
Davide P. Cervone
ed25f37e1d Remove() method should remove display container if the jax is a displayed equation. 2015-08-10 19:49:54 -04:00
Davide P. Cervone
c43a5250f0 Handle centerline for stretchy characters, and add centerline data to font files. 2015-08-10 19:40:30 -04:00
Davide P. Cervone
98b748d088 First step in handling variable centerlines for fonts (still need to do stretchy characters and remove use of CENTERLINE) 2015-08-10 18:28:28 -04:00