Commit Graph

184 Commits

Author SHA1 Message Date
Davide P. Cervone
8c16f656ac Update math processing errors to include original format and actual error message in the Show Math As menu. Resolves issue #450. 2013-04-26 17:17:59 -04:00
Davide P. Cervone
3901529db9 Add Help dialog box (rather than link to a site). Fix Markdown to substitue values for URL's in links. 2013-04-22 13:18:58 -04:00
Davide P. Cervone
492f4cd53d Fix typo in IE warning message. Resolves issue #397. 2013-04-16 19:24:08 -04:00
Davide P. Cervone
7cd9180b0b Fix a number of message ID's and message texts. Add menuTitle to fr.js file. 2013-04-09 13:13:25 -04:00
Davide P. Cervone
eeea99922b Fix a problem with localiztion when substituted value is 0. Make language menu choices be in the given language. Allow better localization of Jax/Extensions in About box. Only update langauge menu when a new language is actually loaded. Shorten a number of French menu items to improve menu appearance. Correct some problems with FontWarnings and v1.0-warning messages. Move language menu to initial MathJax menu rather than a submenu. Fix a problem with canceling selection of renderer not reseting the menu selection. 2013-04-08 10:02:26 -04:00
Davide P. Cervone
d6fe660948 Rerender the page after selecting a locale (so error messages will be replaces). Probably should jsut rerender those equations with error messages to avoid delays. 2013-04-07 11:58:37 -04:00
Davide P. Cervone
f23cb8a6b2 Create list of locales from the localization data, and allow data to specify menu title. Update menu when new translations are added. Allow loading of third-party translation data by URL. Fix transaltion files to use addTranslation(). 2013-04-07 11:44:58 -04:00
Davide P. Cervone
c9578c7a0b Add localization submenu, and set locale via menu. Allow locale= configuration parameter on script to load MathJax.js. Load MathMenu domain automatically (so it is ready when needed). 2013-04-06 20:04:48 -04:00
Davide P. Cervone
535c033e24 Handle HTML snippets better, and fix up messages in FontWarnings and v1.0-warning extensions. Fix French menu items and a few others (thanks Fred). Fix scale-all-math dialog. 2013-04-05 18:45:50 -04:00
Davide P. Cervone
660f38959a Make constant messages be translated when they are used rather than when they are defined. Rework About box, add menu ID's. Make TeX.Error() and MathML.Error() handle localization. Break up Fred's French data into separate files. Make localization data load on demand. Other miscellaneous updates. 2013-04-03 17:24:14 -04:00
Frédéric Wang
dd019796b0 More translations... 2013-02-25 16:09:17 +01:00
Frédéric Wang
ca2f87ad7c Trying to translate more dialogs ; Implement localization of numbers ; Handle arg substitution for arrays. 2013-02-20 15:42:12 +01:00
Frédéric Wang
4ced117e05 Initial implementation of MathJax.Localization. Some experiments with French localization. 2013-02-19 19:40:52 +01:00
Davide P. Cervone
aa5829849f Update version numbers to v2.1 2012-09-24 21:06:28 -04:00
Davide P. Cervone
173911d606 Make About box show 'woff or otf' when otf fonts are used (since both are requested). 2012-09-24 20:46:43 -04:00
Davide P. Cervone
23c8dcc8d3 Delay sizing and positioning of Show Source window to give WebKit time to get the dimensions worked out. Also make sure we don't use negative width or height (which I think was the problem with Chrome). Resolves issues #245 and #221. 2012-09-08 14:27:03 -04:00
Davide P. Cervone
bf680988b9 Merge branch 'develop' into IE10 2012-09-04 09:33:06 -04:00
Davide P. Cervone
c481c9f375 Allow decimal scale values. Fix setting of scale to work with SVG. Resolves issue #286. 2012-08-17 18:40:17 -04:00
Davide P. Cervone
c5de4397a4 Merge 'issue209' into develop 2012-08-15 15:52: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
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
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
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
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
db4f476301 Fix font message for SVG output 2012-02-07 18:28:02 -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
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
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
1eb58f429e Merge branch v2.0-candidate with SVG 2012-01-09 15:13:40 -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
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
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
88355ecc74 Add showDiscoverable configuration to control the discoverability checkbox 2011-11-16 12:58:48 -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
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
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
331b9ee6f1 Fix problem where selecting the renderer menu failed to rerender the mathematics 2011-09-18 17:06:26 -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
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
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
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
9769ba0d64 Rename UIevents as MathEvents 2011-08-24 10:31:21 -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
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
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
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
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
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
91fca00e4f Fixed typo in about box (Fred reported in issue #47) 2011-04-04 14:04:39 -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
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
bc193eedd2 Fix indenting due to insertion of startup hooks for configuration blocks 2011-02-26 10:18:56 -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
a2f75719b2 Don't need dropshadow filter for IE9, and use proper capitalization for MathJax_MSIE_Frame 2011-02-15 08:48:46 -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
63d6c58791 Use hasOwnProperty to make sure we only test real jax (resolves issue #47) 2011-01-07 15:48:56 -05:00
Robert Miner
8644056391 moved files out of mathjax/ to top level 2010-11-13 12:38:42 -06:00