Commit Graph

762 Commits

Author SHA1 Message Date
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
3b72a043dd Add local config files to .gitignore 2011-12-27 15:14:52 -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
ae48b1fd8b Fix problem with accessing MathInput before it is creatd in MSIE 2011-12-23 10:40:10 -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
9eaa73a0ac Fix incorrect case for FALSE routine 2011-12-15 17:44:13 -05:00
Davide P. Cervone
c5141bc16e Remove accidentally included local/AMS.js configuration file 2011-12-07 14:08:50 -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
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
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
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
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
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
06e17c3eb3 Handle italic correction better, and fake the value for mi and mo, since we don't currently have the data in the font data files 2011-11-13 17:13:44 -05:00
Davide P. Cervone
987d3a4118 Do menu close img in an iBooks compatible way 2011-11-05 23:29:19 -04:00
Davide P. Cervone
51c61ef985 Fix NativeMML so that showMathMenuMSIE:false works properly (the container being postion:relative was causing the wrong element to be on top) 2011-11-05 22:27:14 -04:00
Davide P. Cervone
9f4f88a531 Fix problem with colored mspace being too tall in IE/quirks mode 2011-11-04 21:17:29 -04:00
Davide P. Cervone
a5812c6e43 Change String().fromCharCode() to direct \uXXXX in a string, and make em and ex sizes be vertical rather than horizontal (this was confusing browsers on mobile devices, where the width wasn't big enough for the number of ems used to determine the size) 2011-11-03 17:09:45 -04:00
Davide P. Cervone
6e59642e7a Remove extra comma from configuration data 2011-11-01 14:25:26 -04: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
b01f604b61 Fix problem with negative mu dimensions producing double minus signs in the MathML output 2011-11-01 14:23:31 -04:00
Davide P. Cervone
be653f4e11 Save ex value at the same location as other values 2011-10-27 08:48:24 -04:00
Davide P. Cervone
a66c5f2763 Add cancel package defining \cancel{math}, \bcancel{math}, \xcancel{math}, and \canelto{value}{math} 2011-10-26 00:10:29 -04:00
Davide P. Cervone
2e022a6631 Remove trailing commas that confuse IE 2011-10-25 23:35:49 -04:00
Davide P. Cervone
69301a2743 Handle arrowheads better when thickness is specified 2011-10-25 23:25:22 -04:00