Commit Graph

1259 Commits

Author SHA1 Message Date
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
74c270f3c9 ... and now fix the issue myself. #650 2013-11-08 09:47:43 +01:00
Frédéric Wang
767225cd3e Revert third-party fix for lack of CLA #650 2013-11-08 09:42:57 +01:00
Frédéric Wang
a2ca632cac Merge pull request #662 from fred-wang/issue611
Issue611
2013-11-07 08:53:35 -08:00
Frédéric Wang
2fe803cfb1 Regenerate the font data (no longer in sync with the font files!) #611 2013-11-07 16:18:09 +01:00
Frédéric Wang
d1822362f2 Merge pull request #660 from fred-wang/issue656
MathMenu: fix typo in STIXLocal key, add strings for the new Web fonts. ...
2013-11-07 05:52:38 -08:00
Frédéric Wang
53b1201b54 Merge pull request #659 from fred-wang/issue636
MathJax.isPacked and MathJax.AuthorConfig mixup. #636
2013-11-07 05:51:18 -08:00
Frédéric Wang
0b753f67ad MathMenu: fix typo in STIXLocal key, add strings for the new Web fonts. #656 2013-11-05 16:10:04 +01:00
Chen-Pang He
937434c77d Center display math in XHTML (#650) 2013-11-05 21:39:23 +08:00
Frédéric Wang
6cd37d02f9 Merge pull request #652 from fred-wang/issue530
Localisation updates from http://translatewiki.net. #530
2013-11-05 00:46:54 -08:00
Frédéric Wang
2b903c4310 Localisation updates from http://translatewiki.net. #530 2013-11-05 09:45:44 +01:00
Davide P. Cervone
0312b8ffa9 Merge pull request #645 from fred-wang/issue639
Add the matchFontHeight options to unpacked/config/default.js #639
2013-10-30 10:04:09 -07:00
Davide P. Cervone
1f013d76b3 Merge pull request #644 from dpvc/issue523
Resolves issue #523
2013-10-30 10:03:01 -07:00
Frédéric Wang
7364fffae2 Add caligraphic-bold and tex-oldstylebold. #612, #611 2013-10-30 16:16:32 +01:00
Frédéric Wang
3e36fd81d0 Add the matchFontHeight options to unpacked/config/default.js #639 2013-10-30 15:22:50 +01:00
Frédéric Wang
6448c0ce91 Merge pull request #643 from fred-wang/issue530
Localisation updates from http://translatewiki.net. #530
2013-10-30 07:09:07 -07:00
Frédéric Wang
139b799dbf Localisation updates from http://translatewiki.net. #530 2013-10-30 15:07:15 +01:00
Frédéric Wang
b3867893b2 Adding remap to latin modern and gyre fonts. #611 2013-10-30 12:57:07 +01:00
Frédéric Wang
e3a431826c Add some remap for Euler fonts. #611 2013-10-30 11:14:10 +01:00
Davide P. Cervone
08ec41cd86 More checks to make sure nesting level doesn't go below zero. Issue #523. 2013-10-28 18:45:21 -04:00
Davide P. Cervone
cd0b88e524 Don't let nesting count go below zero. Resolves issue #523. 2013-10-28 18:30:59 -04:00
Frédéric Wang
62afeb2ad5 Update fontdata to improve the list of stretchy operators. #611 2013-10-23 17:18:04 +02:00
Frédéric Wang
133df1675c Fix many issues with Asana Font. #611 2013-10-23 12:59:04 +02: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
1ca86fbc6b Remove extra comma. #627 2013-10-22 10:11:58 +02:00
Frédéric Wang
90749a7afe Fix WARNINGs generated by the MathJax packer. #534 2013-10-21 14:30:16 +02:00
Frédéric Wang
b73eafd431 Bump version numbers. #534 2013-10-21 13:58:46 +02:00
Frédéric Wang
28afef1a95 mglyph messages: pass the def to the MML.Error function. #627 2013-10-21 12:38:26 +02:00
Frédéric Wang
5828d63598 Merge branch 'master' into bidi 2013-10-21 11:15:58 +02:00
Frédéric Wang
4400d42d57 Merge pull request #633 from fred-wang/issue530
Localisation updates from http://translatewiki.net. #530
2013-10-21 01:21:31 -07:00
Frédéric Wang
72aa13ee89 Localisation updates from http://translatewiki.net. #530 2013-10-21 10:18:56 +02:00
Frédéric Wang
3fee31b7e4 Address review comments #627 2013-10-21 10:04:39 +02:00
Davide P. Cervone
068b907cd5 Merge pull request #630 from fred-wang/issue612
First step in Issue #612 (Move TeX/STIX font data from boldsymbol extension)
2013-10-19 07:22:48 -07:00
Frédéric Wang
6f3051e989 follow-up 2013-10-19 16:13:06 +02:00
Frédéric Wang
c1e33446f2 Address review comments. #612 2013-10-19 15:44:42 +02:00
Frédéric Wang
f76182da27 Merge branch 'master' into bidi 2013-10-18 15:05:50 +02:00
Frédéric Wang
dc1364ec25 Merge pull request #629 from fred-wang/issue530
Issue530
2013-10-18 06:04:31 -07:00
Frédéric Wang
461f9b4614 Update Farsi localization. #530 2013-10-18 15:01:40 +02:00
Frédéric Wang
a2046c05a3 Restore the direction=ltr on the MathJax containers. #627 2013-10-18 14:36:14 +02:00
Frédéric Wang
d2fed27a29 Move FONTDATA from boldsymbol.js to jax/output for STIX and TeX fonts. #612 2013-10-18 14:13:58 +02:00
Frédéric Wang
fdc34e3d88 SVG output: Consider dir=rtl for <mtext> elements that are rendered with an SVG <text> element. #474, #/610, #627 2013-10-18 11:32:28 +02:00
Frédéric Wang
aa8d543a45 follow-up: add directionality on remaining MathML error messages #627 2013-10-18 10:40:38 +02:00
Frédéric Wang
932b7e8f7c Experimental Bidi branch. #474, #/610, #627 2013-10-18 10:04:47 +02:00
Frédéric Wang
0835eadf81 Try to semi-automatically add direction marker in Farsi strings. #601, #530 2013-10-17 17:40:50 +02:00
Frédéric Wang
95fd93abb0 Remove extra comma and useless newline in fontdata.js #621 2013-10-17 16:42:16 +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
88c26b359e Merge pull request #609 from fred-wang/preview
Preview
2013-10-15 08:35:52 -07:00
Frédéric Wang
36895de74c Merge pull request #608 from fred-wang/issue590
Make MathZoom check the new DoubleClick value. #590
2013-10-15 08:18:51 -07:00
Davide P. Cervone
26fa6590d7 Merge pull request #607 from fred-wang/issue602
Neo-Euler: don't remap to italic/bold-italic Plane 1 characters (Issue #602).
2013-10-15 07:50:35 -07:00
Frédéric Wang
f816446142 Make MathZoom check the new DoubleClick value. #590 2013-10-14 15:02:17 +02:00
Frédéric Wang
c60fdb4149 Neo-Euler: don't remap to italic/bold-italic Plane 1 characters since they are not available in the font. #602 2013-10-11 11:08:01 +02:00
Frédéric Wang
ba0fd27250 Merge pull request #606 from dpvc/issue604
Make sure TeXmathchoice saves the SVG data for its core.  Resolves issue...
2013-10-11 01:15:44 -07:00
Frédéric Wang
a9d812398b Address review comments. #557 2013-10-10 15:18:55 +02:00
Frédéric Wang
aad3a6edc2 Try to fix test failures #557. 2013-10-10 12:50:30 +02:00
Davide P. Cervone
a632d331b1 Make sure TeXmathchoice saves the SVG data for its core. Resolves issue #604. 2013-10-09 21:47:36 -04:00
Davide P. Cervone
412d3669d1 Merge pull request #599 from fred-wang/issue489
New branch for issue #489 ; regenerate the data.

There are still some issues to be resolved, but this will let the testing proceed as we work on some of the details.
2013-10-08 09:22:44 -07: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
Frédéric Wang
1ad11f6e89 New branch for issue #489 ; regenerate the data. 2013-10-08 11:43:30 +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
8599abbc4c Mark the postTranslate call that does chunk updates as a partial one 2013-10-07 07:30:57 -04:00
Davide P. Cervone
81ed447228 Add the MatchWebFonts.js extension file 2013-10-07 06:52:19 -04: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
Davide P. Cervone
c05ab62ecc Add config option for matching font heights in NativeMML and HTML-CSS output (can't do it for SVG, since we aren't using native fonts) 2013-09-29 08:51:49 -04:00
Frédéric Wang
61129829f3 Import new languages from TranslateWiki. #530 2013-09-26 10:05:57 +02:00
Davide P. Cervone
bbf543a840 Add some comments, and clear the list of DOM elements once we are done with it. 2013-09-23 21:19:04 -04:00
Davide P. Cervone
ed932ec458 Properly handle the width of math and mtd elements by explicitly setting the width from the child mrow (works around FF bug that gets these widths wrong). Resolves issue #558. 2013-09-23 20:56:25 -04:00
Frédéric Wang
4ec3192904 Merge pull request #577 from fred-wang/issue557
Issue557
2013-09-17 11:25:54 -07:00
Frédéric Wang
badfa0b235 Merge pull request #574 from fred-wang/issue555
Issue555
2013-09-17 11:23:02 -07:00
Frédéric Wang
43d648b21d MathJax fonts: map capital fraktur I to the correct position. #555 2013-09-17 16:08:11 +02:00
Frédéric Wang
6e442e36bd Fix regression with HTML snippet preview. #557 2013-09-17 14:19:59 +02:00
Frédéric Wang
3922f0c07c Disallow mathml preview on IE < 9. #557 2013-09-11 12:16:50 +02:00
Davide P. Cervone
4d23091ff0 Merge pull request #565 from fred-wang/issue562
Fix Javascript error in MathEvent.js. #562
2013-09-10 06:23:47 -07:00
Frédéric Wang
e3914df187 Set the default mml2jax preview to "mathml". #557 2013-09-09 14:57:54 +02:00
Frédéric Wang
8c3c3f66b6 Fix Javascript error in MathEvent.js. #562 2013-09-09 09:58:18 +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
850f736aa7 Add preview=mathml,altimg to the mml2jax preprocessor. #557 2013-08-30 11:27:12 +02:00
Davide P. Cervone
86a908bda8 Merge pull request #552 from fred-wang/issue489-svg
Issue #489 svg.

Thanks!  I hadn't gotten to it yet.
2013-08-27 02:16:19 -07:00
Frédéric Wang
492738cb70 Fix placement issues with largeop and munderover. #489 2013-08-27 10:05:07 +02:00
Frédéric Wang
993fa899f6 Skip annotation and annotation-xml elements so that they won't be processed by the TeX/AsciiMath input (even when the MathML input is disabled). #484 2013-08-27 09:46:56 +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
bc64d36647 Merge pull request #541 from fred-wang/issue484-bis
Resolves issue #484 and #506 (duplicate)
2013-08-08 04:50:21 -07:00
Davide P. Cervone
c5f8c34b6a Merge pull request #540 from fred-wang/issue529
Resolves issue #492
2013-08-08 04:46:33 -07: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
f42ac43cd4 Fix more localization errors and update the test/localization.html accordingly ; Also force all menu items to display in the test. #529 2013-08-08 10:32:51 +02:00
Frédéric Wang
7fef0a4212 Fix typo in previous commit. 2013-08-07 14:18:41 +02:00
Frédéric Wang
17508905a7 Fix issues reported by Davide. #357 2013-08-07 14:14:31 +02:00
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
932ac5b242 Remove the space for the key of "Content MathML". 2013-08-05 18:20:58 +02:00
Frédéric Wang
1cf685a3a2 Merge branch 'develop' of github.com:mathjax/MathJax into issue357 2013-08-05 17:33:55 +02:00
Frédéric Wang
3653fcccaf Address Review comments. 2013-08-05 17:32:08 +02:00
Davide P. Cervone
f1be0de1d6 Merge pull request #533 from fred-wang/issue504-bis
Resolves issue #504
2013-08-02 08:58:02 -07:00
Frédéric Wang
45f2a7514e Address review comments. 2013-08-02 17:43:15 +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
11959f25ab Regenerate localization data from MathJax-i18n. First round of issue #530. 2013-08-02 15:51:24 +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
4263db98d3 Merge pull request #527 from fred-wang/issue482
This resolves issue #482.
2013-08-02 04:05:13 -07:00
Davide P. Cervone
1326cbdf44 Merge pull request #528 from fred-wang/issue481
This resolves issue #481
2013-08-02 04:03:43 -07:00
Frédéric Wang
108cda6097 Address second review. 2013-08-02 10:15:13 +02:00
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