Commit Graph

258 Commits

Author SHA1 Message Date
Davide P. Cervone
8709200381 Merge 'issue234' into develop 2012-08-16 09:19:34 -04:00
Davide P. Cervone
fe02e699a7 Merge branch 'issue215' into develop 2012-08-16 09:16:41 -04:00
Davide P. Cervone
700a24ba65 Merge 'issue211' into issue234 2012-08-15 15:57:08 -04:00
Davide P. Cervone
000e2586f4 Merge branch 'issue211' into develop 2012-08-15 15:52:58 -04:00
Davide P. Cervone
c5de4397a4 Merge 'issue209' into develop 2012-08-15 15:52:40 -04:00
Davide P. Cervone
174e62bd29 Automatically load the AMSmath extension when needed. Don't redefine the arrows until it is available. Resolves problem Fred reported in issue #234. 2012-08-15 14:30:49 -04:00
Davide P. Cervone
4d63e82e33 Add <<=> arrow to mhchecm extension. Resolves initial request in issue #234 (though still two other problems to look into) 2012-08-15 13:04:00 -04:00
Davide P. Cervone
5a2e34e9fc Make autoload-all skip ones that are already loaded, and not redefine user-defined macros. Also, fix most extensions to not overwrite user defined macros 2012-08-15 10:44:19 -04:00
Davide P. Cervone
54fffeac3b Ignore \label{} with no label. Resolves issue #225. 2012-08-15 09:24:20 -04:00
Davide P. Cervone
6e73b80d88 Make \injlim and friends produce single <mi> elements for thier names. Resolves issue #215. 2012-08-14 16:33:40 -04:00
Davide P. Cervone
63619df08e Add close button to About box and don't make clicking box close it (only clicking button). Resloves issue #281 2012-08-14 08:43:57 -04:00
Davide P. Cervone
c1f2075e67 Fix a typo in the environments value that is stored in the initial stack 2012-05-18 21:07:42 -04:00
Davide P. Cervone
edfd102702 Merge issue209 with develop 2012-05-18 20:59:40 -04:00
Davide P. Cervone
ed0eb9c0c4 Added missing callback for restarting toMathML 2012-03-20 22:55:41 -04:00
Davide P. Cervone
d542c87077 Fix alignment of prescripts in mhchem to properly right-justify (won't work well in NativeMML output, but then neither do several other features) 2012-03-19 08:39:45 -04:00
Davide P. Cervone
7c6b2c01df Expose the CE object (so we can override its methods) and bump the version number 2012-03-16 09:24:49 -04:00
Davide P. Cervone
52427db658 Fix alignment problem with prescripts in mhchem (resolves issue #211). 2012-03-16 09:09:26 -04:00
Davide P. Cervone
b816490799 Bump the version numbers for the previous commit 2012-03-15 13:48:48 -04:00
Davide P. Cervone
f2d5c4b037 Make NativeMML output properly handle iOS double-tap-and-hold, and issue warning message when switching to NativeMML output. Resolves issue #209. 2012-03-15 12:09:38 -04:00
Davide P. Cervone
6ca2bcba94 Fix typo in handle-floats.js that caused it to not compile 2012-03-11 09:53:00 -04:00
Davide P. Cervone
4d717dbea4 Work around IE10 bug with document.namespace, and with the background color for the contextual menu (resolves issues #203 and #204) 2012-03-07 12:04:20 -05:00
Davide P. Cervone
a2ab1f3760 Fix problem with MathEvents where pinch gestures were not being registered if both fingers were in typeset equations. (This may still need more, but it is an improvement for now). Resolves issue #200. 2012-03-01 16:06:16 -05:00
Davide P. Cervone
b8fc1c99f5 Bump the version number on MathMenu.js to account for the previous change 2012-02-27 18:19:32 -05:00
Davide P. Cervone
b82c4ac6ee Fix typo in renderer-switching message for Forefox MML 2012-02-27 15:17:26 -05:00
Davide P. Cervone
4174acf5ac Change help-2-0 to help-v2 in URL references (I think this looks better) 2012-02-26 10:46:52 -05:00
Davide P. Cervone
66058ed1e7 Move help files to help-2-0 since menu setup is different, and if we edit the on0line docs, then sites that are still uwing v1.1 will point to the new docs instead of the ones appropriate for their version 2012-02-26 09:31:51 -05:00
Davide P. Cervone
3a2b03a605 Add missing DefineColor macro to autoload-all extension 2012-02-25 13:18:53 -05:00
Davide P. Cervone
152d31182e Repack all javascript files (to update the copyright notice) and recombine (make sure all combined files are current) 2012-02-24 17:22:48 -05:00
Davide P. Cervone
ab487a051c Don't do bolding if width is not readable (e.g., inside a container with display:none). Resolves issue #194. 2012-02-24 10:07:32 -05:00
Davide P. Cervone
c1ab649925 Add MathJax.InputJax.TeX.resetEquationNumbers() routine to allow reprocessing of pages that have equation numbers and labels 2012-02-23 14:52:54 -05:00
Davide P. Cervone
52ed4f8026 Add autoload-all extension to predefine macros to autoload the extensions that define them (so MathJax will be able to access all the macros it knows about); update color extension so that it works with this extension better 2012-02-22 11:59:21 -05:00
Davide P. Cervone
cfa168e642 Allow attributes to have values enclosed in quotes 2012-02-15 11:09:39 -05:00
Davide P. Cervone
388595f4fe Make mml2jax work better with IE namespaces (IE9 no longer seems to list the xmlns entries on the html element) 2012-02-09 11:31:04 -05:00
Davide P. Cervone
db4f476301 Fix font message for SVG output 2012-02-07 18:28:02 -05:00
Davide P. Cervone
10399b42b7 Add a missing space in the font warning message (spotted by Fred) 2012-02-06 09:34:43 -05:00
Davide P. Cervone
0d2d066b37 Make \ulcorner, etc. use more approprate unicode positions, and remap those positions to the locations in the MathJax_AMS fonts. 2012-02-01 16:15:30 -05:00
Davide P. Cervone
3bd6c1d203 Move MP menu warning messages to a confiogurable array, and hide the menu unless the current renderer is NativeMML with MathPlayer 2012-01-26 16:14:20 -05:00
Davide P. Cervone
145f5b17c5 Put back missing styles for noError output in HTML-CSS output (commented out while making earlier changes). Since no longer a subclass of merror, don't adjust for merror font size. 2012-01-25 10:39:00 -05:00
Davide P. Cervone
30e35cc729 Add menu control for showing TeX hints in MathML, and make TeXAtom not show extra mrow when it contains a single element 2012-01-25 09:45:20 -05:00
Davide P. Cervone
02909ecba4 Update copyright dates and set version numbers to 2.0; repack and recombine 2012-01-25 09:23:45 -05:00
Davide P. Cervone
9936d53e2f Make font preference menu honor the imageFont setting 2012-01-24 13:07:28 -05:00
Davide P. Cervone
876be6f0fc Make showDsicoverable setting properly show/hide the Highlight-on-Hover menu item 2012-01-23 12:22:51 -05:00
Davide P. Cervone
033e6ee6d1 Add warning messages if you switch to a renderer that is not appropriate for your browser (but let you do it anyway, just in case we are wrong) 2012-01-23 10:44:57 -05:00
Davide P. Cervone
344f832e1e Better handling of MathPlayer settings. In particular, allow Alt-Click in IE8 and lower when math menu is disabled. 2012-01-23 10:06:52 -05:00
Davide P. Cervone
92f00c7f5b Add a MathPlayer menu item in IE to allow user control over what gets passed to MathPlayer (this allows users with assitive technology to control the setup to suit their needs). 2012-01-23 06:49:11 -05:00
Davide P. Cervone
b02429e1ad Have MathJax.js set up MathPlayer if it can (since delaying that is what causes crashes). Also make preview be hidden to prevent screen readers from seeing them once the math is typeset. 2012-01-22 17:40:46 -05:00
Davide P. Cervone
b0fd920efb Fix a timing problem with mobile devices when combined configurations are used 2012-01-19 20:56:10 -05:00
Davide P. Cervone
afb4257a83 Add WOFF fonts and use them in browsers that support them; fix error in font reporting in About box 2012-01-19 10:18:52 -05:00
Davide P. Cervone
630febd0e8 Normalize name of preview filter function to filterPreview for all preprocessors. 2012-01-18 11:47:42 -05:00
Davide P. Cervone
5422dda7a1 Merge branch 'AsciiMath' into v2.0-candidate 2012-01-18 11:45:34 -05:00
Davide P. Cervone
5f74ca0380 Allow start and stop delimiters to be different, and add configuration blocks for AsciiMath and asciimath2jax to the default.js configuration 2012-01-18 11:45:14 -05:00
Davide P. Cervone
f4eecb684e Allow element ID's to use \label name rather than equation number (optionally). Requested in issue #71. 2012-01-18 11:17:47 -05:00
Davide P. Cervone
935585bec7 New ASCIIMath input jax based on David Lippman's contributed versions 2012-01-17 10:36:13 -05:00
Davide P. Cervone
af2cd3476f Update \unicode to work with SVG, and to better handle fonts and sizes. Also fix HTML-CSS font size when fontfamily is specified 2012-01-12 17:20:21 -05:00
Davide P. Cervone
52755c4c3d Merge SVG branch into v2.0-candidate (no need to continue to keep them separated) 2012-01-12 07:39:53 -05:00
Davide P. Cervone
f833905396 Fix typo in previous change 2012-01-11 18:25:53 -05:00
Davide P. Cervone
88e3ce4680 When MathML with MJX classes come from TeX extensions, load the required extension so that the fonts will be properly set up 2012-01-11 17:53:05 -05:00
Davide P. Cervone
c679563c09 Move copyAttributes and skipAttributes to element jax (since they are used in several places) to avoid redundency 2012-01-11 14:22:24 -05:00
Davide P. Cervone
756ef39804 Make MathML input read the MathJax classes to recreate the TeXAtoms and other tex-specific items 2012-01-10 19:39:08 -05:00
Davide P. Cervone
36ef5c9e34 Add class to mark TeXAtom elements and make sure other attributes are applied (they were being left off) 2012-01-10 16:30:57 -05:00
Davide P. Cervone
cfacc26c31 Use classes to distinguish mathvariants that aren't in MathML, and set FF CSS to handle them. Use classes for variantForm and cancel arrows. (Still need to have MathML input handle these classes on input) 2012-01-10 15:32:06 -05:00
Davide P. Cervone
a013dd823f Save user-provided attributes in a separate object (to avoid collision with internal values); change property names in toMathML to have a prefix; allow known attributes in \mmlToken macro; only remove mlabeledtr in FF8 and before. 2012-01-10 14:10:48 -05:00
Davide P. Cervone
37a462c801 Force message text color to be black (for FontWarnings and config warning) 2012-01-10 10:59:52 -05:00
Davide P. Cervone
d199d509ef Allow noUndefined to be disabled, and fix some indenting in noErrors 2012-01-09 18:41:02 -05:00
Davide P. Cervone
c1ee953b4e Add ability to disable noErrors, and change the styling to not use .merror so that when disabled, the styles won't be changed 2012-01-09 18:36:35 -05:00
Davide P. Cervone
ea30a341e9 Add noErrors support to SVG output (and reorganize the other output support) 2012-01-09 18:07:52 -05:00
Davide P. Cervone
d63d99409b Make AMSsymbols set up variant-form remappings for SVG output 2012-01-09 16:30:37 -05:00
Davide P. Cervone
b622ba17ec Have boldsymbol signal it is ready as soon as the TeX part is ready (since we don't know which output jax is in use, so shouldn't wait for that) 2012-01-09 16:23:26 -05:00
Davide P. Cervone
b591c4ef31 Make \boldsymbol add caligraphic bold to SVG output (as it does for HTML-CSS). 2012-01-09 16:19:47 -05:00
Davide P. Cervone
1eb58f429e Merge branch v2.0-candidate with SVG 2012-01-09 15:13:40 -05:00
Davide P. Cervone
522b743b56 Add option to make tex2jax require balanced braces when looking for close delimiters (more compatible with actual TeX). The option can be set to false to get the pre-v2.0 behavior. 2012-01-09 11:22:58 -05:00
Davide P. Cervone
3131d09d06 Allow \newcommand to take a default parameter, and adjust GetBrackets to distinguish between no brackets and empty brackets 2012-01-07 18:55:52 -05:00
Davide P. Cervone
51a65e5b52 Add HTML-CSS extension to handle tagged equations better when there are floating elements (without this, they overlap the floats). This is an extension since it misuses display:table-cell, and I'm not certain of all the consequences. 2012-01-07 10:24:26 -05:00
Davide P. Cervone
92f80f4e23 Add IndexOf() command to find index of an item in the menu list (so it is easier to insert new items) 2012-01-06 20:00:15 -05:00
Davide P. Cervone
51c0a95f46 Add menu signals for post/unpost and activation of menu items 2012-01-06 19:52:02 -05:00
Davide P. Cervone
b438a84b1c Add zoom/unzoom messages 2012-01-06 17:47:44 -05:00
Davide P. Cervone
77c8a54da6 Add more signals for error conditions (so error reporting software can track it easier) 2012-01-06 17:09:37 -05:00
Davide P. Cervone
b70caaf465 Allow dot delimiters for \genfrac (they incorrectly produced errors) 2011-12-27 15:02:27 -05:00
Davide P. Cervone
69a14287b1 Merge changes from v2.0-candidate and fix problem with U+21A0 in SVG (character was wrongly indicated in previous commit message) 2011-12-17 10:51:15 -05:00
Davide P. Cervone
d215f20a42 Fix menu background problem in IE8+ and remove extra comma giving IE7 and IE6 problems. 2011-12-15 21:05:15 -05:00
Davide P. Cervone
dbab4d4101 Merge branch v2.0-candidate into SVG 2011-12-15 17:47:57 -05:00
Davide P. Cervone
9eaa73a0ac Fix incorrect case for FALSE routine 2011-12-15 17:44:13 -05:00
Davide P. Cervone
d044f4c8f4 Merge v2.0-candidate into SVG 2011-12-07 14:07:47 -05:00
Davide P. Cervone
091551dab1 Removed debugging code accidentally left in 2011-11-20 23:05:27 -05:00
Davide P. Cervone
6a09817aa3 Prevent default action when close image is pressed in the contextual menu for mobile devices 2011-11-20 23:04:17 -05:00
Davide P. Cervone
7f5180a87e Properly handle hover changes when going from one expression to another when there is no intervening space (both elements are marked isMathJax, but for different expressions) 2011-11-20 21:52:49 -05:00
Davide P. Cervone
91543560a9 Merge branch 'v2.0-candidate' into SVG 2011-11-20 17:35:31 -05:00
Davide P. Cervone
c223b6bc8c Make \it use MathJax_Main-Italic rather than MathJax_Math-italic, and don't do math italic correction (so spacing is correct for text) 2011-11-20 17:31:10 -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
987d3a4118 Do menu close img in an iBooks compatible way 2011-11-05 23:29:19 -04:00
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