Davide P. Cervone
cd6297fc01
Simplify getW slightly, and add ability to measure multiple elements in at once (so mfrac, msup, etc. can measure all parts at once -- not optimal but better than now). Change negativeSkipBug to initialSkipBug, since it affects both negative and positive skips.
2011-09-06 11:20:08 -04:00
Davide P. Cervone
f85e739eca
Put back the calculation for msieMarginScales (it turns out it really was needed)
2011-09-06 10:58:44 -04:00
Davide P. Cervone
17f03acbbe
Simplify login in getW and handle IE7 problem with initial space in the span
2011-09-06 08:52:31 -04:00
Davide P. Cervone
ccdefebc2e
Removed debugging code left in the previous commit
2011-09-05 23:43:03 -04:00
Davide P. Cervone
734089fa13
Add a factor so that the chunk size gets bigger after each chunk (so the initial part of the page is shown quickly, but long pages don't slow down so badly). This probably needs some experimental data to get teh factor and chunk size right.
2011-09-05 22:58:13 -04:00
Davide P. Cervone
5be76da6fe
Don't measure then remeasure stretched embelished operators (saves a reflow)
2011-09-05 21:01:59 -04:00
Davide P. Cervone
bb3129d5db
Add EqnChunk configuration parameter for how many equations to reveal at one time (they are marked display:none until this many are ready, and then all revealed at once
2011-09-04 13:05:19 -04:00
Davide P. Cervone
0145248359
Pass state rather than scripts to pre- and postTranslate methods (let them get the scripts from the state)
2011-09-04 12:34:17 -04:00
Davide P. Cervone
922fc81461
Fix a typo that I missed in the previous commit
2011-09-02 11:41:55 -04:00
Davide P. Cervone
c1a5ba16a3
Save heights when getting widths (so don't need to do offsetHeight in placeBox, or rely on assumptions)
2011-09-02 11:33:22 -04:00
Davide P. Cervone
a97410976e
Mark bounding boxes known to be exact so that they don't have to be remeasured later
2011-08-31 16:49:10 -04:00
Davide P. Cervone
b62847c57e
Replace getW with a better version, and avoid offsetHeight in placeBox when posible. Make some IE bugs dependent on mode (since IE9 doesn't need them)
2011-08-31 12:40:30 -04:00
Davide P. Cervone
0fbba16dbe
No need for useProcessingFrame any more (just set styles on the MathJax span itself)
2011-08-30 19:47:45 -04:00
Davide P. Cervone
7b32411bf7
Fix marginScale problem with IE <= 7, and inline display problem with IE >= 8. Don't assign default font to MathJax (it is not needed, since we set the font explicitly on text items)
2011-08-30 12:35:51 -04:00
Davide P. Cervone
b214da2436
Replace getScales and getMarginScale by actions in the preTranslate method. Also add hideProcessedMath option to set display:none on completed expressions (for IE performance)
2011-08-29 19:21:20 -04:00
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
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
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