Commit Graph

335 Commits

Author SHA1 Message Date
Frédéric Wang
ef596f650d Decrease the priority of the mml2jax preprocessors, so that the ASCIIMath/TeX/jsMath annotations inside MathML are not parsed. Fix issue #484. 2013-08-07 13:34:07 +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
Frédéric Wang
96f16e1868 Address review comments for issue #481. 2013-05-31 09:14:47 +02:00
Frédéric Wang
cc34c39def Replace nonstandard MJX-arrow class by an "updiagonalarrow" menclose notation. Fix issue #481. 2013-05-30 12:17:19 +02:00
Davide P. Cervone
4e01303dee Rename mfenced() to fenced() since the mrow is not really equivalent (the mo's are forced to have stretchy=true). Resolves Fred's concerns for issue #475 for now. 2013-05-22 14:03:38 -04:00
Davide P. Cervone
f2183fead5 Add missing filtering for MathML href, src, and altimg attributes. Resolves issue #465. 2013-05-15 11:41:13 -04:00
Davide P. Cervone
6dad7d5a9e Merge branch 'safe-patch' into v2.2-beta 2013-05-14 14:54:38 -04:00
Davide P. Cervone
154f1cdfbc Add copyright notice for David Carlisle to content-mathml 2013-05-14 06:01:30 -04: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
4af4346a49 Strengthen class and ID patterns so no extra classes are included. Use a ninimum size multiplier as well. 2013-05-13 05:40:24 -04:00
Davide P. Cervone
d36d551496 Add filtering of scriptlevel, scriptsizemultiplier, and scriptminsize (as per Fred's examples). 2013-05-12 06:38:19 -04:00
Davide P. Cervone
084385b640 Update Safe.js to filter mathsize and not throw error for \mmlToken attributes that are filtered. 2013-05-11 17:02:59 -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
531d5ee662 Remove extra comma in Safe.js (for IE) 2013-05-03 14:18:38 -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
54e19a8313 Fix computation of border size in IE/Quirks mode. 2013-05-03 10:22:23 -04:00
Davide P. Cervone
e724a2559c I have made the style change and noInheritAttribute change requested in pull #433. 2013-05-01 15:42:46 -04:00
Davide P. Cervone
6e9199efa1 Add formatting headers to all hand-edited files. 2013-05-01 14:49:11 -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
7db3195c0b Merge branch 'issue373' into develop
Resolves issue #373.
2013-05-01 09:05:19 -04:00
Davide P. Cervone
609d6ca8fc Fix mathchoice Core() (should go to selected element, not selected element's Core()) 2013-04-30 14:20:45 -04:00
Davide P. Cervone
2644cbb0d1 Fix patterns so that if preRemoveClass is empty, the patterns are still OK. Fixes issues found by Fred in testing. 2013-04-30 13:47:43 -04:00
Davide P. Cervone
6b43f76e6b Avoid infinite loops in \mathchoice Get() calls. Resolves problems reported in issue #373. 2013-04-30 10:34:42 -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
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