Commit Graph

180 Commits

Author SHA1 Message Date
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
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
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
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
d2afb71a3d Move computation of line width for automatic linebreaks to the preTranslate routine, so only one reflow is needed 2011-09-27 22:58:18 -04:00
Davide P. Cervone
3e5b2244ef Use documentElement.clientHeight for determining zoom box maximum height 2011-09-27 17:08:21 -04:00
Davide P. Cervone
23ae282020 Fix a typo in the bounding box in createSpan (which affected tags in Opera and IE7). Add missing mtextFontInherit configuration parameter. 2011-09-22 21:41:11 -04:00
Davide P. Cervone
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
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
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
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
636f802b59 Fix some zoom background overlay problems 2011-09-20 09:35:20 -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
703b8e3b16 Fix error with annotation-xml nodes and linebreak checking 2011-09-18 21:48:21 -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
baeaf82f91 Use proper scaling factor for zoom in HTML-CSS output, and don't set a font on the zoom frame 2011-09-18 17:16:50 -04:00
Davide P. Cervone
331b9ee6f1 Fix problem where selecting the renderer menu failed to rerender the mathematics 2011-09-18 17:06:26 -04:00
Davide P. Cervone
dc2cd2fbfe Include MathEvents in the combined configuration files 2011-09-11 22:02:53 -04:00
Davide P. Cervone
a675b397c7 Merge branch 'issue138' into v2.0-candidate (resolving conflicts, and fixing some issues with zoom and menus) 2011-09-11 14:43:21 -04:00
Davide P. Cervone
d5f2ab74f3 Merge branch 'performance' into v2.0-candidate (still need to optimize linebreak measurements) 2011-09-11 13:13:22 -04:00
Davide P. Cervone
b5d23c72fa Merge branch 'new-features' into merge-features (in preparation for merging with v2.0-candidate), and fix hover zoom trigger when discoverability is disabled 2011-09-11 12:42:27 -04:00
Davide P. Cervone
3f4f54e2c0 Merge branch 'zoom-update' into v2.0-candidate 2011-09-11 11:51:14 -04:00
Davide P. Cervone
836992b3a7 Merge branch 'menu-update' with zoom-update (disables discoverability for now) 2011-09-11 11:39:22 -04:00
Davide P. Cervone
2e129e0a01 Disable discoverability for now, and hide its menu item 2011-09-11 11:36:56 -04:00
Davide P. Cervone
a9b53b8bb7 Merge 'htmlcss-fixes' into v2.0-candidate (after resolving conflicts) 2011-09-11 11:16:18 -04:00
Davide P. Cervone
dcc8620459 Merge branch 'mathml-fixes' into v2.0-candidate 2011-09-11 10:59:38 -04:00
Davide P. Cervone
4ff36e7146 Merge branch 'issue128' with new-features (prevents user macros from being overridden by autoloaded extension) 2011-09-11 10:47:14 -04:00
Davide P. Cervone
e4483d0d2d Merge branch 'issue170' into html-css 2011-09-11 10:37:08 -04:00
Davide P. Cervone
4937810570 Merge branch 'linebreaks' into new-features (adds automatic line breaking) 2011-09-11 10:26:28 -04:00
Davide P. Cervone
fcefc54b20 Merge branch 'issue71' into new-features (adds line numbering, \label and \ref) 2011-09-11 10:10:48 -04:00
Davide P. Cervone
a3afcbc6ef Merge branch 'issue38' with 'new-features' (adds better \color support) 2011-09-11 10:01:54 -04:00
Davide P. Cervone
2ace71f35e Merge with issue93 (adds extensible arrows), and resolve conflicts 2011-09-11 09:47:41 -04:00
Davide P. Cervone
cb0e3eb774 Merged with cases (and resolved conflicts) 2011-09-11 09:39:01 -04:00
Davide P. Cervone
5b6b57af86 Make units of mu's be relative to the scriptlevel (resolves issue #147) 2011-09-10 22:15:18 -04:00
Davide P. Cervone
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
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
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
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
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
acf080caae Clean up Zoom functions, in particular some of the IE complications; move getBBox to MathEvents 2011-08-25 19:45:25 -04:00