Commit Graph

470 Commits

Author SHA1 Message Date
Davide P. Cervone
1eb58f429e Merge branch v2.0-candidate with SVG 2012-01-09 15:13:40 -05:00
Davide P. Cervone
e4089cfd6e Properly handle width of border and padding in merrors in HTML-CSS output 2012-01-09 11:58:19 -05:00
Davide P. Cervone
dceb91e4ea Better version detection for off-brand Gecko browsers; add 8.0 and 9.0 detection; add Safari 5.1 detection from webkit version 2012-01-09 11:38:43 -05:00
Davide P. Cervone
522b743b56 Add option to make tex2jax require balanced braces when looking for close delimiters (more compatible with actual TeX). The option can be set to false to get the pre-v2.0 behavior. 2012-01-09 11:22:58 -05:00
Davide P. Cervone
7570eec623 Load MathEvents if needed to add contextual menu to an error message 2012-01-08 20:33:21 -05:00
Davide P. Cervone
a83c7c54b3 Move styles for MathJax_Preview to MathJax.js rather than HTML-CSS since it is used by all output jax 2012-01-08 20:20:22 -05:00
Davide P. Cervone
3131d09d06 Allow \newcommand to take a default parameter, and adjust GetBrackets to distinguish between no brackets and empty brackets 2012-01-07 18:55:52 -05:00
Davide P. Cervone
51a65e5b52 Add HTML-CSS extension to handle tagged equations better when there are floating elements (without this, they overlap the floats). This is an extension since it misuses display:table-cell, and I'm not certain of all the consequences. 2012-01-07 10:24:26 -05:00
Davide P. Cervone
379b2c43e9 Fix a typo in the comments 2012-01-07 09:57:20 -05:00
Davide P. Cervone
6e4ac11c91 Make font timeout longer, and make even longer for mobile devices. Only switch to image fonts if the first web font fails to load (if one loaded, you should get the others). 2012-01-06 20:35:26 -05:00
Davide P. Cervone
92f80f4e23 Add IndexOf() command to find index of an item in the menu list (so it is easier to insert new items) 2012-01-06 20:00:15 -05:00
Davide P. Cervone
51c0a95f46 Add menu signals for post/unpost and activation of menu items 2012-01-06 19:52:02 -05:00
Davide P. Cervone
6aec9ae573 Add unknownChar() function and have it post a signal for undefined characters 2012-01-06 19:11:47 -05:00
Davide P. Cervone
b438a84b1c Add zoom/unzoom messages 2012-01-06 17:47:44 -05:00
Davide P. Cervone
77c8a54da6 Add more signals for error conditions (so error reporting software can track it easier) 2012-01-06 17:09:37 -05:00
Davide P. Cervone
f35661b83a Remove unneeded comments 2012-01-06 13:43:39 -05:00
Davide P. Cervone
e29ddd477d Make pre- and postfilters backward compatible, and allow them to be replaced by Augment() 2012-01-06 13:32:39 -05:00
Davide P. Cervone
ad08117628 Add xmlns to Chrome math elements, since it doesn't seem to add the attribute itself as other browsers do) 2011-12-29 10:28:41 -05:00
Davide P. Cervone
b70caaf465 Allow dot delimiters for \genfrac (they incorrectly produced errors) 2011-12-27 15:02:27 -05:00
Davide P. Cervone
2808c9cc27 Fix a comment typo 2011-12-27 15:00:30 -05:00
Davide P. Cervone
b3d2501a32 Allow preferences to select MML for Safari with late enough version 2011-12-27 14:59:08 -05:00
Davide P. Cervone
752dda7899 Re-implement ExecuteHooks in terms of the Hooks object (since it was documented, I guess we shouldn't remove it, even though I doubt anyone has used it) 2011-12-27 14:55:20 -05:00
Davide P. Cervone
631ae08101 Fix error with U+21A0 in STIX fonts as well. 2011-12-17 10:55:40 -05:00
Davide P. Cervone
69a14287b1 Merge changes from v2.0-candidate and fix problem with U+21A0 in SVG (character was wrongly indicated in previous commit message) 2011-12-17 10:51:15 -05:00
Davide P. Cervone
d1b0893fec Fix wrong character number in data for U+221A (reported by Fred) 2011-12-17 10:44:37 -05:00
Davide P. Cervone
d215f20a42 Fix menu background problem in IE8+ and remove extra comma giving IE7 and IE6 problems. 2011-12-15 21:05:15 -05:00
Davide P. Cervone
dbab4d4101 Merge branch v2.0-candidate into SVG 2011-12-15 17:47:57 -05:00
Davide P. Cervone
9eaa73a0ac Fix incorrect case for FALSE routine 2011-12-15 17:44:13 -05:00
Davide P. Cervone
d044f4c8f4 Merge v2.0-candidate into SVG 2011-12-07 14:07:47 -05:00
Davide P. Cervone
fbedcb7a72 Another attempt to handle version for off-brand Gecko browsers (resolves issue #177 I hope) 2011-12-07 13:58:07 -05:00
Davide P. Cervone
da73d8cfb1 Handle lower-case Greek better and properly mark weight and style of characters not in the MathJax fonts 2011-12-07 13:56:38 -05:00
Davide P. Cervone
091551dab1 Removed debugging code accidentally left in 2011-11-20 23:05:27 -05:00
Davide P. Cervone
6a09817aa3 Prevent default action when close image is pressed in the contextual menu for mobile devices 2011-11-20 23:04:17 -05:00
Davide P. Cervone
7f5180a87e Properly handle hover changes when going from one expression to another when there is no intervening space (both elements are marked isMathJax, but for different expressions) 2011-11-20 21:52:49 -05:00
Davide P. Cervone
66ec3254ee Allow \\ anywhere (not just in arrays) to force a line break. 2011-11-20 19:21:07 -05:00
Davide P. Cervone
bc3b7adca6 Make \it use MathJax_Main-Italic rather than MathJax_Math-italic, and don't do math italic correction (so spacing is correct for text) (SVG) 2011-11-20 18:55:46 -05:00
Davide P. Cervone
91543560a9 Merge branch 'v2.0-candidate' into SVG 2011-11-20 17:35:31 -05:00
Davide P. Cervone
c223b6bc8c Make \it use MathJax_Main-Italic rather than MathJax_Math-italic, and don't do math italic correction (so spacing is correct for text) 2011-11-20 17:31:10 -05:00
Davide P. Cervone
cc305b294c Fix spacing problem with \cong in regular and bold fonts (SVG). Resolves issue #162 for now until fonts can be repaired. 2011-11-20 17:07:15 -05:00
Davide P. Cervone
aa81d8e8ee Fix spacing problem with \cong in regular and bold fonts. Resolves issue #162 for now until fonts can be repaired. 2011-11-20 17:02:26 -05:00
Davide P. Cervone
744f844eec Handle determining Firefox version better for off-brand Gecko browsers (resolves issue #177 I hope) 2011-11-20 15:31:01 -05:00
Davide P. Cervone
af45fbf9d5 Choose better sizes for \widehat and \widetilde in HTML-CSS output 2011-11-18 23:00:09 -05:00
Davide P. Cervone
ed6623d22f Choose better sizes for \widehat and \widetilde in SVG output 2011-11-18 22:59:03 -05:00
Davide P. Cervone
fd692e25f0 Properly handle skew character for accents in SVG output 2011-11-18 22:26:49 -05:00
Davide P. Cervone
4553cce005 Make SVG output work with discoverability better 2011-11-18 10:11:38 -05:00
Davide P. Cervone
88355ecc74 Add showDiscoverable configuration to control the discoverability checkbox 2011-11-16 12:58:48 -05:00
Davide P. Cervone
6d9994d9d1 Add support for \mathchoice in SVG output 2011-11-15 20:17:32 -05:00
Davide P. Cervone
3bb798f6f4 Merge v2.0-candidate into SVG 2011-11-15 16:41:39 -05:00
Davide P. Cervone
393a6390df Handle italic correction better in HTML-CSS (not just in munderover and msubsup) 2011-11-15 15:07:30 -05:00
Davide P. Cervone
07e2ccb77f Remove unused linebreaking code (it was left over from older linebreaking algorithm) 2011-11-15 15:00:39 -05:00