Commit Graph

130 Commits

Author SHA1 Message Date
Frédéric Wang
1e9ade71bf Update more names to follow our coding style. 2013-02-28 10:19:17 +01:00
Frédéric Wang
dd019796b0 More translations... 2013-02-25 16:09:17 +01:00
Frédéric Wang
4fdb68a080 More attempts to translate messages. 2013-02-22 13:56:52 +01:00
Frédéric Wang
bf1157fce4 Rename some variables to follow Davide's convention ; use DOM element interface to browse the table. 2013-02-13 14:15:51 +01:00
Frédéric Wang
492f378ff8 Enable the mlabeledtr workaround for Opera 2013-02-06 23:02:01 +01:00
Frédéric Wang
4c28f5f7c6 Merge branch 'issue356' into issue359
Conflicts:
	unpacked/jax/output/NativeMML/jax.js
2013-02-06 15:40:28 +01:00
Frédéric Wang
89845b909b Some improvements to Davide's work ; make the rowspacing/columnspacing workaround work on Webkit too. 2013-02-06 15:20:56 +01:00
Frédéric Wang
684b81a022 Implement rowspacing/columnspacing for the native MathML output, using cell padding. 2013-02-06 12:05:13 +01:00
Frédéric Wang
64a9eb0506 Workaround mfenced support for Opera too ; add open/close properties on the element jax generated by the TeX/MathML input jax ; generate mfenced element for <mrow> elements with open/close properties. 2013-02-04 12:55:49 +01:00
Davide P. Cervone
6c1dd91f13 Handle mlabeledtr in Firefox and other browsers by making a more complicated table with extra columns. 2013-01-31 15:33:25 -05:00
Davide P. Cervone
0ed5d463e5 Merge branch 'issue217' into develop 2012-09-08 10:36:30 -04:00
Davide P. Cervone
bf680988b9 Merge branch 'develop' into IE10 2012-09-04 09:33:06 -04:00
Davide P. Cervone
651b99eb96 Merge branch 'issue274' into develop 2012-09-03 09:08:22 -04:00
Davide P. Cervone
ecf512e73a Previous commit in this branch was too agressive about setting display to in-line; now use span.MathJax_MathML and div.MathJax_MathML to get it right. Issue #274. 2012-09-03 09:01:35 -04:00
Davide P. Cervone
c9984345d6 Move span that holds zoom box to after the displayed math so that line breaks won't occur between the two. Adjust getJaxFromMath to compensate. Resolves second item from issue #217. 2012-09-03 08:40:06 -04:00
Davide P. Cervone
8709200381 Merge 'issue234' into develop 2012-08-16 09:19:34 -04:00
Frédéric Wang
1120b713a4 Merge branch 'develop' into issue214
Conflicts:
	jax/output/NativeMML/jax.js
2012-08-16 14:48:07 +02:00
Davide P. Cervone
a51c306dc1 Be sure to keep initial + when converting em's to mu's. Resolves issue #285. 2012-08-15 12:58:45 -04:00
Davide P. Cervone
aa7440244a Add more CSS to isolate NativeMML output from page. (Resolves issue #274.) 2012-08-14 12:47:53 -04:00
Frédéric Wang
32bfe5a584 Firefox 13: remove work around for mtable@width in native MathML ouput mode (issue 214) 2012-06-18 12:33:39 +02:00
Davide P. Cervone
adc375b343 Merge branch issue228 into develop 2012-05-18 21:02:08 -04:00
Davide P. Cervone
edfd102702 Merge issue209 with develop 2012-05-18 20:59:40 -04:00
Davide P. Cervone
920c603a4b Have output jax properly skip math when the input jax has had an internal failure and so didn't produce any element jax. (Resolves issue #228.) 2012-04-11 11:50:15 -04:00
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
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
1323c38ca3 Scale NativeMML output to match surrounding font's ex-size (resolves issue #138). Can't do this for IE, though, since it's ex-size is not actually that of the font, but is always 1/2 the height. But since MathPlayer does a good job of matching the surroundings, that's not a problem. 2011-09-10 15:53:31 -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
975fe6e679 Move output-jax-specific zoom code to jax, and fix some other minor issues (stil need to check with IE and then repack and recombine) 2011-08-24 20:53:52 -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
9769ba0d64 Rename UIevents as MathEvents 2011-08-24 10:31:21 -04:00
Davide P. Cervone
d7c91a442b Use HOVER.Px instead of bbox.Units, which was removed 2011-08-23 14:39:41 -04:00
Davide P. Cervone
849ce80599 Move some more common code to UIevents; add support for configuring discoverability; make frame always be in pixels rather than sometimes em's; add comments to UIevents 2011-08-23 12:40:52 -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
fd587eb745 Add 'discoverability' to NativeMML output (still have to work on IE support) 2011-08-22 11:07:30 -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
a5661b5c1c Change versions to 1.1 and update copyright dates 2011-03-03 16:45:48 -05: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
2d762625b9 Don't use MathJax_MathContainer when not using Math Menus in MSIE 2011-01-18 17:59:42 -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
Robert Miner
8644056391 moved files out of mathjax/ to top level 2010-11-13 12:38:42 -06:00