Commit Graph

140 Commits

Author SHA1 Message Date
Davide P. Cervone
ee49484a3f Fix typo in comments 2013-04-30 16:11:54 -04:00
Davide P. Cervone
23edb8c49b Fix undefined variable (due to a name change; missed one). Resolves issue #428. 2013-04-30 08:17:16 -04:00
Davide P. Cervone
a7ed50a474 Repack and recombine. Fix some variable scoping and other issued detected by the packer. 2013-04-29 20:14:12 -04:00
Davide P. Cervone
b8561b07bf Merge branch 'localization' into develop 2013-04-29 19:25:03 -04:00
Davide P. Cervone
d6b6aa8111 Add min-width to displayed equations with labels so that they cause their containers to have non-zero width (like when they are in a table cell). Resolves issue #428. 2013-04-29 10:48:45 -04:00
Davide P. Cervone
660f38959a Make constant messages be translated when they are used rather than when they are defined. Rework About box, add menu ID's. Make TeX.Error() and MathML.Error() handle localization. Break up Fred's French data into separate files. Make localization data load on demand. Other miscellaneous updates. 2013-04-03 17:24:14 -04:00
Davide P. Cervone
ffb9b53034 Merge remote-tracking branch 'fred/issue367-bis' into develop
Resolves issues #367.
2013-04-01 08:38:44 -04:00
Frédéric Wang
8803b00446 Ignore linebreak attribute on mspace when dimensional attributes are set. Fix issue #388. 2013-03-25 16:57:05 +01:00
Frédéric Wang
332642c659 Fix processing errors with various table and menclose attributes. Issue #367. 2013-03-25 15:16:36 +01:00
Davide P. Cervone
5709ab189b Merge remote-tracking branch 'fred/issue365' into develop
Resolves issue #365.
2013-03-21 09:17:55 -04:00
Frédéric Wang
883d7a9e92 Use this.HTMLzeroBBox instead of the explicit object in the HTML-CSS output. 2013-03-21 11:29:15 +01:00
Davide P. Cervone
7f5097436b Merge remote-tracking branch 'fred/issue362' into develop
Resolves issue #362
2013-03-20 13:54:29 -04:00
Davide P. Cervone
0724a8ea06 Bump version number and add comments referring to issue #414. 2013-03-20 09:26:08 -04:00
Davide P. Cervone
990e3c6007 Don't scale line thickness for menclose (so lines won't disapear in scripts). Resolves issue #414. 2013-03-19 11:45:23 -04:00
Frédéric Wang
4fdb68a080 More attempts to translate messages. 2013-02-22 13:56:52 +01:00
Frédéric Wang
d0b024243b Better construct empty frames when maction@selection is invalid 2013-02-11 14:29:09 +01:00
Frédéric Wang
4fefa49080 Do not display maction when the selection is out of range. Fix issue 365. 2013-02-08 16:32:24 +01:00
Frédéric Wang
9ae9306264 Scan mmultiscripts children to find the first element with a spanID, as suggested by Davide. 2013-01-28 08:36:00 +01:00
Frédéric Wang
24f7626290 change the order again in menclose.js 2013-01-15 17:19:02 +01:00
Frédéric Wang
a84763522d mmultiscripts: take into account the <none/> case (probably need a better selection of sscale) 2012-12-26 19:41:10 +01:00
Frédéric Wang
ec105af431 mmultiscripts/menclose: ensure that HTMLgetScale is not called before HTMLcreateSpan. Fix Math Processing errors described in issue 362. 2012-12-25 15:46:35 +01:00
Davide P. Cervone
b1abd818bd Fix problem with adding widths when child node is empty that causes linebreaking to produce math processing errors. (Reported by StackExchange community.) 2012-10-03 06:22:19 -04:00
Davide P. Cervone
5921c8cb84 Make IE9 and IE10 use SVG for menclose rather than SVG (when in a document mode that supports it). Resolves issue #324. 2012-09-29 15:54:22 -04:00
Davide P. Cervone
aa5829849f Update version numbers to v2.1 2012-09-24 21:06:28 -04:00
Davide P. Cervone
064e053140 Fix problem with potential infinite loop when an mspace is an embellished operator that causes a linebreak to occur. Also fix alignment problem in msubsup where svg.y wasn't taken into account (after a removeable group is removed). Might need similar treatment in moverunder and perhaps others as well. Issue #305. 2012-09-09 00:19:35 -04:00
Davide P. Cervone
0ed7629df9 Fix an undeclared variable (notices by the packer). 2012-09-08 21:32:24 -04:00
Davide P. Cervone
5d69614718 Allow linebreaks within the base of msubsup to work so that the super and subscripts stay with the last line of the base. Resolves issue #235. 2012-09-08 21:29:29 -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
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
c1ab395327 Add missing mu value to length2em 2011-11-01 14:25:05 -04:00
Davide P. Cervone
eb99398f07 Fix spelling error in comment 2011-11-01 14:24:16 -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
9769ba0d64 Rename UIevents as MathEvents 2011-08-24 10:31:21 -04:00
Davide P. Cervone
9289568584 Add support for MathPlayer in IE9 and lower, plus add support for hover when maction is used, and support for the hover in the API calls 2011-08-22 18:39:28 -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
Davide P. Cervone
61e6d40a43 Removed debugging alert that was accidentally left in the previous commit 2011-08-04 12:51:30 -04:00
Davide P. Cervone
fb5ed12752 Fix problem with mtable equalrows detected by Fred's test suite 2011-08-04 12:43:03 -04:00
Davide P. Cervone
5392f6e98f Repack, recombine, completes merge of htmlcss-fixes 2011-05-18 11:11:28 -04:00
Davide P. Cervone
8e79bbea7c Merge branch 'issue107' into 1.1a-candidate 2011-05-18 10:17:35 -04:00
Davide P. Cervone
4d06c1026e Make global scaling factor available in the HTML-CSS object, and use it in annotation-xml to match the scaling properly 2011-05-18 08:39:55 -04:00
Davide P. Cervone
6b06f0ac16 Move annotation-xml to an autolaoded extension, and properly handle it in HTML-CSS 2011-05-15 08:44:12 -04:00
Davide P. Cervone
a31559a819 Use new element jax Update() method to handle updating of toggle maction 2011-05-01 07:49:47 -04:00
Davide P. Cervone
876e96d80f Fix a problem with redrawing maction toggle elements (the size and spacing were off) 2011-04-27 08:05:28 -04:00
Davide P. Cervone
f0c0cc3d3a Bump version number 2011-04-22 07:48:16 -04:00
Davide P. Cervone
bf4e73ddf3 Fix incorrect positioning of maction tooltips (resolves issue #107) 2011-04-22 07:46:40 -04:00
Davide P. Cervone
288907d29b Worked around crippled VML implementaion in IE8 and IE9 2011-03-20 07:51:59 -04:00
Davide P. Cervone
a5661b5c1c Change versions to 1.1 and update copyright dates 2011-03-03 16:45:48 -05:00
Davide P. Cervone
405fc0f9af Fix maction embellished operators so that they stretch 2011-02-16 13:38:01 -05:00
Davide P. Cervone
7e607fd3c0 Add synchronization with HTML-CSS jax so that thee files can be included in combined config files more readily 2011-01-20 08:20:26 -05:00
Robert Miner
8644056391 moved files out of mathjax/ to top level 2010-11-13 12:38:42 -06:00