Davide P. Cervone
|
ed6623d22f
|
Choose better sizes for \widehat and \widetilde in SVG output
|
2011-11-18 22:59:03 -05:00 |
|
Davide P. Cervone
|
fd692e25f0
|
Properly handle skew character for accents in SVG output
|
2011-11-18 22:26:49 -05:00 |
|
Davide P. Cervone
|
4553cce005
|
Make SVG output work with discoverability better
|
2011-11-18 10:11:38 -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
|
6d9994d9d1
|
Add support for \mathchoice in SVG output
|
2011-11-15 20:17:32 -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
|
07e2ccb77f
|
Remove unused linebreaking code (it was left over from older linebreaking algorithm)
|
2011-11-15 15:00:39 -05:00 |
|
Davide P. Cervone
|
257a11d0e2
|
Better handling oc italic correction (not just in msubsup and munderover)
|
2011-11-15 14:57:28 -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
|
54863d1138
|
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:06:52 -05:00 |
|
Davide P. Cervone
|
7762d3323d
|
Handle href's better, particularly when on the <math> element
|
2011-11-10 07:45:55 -05:00 |
|
Davide P. Cervone
|
246a809ce5
|
Support additional styles, and use the styles object for colors and fontsize rather than setting the attributes directly (so they don't get copied to the MathML output for example)
|
2011-11-09 22:03:11 -05:00 |
|
Davide P. Cervone
|
f7116a61ac
|
Use HTML.Element rather than SVG.Element to make test span. Also, use HUB and HTML variables when possible rather than MathJax.Hub and MathJax.HTML
|
2011-11-07 16:04:26 -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
|
604c09f9ca
|
Fix annotation-xml to use correct scaling (now that that has changed)
|
2011-11-05 16:22:00 -04:00 |
|
Davide P. Cervone
|
5394ea5b68
|
Fix a problem with combining character when they are used as accents (e.g., \vec)
|
2011-11-05 15:23:41 -04:00 |
|
Davide P. Cervone
|
4f14fbb301
|
Uncommented code that was taken out for debugging purposes (and that causes inline math to have a linebreak before it -- argh!). Sorry about that.
|
2011-11-05 07:30:26 -04:00 |
|
Davide P. Cervone
|
4a68934cd4
|
Fix linewidth computation so it respects floating elements on either side
|
2011-11-04 21:58:33 -04:00 |
|
Davide P. Cervone
|
d76580a422
|
Add a configuration flag that causes the underlying MathML structure to be retained in the SVG output, with element classes used to mark the corresponding elements (this allows some CSS control of the results, but also produces more complicated SVG trees)
|
2011-11-04 21:47:15 -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
|
bbda46f67c
|
Add SVG renderer to MathJax settings menu
|
2011-11-04 20:23:11 -04:00 |
|
Davide P. Cervone
|
8ca97d2f39
|
Add new SVG output jax
|
2011-11-04 20:16:13 -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
|
c1ab395327
|
Add missing mu value to length2em
|
2011-11-01 14:25:05 -04:00 |
|
Davide P. Cervone
|
eb99398f07
|
Fix spelling error in comment
|
2011-11-01 14:24:16 -04:00 |
|
Davide P. Cervone
|
b01f604b61
|
Fix problem with negative mu dimensions producing double minus signs in the MathML output
|
2011-11-01 14:23:31 -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
|
a66c5f2763
|
Add cancel package defining \cancel{math}, \bcancel{math}, \xcancel{math}, and \canelto{value}{math}
|
2011-10-26 00:10:29 -04:00 |
|
Davide P. Cervone
|
2e022a6631
|
Remove trailing commas that confuse IE
|
2011-10-25 23:35:49 -04:00 |
|
Davide P. Cervone
|
69301a2743
|
Handle arrowheads better when thickness is specified
|
2011-10-25 23:25:22 -04:00 |
|
Davide P. Cervone
|
48a018ac2e
|
New \enclose{notation}[attributes]{math} macro for giving TeX access to <menclose> tags
|
2011-10-25 23:04:44 -04:00 |
|
Davide P. Cervone
|
e692b46892
|
Check that attributes to \mmlToken are valid (since setting others could cause MathJax to malfunction)
|
2011-10-25 23:03:32 -04:00 |
|
Davide P. Cervone
|
1d5c0e1750
|
Fix a problem with frames when rowlines or columnlines are not defined (introduced by the change that added menclose for handling partial frames in tables)
|
2011-10-25 19:02:54 -04:00 |
|
Davide P. Cervone
|
e030b97288
|
Add support for non-standard strikethrough arrow (for future use with \cancel macros)
|
2011-10-25 19:01:09 -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
|
f4ebdbd549
|
Move AlignII from AMSmath.js to TeX/jax.js and rename as AlignedArray. Use it for array and alignedat environments as well as aligned and gathered. Fix some issues with alignedat.
|
2011-10-25 17:28:24 -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
|
11e11f2ac0
|
Handle background colors set by style attributes better (since color is handled by a separate span, remove it from the given span)
|
2011-10-25 16:52:14 -04:00 |
|
Davide P. Cervone
|
a658f2cb63
|
Handle control sequences with stars better in AMSmath extension (don't allow \cs{*} to count as \cs* anymore)
|
2011-10-25 15:23:00 -04:00 |
|
Davide P. Cervone
|
1bb6960f4a
|
Fix problem introduced by adding TeXAtom() to phantom and smash, where the attributes for these were added to the TeXAtom rather than the mphantom or mpadded elements
|
2011-10-25 15:05:19 -04:00 |
|
Davide P. Cervone
|
7cb05e2e20
|
Fix a problem with \mathchoice when the contents have negative width in Firefox (needed to resolve issue #148 in Firefox)
|
2011-10-25 14:51:43 -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
|
eaa02b4077
|
Use menclose to put vertical and horizontal lines on arrays that have partial frames (rather than making the frame be complete in all cases). Idea contributed by David Carlisle. Doesn't handle dashed frame lines, but menclose doesn't do dashed lines.
|
2011-10-24 21:58:05 -04:00 |
|
Davide P. Cervone
|
f16858cf11
|
Cosmetic changes
|
2011-10-19 22:42:03 -04:00 |
|
Davide P. Cervone
|
6f7a6f6034
|
Fixed multline environment to put tag at bottom row when TagSide is right
|
2011-10-17 20:49:25 -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
|
6901409fae
|
Fix \llap and \rlap (wrong placement of TeXAtom incorrectly blocked the width = 0)
|
2011-10-17 05:28:36 -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
|
4c940877bc
|
Fix typo in sort routine which caused tex2jax to skip delimiters
|
2011-09-30 06:33:44 -04:00 |
|
Davide P. Cervone
|
8930ef853e
|
Handle empty delimiter patterns, and don't scan the page if there is nothing to look for (resolves issue #174)
|
2011-09-28 06:30:50 -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
|
c0a936e80f
|
Get the scaling right (it is no longer 100 times the scale factor)
|
2011-09-28 06:00:15 -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
|
f3b1f4102f
|
Make delay following a 'processing' message configurable, and lengthen it a shade to make browser more responsive during typesetting
|
2011-09-27 17:05:02 -04:00 |
|
Davide P. Cervone
|
073e391c7c
|
Remove unneeded reference to msieMarginScale, and add computation of outerEm
|
2011-09-27 16:22:52 -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
|
81474adb97
|
Add delay before seting hash location to make it work in Opera. Still has a problem in IE7 and IE6.
|
2011-09-22 20:57:49 -04:00 |
|
Davide P. Cervone
|
c0dad0dbfe
|
Jump to an anchor after typesetting, if one was specified in the page URL (controlled by the positionToHash parameter). When the page is loaded, tags haven't been processed yet, to the anchor might not be present, so we need to jump there after the page is typeset. Also, as the equations are typeset, the page may get repositioned, so jumping to the location again will get us back where we were supposed to be. Problem: if user scrolls during typeset, we jump back.
|
2011-09-22 20:46:26 -04:00 |
|
Davide P. Cervone
|
629c6c2df8
|
Don't combine <mo> elements if they have different variants, styles, classes, or ids
|
2011-09-22 19:49:10 -04:00 |
|
Davide P. Cervone
|
eee1e9014f
|
Save output after attaching jax, otherwise it is not cloned properly if it is being updated
|
2011-09-22 19:48:12 -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
|
dcd4be5dd7
|
Fix MathJax.Hub.getJaxFor() and MathJax.Hub.isJax() to properly handle elements that are part of the HTML-CSS or NativeMML output (in particular, you can find the element Jax from this output)
|
2011-09-22 08:34:29 -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
|
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 |
|