Commit Graph

312 Commits

Author SHA1 Message Date
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
6ee0711d1d Remove MathJax_MenuTitle CSS, since titles have been removed. 2013-04-29 19:59:04 -04:00
Davide P. Cervone
e0dd867713 Merge branch 'safe-mode' into develop
Conflicts:
	unpacked/extensions/TeX/bbox.js
2013-04-29 19:55:33 -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
cb3542b296 Use a service routine in MathML input to filter attributes (rather than override AddAttributes). Also, make fontsize default allow all (authors can restrict if they want to). 2013-04-29 16:54:53 -04:00
Davide P. Cervone
36b7fd9d57 Merge branch 'issue446' into develop
Resolves issue #446.
2013-04-29 16:14:13 -04:00
Davide P. Cervone
596a7cea98 Merge branch 'issue445' into develop
Resolves issue #445.
2013-04-29 16:06:03 -04:00
Davide P. Cervone
0891402b88 Merge branch 'issue359' into develop. Improves MathML rendering for mfenced and mlabeldtr elements. 2013-04-29 15:57:29 -04:00
Davide P. Cervone
63c8bd4d83 Merge branch 'issue435' into develop 2013-04-29 14:10:40 -04:00
Davide P. Cervone
faa6de0a81 Make sure we don't bubble up past the body element. 2013-04-29 14:10:15 -04:00
Davide P. Cervone
d8c06eb293 Make MathML fontsize only be allowed if fontsize is 'all' 2013-04-27 07:44:45 -04:00
Davide P. Cervone
4c9c6da10c Add a Safe extension that allows you to restrict potentially dangerous features of MathJax when it is used in a shared environment (e.g., href to javascript, styles and classes, etc.) 2013-04-27 07:34:41 -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
9178a9af0e Properly handle preview of 'none' in all preprocessors, and preview of 'alttext' in mml2jax. See note on commit d2bbe75. 2013-04-26 13:29:35 -04:00
Davide P. Cervone
9d7ff33bd2 Use a single routine to construct the mrow that replaces mfenced. Fix up some uses of var (not using it twice for the same variable in a function). Fix up some spacing and comments. Don't use .trim(). Use firstChild rather than firstElementChild (not supported by all browsers), etc. 2013-04-26 07:01:28 -04:00
Davide P. Cervone
e253967b72 Fix comment in content-mathml.js 2013-04-24 15:25:28 -04:00
Davide P. Cervone
607b1031a3 Merge remote-tracking branch 'fred/content-mathml' into develop
Add Content MathML support.
2013-04-24 15:20:17 -04:00
Davide P. Cervone
2d33f1d348 Call MATML.Parse.prototype directly rather than make a special flag for preprocessing. Use MATHML variable rather than full reference. 2013-04-22 15:44:58 -04:00
Davide P. Cervone
7214be5ff1 Add HelpDialog to the list of domains for the three languages, and make sure that the domain file is loaded (even if the language is changed after the help dialog has been viewed in another language). 2013-04-22 13:27:39 -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
e239cbc6fe Allow spaces in the RGB, rgb, and greyscale color specifications. resolves issue #446. 2013-04-22 09:19:32 -04:00
Davide P. Cervone
f04a2e3037 Change URL for MathJax font download to point ot GitHub. 2013-04-20 16:35:52 -04:00
Davide P. Cervone
d9505f9a1d Remove v1.0-warning. Resolves issue #445. 2013-04-20 16:21:58 -04:00
Davide P. Cervone
796c6b484d Merge branch 'issue435' into develop
Resolves issue #435.
2013-04-19 09:28:46 -04:00
Davide P. Cervone
6e2b8066db Merge branch 'issue378' into develop
Resolves issue #378.
2013-04-19 09:22:03 -04:00
Davide P. Cervone
19a10031a9 Merge branch 'issue381' into develop
Resolves issue #381.
2013-04-19 09:13:15 -04:00
Davide P. Cervone
38123ba33d Add the MathJax_Preview class to the ignoreClass list so that tex2jax and asciimath2jax won't process previews accidentally. Resolves part of issue#378. 2013-04-16 20:37:27 -04:00
Davide P. Cervone
841596821a Preserve spaces within \verb arguments. Resolves issue #381. 2013-04-16 19:48:11 -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
81eaac00e8 Handle zooming whenit is inside a scrollable element when it is not the main body element. Resolves issue #435. 2013-04-16 16:10:28 -04:00
Davide P. Cervone
838cb730cf Make \smallfrown and \smallsmile come from the variant font so it has the correct size. Resolves issue #436. 2013-04-16 13:11:32 -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
173c501eae Fixed localization issues pointed out by fred (this creates some new messages that need to be translated). 2013-04-10 10:16:14 -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
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
Davide P. Cervone
98755b96f3 Fix version number in autoload-all. Issue #420 2013-03-23 10:12:08 -04:00
Davide P. Cervone
d724248878 Add AMS CD environment. Resolves issue #420. 2013-03-23 10:10:01 -04:00
Frédéric Wang
95c01baaa1 Fix Core and CoreMO functions for TeXmathchoice. 2013-03-20 16:03:26 +01:00
Frédéric Wang
842dc53c36 Try to implement the XSLT transform for IE>=9. 2013-03-06 12:09:07 +01:00
Frédéric Wang
276b7751dc Implement the XSLT for IE <= 8. 2013-03-05 15:15:45 +01:00
Frédéric Wang
ca718359cc Handle parsing of the <math> source better. 2013-03-05 12:30:48 +01:00
Frédéric Wang
0928aac88e Experimental content-mathml extension. 2013-02-28 11:56:27 +01:00