Davide P. Cervone
|
1eb58f429e
|
Merge branch v2.0-candidate with SVG
|
2012-01-09 15:13:40 -05:00 |
|
Davide P. Cervone
|
e4089cfd6e
|
Properly handle width of border and padding in merrors in HTML-CSS output
|
2012-01-09 11:58:19 -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
|
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
|
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
|
b3d2501a32
|
Allow preferences to select MML for Safari with late enough version
|
2011-12-27 14:59:08 -05:00 |
|
Davide P. Cervone
|
69a14287b1
|
Merge changes from v2.0-candidate and fix problem with U+21A0 in SVG (character was wrongly indicated in previous commit message)
|
2011-12-17 10:51:15 -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
|
dbab4d4101
|
Merge branch v2.0-candidate into SVG
|
2011-12-15 17:47:57 -05:00 |
|
Davide P. Cervone
|
9eaa73a0ac
|
Fix incorrect case for FALSE routine
|
2011-12-15 17:44:13 -05:00 |
|
Davide P. Cervone
|
d044f4c8f4
|
Merge v2.0-candidate into SVG
|
2011-12-07 14:07:47 -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
|
91543560a9
|
Merge branch 'v2.0-candidate' into SVG
|
2011-11-20 17:35:31 -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
|
88355ecc74
|
Add showDiscoverable configuration to control the discoverability checkbox
|
2011-11-16 12:58:48 -05:00 |
|
Davide P. Cervone
|
3bb798f6f4
|
Merge v2.0-candidate into SVG
|
2011-11-15 16:41:39 -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
|
06c700c804
|
Include modified MathMenu.js in the combined configurations
|
2011-11-04 20:44:43 -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
|
be653f4e11
|
Save ex value at the same location as other values
|
2011-10-27 08:48:24 -04:00 |
|
Davide P. Cervone
|
71a0acba83
|
Update copyright dates and include more extensions in the MathJax.Extensions object (so they are listed in the About box). Make the About box have a maximum height with scrollbars.
|
2011-10-25 17:47:25 -04:00 |
|
Davide P. Cervone
|
1c4580c2c0
|
Fix some problems with table widths/heights and spacing, and handle spacing of frame via menclose better for HTML-CSS output
|
2011-10-25 16:53:12 -04:00 |
|
Davide P. Cervone
|
9f80a1ebab
|
If the table has a complete frame then use the style of the left vertical line for the frame (so dashed frames are possible)
|
2011-10-24 22:01:57 -04:00 |
|
Davide P. Cervone
|
f16858cf11
|
Cosmetic changes
|
2011-10-19 22:42:03 -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
|
19977a6b23
|
Force a reflow when equations are shown so that misplaced equations get properly placed (resolves issue #24)
|
2011-10-17 05:46:16 -04:00 |
|
Davide P. Cervone
|
0c523ac8df
|
Fix problem with width of backrgound color and borders for mtable
|
2011-10-17 05:27:11 -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
|
d2afb71a3d
|
Move computation of line width for automatic linebreaks to the preTranslate routine, so only one reflow is needed
|
2011-09-27 22:58:18 -04:00 |
|
Davide P. Cervone
|
3e5b2244ef
|
Use documentElement.clientHeight for determining zoom box maximum height
|
2011-09-27 17:08:21 -04:00 |
|
Davide P. Cervone
|
23ae282020
|
Fix a typo in the bounding box in createSpan (which affected tags in Opera and IE7). Add missing mtextFontInherit configuration parameter.
|
2011-09-22 21:41:11 -04:00 |
|
Davide P. Cervone
|
d6dfceca94
|
Allow MMLorHTML to select MML for IE9 (since MP seems to work with it)
|
2011-09-22 15:51:34 -04:00 |
|
Davide P. Cervone
|
0a2e1c3968
|
Add contextual menu to Math Processing Error messages, so it is possible to access the settings if something has gone wrong
|
2011-09-22 09:17:10 -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
|
b69ef81e7b
|
Use page font for merrors rather than forcing serif font
|
2011-09-22 08:15:05 -04:00 |
|
Davide P. Cervone
|
e51c240448
|
Add new MathJax.Hub.setRenderer() method to make it easier to change renderers (without having to muck about in the MathJax internals), and use this in the menu code. Add a MathJax.Hub.Rerender() method to force the output to be rerendered without reprocessing the input.
|
2011-09-22 08:08:50 -04:00 |
|
Davide P. Cervone
|
d15a820a0e
|
Allow mtext to be typeset in the surrounding text font rather than MathJax fonts, provided the mtextFontInherit flag is set to true in the HTML-CSS block of the configuration (resolves issue #21, and should improve issues #19 and #40)
|
2011-09-22 00:14:19 -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
|
9c03400d76
|
Fix the scriptlevel when munderover has base with movablelimits in non-display mode (reported by Fred)
|
2011-09-21 23:11:03 -04:00 |
|
Davide P. Cervone
|
a6a651c6bd
|
Allow Firefox to use web fonts when a local URL uses MathJax from the CDN
|
2011-09-20 15:57:05 -04:00 |
|
Davide P. Cervone
|
6910620f4a
|
Use absolute width in pixels rather than relative widht in em's to work around margin scaling bug in IE (documentMode <= 7). This avoids the cumbersome msieMarginScale measurements and multiplication factor, which was touchy at best.
|
2011-09-20 11:45:35 -04:00 |
|
Davide P. Cervone
|
636f802b59
|
Fix some zoom background overlay problems
|
2011-09-20 09:35:20 -04:00 |
|
Davide P. Cervone
|
9c6044a98a
|
Cache the default Ex amd Em sizes rather than look them up each time
|
2011-09-20 08:40:35 -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
|
29f1823deb
|
Fix a couple of issues for IE (extra comma, wrong element name, and better handling of readyState)
|
2011-09-18 23:39:19 -04:00 |
|
Davide P. Cervone
|
703b8e3b16
|
Fix error with annotation-xml nodes and linebreak checking
|
2011-09-18 21:48:21 -04:00 |
|
Davide P. Cervone
|
d37ba91b6b
|
Use proper bar character for STIX stretchy arrows from bar, and properly handle zero-width characters in createChar()
|
2011-09-18 21:05:25 -04:00 |
|
Davide P. Cervone
|
baeaf82f91
|
Use proper scaling factor for zoom in HTML-CSS output, and don't set a font on the zoom frame
|
2011-09-18 17:16:50 -04:00 |
|
Davide P. Cervone
|
331b9ee6f1
|
Fix problem where selecting the renderer menu failed to rerender the mathematics
|
2011-09-18 17:06:26 -04:00 |
|
Davide P. Cervone
|
dc2cd2fbfe
|
Include MathEvents in the combined configuration files
|
2011-09-11 22:02:53 -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
|
d5f2ab74f3
|
Merge branch 'performance' into v2.0-candidate (still need to optimize linebreak measurements)
|
2011-09-11 13:13:22 -04:00 |
|
Davide P. Cervone
|
b5d23c72fa
|
Merge branch 'new-features' into merge-features (in preparation for merging with v2.0-candidate), and fix hover zoom trigger when discoverability is disabled
|
2011-09-11 12:42:27 -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
|
836992b3a7
|
Merge branch 'menu-update' with zoom-update (disables discoverability for now)
|
2011-09-11 11:39:22 -04:00 |
|
Davide P. Cervone
|
2e129e0a01
|
Disable discoverability for now, and hide its menu item
|
2011-09-11 11:36:56 -04:00 |
|
Davide P. Cervone
|
a9b53b8bb7
|
Merge 'htmlcss-fixes' into v2.0-candidate (after resolving conflicts)
|
2011-09-11 11:16:18 -04:00 |
|
Davide P. Cervone
|
dcc8620459
|
Merge branch 'mathml-fixes' into v2.0-candidate
|
2011-09-11 10:59:38 -04:00 |
|
Davide P. Cervone
|
4ff36e7146
|
Merge branch 'issue128' with new-features (prevents user macros from being overridden by autoloaded extension)
|
2011-09-11 10:47:14 -04:00 |
|
Davide P. Cervone
|
e4483d0d2d
|
Merge branch 'issue170' into html-css
|
2011-09-11 10:37:08 -04:00 |
|
Davide P. Cervone
|
4937810570
|
Merge branch 'linebreaks' into new-features (adds automatic line breaking)
|
2011-09-11 10:26:28 -04:00 |
|
Davide P. Cervone
|
fcefc54b20
|
Merge branch 'issue71' into new-features (adds line numbering, \label and \ref)
|
2011-09-11 10:10:48 -04:00 |
|
Davide P. Cervone
|
a3afcbc6ef
|
Merge branch 'issue38' with 'new-features' (adds better \color support)
|
2011-09-11 10:01:54 -04:00 |
|
Davide P. Cervone
|
2ace71f35e
|
Merge with issue93 (adds extensible arrows), and resolve conflicts
|
2011-09-11 09:47:41 -04:00 |
|
Davide P. Cervone
|
cb0e3eb774
|
Merged with cases (and resolved conflicts)
|
2011-09-11 09:39:01 -04:00 |
|
Davide P. Cervone
|
5b6b57af86
|
Make units of mu's be relative to the scriptlevel (resolves issue #147)
|
2011-09-10 22:15:18 -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
|
05f9bed529
|
Properly handle math that is inside a display:none element, and localize an accidental global variable
|
2011-09-10 15:49:44 -04:00 |
|
Davide P. Cervone
|
a4861dde5d
|
Don't use setTimeout() if the delay is 0, and use delay of 0 for loading web fonts to avoid an IE9 bug (resolves issue #170)
|
2011-09-10 08:48:41 -04:00 |
|
Davide P. Cervone
|
3717fcfb57
|
Measure mtable entries all at once (to reduce reflows)
|
2011-09-06 12:51:34 -04:00 |
|
Davide P. Cervone
|
b900adc953
|
Do measuring of subformulas all at once (for mfrac, msqrt, msubsup, munderover, mmultiscripts). Still need to do mtable
|
2011-09-06 12:34:51 -04:00 |
|
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
|
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
|
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
|
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
|
303ea791f2
|
Add an overlay for IE < 9 to trap events from getting to the zoomed math
|
2011-08-27 11:16:08 -04:00 |
|
Davide P. Cervone
|
bf8b903c8c
|
Add preliminary support for aligning tables to specific rows (currently only aligns to baseline)
|
2011-08-26 20:03:45 -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 |
|