Commit Graph

185 Commits

Author SHA1 Message Date
Davide P. Cervone
7042c1d64f Handle preTranslate in HTML-CSS jax, and don't make a redundent scripts list if there is only one output jax in use 2011-08-28 20:03:53 -04:00
Davide P. Cervone
45a9d25406 Make thin rules be in pixels to try to improve results in IE (disappearing division lines, see issue #161) 2011-08-27 17:14:55 -04:00
Davide P. Cervone
28de47ac51 Don't allow font test div to wrap (might be the cause of problems in portrait mode in mobile devices when large fonts are in use 2011-08-26 16:37:26 -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
9769ba0d64 Rename UIevents as MathEvents 2011-08-24 10:31:21 -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
42306c4b0c Move event-handling code to a separate file, loaded by output jax (so if MathJax is loaded on a page with no math, it doesn't have to be loaded) 2011-08-19 18:31:43 -04:00
Davide P. Cervone
3a8a9f5df9 Move hover support to MathJax.js (next commit will move it all to a separate extension) 2011-08-19 14:41:29 -04:00
Davide P. Cervone
2367f0e92b Preliminary 'discoverable' math implementation. INCOMPLETE: DO NOT USE YET. Only in HTML-CSS mode, and still need to refactor to move event code to common file. Does support mobile devices through tap event. Does not include packed or combined versions yet. 2011-08-19 09:19:22 -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
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
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
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
5df49e3d18 Have getW use offsetWidth if there is an explicit width (no need for more complicated measuring in that cas). Resolves an Opera bug reported by Fred. 2011-08-05 09:17:01 -04:00
Davide P. Cervone
4f4234129f Fix problem where mspace with a background color would not always overlay previous items (detected in on of Fred's tests) 2011-08-04 12:55:44 -04:00
Davide P. Cervone
5d9f423a36 Allow mpadded background color to be specified exactly (i.e., without the 1px padding) when one of its dimensions is given explicitly (or there is no content). Resolves one of Fred's issues. 2011-08-04 11:32:22 -04:00
Davide P. Cervone
95b42049d7 Add one pixel to the top and bottom of math so that superscripts and subscripts won't touch on consecutive lines of a paragraph 2011-08-03 08:22:38 -04:00
Davide P. Cervone
9714e96d13 Don't allow Safari/Windows to use STIX fonts, since it can't access Plane1 (resolves issue #94) 2011-07-26 21:24:01 -04:00
Davide P. Cervone
70bd48f00a Merge with master (brining up to adate with v1.1a) 2011-07-24 10:21:47 -04:00
Davide P. Cervone
24a3e30526 Merge with master (brining up to adate with v1.1a) 2011-07-24 10:14:27 -04:00
Davide P. Cervone
bd2fb28932 Merge with master (brining up to adate with v1.1a) 2011-07-24 10:07:30 -04:00
Davide P. Cervone
ff5aab74db Merge with mathjax/master (bringing branch up to date) 2011-07-24 09:51:41 -04:00
Davide P. Cervone
065acfd10a Work around IE bug when direction:rtl is specified outside the math 2011-06-05 11:35:09 -04:00
Davide P. Cervone
79a8253da0 Fix problem where characters were lost when an unknown character was in the same text string (in token elements) 2011-06-01 18:22:21 -04:00
Davide P. Cervone
5392f6e98f Repack, recombine, completes merge of htmlcss-fixes 2011-05-18 11:11:28 -04:00
Davide P. Cervone
13221321d8 Repack, recombine (completed merge with font-update branch up to 0dc8212) 2011-05-18 11:00:37 -04:00
Davide P. Cervone
9cc3bda487 Resolve conflicts from issue112, repack and recomine 2011-05-18 10:24:05 -04:00
Davide P. Cervone
9ce7e85ccc Resolve conflicts from merge with issue30, update versions, repack, recombine 2011-05-18 10:06:06 -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
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
99da6be704 Add CSS to force image to be display:inline 2011-05-12 21:10:16 -04:00
Davide P. Cervone
ae419b08e1 Work around a bug in IE8 where cloneNode() seems to screw up the web-based fonts (resolves issues #30 and #78) 2011-05-12 20:57:32 -04:00
Davide P. Cervone
23ad7609bc Add ability to load extra stretchy characters on demand, and add data for more stretchable characters. 2011-05-11 20:13:25 -04:00
Davide P. Cervone
0dc8212c6d Mark variants with bold and italic values so that unknown characters can have font-weight and font-style set properly (resolves issue #96). 2011-05-08 22:26:27 -04:00
Davide P. Cervone
f002f4924b Change the default font-family for undefined character to be a configuration parameter 2011-05-08 21:20:27 -04:00
Davide P. Cervone
0d31246321 Add explicit ltr CSS styling for MathJax output (resolves issue #114). 2011-05-08 17:16:55 -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
27fe28261f Removed debugging code accidentally left in previous version. Repack and recombine. 2011-04-30 08:13:54 -04:00
Davide P. Cervone
7680604b23 If a stretchy character exists without a non-stretched version, use the minimal stretched version for the unstretched one. Also, fix munderover to recompute the width after stretching the stretchy elements. (Resolves issue #112.) 2011-04-30 08:10:51 -04:00
Davide P. Cervone
8aa2e2a3f2 Make style attributes work on mstyle elements 2011-04-26 15:23:29 -04:00
Davide P. Cervone
55d6161c99 Add ability for HTML-CSS output to handle explicit border and padding style settings on math elements (resolves issue #109). 2011-04-25 14:00:39 -04:00
Davide P. Cervone
edd68a415a Better treatment of rfuzz (resolves issue #108 better) 2011-04-24 15:19:34 -04:00
Davide P. Cervone
57a6db4aaf Half the rfuzz for WebKit (resolves issue #108) 2011-04-24 14:54:06 -04:00
Davide P. Cervone
34f3a8302c Fix regression where background color obscures foreground text in IE 2011-03-12 20:32:13 -05: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
4648698978 Repack and recombine previous merge 2011-03-03 16:06:52 -05:00
Davide P. Cervone
2ba61a6e4c Update packed and combined files for last merge 2011-03-03 15:32:13 -05:00
Davide P. Cervone
f55e2cd7eb Update packed and combined files for issue80 2011-03-03 15:28:05 -05:00
Davide P. Cervone
dcff67e561 Fix version number remapping for unrecognized WebKit browsers, and change check for iPhone use of web fonts to match (resolves issue #80) 2011-03-03 07:20:36 -05:00
Davide P. Cervone
f2de28e068 Remove support for ancient beta-version fontdata (now that the fonts are part of the archive, no more change that this will not match) 2011-03-01 10:01:11 -05:00
Davide P. Cervone
18752966be Allow Chrome to use OTF fonts for v4.0 and above, and use OTF fonts for Safari/PC (the FF3.6.13 fix has fixed the problem for Safari, too) 2011-02-28 14:23:06 -05:00
Davide P. Cervone
3578a76d63 Correctly calculate the value of dimensions with units of pc (resolves issue #76) 2011-02-28 13:27:12 -05:00
Davide P. Cervone
bc193eedd2 Fix indenting due to insertion of startup hooks for configuration blocks 2011-02-26 10:18:56 -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
f55fc96ca3 Work around IE9 bug that caches font-family lookups and doesn't reset them when @font-face changes the family 2011-02-14 20:16:14 -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
0255e0c6bf Move creation of FONTTEST to Config(), since it relies on document.body being available 2011-01-20 08:19:10 -05:00
Sean Hogan
7a5f979f54 A fix for 'issue49' on Opera 2011-01-12 23:37:24 +11:00
Sean Hogan
6f5ba8660d Merge branch 'issue46' of https://github.com/dpvc/MathJax 2011-01-11 11:32:26 +11:00
Davide P. Cervone
7cdfe6b5c4 Add support for otf fonts in iOS4.2 2011-01-09 17:02:51 -05:00
Davide P. Cervone
043442649c Prevent Opera from using STIX fonts (resolves issue #46), unless explicitly requested via the font menu (not normally accessible to users) 2011-01-09 11:23:59 -05:00
Sean Hogan
41c754f532 Merge branch 'combine' of https://github.com/dpvc/MathJax 2011-01-05 23:33:27 +11:00
Sean Hogan
74443b3205 Merge branch 'sqrt' of https://github.com/dpvc/MathJax 2011-01-04 12:08:55 +11:00
Davide P. Cervone
9b1c63acd1 Changed no-wrap to nowrap 2011-01-02 09:07:22 -05:00
Davide P. Cervone
244069816a Since loadComplete calls Config and Startup, which require the page body to be nodified, wait for the onload handler to call loadComplete 2011-01-01 16:42:20 -05:00
Davide P. Cervone
eead123143 Add CSS to enforce NOBR default white-space (fixes issue #29) 2010-12-31 20:44:39 -05:00
Davide P. Cervone
ad3fd4b960 Improve placement of surd for square roots and nth roots 2010-12-31 20:17:24 -05:00
Davide P. Cervone
b24524afcf Merge dpvc/parallel branch 2010-12-30 14:37:37 -05:00
Davide P. Cervone
72c7d9fef4 Add spaces so that the next merge will identify the differences better 2010-12-30 14:33:18 -05:00
Davide P. Cervone
a2fda2a8e2 Add a minimim scaling (since some people have reported the math getting too small), plus some cosmetic adjustments 2010-12-29 15:35:15 -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
Sean Hogan
9d76ae713c Add useProcessingFrame internal config and enable for Firefox, Safari, Chrome. 2010-12-24 13:45:52 +11:00
Sean Hogan
960e9a0eda Change the .MathJax_Processing frame to also contain the span used in getScales().
Also change the call arguments to getScales() from "div,span" to "span,span".
Together these provide a significant performance boost on Webkit browsers.
2010-12-09 13:40:17 +11:00
Sean Hogan
7df8b036f4 Revert "Place HDMspan for getScales() in its own position:fixed frame."
This reverts commit ea16da4641.
2010-12-09 12:17:24 +11:00
Sean Hogan
ea16da4641 Place HDMspan for getScales() in its own position:fixed frame. 2010-11-22 23:12:01 +11:00
Davide P. Cervone
d8f34cb591 Use position:fixed overflow:hidden when typesetting math to keep WebKit and Firefox rendering times more constant on long pages 2010-11-16 20:52:59 -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