Commit Graph

184 Commits

Author SHA1 Message Date
zorkow
39109bf88a Removes caching of MathJax nodes. 2015-08-26 13:56:30 +01:00
zorkow
1228bb89ad Introduces accessor function for cached MathJax nodes. 2015-08-26 13:38:44 +01:00
zorkow
816259d6ff Introduces accessor methods for all cached HTML nodes. 2015-08-25 13:48:00 +01:00
zorkow
e29e3c9e99 Fixes activation problem for submenu anchor. 2015-08-24 17:01:50 +01:00
zorkow
72e1e6b5b5 Fixes case of disabled submenu entry. 2015-08-21 13:09:46 +01:00
zorkow
2f83433422 Makes Attributes interface uniform. 2015-08-21 12:59:28 +01:00
zorkow
64e8419ff1 Whitespace cleanup. 2015-08-21 12:37:26 +01:00
zorkow
4c54fe224e Fixes tangling active on mouseover. 2015-08-21 12:36:44 +01:00
zorkow
66fb6c9ab4 Fixes event problem 2015-08-21 12:27:15 +01:00
zorkow
70da9faa90 Introduces abstract superclass of all keyboard navigatable objects. 2015-08-21 05:35:20 +01:00
zorkow
85c1801fba Fixes issues with submenus. 2015-08-21 04:59:31 +01:00
zorkow
1be417af3a Combined keyboard and mouse navigation works. 2015-08-21 04:34:18 +01:00
zorkow
5e88e80975 Merge branch 'abstract_menu_entry_class' into add_tabbing
Conflicts:
	unpacked/extensions/MathMenu.js
2015-08-20 14:48:50 +01:00
zorkow
2c028aee22 Incorporates review suggestions. 2015-08-18 22:51:59 +01:00
zorkow
7c68c1cb1c WIP 2015-08-18 22:01:27 +01:00
zorkow
c6b98d45cc Injects abstract class for clickable items. 2015-08-18 18:01:57 +01:00
zorkow
973edc9686 Adds level of subclassing for clickable menu items. 2015-08-17 19:50:14 +01:00
Davide P. Cervone
425c9df6e9 Move old CommonHTML to be FastHTML 2015-08-05 16:39:06 -04:00
Davide P. Cervone
82e0daf2c6 Add a hidden menu item that controls the AssistiveMML extension. 2015-07-23 17:09:43 -04:00
Davide P. Cervone
ea697f335a Make text-based close boxes appear closer to the original versions, and remove data URI for image in MathEvents. One motivatino for the change is the mobile menu close icon needs a background, which was missing in the previous version. 2015-04-09 14:58:24 -04:00
Peter Krautzberger
bbd05107a7 #1100 add cursor:pointer to MathJax_Menu_Close class 2015-03-19 21:10:16 +01:00
Peter Krautzberger
2abf1649ee 1100: code clean up 2015-03-19 21:03:31 +01:00
Peter Krautzberger
df17921e8b WIP #1088: change submenu indicators to a more common Unicode point 2015-03-17 11:32:38 +01:00
Peter Krautzberger
f739e64131 WIP for #1088: switch from PNG to \× 2015-03-17 11:20:49 +01:00
Davide P. Cervone
f5c10288dd Update copyright dates. 2015-01-29 10:21:06 -05:00
Davide P. Cervone
31fcf19d92 Update file versions to 2.5.0. Ready for release! 2015-01-28 14:49:36 -05:00
Davide P. Cervone
88a96372c0 Update version numbers for 2.5.0-beta 2014-12-30 18:27:01 -05:00
Davide P. Cervone
3f5730a59f Merge branch 'CHTML-preview' into develop 2014-12-30 17:55:48 -05:00
Davide P. Cervone
ac5206fcd9 Use Hub.Rerender() rather than Hubl.Reprocess() for scaling changes. Resolves issue #944. 2014-12-04 16:04:42 -05:00
Davide P. Cervone
d128cfbd5d Add menu item for fast preview, and check for it in the preview code. Make sure CHTML-preview.js is loaded in MathJax.js if the menu item is selected. 2014-11-02 10:03:26 -05:00
Davide P. Cervone
781689e7e4 First version of CommonHTML output jax 2014-07-28 17:42:51 -04:00
Davide P. Cervone
1a895e2a7c Update version numbers, repack, and recombine 2014-06-12 05:53:13 -04:00
Davide P. Cervone
3a8afa4dcb Add support for semantics annotations to toMathML, and use a menu item to control it. 2014-05-29 15:37:59 -04:00
Davide P. Cervone
e92f3f2718 Change copyright and version numbers 2014-05-07 17:02:28 -04:00
Davide P. Cervone
c6d73f4689 Fix several loading issues with localization files (don't add menu div until files are loaded, and properly handle empty callbacks in loadDomain). 2014-04-22 12:31:03 -04:00
Davide P. Cervone
432f5eba69 Move submenus to the left for RTL languages, and make menus open to the left as well. Resolves issue #777. 2014-04-09 17:23:03 -04:00
Davide P. Cervone
63bbb8f28c Add cache-breaking values (when needed) for all javascript, font, and image files loaded from the CDN. Cache-breaking can be controlled on a file-by-file or global basis. Resolves issue #751. 2014-03-14 10:48:13 -04:00
Davide P. Cervone
c7be71b554 Put checking for screenX into try...catch for IE8 (grr). Resolves issue #348. 2014-02-08 15:55:21 -05:00
Frédéric Wang
0b753f67ad MathMenu: fix typo in STIXLocal key, add strings for the new Web fonts. #656 2013-11-05 16:10:04 +01:00
Frédéric Wang
b73eafd431 Bump version numbers. #534 2013-10-21 13:58:46 +02:00
Frédéric Wang
1ad11f6e89 New branch for issue #489 ; regenerate the data. 2013-10-08 11:43:30 +02:00
Frédéric Wang
932ac5b242 Remove the space for the key of "Content MathML". 2013-08-05 18:20:58 +02:00
Frédéric Wang
3653fcccaf Address Review comments. 2013-08-05 17:32:08 +02:00
Frédéric Wang
bc9443b252 Expose some annotations to the Show Math As menu. Fix issue #357. 2013-06-03 17:12:11 +02:00
Davide P. Cervone
c482d7973b Hide 'Load from URL' menu for now (until we decide what to do about making it sticky) 2013-05-13 19:15:29 -04:00
Davide P. Cervone
9cad807880 More timing issues with the language menu... make sure the menu gets the initial languages, even if CreateLanguageMenu is called too soon. 2013-05-03 14:55:48 -04:00
Davide P. Cervone
2f8844a1fa Fix timing problem with languge menu when using combined configuration files 2013-05-03 14:08:44 -04:00
Davide P. Cervone
4053d7acab Set versions to 2.2 and update copyright notice 2013-05-01 14:37:39 -04:00
Davide P. Cervone
6ee0711d1d Remove MathJax_MenuTitle CSS, since titles have been removed. 2013-04-29 19:59:04 -04:00
Davide P. Cervone
53e76213b0 Merge branch 'issue450' into develop. Resolves issue #450. 2013-04-29 19:52:57 -04:00
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