Commit Graph

445 Commits

Author SHA1 Message Date
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