Commit Graph

266 Commits

Author SHA1 Message Date
Davide P. Cervone
bbda46f67c Add SVG renderer to MathJax settings menu 2011-11-04 20:23:11 -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
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
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
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
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
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
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
3e5b2244ef Use documentElement.clientHeight for determining zoom box maximum height 2011-09-27 17:08:21 -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
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
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
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
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
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
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
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
efbc1612f3 Add support for extpfeil extension -- more stretchy arrows (resolves issue #93) 2011-09-10 19:29:29 -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
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
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
a7fd90af2f Sort the items in the About MathJax dialog box 2011-08-24 17:28:54 -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
29d07d1420 Removed extra comma that causes IE problems (Fred caught it) 2011-08-13 09:16:57 -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
73ad910da4 Fix \unicode bug with font names that include spaces (resolves issue #142) 2011-07-27 16:39:47 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
f9e9165835 Merge remote branch 'dpvc/issue89' 2011-04-04 14:07:59 -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
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
072bcdd1bd Fix spelling of 'version' in mml2jax (argh!) 2011-03-09 09:24:00 -05: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
a15392c23c Update default for inlineMath configuration (don't use dollars by default) 2011-03-03 16:35:32 -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
5950641ee5 Merge branch IE9-issues (with updated versions and packing) 2011-02-26 10:04:06 -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
38f5ddc714 Reword the message, and don't fade it out or use a cookie; it should ALWAYS show and should stay up until explicitly closed 2011-02-19 09:47:13 -05:00
Davide P. Cervone
c200dcd5d2 Add a warning message (but in a separate file so that MathJax.js doesn't have to be any bigger) for when no configuration was done (when v1.0.x would load the config/MathJax.js file) 2011-02-18 09:03:51 -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
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
2a99d528aa Comments don't need to have <, >, and & replaced, so do text separately from comments 2011-02-02 10:59:34 -05:00
Davide P. Cervone
5dc47f7647 Put comment text inside comment markers when processing IE MathML (resolves issue #63) 2011-02-02 08:23:10 -05:00
Davide P. Cervone
63d6c58791 Use hasOwnProperty to make sure we only test real jax (resolves issue #47) 2011-01-07 15:48:56 -05:00
Davide P. Cervone
1263f164da Add macro count to newcommand extension and latex environment processing. Bump version number for input jax 2011-01-04 11:41:36 -05:00
Davide P. Cervone
58ce73bfd8 Update packing to just use yuicompressor 2010-12-30 15:31:25 -05:00
Robert Miner
8644056391 moved files out of mathjax/ to top level 2010-11-13 12:38:42 -06:00