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
|
4c5458c216
|
Make forward references use the new state variable with processInputs(). Note that since the scripts are already in the list (they are being reprocessed) we use a separate state variable
|
2011-09-18 22:55:53 -04:00 |
|
Davide P. Cervone
|
ae12c52774
|
Make sure Jax loadComplete returns the Ajax.loadComplete callback
|
2011-09-18 22:33:37 -04:00 |
|
Davide P. Cervone
|
ef880131a6
|
Fix TeX/autobold.js to use TeX.prefilterHooks, and to use \boldsymbol rather than \bf
|
2011-09-18 21:57:58 -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
|
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
|
331b9ee6f1
|
Fix problem where selecting the renderer menu failed to rerender the mathematics
|
2011-09-18 17:06:26 -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
|
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
|
45d81dfc3e
|
Merge branch 'tex-fixes' into v2.0-candidate
|
2011-09-11 10:59:24 -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
|
73b3214a9e
|
Merge branch 'tooltips' into new-features
|
2011-09-11 09:40:09 -04:00 |
|
Davide P. Cervone
|
6c60d75f2e
|
Merge branch 'mhchem' into new-features
|
2011-09-11 09:39:36 -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
|
efbc1612f3
|
Add support for extpfeil extension -- more stretchy arrows (resolves issue #93)
|
2011-09-10 19:29:29 -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
|
53fc357cfc
|
Start processing on DOMContentLoaded, if possible, and check document.readyState to see if the onload handler has already fired (avoids the need for authors to call MathJax.Hub.Startup.onload() by hand)
|
2011-09-06 21:05:51 -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
|
2708905233
|
Since the loading of the jax is now done by prepareOutput, no need to check for callbacks in processOutput
|
2011-09-04 17:51:18 -04:00 |
|
Davide P. Cervone
|
a4fdb7b815
|
Properly handle loading of jax during prepareOutput so that it works in combined configuration files
|
2011-09-04 16:52:44 -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
|
75058a81d8
|
Pass state to input and output jax's Translate() method
|
2011-09-04 13:04:04 -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
|
2a72125c1a
|
Make prepareOutput() load the main output jax.js file and wait for it to complete; also handle errors in the pre- and post-processing
|
2011-08-29 07:36:40 -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
|
046079b805
|
Remove unused function from previous commit
|
2011-08-28 13:24:30 -04:00 |
|
Davide P. Cervone
|
805c78df67
|
Add a processing state variable and use that to allow pre- and post-Translate methods that can be used to get scaling factors, etc.
|
2011-08-28 13:14:20 -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
|
07faf4e0b4
|
Check for config array before issuing v1.0-warning message (resolves issue #163)
|
2011-08-27 11:38:31 -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
|
65c286421c
|
Add support for optional vertical alignment on aligned and gathered environments (resolves issue #159)
|
2011-08-26 20:19:41 -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
|
91753873e1
|
Merge with menu-update
|
2011-08-24 19:16:37 -04:00 |
|
Davide P. Cervone
|
a7fd90af2f
|
Sort the items in the About MathJax dialog box
|
2011-08-24 17:28:54 -04:00 |
|
Davide P. Cervone
|
2baa587175
|
Corrected types in comments
|
2011-08-24 16:16:04 -04:00 |
|
Davide P. Cervone
|
7c33ada973
|
Change UIevents to MathEvents (missed this one earlier)
|
2011-08-24 16:11:48 -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
|
3cd69cf6ae
|
Make parameters be configuration parameters, and allow for easier configuration of styles
|
2011-08-24 11:06:23 -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
|
3312e9ca3e
|
Make menu button float on top of math, and make delays and other values into paramaters that can be changed (needed for menu arrow positioning
|
2011-08-23 14:32:07 -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
|
994a9dff31
|
Have noError produce proper math span (rather than just the merror)
|
2011-08-19 12:50:02 -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
|
7411a83f21
|
Don't set noError font-family to serif (since Windows default serif font doesn't have backslash character!
|
2011-08-17 20:29:38 -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
|
ec5cd41d69
|
Add support for Firefox 6 Mobile, and add close button for mobile devices so it is easier to close a submenu.
|
2011-08-15 15:00:44 -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
|
29d07d1420
|
Removed extra comma that causes IE problems (Fred caught it)
|
2011-08-13 09:16:57 -04:00 |
|
Davide P. Cervone
|
161b463141
|
Switch order of commented out formats to avoid final comma problems if they are uncommented
|
2011-08-12 08:27:36 -04:00 |
|
Davide P. Cervone
|
c794e7ce19
|
Fixed some typos, and added comments to help clarify the equation numbering parameters
|
2011-08-11 15:36:17 -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
|
418e5a293e
|
Prevent infinite loop if one of the jax fails to load (due to failure to compile or timeout waiting for it to load)
|
2011-08-03 16:04:14 -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
|
f27e16ef0a
|
Fix multiple problems with zoom box sizing and position in IE (various emulation and document modes) and firefox. (Resolves issues #151, #88, and #59.)
|
2011-07-31 15:17:44 -04:00 |
|
Davide P. Cervone
|
bb154cabcd
|
Allow equations with tags to zoom into a full-width zoom box -- not ideal, but better than not visible. (Resolves issue #59 for now.)
|
2011-07-28 21:39:46 -04:00 |
|
Davide P. Cervone
|
8f2bbee019
|
Force MathZoom and MathMenu to wait for the 'Begin Styles' message before inserting their styles so when they are included in the combined files, the author can still configure them (resolves issue #149)
|
2011-07-28 20:36:18 -04:00 |
|
Davide P. Cervone
|
9156092878
|
Add default id's to the jax objects (make Fred happy)
|
2011-07-28 19:31:42 -04:00 |
|
Davide P. Cervone
|
55425f9278
|
Fix positioning problem with zoom in NativeMML mode, avoiding flicker problem with hover trigger in Firefox (resolves issue #150)
|
2011-07-27 22:53:53 -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
|
73ad910da4
|
Fix \unicode bug with font names that include spaces (resolves issue #142)
|
2011-07-27 16:39:47 -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
|
051521292f
|
Allow processClass to override skipTags to force a tag that usually is skipped to have its contents pre-processed (resolves issue #124)
|
2011-07-27 16:03:24 -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
|
e21825cf56
|
Don't show the v1.0 compatibility message if the config parameter was specified, even if the config file fails to load
|
2011-07-27 11:57:07 -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
|
d57abf54d8
|
Fix problem with SimpleSUPER reported by Fred (due to a bad copy-paste edit really early on)
|
2011-07-27 09:07:40 -04:00 |
|
Davide P. Cervone
|
725f655080
|
Fix Message.Set and Message.Clear so that a delay of 0 is properly handled (fixes issue with Fred's test cases, though I would prefer to see some tests that use the actual delays)
|
2011-07-27 08:46:45 -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
|
74cb04a9e0
|
Fix \thickapprox to use the correct glyph (resolves issue #145)
|
2011-07-26 19:19: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
|
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
|
6bd9ce99f3
|
Merge branch 'master' into tooltips
|
2011-07-24 10:00:00 -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
|
29239f00ce
|
Fix problem with fractions in displaystyle, fix problem with minus sign in superscripts, add \hyphen macro (used in some examples), and removed extra comman (that causes IE to fail).
|
2011-07-24 08:06:16 -04:00 |
|
Davide P. Cervone
|
5e9616370b
|
Initial version of mhchem package (implements \ce, \cf, \cee commands)
|
2011-07-22 09:37:15 -04:00 |
|
Davide P. Cervone
|
cec79bfe50
|
Fix a timing issue when the HTML-CSS jax loads before the TeX jax is complete, now that they are loaded in parallel rather than serially
|
2011-06-06 15:06:54 -04:00 |
|
Davide P. Cervone
|
45dd111fe9
|
Fix timing problem with Jax startup sequence so that the required array can be modified in the Config method (as it is in the HTML-CSS jax). This resolves a timing ising with IE
|
2011-06-06 15:05:22 -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 |
|
Davide P. Cervone
|
3687469e6f
|
Fix incorrect mapping of digamma in IE, and don't use variant forms (not sure why they were used in the first place, but they do not seem to be needed now)
|
2011-06-01 18:15:09 -04:00 |
|
Davide P. Cervone
|
e9e3135981
|
Trap errors during the toMathML() call and redisplay if it is a RestartAfter call (e.g., loading of an entity file)
|
2011-06-01 18:13:02 -04:00 |
|
Davide P. Cervone
|
8588f02413
|
Remove extra comma from RANGES (causes IE crash), bump version numbers, and rename IE Greek ranges to work properly with new greek range in 1.1a
|
2011-05-30 14:05:35 -04:00 |
|
Davide P. Cervone
|
1da9f58062
|
Update About box to show MathJax version separately from MathJax.js version, and make sure lettering is black (isolates from page CSS a bit more).
|
2011-05-18 15:06:28 -04:00 |
|
Davide P. Cervone
|
861d254bec
|
Don't try to check for jax if specified element is null (prevents a crash)
|
2011-05-18 14:52:49 -04:00 |
|
Davide P. Cervone
|
d54cfb2519
|
Fix a problem with two DIV's having the same ID when MSIE is used; fix a problem where the v1.0 configuration message does show up for IE7 and 6.
|
2011-05-18 14:51:07 -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
|
222a4c0ba6
|
Repack and recombine (to resolve conflicts from issue68)
|
2011-05-18 10:27:41 -04:00 |
|
Davide P. Cervone
|
9cc3bda487
|
Resolve conflicts from issue112, repack and recomine
|
2011-05-18 10:24:05 -04:00 |
|
Davide P. Cervone
|
8e79bbea7c
|
Merge branch 'issue107' into 1.1a-candidate
|
2011-05-18 10:17:35 -04:00 |
|
Davide P. Cervone
|
ff3a846d83
|
Repack merge from issue115
|
2011-05-18 10:14:50 -04:00 |
|
Davide P. Cervone
|
05bb951a94
|
Merge branch 'issue98' into 1.1a-candidate
|
2011-05-18 10:12:42 -04:00 |
|
Davide P. Cervone
|
90ef4b45eb
|
Merge branch 'issue97' into 1.1a-candidate
|
2011-05-18 10:11:48 -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
|
f10ec864ea
|
Update version numbers for merge with issue117
|
2011-05-18 10:00:27 -04:00 |
|
Davide P. Cervone
|
17d6686c92
|
Merge branch 'issue117' into 1.1a-candidate
|
2011-05-18 09:58:38 -04:00 |
|
Davide P. Cervone
|
83ff2b0901
|
Merge issue113 (resolving conflicts with edits in issue106)
|
2011-05-18 09:54:21 -04:00 |
|
Davide P. Cervone
|
3056b41c13
|
Merge branch 'issue106' into 1.1a-candidate
|
2011-05-18 09:37:17 -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
|
37cb2ff727
|
Prevent the clearing of a message from putting up a new message when messageStyle == "none" is in effect (resolves issue #115).
|
2011-05-13 13:07:34 -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
|
66bc9b8317
|
Use ⁡ after \mathop{} no matter what its contents (it used to only do it for \mathop{\rm ...}
|
2011-05-09 08:22:10 -04:00 |
|
Davide P. Cervone
|
bf862f6529
|
Update operator table to correspond with current W3C version at http://www.w3.org/TR/MathML3/appendixc.html
|
2011-05-08 23:30:40 -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
|
6275aa46ea
|
Remap upper-case Greek that are not in MathJax fonts to their corresponding latin positions (resolves issue #16).
|
2011-05-08 21:48:40 -04:00 |
|
Davide P. Cervone
|
44dbbd135c
|
Don't remap italic numbers to normal, and map normal greek to italic since the MathJax fonts don't have normal versions (resolves issue #25).
|
2011-05-08 21:27:49 -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
|
74d7db9e78
|
Update entity table to conform with http://www.w3.org/2003/entities/2007/htmlmathml-f.ent (fixes a number of wrong values, and adds some missing entities). (Resolves issue #37.)
|
2011-05-08 16:28:49 -04:00 |
|
Davide P. Cervone
|
d5416ceb10
|
Add \begingroup and \endgroup commands to make it possible to have local macros. Add the \let and \renewenvironment commands. Add \global and \gdef now that there are local namespaces
|
2011-05-07 21:21:52 -04:00 |
|
Davide P. Cervone
|
326b107118
|
Properly handle missing </math> tags in IE. Properly handle non-MathML tags that are included within the <math> element (e.g., from a <semantics> annotation or due to missing </math>). Resolves issue #113.
|
2011-05-06 14:09:59 -04:00 |
|
Davide P. Cervone
|
fd3ff2979e
|
Fix problem with character being skipped following a \ref or \eqref in \text{} inside math mode (index was off by one)
|
2011-05-06 12:45:21 -04:00 |
|
Davide P. Cervone
|
94a2dc3389
|
Have TeX input jax load AMSmath if auto equation numbering is requested in the TeX configuration
|
2011-05-02 09:55:58 -04:00 |
|
Davide P. Cervone
|
f4f5263e2b
|
Add comments and use variables for shortcuts to structures
|
2011-05-02 09:54:47 -04:00 |
|
Davide P. Cervone
|
70b8f84a3a
|
Fix reference to texError that was mistyped as isError. Also repacked tex2jax, which was not included in the previous commit (for some reason)
|
2011-05-02 08:38:04 -04:00 |
|
Davide P. Cervone
|
7e2ed03750
|
Add support for automatic line numbers, and the \label and \ref macros (resolves issue #71)
|
2011-05-01 19:05:02 -04:00 |
|
Davide P. Cervone
|
c23c21443e
|
Mark top-level math element as having a texError when it is one (to make it easier to recognize)
|
2011-05-01 18:44:03 -04:00 |
|
Davide P. Cervone
|
e23b8b4756
|
Mark TEX.Parse() call as Inner if it occurs within the processing of an equation (needed for automatics equation numbering), and initialize the global data as the start STACKING is created
|
2011-05-01 18:35:27 -04:00 |
|
Davide P. Cervone
|
07ab955fe2
|
Convert pre- and post-filters to Callback.Hook lists
|
2011-05-01 18:26:08 -04:00 |
|
Davide P. Cervone
|
84ed248395
|
Break the processing phase into two separate phases to do input processing separately from output processing (they used to be interleaved). This makes it easier to implement forward references for the \ref macro
|
2011-05-01 17:31:30 -04:00 |
|
Davide P. Cervone
|
fa7673e03d
|
Have Update() method ask ElementJax to determine if it needs updating (which in turn asks the associated input jax). Make Remove() work for just clearing output (without detaching) if desired.
|
2011-05-01 14:21:01 -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
|
98c56a56ab
|
Move input/output jax and preprocessor registries from Hub.config to Hub itself (they are not user configurable through Hub.Config, and so even though they are configurations, they don't belong there).
|
2011-05-01 10:46:22 -04:00 |
|
Davide P. Cervone
|
c5c01bd60b
|
Abstract lists of (prioritiezed) callbacks into an object, and use it to replace ExecuteHooks, and to allow priorities for callback hooks (StartupHook, MessageHook, LoadHook, and PreProcessors). This can also be used to provide hooks for other actions, like pre- and post-filtering math or errors, etc.
|
2011-05-01 09:28:49 -04:00 |
|
Davide P. Cervone
|
21a8e54d06
|
Add new action extension for \mathtip, \texttip, and \toggle macros, giving TeX access to the maction MathML tag
|
2011-05-01 07:56:04 -04:00 |
|
Davide P. Cervone
|
a31559a819
|
Use new element jax Update() method to handle updating of toggle maction
|
2011-05-01 07:49:47 -04:00 |
|
Davide P. Cervone
|
af15b0631b
|
Merge branch 'hub-update' into htmlcss-fixes
|
2011-05-01 07:43:27 -04:00 |
|
Davide P. Cervone
|
bea67bcb8f
|
Mark the root math element with the source ID so you can look up the jax from within the math tree
|
2011-05-01 07:42:46 -04:00 |
|
Davide P. Cervone
|
92c0a9f9a5
|
Add an Update() method to ElementJax to force output to be updated (but not reprocess input). To be used if the contents of the element jas changes by hand (e.g. through maction)
|
2011-05-01 07:13:40 -04:00 |
|
Davide P. Cervone
|
d4c2c09714
|
Add new generic signals around the math processing, so that it is easier to trap notification of the beginning or ending of math processing
|
2011-04-30 14:25:33 -04:00 |
|
Davide P. Cervone
|
ea88cc5a5b
|
Add ability to reprocess only the output (can be used by maction to better handle the toggle actiontype)
|
2011-04-30 14:21:56 -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
|
fd0c9236a2
|
Remove wait for NativeMML selection signal, and just use the onLoad signal (so that existing pages that change the renderer by hand will continue to work). It would be nice to avoid setting up the namespace when not needed, but it doesn't seem to hurt, and doesn't cause MathPlayer to start up, so it should be OK.
|
2011-04-27 20:11:17 -04:00 |
|
Davide P. Cervone
|
fc2964dda7
|
Make renderer change via MathMenu post the renderer select message (so NativeMML configuration will complete for IE/MathPlayer in combined configurations)
|
2011-04-27 18:28:50 -04:00 |
|
Davide P. Cervone
|
1740640ea5
|
Bump the version number and repack/recombine
|
2011-04-27 12:05:12 -04:00 |
|
Davide P. Cervone
|
ae55a2f570
|
Fix a timing issue where setting up MathPlayer can cause IE to crash (resolves issue #110).
|
2011-04-27 09:37:24 -04:00 |
|
Davide P. Cervone
|
876e96d80f
|
Fix a problem with redrawing maction toggle elements (the size and spacing were off)
|
2011-04-27 08:05:28 -04:00 |
|
Davide P. Cervone
|
dfdaabe5f6
|
Remove wrong second parameter to InternalMath call for text in \cases
|
2011-04-27 08:02:04 -04:00 |
|
Davide P. Cervone
|
ba355d10bb
|
Convert xlink:href to href and ignore all other namespace attributes (resolves issue #68).
|
2011-04-26 19:31:38 -04:00 |
|
Davide P. Cervone
|
86ed491787
|
Make \cases automatically use \text on the second entry in each row (so that it works like the real TeX \cases macro)
|
2011-04-26 19:22:17 -04:00 |
|
Davide P. Cervone
|
18734b5cce
|
Add \bbox macro that allows you to set background colors, padding, and borders for math formulas
|
2011-04-26 15:28:37 -04:00 |
|
Davide P. Cervone
|
8aa2e2a3f2
|
Make style attributes work on mstyle elements
|
2011-04-26 15:23:29 -04:00 |
|
Davide P. Cervone
|
e48efbbd35
|
Make padding and border width configurable, and use new ability to set border in style (but stick with mpadded for padding, since neither MathPlayer nor Firefox seem to implement padding style settings)
|
2011-04-25 15:07:23 -04:00 |
|
Davide P. Cervone
|
2407d6dafd
|
Merge branch 'issue109' into issue38
|
2011-04-25 14:36:06 -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
|
4b2d568822
|
Make \color work as a switch, as in LaTeX, and add the other features from the color package (\definecolor, other color models, LaTeX named colors, \colorbox, \fcolorbox, etc.). (Resolves issue #38.)
|
2011-04-24 18:23:21 -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
|
eb79363766
|
Fix \mathop to produce <mi> rather than <mo> and add ⁡ when needed. This also handles \operatorname.
|
2011-04-24 11:10:45 -04:00 |
|
Davide P. Cervone
|
3a8c20b372
|
Make functions (like \sin) be <mi> rather than <mo>, and insert ⁡ after their use (resolves issue #56).
|
2011-04-23 19:56:17 -04:00 |
|
Davide P. Cervone
|
afc36aac44
|
Make \sqrt\frac{}{} not produce an error (resolves issue #75, at least for the example given).
|
2011-04-23 09:20:26 -04:00 |
|
Davide P. Cervone
|
a2d695c012
|
TeXAtom was used too often on embellished operators, so move it to the individual macros that need it.
|
2011-04-22 10:42:39 -04:00 |
|
Davide P. Cervone
|
f0c0cc3d3a
|
Bump version number
|
2011-04-22 07:48:16 -04:00 |
|
Davide P. Cervone
|
bf4e73ddf3
|
Fix incorrect positioning of maction tooltips (resolves issue #107)
|
2011-04-22 07:46:40 -04:00 |
|
Davide P. Cervone
|
3732851167
|
Refactor code that builds outerHTML string by hand, since it needs to be used by Opera as well in order to fix unquoted special characters in attributes. This also fixes the self-closing tag problems for IE and Opera. (Resolves issue #106 and issue #99)
|
2011-04-21 20:54:12 -04:00 |
|
Davide P. Cervone
|
2066e68531
|
Make the message system wait for the styles to be set before using the in-page message area (resolves issue #98)
|
2011-04-21 14:18:28 -04:00 |
|
Davide P. Cervone
|
edd14c6258
|
Make sure embelished large ops are type OP not ORD to get spacing right
|
2011-04-20 20:59:58 -04:00 |
|
Davide P. Cervone
|
2860efd523
|
Fix error with size of \: space
|
2011-04-20 20:55:58 -04:00 |
|
Davide P. Cervone
|
07a2014e0e
|
Fix problem with escaped dollars being unescaped the next time the page is typeset (resolves issue #97)
|
2011-04-09 17:23:22 -04:00 |
|
Davide P. Cervone
|
bb09608b23
|
Resolve a conflict with Mathjax and Slidy (its sets window.opera, which confused the browser detection)
|
2011-04-05 12:25:44 -04:00 |
|
Davide P. Cervone
|
4a2969c45b
|
Merge dpvc/issue85 (fixes for element configuration option)
|
2011-04-05 12:19:46 -04:00 |
|
Davide P. Cervone
|
f9e9165835
|
Merge remote branch 'dpvc/issue89'
|
2011-04-04 14:07:59 -04:00 |
|
Davide P. Cervone
|
7900c136e4
|
Merge remote branch 'dpvc/issue87'
|
2011-04-04 14:07:56 -04:00 |
|
Davide P. Cervone
|
ea00136979
|
Merge remote branch 'dpvc/issue86'
|
2011-04-04 14:07:11 -04:00 |
|
Davide P. Cervone
|
91fca00e4f
|
Fixed typo in about box (Fred reported in issue #47)
|
2011-04-04 14:04:39 -04:00 |
|
Davide P. Cervone
|
af0b052702
|
Partial work-around for issue#89: have <br> insert a newline in IE when documentMode < 9
|
2011-03-26 08:40:02 -04:00 |
|
Davide P. Cervone
|
a418d0748a
|
Fix problem with accents not having the correct mathvariant (resolves issue 87)
|
2011-03-24 09:06:30 -04:00 |
|
Davide P. Cervone
|
288907d29b
|
Worked around crippled VML implementaion in IE8 and IE9
|
2011-03-20 07:51:59 -04:00 |
|
Davide P. Cervone
|
2b7e966959
|
Move version numbers to 1.1 (this were missed when the other files' versions were changed)
|
2011-03-19 08:30:59 -04:00 |
|