Commit Graph

1059 Commits

Author SHA1 Message Date
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
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
b4dc4d1616 Add Greek Delta to SVG fonts 2013-05-01 15:24:53 -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
4f40c0eed6 Fix some crashes when elements are missing their children. 2013-05-01 13:21:10 -04:00
Davide P. Cervone
6f679216e2 Mark error output as isMathJax 2013-05-01 13:20:37 -04:00
Davide P. Cervone
5ef1e1efc6 Leave number() routine as an example only 2013-05-01 13:19:58 -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
5fb89ab1bc Remove extra comma that is confusing IE. 2013-04-30 18:37:14 -04:00
Davide P. Cervone
7968896c8b Fix width problem with zoom box in Firefox. 2013-04-30 16:12:10 -04:00
Davide P. Cervone
ee49484a3f Fix typo in comments 2013-04-30 16:11:54 -04:00
Davide P. Cervone
9394d32571 Handle empty child nodes better. 2013-04-30 15:24:59 -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
cab603f40f Add localization for Output Jax source menu (missed it during the merge) 2013-04-30 13:46:58 -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
f6d716b444 Add error message for when an evironment closes with unbalanced braces. Resolves issue #454. 2013-04-30 08:49:25 -04:00
Davide P. Cervone
23edb8c49b Fix undefined variable (due to a name change; missed one). Resolves issue #428. 2013-04-30 08:17:16 -04:00
Davide P. Cervone
167d7ab328 Remove b8561b0 accidentaly pasted into the NativeMML/jax.js file 2013-04-30 08:12:01 -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
a843a9494a Fix missing colon in styles 2013-04-29 19:31:56 -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
4f28b81b08 Merge branch 'issue428' into develop
Resolves issue #428.
2013-04-29 16:28:33 -04:00
Davide P. Cervone
8437d9d404 Merge branch 'issue444' into develop
Resolves issue #444.
2013-04-29 16:25:20 -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
9b485668e1 Test value for boolean using toLowerCase() 2013-04-29 16:13:04 -04:00
Davide P. Cervone
05c93de747 Merge branch 'issue451' into develop
Resolves issue #451.
2013-04-29 16:10:54 -04:00
Davide P. Cervone
d09d4d7067 Merge branch 'issue449' into develop
Resolves issue #449.
2013-04-29 16:09:07 -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
62236bb26f Merge branch 'issue364' into develop
Resolves issue #364.
2013-04-29 16:04:18 -04:00
Davide P. Cervone
5c8919bc3c Merge branch 'issue443' into develop
Resolves issue #443.
2013-04-29 16:01:33 -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
de15c6c514 Fixes to make zoom work properly with expressions that have full width (e.g., tagged equations). 2013-04-29 14:06:48 -04:00
Davide P. Cervone
d6b6aa8111 Add min-width to displayed equations with labels so that they cause their containers to have non-zero width (like when they are in a table cell). Resolves issue #428. 2013-04-29 10:48:45 -04:00
Davide P. Cervone
9752fd6e11 Add HTMLCSS.parentNode() that returns a span's parentNode, skipping over <a> tags. Resolves issue #364. 2013-04-28 17:31:34 -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
9d9fc3d063 Convert true and fals attributes to booleans. Resolves issue #451. 2013-04-26 14:41:42 -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
94e92dcfff Try to isolate MathJax from CSS transitions. Resolves issue #449. 2013-04-26 07:48:52 -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
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
b0cfb7f14a Normalize formatting. Add more comments for translators. Remove v1.0-warnings (since that is being removed in v2.2). 2013-04-23 08:58:02 -04:00
Davide P. Cervone
3351b3faa0 Merge pull request #9 from fred-wang/localization
Translate HelpDialog in French ; fix a typo in the English version ; add "MathJax Help" to the HelpDialog domain.
2013-04-23 05:26:03 -07:00
Frédéric Wang
68cec1915b Translate HelpDialog in French ; fix a typo in the English version ; add "MathJax Help" to the HelpDialog domain. 2013-04-23 09:28:17 +02:00
Frédéric Wang
c3ad51d2e1 Merge branch 'issue356' into issue359
Conflicts:
	unpacked/jax/output/NativeMML/jax.js
2013-04-23 08:28:59 +02:00
pkra
3e3591ab7e EN locale: added comments for translators 2013-04-22 16:33:20 -07:00
pkra
30de539d65 DE locale: removed comments 2013-04-22 16:17:56 -07:00
pkra
8edd633609 fixed typo in DE locale menu name 2013-04-22 15:34:52 -07: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
594043e330 Use ems (rounded to nearest pixel) for Chrome. Rounding makes the placement work more reliably, while still being in relative units. Resolves issue #443. 2013-04-22 08:26:38 -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
f4cc34706a Merge branch 'issue386' into develop
Resolves issue #386.
2013-04-19 09:35:50 -04:00
Davide P. Cervone
ce8c8882ea Merge branch 'issue427' into develop
Resolves issue #427.
2013-04-19 09:31:42 -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
ea849af1ae Merge branch 'issue441' into develop
Resolves issue #441.
2013-04-19 09:27:21 -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
6e2b8066db Merge branch 'issue378' into develop
Resolves issue #378.
2013-04-19 09:22:03 -04:00
Davide P. Cervone
edd353458b Merge branch 'issue380' into develop
Resolves issue #380.
2013-04-19 09:18:33 -04:00
Davide P. Cervone
d758ebcaaa Fixed typo in comments. 2013-04-19 09:16:48 -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
9e5fbb7e6f Merge branch 'issue402' into develop
Resolves issue #402.
2013-04-19 09:11:42 -04:00
Davide P. Cervone
959ec84bc4 Merge branch 'issue349' into develop
Resolves issue #349.
2013-04-19 09:10:01 -04:00
Davide P. Cervone
3c013beba4 Merge branch 'issue374' into develop
Resolves issue #374.
2013-04-19 08:53:58 -04:00
Frédéric Wang
ba574e6c2a Escape the ô 2013-04-19 14:29:02 +02:00
Davide P. Cervone
9e65b9ce74 Move mjx-svg-href class to <a> rather than its child. Resolves issue #427. 2013-04-19 08:08:59 -04:00
Frédéric Wang
028a2dd82d Translate more French strings and escape the non-ASCII chars. 2013-04-19 14:04:31 +02:00
Davide P. Cervone
5c39699371 Make sure textSVG is attached during zooming (prevents error when math contains characters outside of the MathJax fonts). Resolves issue #441. 2013-04-18 17:11:47 -04:00
Davide P. Cervone
debc24047f Make final math size be in relative units so that it prints even if print media has a different font size. Resolves issue #386. 2013-04-17 17:21:09 -04:00
Davide P. Cervone
486cd40424 Make href class specific to SVG (in case we need to have one for other output jax) 2013-04-17 09:05:24 -04:00
Davide P. Cervone
557e93e505 Allow \color to override link color in SVG output. Resolves issue #427. 2013-04-17 09:02:33 -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
779be27960 Process \$ in \text arguements. Resolves issue #349. 2013-04-17 07:36:28 -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
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
bea2f8b755 Fix monospace space character to be the same width as the other monospace characters. Resolves issue #380. 2013-04-16 20:17:12 -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
b14224d7c4 Fix typo in IE warning message (in English and German language files as well). Resolves issue #397. 2013-04-16 19:25:53 -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
3367b54c3e Remap ` to back-quote. Resolves issue #402. 2013-04-16 19:20:21 -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
pkra
dea1a0b8a2 Merging Davide's changes to FontWarnings.js 2013-04-10 16:14:00 -07:00
pkra
cc0d1b7355 more German locale updates 2013-04-10 15:41:51 -07:00
pkra
e292b1ade2 Updated the German locale 2013-04-10 14:19:47 -07:00