zorkow
1c07cf3189
Removes all caching of MathJax nodes.
2015-08-26 14:17:08 +01:00
zorkow
39109bf88a
Removes caching of MathJax nodes.
2015-08-26 13:56:30 +01:00
zorkow
1228bb89ad
Introduces accessor function for cached MathJax nodes.
2015-08-26 13:38:44 +01:00
Davide P. Cervone
31e4b98a58
Merge remote-tracking branch 'mathjax/develop' into develop
2015-08-25 15:22:58 -04:00
zorkow
816259d6ff
Introduces accessor methods for all cached HTML nodes.
2015-08-25 13:48:00 +01:00
zorkow
e29e3c9e99
Fixes activation problem for submenu anchor.
2015-08-24 17:01:50 +01:00
zorkow
9266592219
Merge branch 'abstract_menu_entry_class' into add_tabbing
2015-08-21 13:11:22 +01:00
Volker Sorge
a3eef41c83
Merge pull request #1240 from mathjax/abstract_menu_entry_class
...
Adds level of subclassing for clickable menu items.
2015-08-21 21:10:28 +09:00
zorkow
72e1e6b5b5
Fixes case of disabled submenu entry.
2015-08-21 13:09:46 +01:00
zorkow
2f83433422
Makes Attributes interface uniform.
2015-08-21 12:59:28 +01:00
zorkow
64e8419ff1
Whitespace cleanup.
2015-08-21 12:37:26 +01:00
zorkow
4c54fe224e
Fixes tangling active on mouseover.
2015-08-21 12:36:44 +01:00
zorkow
66fb6c9ab4
Fixes event problem
2015-08-21 12:27:15 +01:00
zorkow
70da9faa90
Introduces abstract superclass of all keyboard navigatable objects.
2015-08-21 05:35:20 +01:00
zorkow
85c1801fba
Fixes issues with submenus.
2015-08-21 04:59:31 +01:00
zorkow
1be417af3a
Combined keyboard and mouse navigation works.
2015-08-21 04:34:18 +01:00
zorkow
5e88e80975
Merge branch 'abstract_menu_entry_class' into add_tabbing
...
Conflicts:
unpacked/extensions/MathMenu.js
2015-08-20 14:48:50 +01:00
zorkow
2c028aee22
Incorporates review suggestions.
2015-08-18 22:51:59 +01:00
zorkow
7c68c1cb1c
WIP
2015-08-18 22:01:27 +01:00
zorkow
c6b98d45cc
Injects abstract class for clickable items.
2015-08-18 18:01:57 +01:00
zorkow
973edc9686
Adds level of subclassing for clickable menu items.
2015-08-17 19:50:14 +01:00
Davide P. Cervone
cbdfa18ad1
More improvements to mmultiscripts in mhchem.
2015-08-17 14:06:58 -04:00
Davide P. Cervone
964a9e0c59
More improvements to mmultiscripts in mhchem.
2015-08-17 13:40:44 -04:00
Davide P. Cervone
e186e50c9e
Incoporate changes that were lost during the rename of CHTML-preview to FHTML-preview
2015-08-17 09:16:43 -04:00
Davide P. Cervone
2e6b2bb3f0
Fix problem with prescripts being lost if they appear with no base at the end of the expression, and a problem with prescripts when they are before an open brace.
2015-08-12 09:24:31 -04:00
Davide P. Cervone
12bee3279d
Remove namespaces (resolves issue #1238 ) and use createElementNS even in IE when possible (these nodes are temprary and never actually go into the DOM, so no need to trigger MathPlayer). I don't know if the m: is right for earlier IE, since element.nodeName may return that and cause the same problems as 1238. That should be checked.
2015-08-10 18:37:43 -04:00
Davide P. Cervone
ac8a9564ec
Add compatibility CHTML-preview.js (it just calls the new one).
2015-08-09 15:04:36 -04:00
Davide P. Cervone
66cdd5fcab
Change CHTML-preview to FHTML-preview, and make it backward compatible.
2015-08-05 17:53:27 -04:00
Davide P. Cervone
425c9df6e9
Move old CommonHTML to be FastHTML
2015-08-05 16:39:06 -04:00
Davide P. Cervone
1de28f5a9a
Make \operatorname and \DeclareMathOperator skip \limits if it follows them. Resolves issue #1225 .
2015-07-30 09:45:45 -04:00
Davide P. Cervone
8d38947024
Add aria attributes for the normal and assistive output.
2015-07-24 07:20:10 -04:00
Davide P. Cervone
1dff53daa8
Make sure mml2jax doesn't process the assistive MathML.
2015-07-24 07:19:27 -04:00
Davide P. Cervone
82e0daf2c6
Add a hidden menu item that controls the AssistiveMML extension.
2015-07-23 17:09:43 -04:00
Davide P. Cervone
f0cc437b1e
Refactor code to make a separate configuration section with dynamically generated stylesheet. Use a class for the added MathML rather than explicit CSS.
2015-07-23 16:40:18 -04:00
Davide P. Cervone
d8357a2d03
Change CSS to that recommended by the Yahoo Accessibility team at https://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.html
2015-07-23 15:14:02 -04:00
Davide P. Cervone
f3273f6e62
First draft of assistive MathML extension. Still needs configuration, and we need to make sure the mml2jax exteion doesn't try to process the hidden MathML.
2015-07-23 11:33:07 -04:00
Davide P. Cervone
d127b1bcb7
Merge branch 'issue596' into develop. Issue #596 .
2015-07-16 15:39:20 -04:00
Davide P. Cervone
f42c71feca
Merge branch 'issue956' into develop. Issue #956 .
2015-07-16 15:39:05 -04:00
Davide P. Cervone
4c8158ca36
Merge branch 'issue1028' into develop. Issue #1028 .
2015-07-16 15:38:41 -04:00
CalebKester
2dd603aa41
Update MathZoom.js with global border-box support
...
With a lot of sites using the global box-sizing it breaks the zoom box on large equations when the zoom goes wider than the screen. This fix will explicitly add content-box on this element to prevent a global override.
2015-07-16 08:44:52 -05:00
Davide P. Cervone
d70612a519
Don't need to add extra mtd for tags any longer.
2015-07-14 14:35:02 -04:00
Davide P. Cervone
fd65c2917b
Use mmultiscripts for atoms with prescripts. Resolves issue #956 .
2015-07-10 18:13:40 -04:00
Davide P. Cervone
e7c928fa3e
Handle spacing in alignedat environment (like 811 and 982). Resolves issue #1028 .
2015-07-10 11:43:23 -04:00
Davide P. Cervone
67e7351e1d
Merge branch 'issue1208' into develop. Issue #1208 .
2015-07-09 11:25:08 -04:00
Davide P. Cervone
cd12ba63d9
Make chunking parameters only be used when fast preview is enabled.
2015-07-08 15:30:49 -04:00
Davide P. Cervone
122ca09352
Fix problem with dot delimiter not being recognized as a delimiter because TEXDEF.delimiter[.] returns an empty string. Resolves issue #1199 .
2015-06-29 10:23:32 -04:00
Davide P. Cervone
325f149ef7
Merge remote-tracking branch 'mathjax/hotfix-2.5.2' into develop
2015-04-29 10:54:31 -04:00
Christian Perfect
5d3ffd40f2
fix typo which put a variable in global scope
...
missing comma meant that SETTINGS was put in global scope
2015-04-23 08:56:34 +01:00
Davide P. Cervone
d47dbd1c52
Update version numbers.
2015-04-21 11:49:54 -04:00
Peter Krautzberger
9263cc4506
simplify browser check
...
as per @dpvc's suggestion
2015-04-15 10:10:21 -04:00
Peter Krautzberger
c91a420b1d
fix IE version check
2015-04-15 10:10:21 -04:00
Peter Krautzberger
95c00da5ea
for #1137 : disable CHTMLpreview.js on IE<8
2015-04-15 10:10:21 -04:00
Davide P. Cervone
dbe594872f
Avoid infinite loop when \mathchoice is used in munderover. Resolves issue #1151 .
2015-04-13 17:30:12 -04:00
Davide P. Cervone
ea697f335a
Make text-based close boxes appear closer to the original versions, and remove data URI for image in MathEvents. One motivatino for the change is the mobile menu close icon needs a background, which was missing in the previous version.
2015-04-09 14:58:24 -04:00
Davide P. Cervone
bfe88a01a2
Make nodes starting with 'mxj-' count as having isMathJax set.
2015-04-01 18:56:27 -04:00
Peter Krautzberger
8484e90345
#1100/#1088: convert MenuArrow-15.png to base64 and drop it
2015-03-19 22:20:30 +01:00
Peter Krautzberger
bbd05107a7
#1100 add cursor:pointer to MathJax_Menu_Close class
2015-03-19 21:10:16 +01:00
Peter Krautzberger
2abf1649ee
1100: code clean up
2015-03-19 21:03:31 +01:00
Peter Krautzberger
df17921e8b
WIP #1088 : change submenu indicators to a more common Unicode point
2015-03-17 11:32:38 +01:00
Peter Krautzberger
f739e64131
WIP for #1088 : switch from PNG to \×
2015-03-17 11:20:49 +01:00
Davide P. Cervone
d6bb1f55d5
Fix \mathchoice to use renamed CHTMLcreateNode function
2015-03-07 11:12:01 -05:00
Davide P. Cervone
705f738228
Merge branch 'issue1053' into hotfix-2.5. Issue #1053 .
2015-02-20 09:26:26 -05:00
Peter Krautzberger
627ab61df8
Update with recent fixes from @davidcarlisle
...
Fixes #1024
2015-02-20 09:23:05 -05:00
Davide P. Cervone
f87cb5cf42
Bump version numbers for updated files
2015-02-19 17:43:07 -05:00
Davide P. Cervone
b1a2b4fe03
Don't cache the value of 'selected', since calls to isEmbellished() can be made before the expression is in place, and the values of displastyle and scriptlevel are known. Resolves issue #1053 .
2015-02-11 09:34:25 -05:00
Davide P. Cervone
8c9fc2122b
Make sure these extensions pas on ALL arguments to the routines they override. (Needed for fix to toHTML to allow measurements to be grouped.)
2015-02-09 12:45:18 -05:00
Davide P. Cervone
6d6720ecf5
Don't convert delimiters to unicode in \genfrac (since that is now done by \bigg and \big later on). Resolves issue #1033 .
2015-02-05 16:42:46 -05:00
Davide P. Cervone
106283ff72
Fix more var issues (noted by YUI compression)
2015-01-29 10:57:05 -05:00
Davide P. Cervone
bc8d472f2f
Fix more var issues (noted by YUI compression)
2015-01-29 10:55:05 -05:00
Davide P. Cervone
714b9702fa
Fix use of var and a few undefined variable names (noted by YUI compression)
2015-01-29 10:24:28 -05:00
Davide P. Cervone
f5c10288dd
Update copyright dates.
2015-01-29 10:21:06 -05:00
Davide P. Cervone
31fcf19d92
Update file versions to 2.5.0. Ready for release!
2015-01-28 14:49:36 -05:00
Davide P. Cervone
0433a7b0ee
Some fixes to get things to work in older IE versions.
2015-01-28 14:46:15 -05:00
Davide P. Cervone
85f9612242
Add handling of CommonHTML to noErrors.js. Issue #1021
2015-01-28 11:45:01 -05:00
Davide P. Cervone
94b7c4243b
Don't set overlay W/H if it has already been removed (IE8).
2015-01-26 15:19:18 -05:00
Davide P. Cervone
dd3da20704
Change 0em to 0 to make reftest for 776 easier.
2015-01-25 12:38:48 -05:00
Davide P. Cervone
ecc8e7c350
Change from setting form=infix to adding an empty <mi>, since MathML spacing and TeX spacing are slightly different. Issue #811 .
2015-01-25 11:46:16 -05:00
Davide P. Cervone
1bb9758dc8
Trap errors with document.namespace (it crashes IE10 in standards mode).
2015-01-24 15:45:09 -05:00
Davide P. Cervone
efa443ce65
Check for toCommonHTML first, and allow errors to propagate (restarts should restart, not be trapped here). Resolves issue #1018 .
2015-01-23 12:45:26 -05:00
Davide P. Cervone
af8efeafd5
Merge remote-tracking branch 'dpvc/develop' into develop
2015-01-21 08:54:00 -05:00
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