Commit Graph

1102 Commits

Author SHA1 Message Date
Frédéric Wang
4ec11da1f1 Address review comments. 2013-08-02 09:58:58 +02:00
Davide P. Cervone
02261ae99f Merge remote-tracking branch 'dpvc/issue485' into develop
REsolves issue #485.
2013-07-31 15:03:47 -04:00
Frédéric Wang
30cb4b3961 Remove debug logging. Address review comment of issue #485. 2013-06-12 16:11:30 +02:00
Frédéric Wang
1cc5064462 Avoid accessing data[0] with under/over scripts and mlabeledtr too. Address review command of issue #486. 2013-06-12 16:06:56 +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
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
Frédéric Wang
d0e795705b WebKit NativeMML: only apply lspace/rspace in non-embellised mrow and set them to 0 otherwise. 2013-05-30 11:26:50 +02:00
Davide P. Cervone
2b1948f252 Force cases environment to use textstyle rather than displaystyle. Resolves issue #485. 2013-05-29 12:32:01 -04:00
Davide P. Cervone
681405debc Avoid accessing data[0] when not defined. Resolves issue #486. 2013-05-29 11:56:41 -04:00
Frédéric Wang
93065ef055 Native MathML: add workarounds for mi, mo (lspace/rspace), mmultiscripts and mspace (width) elements in WebKit. Fix issue #482. 2013-05-29 15:45:58 +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
7ee798cb17 Merge pull request #11 from nivit/master
Add Italian localization files
2013-05-26 07:03:23 -07:00
Davide P. Cervone
1065cbba06 Fixed typo (reported by Fred). 2013-05-26 06:12:37 -04:00
Nicola Vitale
8772e0d31a Use Unicode for letters with accent 2013-05-25 22:34:19 +02:00
Nicola Vitale
90d4062096 Renamed en.js to it.js 2013-05-25 22:16:15 +02:00
Nicola Vitale
f8757d29f3 Merge remote-tracking branch 'upstream/master' 2013-05-25 22:06:19 +02:00
Nicola Vitale
2bffa71e20 Translated to Italian 2013-05-25 22:04:47 +02:00
Davide P. Cervone
12bb8ef92a Merge remote-tracking branch 'dpvc/issue468' into v2.2-latest
Resolves issue #468
2013-05-22 15:08:22 -04: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
bf14e19cf9 Bump version number for previous commit. 2013-05-21 19:54:36 -04:00
Davide P. Cervone
a147a9ac32 Make sure mfenced delimiters are stretchy. Resolves issue #475. 2013-05-21 19:53:28 -04:00
Davide P. Cervone
2cbb068d9f Make stretchy characters contribute to height/depth of the proper row (was using the wrong index). Resolves issue #468. 2013-05-21 19:45:36 -04:00
Nicola Vitale
a43a4af8ae Add source files for Italian localization 2013-05-19 00:50:37 +02:00
Davide P. Cervone
94e5077f73 Remove -beta fro version number (argh) 2013-05-17 05:55:36 -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
b0ac5c50a3 Add version numbers to localization data 2013-05-13 06:03:12 -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
d3a9dbc805 Move adding the Safe extension to after the configuration is complete so that user configuration of the extensions array can't remove it. 2013-05-12 13:45:09 -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
75d5d2051c Fix Formen => Formeln in de/HelpDialog, and make plural return n in en.js 2013-05-11 18:10:25 -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
25a10d733d Correct typo in stroke-width (was stroke-thickness). Resolves issue #461. 2013-05-11 15:29:02 -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
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
e238200079 Add a Safe config file that loads the Safe extenson, so Safe can be added t othe config files when MathJax.js is loaded. 2013-05-03 11:35:11 -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
f966b736a3 Part of the fix for issue #373 caused ref-test failures. This fixes that regression. 2013-05-03 09:45:51 -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
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