Commit Graph

2576 Commits

Author SHA1 Message Date
Davide P. Cervone
dbe594872f Avoid infinite loop when \mathchoice is used in munderover. Resolves issue #1151. 2015-04-13 17:30:12 -04:00
Davide P. Cervone
4a4221b78b Make sure that unknown characters in an mrow force the mrow to be measured. Resolves issue #1163. 2015-04-13 17:18:07 -04:00
Davide P. Cervone
b8a48d9cd7 Properly measure final HTML-CSS output to make sure we have the right size. Resolves issue #1158. 2015-04-13 16:15:07 -04:00
Peter Krautzberger
e8a6498405 fix Readme: bad links to documentation
Thanks to @berdario for providing this fix.
2015-04-13 16:56:41 +02:00
Davide P. Cervone
c5b2aa2515 Round height and depth of final SVG element to pixel size in order to try to get the baseline right. Resolves issue #995 (I hope). 2015-04-10 16:30:30 -04:00
Davide P. Cervone
ea697f335a Make text-based close boxes appear closer to the original versions, and remove data URI for image in MathEvents. One motivatino for the change is the mobile menu close icon needs a background, which was missing in the previous version. 2015-04-09 14:58:24 -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
1e214fca3f Merge pull request #1097 from mathjax/issu844
composer.json author info
2015-04-02 08:22:31 -04:00
Peter Krautzberger
7395bbbb3d Merge pull request #1148 from jaredwindover/dev_Preview_Patch
Retypeset if changes while typesetting
2015-04-02 13:48:15 +02: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
bfe88a01a2 Make nodes starting with 'mxj-' count as having isMathJax set. 2015-04-01 18:56:27 -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
Jared Windover
c3ed6ec086 Making dpvc's changes 2015-03-31 16:35:03 -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
Davide P. Cervone
9b0378af9b Don't need SCRIPTFACTOR or MJXc-script CSS now that the scaling is done explicitly. 2015-03-24 12:30:15 -04:00
Davide P. Cervone
ac30932664 Make merror use surrounding font rather than MathJax fonts, and handle size of unknown text properly. 2015-03-21 08:15:45 -04:00
Davide P. Cervone
ed7807ac36 Handle stretchy bases in mmultiscripts 2015-03-21 07:16:46 -04:00
Davide P. Cervone
51742a79cc Copy scaling factors to new bbox in mpadded. 2015-03-21 07:16:17 -04:00
Davide P. Cervone
d2fd86b75a If the container's width is 0, also check for max-width before looking at parent element (finds container width better). 2015-03-20 13:54:54 -04:00
Davide P. Cervone
75baf0e3ce Add scaling to match surrounding font, add equation chunking, and fix some issues with zooming. 2015-03-20 11:20:04 -04:00
Davide P. Cervone
8dd6d3329a Remove debugging bounding box for mmultiscripts. 2015-03-19 17:58:50 -04:00
Peter Krautzberger
8484e90345 #1100/#1088: convert MenuArrow-15.png to base64 and drop it 2015-03-19 22:20:30 +01:00
Davide P. Cervone
a659ffd62d Add mmultiscript support 2015-03-19 17:02:48 -04:00
Peter Krautzberger
bbd05107a7 #1100 add cursor:pointer to MathJax_Menu_Close class 2015-03-19 21:10:16 +01:00
Peter Krautzberger
2abf1649ee 1100: code clean up 2015-03-19 21:03:31 +01:00
Davide P. Cervone
a4872ff48d Handle HoverBBox (modulo getting em size mesurements) 2015-03-18 17:19:59 -04:00
Davide P. Cervone
e24c7996fe Fix bboxes (again) when mathsize is used, and fix the ID's when zooming. 2015-03-18 17:05:11 -04:00
Davide P. Cervone
fff2255bae Adjsut merror bounding box to match default CSS. 2015-03-18 14:54:33 -04:00
Davide P. Cervone
4ee1aa59e7 Add support for mglyph 2015-03-18 14:43:54 -04:00
Davide P. Cervone
f5103c709a Add support for annotation-xml used illegally as first child of semantics. 2015-03-18 14:03:42 -04:00
Davide P. Cervone
ed85cf61ee Fix HTML-CSS bounding boxes for annotation-xml nodes when used illegally as first semantics child. 2015-03-18 13:04:52 -04:00
Davide P. Cervone
640b0d5f16 Add support for <ms> element 2015-03-18 12:13:32 -04:00
Davide P. Cervone
f64e50f9eb Use BBOX.updateFrom() in semantics, and handle mstyle with no children. 2015-03-18 11:28:17 -04:00