Davide P. Cervone
598c1e7c07
When closing table cells, get new table pointer. Resolves issue #1013 .
2015-01-20 14:21:34 -05:00
Christian Perfect
e5f69e3ed2
fix typo in helpdialog.js
2015-01-20 16:49:16 +00:00
Davide P. Cervone
93fd3bfa64
Fix incorrect code for tab.
2015-01-16 10:06:41 -05:00
Davide P. Cervone
0df957f3c0
Don't escape \n, \r, or \t in toMathML text output. (Issue #847.)
2015-01-16 09:48:00 -05:00
Davide P. Cervone
4adc5726f6
Merge pull request #1005 from mathjax/texvc
...
Add wikipedia-texvc extension
2015-01-15 10:45:26 -05:00
Peter Krautzberger
6ff3894316
minor corrections to #1003 as discussed there
2015-01-14 22:58:20 +01:00
Davide P. Cervone
2431a90a9f
Rename variable used for displayIndent so it doesn't conflict with previous usage. Also, handle '0em' and similar values as '0'. Resolves issue #1000 .
2015-01-11 09:20:30 -05:00
physikerwelt (Moritz Schubotz)
cfe05db863
MediaWiki-texvc support
...
We add a conversion table that converts MediaWiki specific
markup to standard LaTeX. This approach is more or less
maitenance free, and relies on the existence some special
macros mostly originating from amsmath and amsfonts package.
In the future one could expand the macros with semantic annotation
like for instance that $\\mathbb{R}$ stands for the semantic
concept reals, if it was produced using the texvc macro $\\reals$.
2015-01-09 23:27:30 +01:00
Davide P. Cervone
e4265d3969
Implement toCommonHTML for \mathchoice. Resolves issue #998 .
2015-01-07 08:30:48 -05:00
Davide P. Cervone
cce02ddfde
Don't produce doube exponent/subscript errors for UnderOver constructs like \underline and \overbrace. Resolves issue reported on StackExchange.
2015-01-06 17:47:48 -05:00
Davide P. Cervone
d6b6b2e249
Fix indenting of toMathML output.
2015-01-05 11:04:55 -05:00
Davide P. Cervone
9fd243d9bd
Make NativeMML attributes work the same as toMathML ones (makes sure href/style/etc are passed on properly).
2015-01-05 10:57:07 -05:00
Davide P. Cervone
9d153e3a11
Make sure that tagged equations get mtables with the correct displaystyle (now that displaystyle is no longer inherited, see issue #839.)
2014-12-31 10:10:50 -05:00
Davide P. Cervone
4b6a2f4ec3
Add priority 100 to label reset so that it comes after other post-filters (in particular, the CTHML-preview, which can load files). Resolves second issue in #970 .
2014-12-31 08:07:38 -05:00
Davide P. Cervone
88a96372c0
Update version numbers for 2.5.0-beta
2014-12-30 18:27:01 -05:00
Davide P. Cervone
034041e6d3
Adjust times so that the second pass doesn't take so long (we may need to tweak these further).
2014-12-30 18:20:20 -05:00
Davide P. Cervone
3f5730a59f
Merge branch 'CHTML-preview' into develop
2014-12-30 17:55:48 -05:00
Davide P. Cervone
0305716511
Allow configuration to disable CHTML-preivew, but still allow menu to override. Make loading of this page enable preview by default. Fix handling of preview color. Fix restart when CommonHTML config is loaded but jax.js isn't.
2014-12-30 17:53:20 -05:00
Davide P. Cervone
ba23831ebc
Merge pull request #806 from christianp/ctop
...
Use ctop.js instead of XSLT in Content MathML extension.
Finally getting to merge this. At long last!
2014-12-30 16:12:38 -05:00
Davide P. Cervone
ba4d1b13fe
Merge remote-tracking branch 'dpvc/develop' into develop
2014-12-30 16:09:21 -05:00
Davide P. Cervone
2f3d09cc30
Change version back so merge of ctop is clean.
2014-12-30 16:04:13 -05:00
Davide P. Cervone
5ccdf60b52
Merge pull request #964 from mathjax/issue921
...
add mml3 extension. Issue #921 .
2014-12-29 10:31:15 -05:00
Peter Krautzberger
12d8eef96b
import fixes for RTL+elementary math; source: https://code.google.com/p/web-xslt/
2014-12-29 16:14:34 +01:00
Davide P. Cervone
501b96c859
Save preview in script.MathJax to fix issue #975 .
2014-12-26 17:49:59 -05:00
Davide P. Cervone
fc7faf4b54
Properly handle spacing around operators in second column of aligned and gathered environments. Issue #982
2014-12-26 17:07:02 -05:00
Peter Krautzberger
f785418e8a
pull in update from ctop/mml3.xslt that adds left/\right mlongdiv notation
2014-12-17 09:19:01 +01:00
Peter Krautzberger
ac50815d58
update stylesheet to pull in latest fixes from David Carlisle
2014-12-16 10:39:17 +01:00
Davide P. Cervone
a719a551e1
Merge branch 'issue972' into develop. Issue #972 .
2014-12-07 07:10:24 -05:00
Davide P. Cervone
e33e00bfaf
Merge branch 'issue971' into develop. Issue #971 .
2014-12-07 07:09:27 -05:00
Davide P. Cervone
54fb042b77
Fixed capitalization of \defincolor in autoload-all. Resolves issue #972 .
2014-12-07 06:58:52 -05:00
Davide P. Cervone
a714a91dc6
Add a flag to Get() to look up only the inherited value, not the one from the element itself, so that toMathML() doesn't have to delete and replace the attibutes. Resolves issue #971 .
2014-12-06 17:36:23 -05:00
Peter Krautzberger
905ce5ffa8
renaming extension; pull in David Carlisle's new and improves xsl
2014-12-05 23:35:22 +01:00
Davide P. Cervone
ac5206fcd9
Use Hub.Rerender() rather than Hubl.Reprocess() for scaling changes. Resolves issue #944 .
2014-12-04 16:04:42 -05:00
Peter Krautzberger
1807d55d22
switch hascolspan to false() as in http://www.w3.org/Math/draft-spec/doctop.js
2014-11-27 15:29:27 +01:00
Peter Krautzberger
37fb13fb6f
fix references to content-mathml extension
2014-11-26 21:48:34 +01:00
Peter Krautzberger
55c59f0ef5
created mml3-mml2 extension for #921
2014-11-26 21:41:20 +01:00
Davide P. Cervone
142857afa2
Remove unneeded grouping from regular expression (performance improvement)
2014-11-20 09:35:56 -05:00
physikerwelt (Moritz Schubotz)
c526b2a5c5
XML-escape TeX annotation
2014-11-19 09:05:09 +01:00
Davide P. Cervone
ff6d6935df
Handle loading of CommonHTML jax better (do it when we detect it is not present, rather than trying to hook into the input jax require array).
2014-11-08 09:29:47 -05:00
Davide P. Cervone
d128cfbd5d
Add menu item for fast preview, and check for it in the preview code. Make sure CHTML-preview.js is loaded in MathJax.js if the menu item is selected.
2014-11-02 10:03:26 -05:00
Davide P. Cervone
69a57f4da4
Make displaystyle and scriptlevel be forced only if they are in the list of default properties. Resolves issue #912 better than before.
2014-10-12 16:57:18 -04:00
Davide P. Cervone
e0a81d5f7c
Force displaystyle and scriptstyle to be included in toMathML output, since the defaults for these are complicated. Resolves issue #912 .
2014-09-11 13:53:49 -04:00
Davide P. Cervone
89c6f10cea
Use \bigg or \big for the delimiters for \binom and other such constructs, rather than stretchy delimiters, as is done in TeX. Resolves isue #776 .
2014-08-22 11:47:04 -04:00
Davide P. Cervone
670f5809f8
Use large chunks and reduce processUpdateTime to get browser responsiveness. Remove the processing messages during output, since it will now be slower and the math is showing.
2014-08-20 14:49:29 -04:00
Davide P. Cervone
b33ed4c54b
Update use of RegExp.$n to account for Firefoxs change from empty string to undefined for unmatched groups. Resolves issue #891 .
2014-08-19 13:35:11 -04:00
Davide P. Cervone
5391986006
Allow \newenvironment to provide an optional argument. Issue #881
2014-08-18 13:46:43 -04:00
Davide P. Cervone
fb3d2c2d07
Make CHTML-preview previews inherit the surrounding color
2014-08-18 12:53:18 -04:00
Davide P. Cervone
8ebcd614c3
Properly handle restarts within the creation of the previews
2014-08-16 12:59:16 -04:00
Davide P. Cervone
05c7aace26
Add CHTML-preview extension that uses the CommonHTML output jax to create fast previews that are replaced (more slowly) by the normal output jax.
2014-08-16 09:26:47 -04:00
Davide P. Cervone
781689e7e4
First version of CommonHTML output jax
2014-07-28 17:42:51 -04:00
Peter Krautzberger
682bc7969e
fixes #863 -- math.cloneNode should be set to true
2014-07-10 12:47:30 +02:00
Davide P. Cervone
1a895e2a7c
Update version numbers, repack, and recombine
2014-06-12 05:53:13 -04:00
Davide P. Cervone
3a8afa4dcb
Add support for semantics annotations to toMathML, and use a menu item to control it.
2014-05-29 15:37:59 -04:00
Christian Perfect
0e0444ec3f
Merge remote-tracking branch 'mathjax/develop' into ctop
...
Conflicts:
unpacked/extensions/MathML/content-mathml.js
2014-05-16 14:18:39 +01:00
Christian Perfect
82dc8af1ae
content-mathml: make it compatible with IE8; code style fixes
2014-05-16 14:15:53 +01:00
Davide P. Cervone
713d536a68
Handle spacing for AMS alignments better (0 space between columns, but add space to left of operators.
2014-05-12 15:43:50 -04:00
Davide P. Cervone
e92f3f2718
Change copyright and version numbers
2014-05-07 17:02:28 -04:00
Davide P. Cervone
1424afb792
Fix up variable issues identified by packer
2014-05-07 16:01:13 -04:00
Davide P. Cervone
db87f413bb
Avoid IE10 compatibility mode (which says v7.0) but documentMode = 9 problem with transformNode() call.
2014-05-04 15:52:53 -04:00
Christian Perfect
c17c4e6dfa
content-mathml extension: load config from MathJax.Hub.Config
...
Config is loaded from `MathML.content-mathml`, and extends the CToP.settings object.
2014-05-02 15:44:58 +01:00
Christian Perfect
86a6c173cf
Content-MathML extension: update CToP.js
...
from mathjax/ctop
2014-05-02 14:52:35 +01:00
Davide P. Cervone
061fe3488b
Fix \enclose{}[arrow=1]{} to add updiagonalarrow.
2014-04-27 09:02:01 -04:00
Christian Perfect
e6a1aed03a
copy ctop.js into the content-mathml extension
...
Developed in mathjax/ctop. Uses the MathML jax's DOMfilterHooks to manipulate MathML elements before they're parsed into the internal format.
2014-04-25 16:47:20 +01:00
Davide P. Cervone
a9d11e1b92
Combine ctop.xsl and mml3mml2.xsl into one, but remove svg tranformation for summation. Issue #799 .
2014-04-24 21:10:38 -04:00
Davide P. Cervone
c6d73f4689
Fix several loading issues with localization files (don't add menu div until files are loaded, and properly handle empty callbacks in loadDomain).
2014-04-22 12:31:03 -04:00
Davide P. Cervone
25bab8f05c
Make \newenvironment perform the end substitution BEFORE testing if \end matches the corresponding \begin. This allows \newcommand to use \begin and \end in the substititions. Resolves issue #793 .
2014-04-20 14:45:54 -04:00
Davide P. Cervone
1e8ae72201
Merge branch 'zoom-fix' into develop. Issues #749 , #460 , #423 .
2014-04-11 07:56:49 -04:00
Davide P. Cervone
0c083deb4f
Merge branch 'issue777' into develop. Issue #777 .
2014-04-11 07:56:05 -04:00
Davide P. Cervone
d2620501da
Get border size properly in IE < 10.
2014-04-11 07:36:40 -04:00
Davide P. Cervone
f8ad843365
Avoid warning about deprecated event.returnValue.
2014-04-10 22:49:49 -04:00
Davide P. Cervone
46ba400ad6
Work around WebKit bug with SVG sizes. Resolves issue #749 .
2014-04-10 22:45:35 -04:00
Davide P. Cervone
4c2f7ac7c9
Handle resizing better (it flickered when shrinking windows), and take original size into account when changing visibility.
2014-04-10 20:10:28 -04:00
Davide P. Cervone
26775b9520
Make zoom box fit inside closest parent with overflow clipping (if any). Also make the clicable background fit the area properly (it is restricted to that parent element).
2014-04-10 06:40:47 -04:00
Davide P. Cervone
432f5eba69
Move submenus to the left for RTL languages, and make menus open to the left as well. Resolves issue #777 .
2014-04-09 17:23:03 -04:00
Davide P. Cervone
982d9f92f7
Merge remote-tracking branch 'dpvc/issue691' into develop. Issue #691 .
2014-03-20 05:49:37 -04:00
Davide P. Cervone
86388a5965
Clear \label even if there is no \tag or equation number. Resolves issue #691 .
2014-03-19 12:32:48 -04:00
Davide P. Cervone
6b93c17d9c
Update version of ctop.xsl used in content-mathml extension. Issue #692 .
2014-03-19 09:38:35 -04:00
Davide P. Cervone
63bbb8f28c
Add cache-breaking values (when needed) for all javascript, font, and image files loaded from the CDN. Cache-breaking can be controlled on a file-by-file or global basis. Resolves issue #751 .
2014-03-14 10:48:13 -04:00
Davide P. Cervone
d553f18625
Merge branch 'issue576' into develop. Issue #576 .
2014-02-22 08:33:41 -05:00
Davide P. Cervone
e67c01ca0b
Merge branch 'issue376' into develop. Issue #376 .
2014-02-21 10:53:07 -05:00
Davide P. Cervone
dfcc8ca0f7
Merge branch 'issue738' into develop. Issue #7348 .
2014-02-21 10:52:43 -05:00
Davide P. Cervone
f38dc200fc
Make annotation NOT be a token element, by adding a new isChars flag to force its contents to be a chars node rather than an mtext node (which is why it was labelled isToken originally). Resolves issue #376 .
2014-02-20 15:38:14 -05:00
Davide P. Cervone
8ed9207668
Don't use MathJax_MSIE_Frame for those vesions of IE that suppor position:fixed (7 and above, as it turns out). Resolves issue #738 .
2014-02-20 14:29:31 -05:00
Davide P. Cervone
3118eeb9d7
Compress close and menu images, and only pre-load menu arrow when discoverability is requested. Resolves issue #734 .
2014-02-20 12:59:28 -05:00
Davide P. Cervone
9bed669135
Merge branch 'issue240' into develop. Issue #240 .
2014-02-17 11:28:30 -05:00
Davide P. Cervone
a5f09d01f6
Fix string character reference to work with IE7. Resolves issue #624 .
2014-02-15 17:49:16 -05:00
Davide P. Cervone
2927bbfc34
Merge branch 'issue470' into develop. Issue #470 .
2014-02-15 12:38:21 -05:00
Davide P. Cervone
6d6eccead0
Keep track of ID's uses on the page, and make unique ones if there are repeats. Resolves issue #240 .
2014-02-15 11:15:07 -05:00
Davide P. Cervone
59c351a143
Improve layout for CD environment. HTML and SVG is improved; NativeMML is better, but still has some problems. Issue #470 .
2014-02-15 08:21:03 -05:00
Davide P. Cervone
c5e1e43f1c
Skip _moz-math-* attributes in Firefox. Resolves issue #328 for now.
2014-02-14 14:29:41 -05:00
Davide P. Cervone
cba90fb584
Fix use of limits in operatorname and DeclareMathOperator. Resolves issue #739 .
2014-02-13 07:22:41 -05:00
Davide P. Cervone
d26490a4db
Merge branch 'issue389' into develop. Issue #389 .
2014-02-10 08:43:41 -05:00
Davide P. Cervone
dd59bcff82
Correct condition for skipping empty braces.
2014-02-10 08:43:18 -05:00
Davide P. Cervone
61f671710e
Make routine to skip initial spaces, and have it also skip empty braces. Issue #389 .
2014-02-09 06:20:23 -05:00
Davide P. Cervone
5b1655a2fe
Treat initial <mo> of split and multline (and other related environments) as infix (but remove initial space). Not sure this exactly matches LaTeX, but is closer than current behavior. Resolves issue #389 .
2014-02-09 05:52:24 -05:00
Davide P. Cervone
c7be71b554
Put checking for screenX into try...catch for IE8 (grr). Resolves issue #348 .
2014-02-08 15:55:21 -05:00
Davide P. Cervone
7bd8f9edb4
Fix use if for...in to avoid problems with elements added to Array.prototype. Resolves issue #667
2014-02-06 14:17:04 -05:00
Davide P. Cervone
2c5ecf6303
Make sure measuring spans are removed from all elements (including the ones that were changed). Resolves second half of issue #576 .
2014-02-06 11:54:26 -05:00
Davide P. Cervone
d4fe0fdac2
Push math nodes onto mathArray individually to avoid problem in IE < 9 where push.apply doesn't work on a nodeList. Also, avoid duplicate elements in the array by checking for namespace prefixes. This needs to work for both HTML and XHTML. Resolves issue #672 .
2013-11-21 08:49:43 -05: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
Frédéric Wang
b73eafd431
Bump version numbers. #534
2013-10-21 13:58:46 +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
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
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
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
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
81ed447228
Add the MatchWebFonts.js extension file
2013-10-07 06:52:19 -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
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
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
850f736aa7
Add preview=mathml,altimg to the mml2jax preprocessor. #557
2013-08-30 11:27:12 +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
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
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
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
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
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
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
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
Frédéric Wang
503f997064
Finishing to find all the strings to localize
2013-02-25 18:05:33 +01:00