Commit Graph

66 Commits

Author SHA1 Message Date
Davide P. Cervone
cf94772f24 Repack and recombine previous commit in this branch 2012-09-10 19:01:19 -04:00
Davide P. Cervone
3802fa337a Repack and recombine the previous commits 2012-09-08 21:32:59 -04:00
Davide P. Cervone
7ea6ce84b1 Merge branch 'issue304' into develop 2012-09-06 10:08:01 -04:00
Davide P. Cervone
7aedaa973f Fix processing error when rowalign has a bad value. Fixes problem reported by Fred in issue #304. 2012-09-04 07:28:33 -04:00
Davide P. Cervone
574e060463 Use MathJax message area rather than window status line for mactaion with actiontype='statusline' to avoid security restrictions in some browsers. Resolves issue #308. 2012-09-04 06:20:26 -04:00
Davide P. Cervone
0772d97a6a Merge branch 'issue210' into develop 2012-09-04 06:08:15 -04:00
Davide P. Cervone
2f8a30a362 Handle minsize on vertical stretching as well as horizontal. Also fix a vertical placement problem with stretched elements in tables in HTML-CSS, and improve performace for placeing the extension characters by making sure we have the bbox for them. Issue #210. 2012-09-01 11:21:34 -04:00
Davide P. Cervone
5b698c20c2 Restore the use of scanW that was removed in an earlier commit (it turns out to be needed after all, as info.scanW is changed in the recursive calls). Issue #255. 2012-08-30 14:35:03 -04:00
Davide P. Cervone
dc9e4a760e Allow line breaks at delimiters and separators in mfenced elements, and fix up some issues with lines going over the maximum width (due to forgetting to add width of first element after a split). Resolves issue #255. 2012-08-30 13:54:32 -04:00
Davide P. Cervone
34a9af5180 Fix mfenced so that when it contains a line break the delimiters and separators are not lost. Resolves issue #255 (but separators currently aren't able to be breakpoints, so more needs to be done). 2012-08-29 23:28:20 -04:00
Davide P. Cervone
38ccfc4cbe One more place tht unEm should not have been used. 2012-08-24 06:53:28 -04:00
Davide P. Cervone
905cf229eb Make an HTMLCSS.unEm() function to undo HTMLCSS.Em(), and use that rather than parseFloat() so that the code is not dependent on the use of em's but could be converted to px, for example, if that helps some spacing issues. 2012-08-21 19:52:19 -04:00
Davide P. Cervone
153297bdb9 Don't try to compensate for super and subscripts (it doesn't work). That will need a more comprehensive solution 2012-03-15 16:16:30 -04:00
Davide P. Cervone
c2e94a827e Bump versions for previous commit 2012-03-15 15:46:58 -04:00
Davide P. Cervone
6ede07ba29 Make column widths take minsize into account. Resolved issue #210. 2012-03-15 15:45:47 -04:00
Davide P. Cervone
93e68cc254 Fix problem with linebreaking where the incorrect width was being used to determine breakpoint penalties, so some long lines were not being broken 2012-03-06 10:04:09 -05:00
Davide P. Cervone
152d31182e Repack all javascript files (to update the copyright notice) and recombine (make sure all combined files are current) 2012-02-24 17:22:48 -05:00
Davide P. Cervone
d82b3be4fb Fix problem with indentShift when indentAlign is not 'center' and the equation is tagged 2012-02-23 19:24:51 -05:00
Davide P. Cervone
c3b149c921 Fix an infinite loop in IE/quirks mode when linebreaking is performed (HTML-CSS output) 2012-02-17 12:04:13 -05:00
Davide P. Cervone
1f5b1854e5 Prevent breaks right before a closing fence or right after an open fence. 2012-02-08 18:05:07 -05:00
Davide P. Cervone
5968ef8b74 Improve linebreaking to work better when the equation doesn't have nesting to help group terms that shouldn't be broken. Also make breaks at large spaces more desireable. 2012-02-08 17:37:07 -05:00
Davide P. Cervone
81c9070044 Fix mtable align parameter to be the default (rather than center) when it is incorrectly specified (resolves error in issue #165) 2012-02-07 09:49:11 -05:00
Davide P. Cervone
cc1c05bdd2 Use mathvariant rather than fontfamily to set the font for <ms> elements (make it consistent with SVG jax) 2012-02-06 10:30:16 -05:00
Davide P. Cervone
028d280a7d Fix HTML-CSS tooltip to be work properly when a restart occurs within the tooltip. 2012-02-04 12:36:28 -05:00
Davide P. Cervone
2b991b95e9 Fix problem with size of tooltip box (needed to change the em and ex measurements to use height not width of test divs, since the direction was changed) 2012-02-03 21:49:12 -05:00
Davide P. Cervone
02909ecba4 Update copyright dates and set version numbers to 2.0; repack and recombine 2012-01-25 09:23:45 -05:00
Davide P. Cervone
705470fcb6 Repack mmultiscript.js (HTML-CSS) since it still had conflict marker in it (reported by Fred). 2011-11-15 16:36:15 -05:00
Davide P. Cervone
c1ab395327 Add missing mu value to length2em 2011-11-01 14:25:05 -04:00
Davide P. Cervone
69301a2743 Handle arrowheads better when thickness is specified 2011-10-25 23:25:22 -04:00
Davide P. Cervone
e030b97288 Add support for non-standard strikethrough arrow (for future use with \cancel macros) 2011-10-25 19:01:09 -04:00
Davide P. Cervone
1c4580c2c0 Fix some problems with table widths/heights and spacing, and handle spacing of frame via menclose better for HTML-CSS output 2011-10-25 16:53:12 -04:00
Davide P. Cervone
11e11f2ac0 Handle background colors set by style attributes better (since color is handled by a separate span, remove it from the given span) 2011-10-25 16:52:14 -04:00
Davide P. Cervone
eaa02b4077 Use menclose to put vertical and horizontal lines on arrays that have partial frames (rather than making the frame be complete in all cases). Idea contributed by David Carlisle. Doesn't handle dashed frame lines, but menclose doesn't do dashed lines. 2011-10-24 21:58:05 -04:00
Davide P. Cervone
0c523ac8df Fix problem with width of backrgound color and borders for mtable 2011-10-17 05:27:11 -04:00
Davide P. Cervone
c0a936e80f Get the scaling right (it is no longer 100 times the scale factor) 2011-09-28 06:00:15 -04:00
Davide P. Cervone
073e391c7c Remove unneeded reference to msieMarginScale, and add computation of outerEm 2011-09-27 16:22:52 -04:00
Davide P. Cervone
d5f2ab74f3 Merge branch 'performance' into v2.0-candidate (still need to optimize linebreak measurements) 2011-09-11 13:13:22 -04:00
Davide P. Cervone
b5d23c72fa Merge branch 'new-features' into merge-features (in preparation for merging with v2.0-candidate), and fix hover zoom trigger when discoverability is disabled 2011-09-11 12:42:27 -04:00
Davide P. Cervone
3f4f54e2c0 Merge branch 'zoom-update' into v2.0-candidate 2011-09-11 11:51:14 -04:00
Davide P. Cervone
5b6b57af86 Make units of mu's be relative to the scriptlevel (resolves issue #147) 2011-09-10 22:15:18 -04:00
Davide P. Cervone
3717fcfb57 Measure mtable entries all at once (to reduce reflows) 2011-09-06 12:51:34 -04:00
Davide P. Cervone
b719fb481b Put chunk size back (was larger for debugging), and remove unneeded variable from mmultiscripts 2011-09-06 12:36:17 -04:00
Davide P. Cervone
b900adc953 Do measuring of subformulas all at once (for mfrac, msqrt, msubsup, munderover, mmultiscripts). Still need to do mtable 2011-09-06 12:34:51 -04:00
Davide P. Cervone
66be7cd2f7 Make mtd not measure stretched operators twice 2011-09-06 00:23:48 -04:00
Davide P. Cervone
54bb4574ed Make mmultiscripts not remeasure stretched operators 2011-09-06 00:20:22 -04:00
Davide P. Cervone
77f0e943bf Remove getScales call from tooltip, and don't remeasure stretchy operators 2011-09-06 00:09:09 -04:00
Davide P. Cervone
bf8b903c8c Add preliminary support for aligning tables to specific rows (currently only aligns to baseline) 2011-08-26 20:03:45 -04:00
Davide P. Cervone
820afa0357 Repack and recombine (plus remove unused variables) 2011-08-24 11:24:15 -04:00
Davide P. Cervone
56e6e1fe8b Mark all HTML-CSS output elements as isMathJax, so it can be used to identify what elements are part of mathematical output 2011-08-16 19:49:45 -04:00
Davide P. Cervone
69c42b866e Implement automatic linebreaking in HTML-CSS output, and improve explicit linebreaking. (This is one of the v1.2 milestones) 2011-08-11 14:54:43 -04:00