Commit Graph

328 Commits

Author SHA1 Message Date
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
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
Davide P. Cervone
91753873e1 Merge with menu-update 2011-08-24 19:16:37 -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
994a9dff31 Have noError produce proper math span (rather than just the merror) 2011-08-19 12:50:02 -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
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
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
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
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
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
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
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
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
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
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
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
37f61a88ef Recombine previous changes 2011-06-01 18:25:25 -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
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
9cc3bda487 Resolve conflicts from issue112, repack and recomine 2011-05-18 10:24:05 -04:00
Davide P. Cervone
90ef4b45eb Merge branch 'issue97' into 1.1a-candidate 2011-05-18 10:11:48 -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
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
66bc9b8317 Use &ApplyFunction; 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
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
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
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
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
27fe28261f Removed debugging code accidentally left in previous version. Repack and recombine. 2011-04-30 08:13:54 -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
dfdaabe5f6 Remove wrong second parameter to InternalMath call for text in \cases 2011-04-27 08:02:04 -04:00
Davide P. Cervone
c3d122db71 Recombine config files (forgot to do it for the last commit) 2011-04-26 19:33:06 -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
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
eb79363766 Fix \mathop to produce <mi> rather than <mo> and add &ApplyFunction; 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 &ApplyFunction; 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
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
4a2969c45b Merge dpvc/issue85 (fixes for element configuration option) 2011-04-05 12:19:46 -04:00
Davide P. Cervone
d485393f88 Recombine to make sure configs are up to date 2011-04-04 14:10:30 -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
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
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
Davide P. Cervone
536eece1b1 Fix problem with element parameter to the preprocessors (by making a global parameter instead, so there is only one place it needs to be set). Also make it an array so that more than one element can be specified. 2011-03-18 18:38:51 -04:00
Davide P. Cervone
a5661b5c1c Change versions to 1.1 and update copyright dates 2011-03-03 16:45:48 -05:00
Davide P. Cervone
4648698978 Repack and recombine previous merge 2011-03-03 16:06:52 -05:00
Davide P. Cervone
2ba61a6e4c Update packed and combined files for last merge 2011-03-03 15:32:13 -05:00
Davide P. Cervone
8b418b432c Merge branch 'better-about' 2011-03-03 15:28:25 -05:00
Davide P. Cervone
1166553038 Bump version numbers 2011-03-01 10:01:12 -05:00
Davide P. Cervone
18752966be Allow Chrome to use OTF fonts for v4.0 and above, and use OTF fonts for Safari/PC (the FF3.6.13 fix has fixed the problem for Safari, too) 2011-02-28 14:23:06 -05:00
Davide P. Cervone
06616a8914 Bump the version number 2011-02-28 14:13:07 -05:00
Davide P. Cervone
6081bd5475 Make sure extensions have a version before reporting them 2011-02-28 14:11:59 -05:00
Davide P. Cervone
0c11aa2bf6 Add extensions information to the about box, and add browser and font type 2011-02-28 14:08:59 -05:00
Davide P. Cervone
3578a76d63 Correctly calculate the value of dimensions with units of pc (resolves issue #76) 2011-02-28 13:27:12 -05:00
Davide P. Cervone
5950641ee5 Merge branch IE9-issues (with updated versions and packing) 2011-02-26 10:04:06 -05:00
Davide P. Cervone
e08b25f9f0 Merge branch 'HTML5-config' 2011-02-25 14:57:58 -05:00
Davide P. Cervone
97fb465311 Add CombineConfig() routine to combine default configuration with user configuration, and insert signal hooks to do synchronize configuration (for use with combined configuration files) 2011-02-21 14:39:15 -05:00
Davide P. Cervone
966ae6dddc Recombine configurations for the previous changes 2011-02-16 13:39:10 -05:00
Davide P. Cervone
dcb9be2fc4 Repack and recombine the previous changes 2011-02-15 11:39:50 -05:00
Davide P. Cervone
5d8a768707 Repack and recombine the previous few edits 2011-02-15 08:49:53 -05:00
Davide P. Cervone
5485fc81c5 Fix problem with IE9 menu placement (event didn't have the location properties) 2011-02-07 19:59:21 -05:00
Davide P. Cervone
7f14b46cae Make sure IE9 doesn't get filter set to do DXImage dropshadows (which cause IE9 to crash) 2011-02-07 19:52:11 -05:00
Davide P. Cervone
31c32f8f20 Add MathJax.HTML.setScript() to handle setting a script's value (taking IE9 bug into account), and use it where scripts are created (resolves issue#5) 2011-02-07 19:48:47 -05:00
Davide P. Cervone
fb475ba344 Make mtext be space-like, fix isEmbellished (etc) for maction, and make mstyle align not affect tables (resolves issues#66 and #67) 2011-02-07 19:26:17 -05:00
Davide P. Cervone
2f99db9a83 Update HTML-CSS jax version number, repack, and recombine 2011-01-24 12:03:24 -05:00
Davide P. Cervone
e8d6fc838e Update version number, repack, and recombine 2011-01-24 11:37:36 -05:00
Davide P. Cervone
1ecd7fbd49 Fix problem with \over used inside array entries (resolves issue#54) 2011-01-21 20:18:16 -05:00
Davide P. Cervone
bdb2d9fde9 Make \raise and \lower properly adjust height/depth (resolves issue#58) 2011-01-21 19:53:58 -05:00
Davide P. Cervone
b6dc1903fe Updated combined configurations to include previous changes 2011-01-08 07:44:32 -05:00
Davide P. Cervone
496a39f742 Pre-packaged configuration files for various scenarios 2011-01-01 21:03:11 -05:00