Commit Graph

270 Commits

Author SHA1 Message Date
Davide P. Cervone
4666badbe2 Merge branch 'issue693' into develop. Issue #693. 2014-08-18 10:11:48 -04:00
Davide P. Cervone
1a895e2a7c Update version numbers, repack, and recombine 2014-06-12 05:53:13 -04:00
Davide P. Cervone
6ab067a14c Switch beta.mathjax.org to cdn.mathjax.org (since https users will never get this beta MathJax.js anyway). 2014-06-01 11:37:08 -04:00
Davide P. Cervone
2e9b3c7c60 Make this rev=2.4-beta-2, and turn rackspace https into beta.mathjax.org (this will need to be changed to cdn.mathjax.org for the final release). 2014-06-01 10:41:27 -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
71f731cbbb Trap error reading cookies. Resolves issue #821. 2014-05-22 18:10:35 -04:00
Davide P. Cervone
18e0b76b17 Set cache-breaking revision number. 2014-05-13 20:34:05 -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
e1a43b6996 Updated language names. Issue #753. 2014-04-22 08:13:16 -04:00
Davide P. Cervone
6a930736aa Merge remote-tracking branch 'dpvc/issue256' into develop. Issue #256. 2014-03-20 05:47:08 -04:00
Davide P. Cervone
f220993196 Remove new Function() calls, and isolate eval() to be used only when necessary. Resolves issue #256. 2014-03-18 17:19:36 -04:00
Davide P. Cervone
94c6711d86 Add ability to specify additional root paths like [MathJax]. Resolves issue #737. 2014-03-18 13:41:48 -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
8ed9207668 Don't use MathJax_MSIE_Frame for those vesions of IE that suppor position:fixed (7 and above, as it turns out). Resolves issue #738. 2014-02-20 14:29:31 -05:00
Davide P. Cervone
d494748ded Changed regular expresion to account for new (longer) Rackspace address. Resolves issue #709. 2014-02-16 05:16:53 -05:00
Davide P. Cervone
03139aaec3 Add ability to unregister listeners for those you can register. Resolves issue #693. (For next feature release.) 2014-02-13 17:57:01 -05:00
Davide P. Cervone
08ba269ccf Fix SPLIT routine for IE8 and below (index was wrong for when there are more than one match -- argh!). Resolves issue #623. 2014-02-12 16:05:20 -05:00
Davide P. Cervone
7bf7ffef3d Merge branch 'hotfix-2.3' into develop. (This not merged into master,
but I don't want to run into merge conflicts later on with develop.)
2014-02-10 09:48:43 -05:00
Davide P. Cervone
73f58abb43 Merge branch 'issue559' into develop. Issue #559. 2014-02-07 10:04:46 -05:00
Davide P. Cervone
997692713e Remove user configuration cookie (hasn't been used in 5 years). This should be reflected in a removal of the CookieConfig item from the localization files. Issue #559. 2014-02-06 16:46:18 -05:00
Davide P. Cervone
6799f197ab Don't load menu or zoom code if showMathMenu is false. Resolves issue #685. 2014-02-06 13:27:14 -05:00
Davide P. Cervone
7a97969104 Fix a typo in comments and remove an unused variable 2014-02-06 11:02:55 -05:00
Davide P. Cervone
a57696fde5 Fix up comment. 2014-01-13 11:59:21 -05:00
Davide P. Cervone
b5454061cc Identify IE11 properly for now (more needs to be done with the browser detection code in teh future). Issue #658. 2014-01-10 14:47:00 -05:00
Davide P. Cervone
62cdfcfd34 Check for whether MathJax is already loaded before using MathJax variable for AuthorConfig. Resolves issue #671. 2013-11-18 20:01:54 -05:00
Davide P. Cervone
8700fdf098 If coming from the CDN's mathjax/latest address, move to the explicit version (avoids CDN propagation issues when a new version is released). 2013-11-16 20:22:19 -05:00
Frédéric Wang
9702afba15 Increase version numbers for 2.3 ; update languages. #534 2013-11-11 14:14:08 +01:00
Frédéric Wang
53b3160dfd MathJax.isPacked and MathJax.AuthorConfig mixup. #636 2013-10-22 15:34:05 +02:00
Frédéric Wang
b73eafd431 Bump version numbers. #534 2013-10-21 13:58:46 +02:00
Frédéric Wang
b8e8e80418 Import more non-English strings from TranslateWiki ; add the pt-br fallback for pt. #492 and #530 2013-10-17 11:52:49 +02:00
Frédéric Wang
8bfecdabd8 Import new translations from MathJax-i18n. #530 2013-10-08 14:20:24 +02:00
Frédéric Wang
97664574c1 Merge branch 'master' into issue530 2013-10-08 13:40:40 +02:00
Davide P. Cervone
ff06343dd0 Merge pull request #598 from dpvc/issue558-loop
Improve width computation for MathML elements (issue #558)
2013-10-07 12:28:47 -07:00
Davide P. Cervone
2755cbd037 Make web font loop into an extension (first draft) 2013-10-05 08:21:53 -04:00
Davide P. Cervone
37c282a983 Merge pull request #593 from dpvc/issue584
Resolve issue #584 (and also an issue with loading css files in Chrome)
2013-10-02 03:30:53 -07:00
Davide P. Cervone
c9766d4da8 Remove debugging message 2013-10-02 06:27:28 -04:00
Davide P. Cervone
c73c43e197 Remove old Chrome 5-beta test for stylesheet checking, and replace it with a check for linked stylesheets (which don't currently work -- luckily they are not used). Resolves issue #584. 2013-10-01 08:46:53 -04:00
Davide P. Cervone
a012354f38 Add support for matching web fonts in HTML-CSS. Change the names of the paramters that control it in NativeMML (so both have the same names). Add a global matchWebFonts option to control whether to do the loop to check for web fonts (off by default). Resolves more of issue #558. 2013-09-29 19:44:15 -04:00
Davide P. Cervone
c777547f97 Add a loop to check for font changes due to web fonts either in the math or the surrounding font. Resolves issue #558. 2013-09-29 16:23:42 -04:00
Frédéric Wang
61129829f3 Import new languages from TranslateWiki. #530 2013-09-26 10:05:57 +02:00
Frédéric Wang
be96d3dbfa Allow authors to use the MathJax variable to pass config as well as an AuthorInit function. Fix issue #556 2013-09-04 21:23:21 +02:00
Frédéric Wang
ed66fc5dc6 Regenerate localization data from MathJax-i18n: add Polish localization, fix some errors and update qqq. Second round of issue #530. 2013-08-08 14:08:00 +02:00
Davide P. Cervone
99d7feddca Merge pull request #539 from fred-wang/issue492
Resolves issue #492
2013-08-08 04:22:40 -07:00
Frédéric Wang
0af5c438fa Fix how the locale is set from menu config / query param. #492 2013-08-08 12:56:13 +02:00
Frédéric Wang
de34c0ec7b Implement language fallback. Fix issue #492. 2013-08-02 17:04:46 +02:00
Frédéric Wang
227aebed65 Fix some places where localization strings are wrongly used. #504 2013-08-02 14:26:55 +02:00
Davide P. Cervone
55b5803d0a Add Italian to language menu, and add a missing comma. 2013-05-26 10:09:29 -04:00
Davide P. Cervone
94e5077f73 Remove -beta fro version number (argh) 2013-05-17 05:55:36 -04:00
Davide P. Cervone
b0ac5c50a3 Add version numbers to localization data 2013-05-13 06:03:12 -04:00
Davide P. Cervone
8ce8e51e72 Use a count rather than a boolean in checking for a localization restart with the message system so that if multiple typesetting messages (or other messages that reuse their id number) are issued before the localization is loaded, we don't lose the clears. 2013-05-03 18:45:58 -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
b700cc9482 IE8 and below doesn't do split() properly, so implement it by hand for those browsers. Fixes a problem with localization substitution in IE8 and below. 2013-05-01 18:49:07 -04:00
Davide P. Cervone
99e21b3fee Add the menu title to the fake input element, in case it is ever used (only should show up in our test suite when we force an error that is unattached to an input jax. 2013-05-01 18:29:47 -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
6f679216e2 Mark error output as isMathJax 2013-05-01 13:20:37 -04:00
Davide P. Cervone
cab603f40f Add localization for Output Jax source menu (missed it during the merge) 2013-04-30 13:46:58 -04:00
Davide P. Cervone
a7ed50a474 Repack and recombine. Fix some variable scoping and other issued detected by the packer. 2013-04-29 20:14:12 -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
b8561b07bf Merge branch 'localization' into develop 2013-04-29 19:25:03 -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
bdb131a907 Fix German title in initial language list. Add missing commas and fix incorrect unicode in German HelpDialog. 2013-04-23 09:32:09 -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
d9505f9a1d Remove v1.0-warning. Resolves issue #445. 2013-04-20 16:21:58 -04:00
Davide P. Cervone
6f4cdbd68c Merge branch 'issue342' into develop
Resolves issue #342.
2013-04-19 09:24:59 -04:00
Davide P. Cervone
13759a56dd Handle script tags properly in HTML.Element() so they work in IE. Resolves issue #342. 2013-04-17 07:51:16 -04:00
Davide P. Cervone
436595a2db Trap errors while saving cookies (and go on silently). Resolves issue #374. 2013-04-16 20:44:56 -04:00
Davide P. Cervone
03f6e8537a Add Markdown processing to HTML snippet text, and convert FontWarnings to use it. 2013-04-10 16:28:18 -04:00
Davide P. Cervone
35bb35bf44 Add Germanto the language list, and fix some comma issues in the data files. 2013-04-10 10:53:55 -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
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
c4d47bb10d Add callback to loadDomain to make it easier to use 2013-04-07 10:44:29 -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
9ee925dfbb Fix up some issues with plural processing. Make loadDomain handle both loads if there are any. Fix up Math Processing Error snippets to use new snippet code. 2013-04-06 10:47:47 -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
332642c659 Fix processing errors with various table and menclose attributes. Issue #367. 2013-03-25 15:16:36 +01:00
Davide P. Cervone
c2f64e3470 Merge remote-tracking branch 'fred/sniffing' into develop
Resolves issue #377.
2013-03-20 17:04:14 -04:00
Davide P. Cervone
e9b5b59de0 Merge branch 'issue352' into develop. Resolves issue #352. 2013-03-20 13:51:57 -04:00
Frédéric Wang
f0aea1669d Use UA string sniffing for isFirefox ; check for "Mobile" to include FirefoxOS among Mobile platforms. 2013-03-08 10:37:52 +01:00
Frédéric Wang
503f997064 Finishing to find all the strings to localize 2013-02-25 18:05:33 +01:00
Frédéric Wang
dd019796b0 More translations... 2013-02-25 16:09:17 +01:00
Frédéric Wang
e1761573bf Translation of messages from jax/input/TeX/jax.js 2013-02-22 18:58:16 +01:00
Frédéric Wang
4fdb68a080 More attempts to translate messages. 2013-02-22 13:56:52 +01:00
Frédéric Wang
d71498ee25 Implement the general HTML snippets substitution (e.g do the substitution in attributes too) + some small changes. 2013-02-21 13:12:42 +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
f8d4215519 Try to find the document body in case document.body isn't set yet (this does seem to happen sometimes). 2012-11-27 14:40:22 -05:00
Davide P. Cervone
9f1f495fb7 Use hasOwnProperty() when checking file specification object (prevents problems when Object.prototype has been modified). Resolves issue #352. 2012-11-27 14:36:53 -05:00
Davide P. Cervone
bb25a0207d Don't check script src if it is null. Resolves issue #322. 2012-09-29 15:23:05 -04:00
Davide P. Cervone
e7b29726b6 Merge branch 'issue317' into develop 2012-09-29 15:06:36 -04:00
Davide P. Cervone
bc9fd85172 Removed comments that were used for testing purposes but were left in accidentally. 2012-09-25 05:24:00 -04:00
Davide P. Cervone
aa5829849f Update version numbers to v2.1 2012-09-24 21:06:28 -04:00
Davide P. Cervone
beff612f53 Use web-fonts by default for unknown browsers. Addresses issue #317. 2012-09-24 20:19:11 -04:00
Davide P. Cervone
be28147f2d Merge branch 'issue233' into develop 2012-09-11 08:46:24 -04:00
Davide P. Cervone
d9e019b790 Merge branch 'issue297' into develop 2012-09-06 11:10:50 -04:00
Davide P. Cervone
bf680988b9 Merge branch 'develop' into IE10 2012-09-04 09:33:06 -04:00
Davide P. Cervone
a30d9067fe Handle positioning to a hash URL when the link is to an element within SVG output. Resolves remainder of issue #297. 2012-09-04 08:53:20 -04:00
Davide P. Cervone
c703d5fc4e Make IE wait for readyState == complete since interactive seem to be able to be posted before the page is actually all there. Should resolve issue #133. 2012-08-19 14:29:52 -04:00
Davide P. Cervone
01113c0921 Make HTML snippet handler accept a string as contents, even if not enclosed in braces. (Resolves issue reported by Fred in test suite for Parsing/issue228.html) 2012-08-17 10:27:54 -04:00