Commit Graph

2361 Commits

Author SHA1 Message Date
Davide P. Cervone
e6f15a4bec Convert use of custom tags to span-with-class 2015-08-29 08:24:44 -04:00
Davide P. Cervone
944000c76f Set min-width properly on tables with labels so that they don't overlap (596). 2015-08-26 19:21:47 -04:00
Davide P. Cervone
52ba4e6fa9 Fix default value for minlabelspacing (failed if unitless values were used) 2015-08-26 17:23:58 -04:00
Davide P. Cervone
0a4da7e3b4 Do quotes and text in one shot, like HTML-CSS and SVG (resolves some problems with the ms tests in the test suite). 2015-08-25 15:13:16 -04:00
Davide P. Cervone
930c5d3fb3 Make maction use the correct core node 2015-08-25 12:13:15 -04: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
bf330af3f7 Make sure tables with labels are properly aligned (in case they are in an mrow with other stuff, though they shouldn't be). 2015-08-24 13:12:47 -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
f5928643b8 Make smartquotes into regular quotes for monospaced output 2015-08-22 07:52:06 -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
787006163b Don't count frame width in frame spacing, and add padding to fake td for equal heights. 2015-08-22 07:50:49 -04:00
Davide P. Cervone
94d236457c Fix vertical align percentage to be of initial image height (to be consistent with others) 2015-08-22 07:50:39 -04:00
Davide P. Cervone
b5d6f31252 Add missind 'node' to CHTMLstretchH() call. 2015-08-21 07:46:01 -04:00
Davide P. Cervone
43f59da6b9 Make 'dumb quotes' into 'smark quotes' 2015-08-20 11:21:34 -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
e186e50c9e Incoporate changes that were lost during the rename of CHTML-preview to FHTML-preview 2015-08-17 09:16:43 -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
7a23ce9382 Update web fonts to have OS/2 and HHEA values agree, set line gap to 0, set OS/2 version to 4 and force typo metrics to be used (Firefox ignores this). These will still work with HTML-CSS output 2015-08-10 19:42:40 -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
Davide P. Cervone
da568bfff0 Merge branch 'fhtml' into chtml 2015-08-10 07:09:48 -04:00
Davide P. Cervone
ac8a9564ec Add compatibility CHTML-preview.js (it just calls the new one). 2015-08-09 15:04:36 -04:00
Davide P. Cervone
66cdd5fcab Change CHTML-preview to FHTML-preview, and make it backward compatible. 2015-08-05 17:53:27 -04:00
Davide P. Cervone
425c9df6e9 Move old CommonHTML to be FastHTML 2015-08-05 16:39:06 -04:00
Davide P. Cervone
f3374f9c05 Merge branch 'chtml-fonts-250' into chtml 2015-08-04 11:28:20 -04:00
Davide P. Cervone
cbb5547af1 Don't collapse borders for tables (this caused actual border rules to disappear when changing sizes in Firefox). See also issue #1095. 2015-08-04 11:21:03 -04:00
Davide P. Cervone
5c333a8b47 Fix depth of horizontal stretchy characters to match HTML-CSS (should be based on extender as originally done, but font metrics don't really work for that with minus sign for arrows, for example). 2015-08-02 17:16:15 -04:00
Davide P. Cervone
92deaa0993 Handle WebKit problems with negative depth (again). 2015-08-02 17:01:01 -04:00
Davide P. Cervone
ead271e0e6 Change fonts from having ascent=descent to having midpoint at .25em, and adjust font handling to do offsets from that. 2015-08-02 15:14:14 -04:00
Davide P. Cervone
26ebc33c37 Treat missing super- or subscript as <none/> when not properly paired in multiscripts. (Issue 1188) 2015-07-20 15:10:41 -04:00
Davide P. Cervone
a33c5d1437 Don't allow labels to overlap equations in CommonHTML mode. Because CommonHTML allows tables that fill 100% of the width, making this work for centered equations is sub-optimal as we have to leave space on both sides of the equation to balance the label width. Issue #596. 2015-07-13 14:10:56 -04:00
Davide P. Cervone
d3ccf6fe89 Fix transforms so they work for IE9. 2015-04-18 10:42:21 -04:00
Davide P. Cervone
c2c33b634e Fix @font-face to work with IE8. 2015-04-18 06:57:27 -04:00
Davide P. Cervone
64ed60ac51 Change how combining characters are handled so that they show up in IE but are still placed properly in Chrome (putting them over a non-breaking space got the baseline wrong in Chrome for some reason, and over a space got the width wrong). 2015-04-17 17:22:48 -04:00