Davide P. Cervone
|
2e59f03f69
|
Add stretchy equal sign so that it will load the extra data file, and fix a problem with right arrow from bar in the TeX fonts
|
2011-09-18 21:28:31 -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
|
88c650dd16
|
Fix problem with \overbrace and \underbrace not stacking their super- and subscripts properly
|
2011-09-18 17:52:49 -04:00 |
|
Davide P. Cervone
|
b1a7982674
|
Fix stretchy characters used for U+00AF and U+02C9 in the STIX font
|
2011-09-18 17:39:42 -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
|
09851b9a0b
|
Remove alias of 203E to AF since 203E is listed in the delimiters directly (this was causing an infinite loop)
|
2011-09-18 16:43:01 -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
|
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
|
58d876b417
|
Add stretchy equals (needed for extpfeil)
|
2011-09-10 19:16:27 -04:00 |
|
Davide P. Cervone
|
b9016bdf83
|
Add a flag to user-defined macros so they are not overwritten when an extension is loaded (resolves issue #128).
|
2011-09-10 17:32:45 -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
|
b719fb481b
|
Put chunk size back (was larger for debugging), and remove unneeded variable from mmultiscripts
|
2011-09-06 12:36:17 -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
|
66be7cd2f7
|
Make mtd not measure stretched operators twice
|
2011-09-06 00:23:48 -04:00 |
|
Davide P. Cervone
|
54bb4574ed
|
Make mmultiscripts not remeasure stretched operators
|
2011-09-06 00:20:22 -04:00 |
|
Davide P. Cervone
|
77f0e943bf
|
Remove getScales call from tooltip, and don't remeasure stretchy operators
|
2011-09-06 00:09:09 -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
|
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
|
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 |
|
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
|
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
|
bbc3a1416b
|
Prevent texClass from being inherited (fixes a spacing problem with maction elements)
|
2011-08-11 14:59:02 -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
|
b7c76ff0d7
|
Fix typo in self-closing flag for mprescript tag (resolves issue #157)
|
2011-08-05 20:50:53 -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
|
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
|
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
|
61e6d40a43
|
Removed debugging alert that was accidentally left in the previous commit
|
2011-08-04 12:51:30 -04:00 |
|
Davide P. Cervone
|
fb5ed12752
|
Fix problem with mtable equalrows detected by Fred's test suite
|
2011-08-04 12:43:03 -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
|
309c1c343c
|
Handle output of dimensions in mu's better (resolves issue #146).
|
2011-07-27 21:18:57 -04:00 |
|
Davide P. Cervone
|
d92d160cee
|
Allow \\ to take an optional argument that is an extra amount of space to put between lines of an array (resolves issue #144)
|
2011-07-27 18:59:00 -04:00 |
|
Davide P. Cervone
|
c4c1c9f1e0
|
Use a different character for \overline so that it works with FF native MathML (resolves issue #140)
|
2011-07-27 16:46:01 -04:00 |
|
Davide P. Cervone
|
3ddd323cd2
|
Remove internal multiple spaces in token elements (resolves issue #127)
|
2011-07-27 16:31:04 -04:00 |
|
Davide P. Cervone
|
d2b40a3235
|
Improve the previous fix for xmlns by using better regexp so as to no longer need replaceXMLNS function
|
2011-07-27 15:06:02 -04:00 |
|
Davide P. Cervone
|
7f6c93b1c9
|
Work around HTML5 removing namespaces, so that xmlns:xlink becomes xlink with no namespace, which confuses the XML parsers.
|
2011-07-27 10:26:21 -04:00 |
|
Davide P. Cervone
|
557735366f
|
Add \mmlToken macro to allow direct creation of token MathML elements from within TeX, and use this to make \bmod, \mod, and \pmod produce better results (resolves issue #123)
|
2011-07-26 22:43:20 -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
|
7f2292ec7b
|
Fix comments in fontdata-extra files
|
2011-07-26 20:04:55 -04:00 |
|
Davide P. Cervone
|
86b344a63b
|
When adjacent relations have different variants, set the space between them to 0 (so they work in NativeMML mode)
|
2011-07-26 19:55:43 -04:00 |
|
Davide P. Cervone
|
e2d328dd32
|
Don't combine <mo> elements with different variantForms (since the whole element must have the same mathvariant and font)
|
2011-07-26 19:46:29 -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
|
6a265df244
|
Merge with master (brining up to adate with v1.1a)
|
2011-07-24 10:11:07 -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
|
ee2609dc97
|
Merge with master (brining up to adate with v1.1a)
|
2011-07-24 09:59:14 -04:00 |
|
Davide P. Cervone
|
f58689bc7d
|
Merge branch 'master' into cases
|
2011-07-24 09:53:16 -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
|
2953e01b12
|
Fix problems with annotation-xml in IE (work around IE lack of importNode, and bug with copying style attributes
|
2011-06-05 11:33:49 -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
|
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
|
b7525afe5c
|
Fix problem with " in attributes, and with entity names that include numbers
|
2011-06-01 18:17:52 -04:00 |
|