Commit Graph

51 Commits

Author SHA1 Message Date
Davide P. Cervone
c36c15f58b Handle setup of MathPlayer better for IE10. Separate hasMathPlayer from having the namespace set up 2012-03-11 09:47:27 -04:00
Davide P. Cervone
c6b96dd558 Fix references to web fonts for use in Firefox in NativeMML output 2012-03-03 09:59:20 -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
89f0f9d307 Firefox NativeMML still doesn't get the width right even if we set it properly on the <math>, so set it on the containing <span> instead. Resolves issue #88 again (and finally, I hope). 2012-02-15 11:58:15 -05:00
Davide P. Cervone
7ca14b773a Fix problem with zoom box in Firefox NativeMML mode (FF doesn't get the size of the <math> element correct). Resolves issue #88 (I hope). 2012-02-14 12:27:05 -05:00
Davide P. Cervone
7c58066b7e Fix a problem with NativeMML output where require.push() could cause an error when used in the combined configuration files 2012-02-13 11:57:37 -05:00
Davide P. Cervone
e25e07a8ba Add xmlns attribute for all browsers (not just Chrome), since Safari and IE seem also to leave it out 2012-02-01 09:21:11 -05:00
Davide P. Cervone
876eb56c36 Remove unneeded semicolon in Firefox style parameter when width is specified 2012-01-31 11:05:55 -05:00
Davide P. Cervone
344f832e1e Better handling of MathPlayer settings. In particular, allow Alt-Click in IE8 and lower when math menu is disabled. 2012-01-23 10:06:52 -05:00
Davide P. Cervone
92f00c7f5b Add a MathPlayer menu item in IE to allow user control over what gets passed to MathPlayer (this allows users with assitive technology to control the setup to suit their needs). 2012-01-23 06:49:11 -05:00
Davide P. Cervone
b02429e1ad Have MathJax.js set up MathPlayer if it can (since delaying that is what causes crashes). Also make preview be hidden to prevent screen readers from seeing them once the math is typeset. 2012-01-22 17:40:46 -05:00
Davide P. Cervone
c679563c09 Move copyAttributes and skipAttributes to element jax (since they are used in several places) to avoid redundency 2012-01-11 14:22:24 -05:00
Davide P. Cervone
756ef39804 Make MathML input read the MathJax classes to recreate the TeXAtoms and other tex-specific items 2012-01-10 19:39:08 -05:00
Davide P. Cervone
36ef5c9e34 Add class to mark TeXAtom elements and make sure other attributes are applied (they were being left off) 2012-01-10 16:30:57 -05:00
Davide P. Cervone
cfacc26c31 Use classes to distinguish mathvariants that aren't in MathML, and set FF CSS to handle them. Use classes for variantForm and cancel arrows. (Still need to have MathML input handle these classes on input) 2012-01-10 15:32:06 -05:00
Davide P. Cervone
a013dd823f Save user-provided attributes in a separate object (to avoid collision with internal values); change property names in toMathML to have a prefix; allow known attributes in \mmlToken macro; only remove mlabeledtr in FF8 and before. 2012-01-10 14:10:48 -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
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
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
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
e9a1c26de1 Force reflow in Firefox after equations are typeset so that some rendering problems in tables are corrected. 2011-10-17 06:12:51 -04:00
Davide P. Cervone
7d11c17c89 Record the attributes that are given explicitly on MathML input, and output those in NativeMML mode 2011-09-28 06:06:20 -04:00
Davide P. Cervone
9161f45dab Remove creation of redundent spans (left over from debugging) 2011-09-22 08:23:46 -04:00
Davide P. Cervone
030b1fc294 Remove erroneous close comment from Firefox style definitions 2011-09-21 23:12:30 -04:00
Davide P. Cervone
9153cd2f2e Fix scaling so that it works when the math is hidden; don't set up scale elements for IE (since MathPlayer handles the scaling itself) 2011-09-20 08:30:23 -04:00
Davide P. Cervone
a675b397c7 Merge branch 'issue138' into v2.0-candidate (resolving conflicts, and fixing some issues with zoom and menus) 2011-09-11 14:43:21 -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
7752f21ab9 The events are no longer tied to the MathJax_MSIE_Overlay frame, so don't need the special cases for this 2011-08-26 14:41:43 -04:00
Davide P. Cervone
acf080caae Clean up Zoom functions, in particular some of the IE complications; move getBBox to MathEvents 2011-08-25 19:45:25 -04:00
Davide P. Cervone
3edf60dc0f Update menu items for easier access, and use more variables to access MathJax components, when possible; remove some unneeded variables from NativeMML jax. 2011-08-24 15:31:06 -04:00
Davide P. Cervone
820afa0357 Repack and recombine (plus remove unused variables) 2011-08-24 11:24:15 -04:00
Davide P. Cervone
5b421d32d1 Refactor event handling to move common routines to MathJax.HTML.Event (in preparateion for handling hover discoverability 2011-08-17 20:26:25 -04:00
Davide P. Cervone
816d2cbcfd Add touch event support for mobile devices so they can access the menus (still need to work on Firefox support, but works for WebKit-based mobiles) 2011-08-14 20:17:42 -04:00
Davide P. Cervone
fe2368e35d Fix CSS so Firefox will use local MathJax fonts, if present (resolves issue #134) 2011-08-04 20:37:17 -04:00
Davide P. Cervone
309c1c343c Handle output of dimensions in mu's better (resolves issue #146). 2011-07-27 21:18:57 -04:00
Davide P. Cervone
eb63ba8daa Update alert concerning security settings for MathPlayer when it fails to initialize 2011-06-02 09:18:31 -04:00
Davide P. Cervone
46320e5b9e Do setup for MathPlayer and DOM Parser when first needed rather than at startup (since these can be disabled by IE causing errors). Put up alerts indicating security settings to change if IE fails to set these up properly. 2011-06-01 21:09:36 -04:00
Davide P. Cervone
8f20a75ffe Add an xml object to the ElementJax classes to handle the annotation-xml data, and make implementations of it in the various input and output jax (resolves issue #117). 2011-05-13 20:30:22 -04:00
Davide P. Cervone
944aed1ac1 Have ElementJax store input and output jax ID's rather than pointers (to help avoid circular references for cleanup purposes) 2011-05-01 13:45:16 -04:00
Davide P. Cervone
5950641ee5 Merge branch IE9-issues (with updated versions and packing) 2011-02-26 10:04:06 -05:00
Davide P. Cervone
4a92b6c4cb Tie checking for menu settings to Cookie event so that it occurs after the cookie is read 2011-02-25 14:47:32 -05:00
Davide P. Cervone
97fb465311 Add CombineConfig() routine to combine default configuration with user configuration, and insert signal hooks to do synchronize configuration (for use with combined configuration files) 2011-02-21 14:39:15 -05:00
Davide P. Cervone
5485fc81c5 Fix problem with IE9 menu placement (event didn't have the location properties) 2011-02-07 19:59:21 -05:00
Davide P. Cervone
1a073c1004 Repack and recombine 2011-01-24 12:33:40 -05:00
Davide P. Cervone
8b9ee1d9f3 Make sure changes only occur in display math, not in-line math 2011-01-20 13:09:04 -05:00
Davide P. Cervone
7c93160644 Honor the displayAlign and displayIndent settings in NativeMML output (resolves issue#50) 2011-01-20 13:04:09 -05:00
Davide P. Cervone
e106941b76 Repack and recombine, plus bump NativeMML version number 2011-01-18 18:04:57 -05:00
Davide P. Cervone
58ce73bfd8 Update packing to just use yuicompressor 2010-12-30 15:31:25 -05:00
Davide P. Cervone
b15ca6e7c5 Move laodComplete calls to make sure they occur after the MML jax is loaded 2010-12-29 11:04:50 -05:00
Davide P. Cervone
fe80ecb7c7 Merge branch 'master' into parallel 2010-11-15 21:08:50 -05:00