Commit Graph

177 Commits

Author SHA1 Message Date
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
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
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
Davide P. Cervone
562786da5e Update HTML-CSS fonts to be usable by CommonHTML, and remove the CommonHTML fonts. Update @font-face to include the new formats. 2015-04-17 16:01:57 -04:00
Davide P. Cervone
8f20749a48 Add arc/fown/smile as horizontal stretchy delimiters. 2015-04-15 13:33:42 -04:00
Davide P. Cervone
c994ee9994 Make zoom box handle overlaps properly, and position full-width tables better. 2015-04-08 10:48:40 -04:00
Davide P. Cervone
02066cb7cc Handle explicit line breaks (this were being skipped if linebreak wasn't set to automatic). 2015-04-08 09:40:44 -04:00
Davide P. Cervone
24861d0205 Adjust bbox for \vecenter when it is repositioned 2015-04-03 15:37:15 -04:00
Davide P. Cervone
13e92c2813 Handle negative skips properly (have mrow append to the right). 2015-04-02 16:13:18 -04:00
Davide P. Cervone
3c47494d28 Handle empty table cells (still need to do something about setting the widths of columns with no entry in the top row). 2015-04-02 16:12:35 -04:00
Davide P. Cervone
7343e81dba Handle combining characters so that they work in IE. 2015-04-02 14:30:45 -04:00
Davide P. Cervone
3270781b2c Avoid crashing in IE8, but still need to make EOT fonts in order for it tow work. 2015-04-02 13:45:34 -04:00
Davide P. Cervone
7e52f9edd1 Make sure we set relative mtable widths when needed. 2015-04-01 19:11:03 -04:00
Davide P. Cervone
9b37d422b4 Don't use negative depths (Safari doesn't handle it properly), so store an extra bbox parameter that gives the negative depth and adjust for it in munderover, where it makes a difference. Might want to do this in mtable as well. 2015-04-01 18:43:00 -04:00
Davide P. Cervone
b917b1a0c5 Get the font name right in the @font-face directivs. (argh) 2015-04-01 17:15:03 -04:00
Davide P. Cervone
47928642a2 Add support for displayIndent and displayAlign 2015-04-01 13:09:49 -04:00
Davide P. Cervone
cdbe31db43 Add support for linebreaking in mmultiscripts 2015-04-01 12:39:08 -04:00
Davide P. Cervone
6d637bb391 Handle linebreaking in msubsup. 2015-04-01 12:11:19 -04:00
Davide P. Cervone
2b3cb0cb0d Add preliminary support for line breaking. Still need to handle the compound constructs like msubsup, munderover, mfenced, etc. as special cases. 2015-04-01 11:27:08 -04:00
Davide P. Cervone
4a8cb8ad5b Don't need to do anything special to handle stretchy cores. 2015-03-30 13:57:00 -04:00
Davide P. Cervone
06534d81a1 Add support for menclose elements 2015-03-30 13:45:19 -04:00
Davide P. Cervone
e78aa248f4 Add support for maction 2015-03-30 09:41:04 -04:00
Davide P. Cervone
577b37ee60 Make mtable row and column lines extend through frame spacing even when no frame is used (consistent with HTMLCSS and SVG output) 2015-03-29 08:08:18 -04:00
Davide P. Cervone
9b4107f3b4 Better spacing for munderover, and improved CHTMLdrawBBox. 2015-03-29 07:49:58 -04:00
Davide P. Cervone
3ec5d396a3 Save the label width before changing the state. 2015-03-28 12:23:50 -04:00
Davide P. Cervone
9a5928be6e Add fuller support for mtables and their attributes. 2015-03-28 11:39:45 -04:00