Commit Graph

1738 Commits

Author SHA1 Message Date
Davide P. Cervone
67e7351e1d Merge branch 'issue1208' into develop. Issue #1208. 2015-07-09 11:25:08 -04:00
Davide P. Cervone
6fd9c45c14 Add more detail to browser detection for Safari (since Windows Mobile thinks its Safari). Resolves issue #1085. 2015-07-08 17:20:28 -04:00
Davide P. Cervone
2f37a00c6f Use extra parentheses to avoid warning message in debug mode. Resolves at least one line from issue #1173. 2015-07-08 17:11:58 -04:00
Davide P. Cervone
c03acb6d7d Fix problem where automatic numbering affects \binom and friends. Resolves issue #1194 2015-07-08 17:05:57 -04:00
Davide P. Cervone
15c9159cb2 Merge branch 'issue1199' into develop. Resolves issue #1199. 2015-07-08 15:37:49 -04:00
Davide P. Cervone
8d39915c25 Merge branch 'issue1176' into develop. Resolves issue #1176. 2015-07-08 15:36:02 -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
ca6ffc7b41 Use scale of 1 if bbox.scale is not set (affects fractions, for example). Resolves issue #1072. 2015-06-29 09:54:37 -04:00
Davide P. Cervone
a154d7ded1 Merge branch 'hotfix-2.5.3' into develop 2015-04-30 17:51:07 -04:00
Davide P. Cervone
72af812dfe Changed the wrong version number in the previous commit. 2015-04-30 17:13:44 -04:00
Davide P. Cervone
805986318b Change version numbers. 2015-04-30 15:27:45 -04:00
Davide P. Cervone
242c9356f5 Put off moving math in containers with display:none from the hidden div where they are typeset to their proper locations until AFTER they have been remeasured. Resolves issue #1179. 2015-04-30 13:44:03 -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
Davide P. Cervone
e3f1a68bbe Make sure that paths with scale() transforms retain the scaling when they are translated. Issue #1176 and mathjax/MathJax-node#93. 2015-04-28 18:26:49 -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
6b73beacd5 Merge branch 'issue995' into develop. Issue #955. 2015-04-21 16:48:22 -04:00
Davide P. Cervone
d4b1fa042a Merge branch 'issue1072' into develop. Issue #1072. 2015-04-21 16:45:12 -04:00
Davide P. Cervone
2af7fde2d9 Merge branch 'issue1155' into develop. Issue #1155. 2015-04-21 16:44:38 -04:00
Davide P. Cervone
9290d82858 Merge branch 'issue928' into develop. Issue #928. 2015-04-21 16:43:56 -04:00
Davide P. Cervone
3d951361fe Merge branch 'issue567' into develop. Issue #567. 2015-04-21 16:43:28 -04:00
Davide P. Cervone
e22bcd1398 Merge branch 'issue1036' into develop. Issue #1036. 2015-04-21 16:42:03 -04:00
Davide P. Cervone
d47dbd1c52 Update version numbers. 2015-04-21 11:49:54 -04:00
Davide P. Cervone
6aba7a2170 Fix handling of colored backgrounds on math elements in IE, and on mspace/mpadded elements in IE < 8. 2015-04-20 13:18:14 -04:00
Davide P. Cervone
4292f9ed6b Don't insert mstyle in InternalMath() when not necessary. 2015-04-20 08:27:43 -04:00
Davide P. Cervone
0fb87f3dea Right-justify prescripts in mmultiscript elements. Resolves issue #1072. 2015-04-15 19:55:23 -04:00
Davide P. Cervone
6830d889e8 Add try/catch around initial browser setup, just in case there is an error. See issue #1155. 2015-04-15 11:43:47 -04:00
Davide P. Cervone
be57176825 Add arc/fown/smile as horizontal stretchy delimiters. Issue #928. 2015-04-15 11:17:22 -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
fc3f34c28a Add \overparen and \underparen for creating stretchy parens above and below other elements. Issues #928 and #567. 2015-04-15 10:08:20 -04:00
Davide P. Cervone
521d4ee513 Add roll-over from mathjax/latest to mathjax/x.y-latest for references to the CDN (to make sure that all files come from the same version). Resolves issue #1036. 2015-04-14 16:24:27 -04:00
Davide P. Cervone
2c44d2ecac Use correct name for maligngroup elements in toMathML output. Resolves issue #1089 2015-04-14 14:59:22 -04:00
Davide P. Cervone
6e2db6a08d Merge pull request #1100 from mathjax/issue1088
Removing PNG from MathMenu and MathEvents.  Issue #1088.
2015-04-14 11:00:25 -04:00
Davide P. Cervone
b9e3761714 Merge branch 'issue1139' into hotfix-2.5.2. Issue #1139. 2015-04-13 18:03:10 -04:00
Davide P. Cervone
7aead86339 Merge branch 'issue1152' into hotfix-2.5.2. Issue #1152. 2015-04-13 18:02:54 -04:00
Davide P. Cervone
b474fc7f52 Merge branch 'issue1151' into hotfix-2.5.2. Issue #1151. 2015-04-13 18:02:44 -04:00
Davide P. Cervone
feb05eb185 Merge branch 'issue1163' into hotfix-2.5.2. Issue #1163. 2015-04-13 18:02:27 -04:00
Davide P. Cervone
55c88eb608 Fix HTML-CSS bounding boxes for annotation-xml nodes when used illegally as first semantics child. 2015-04-13 17:59:59 -04:00
Davide P. Cervone
3beda8db4e Properly set displaystyle and scriptlevel, and make sure the contents is enclosed in a single element. Resolves both parts of issue #1152, but at the cost of possibly redundent mstyle elements. These could be filtered out in the combineRelations() post-filter, when we can check if the displaystyle and script levels need setting. 2015-04-13 17:33:44 -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
4a4221b78b Make sure that unknown characters in an mrow force the mrow to be measured. Resolves issue #1163. 2015-04-13 17:18:07 -04:00
Davide P. Cervone
b8a48d9cd7 Properly measure final HTML-CSS output to make sure we have the right size. Resolves issue #1158. 2015-04-13 16:15:07 -04:00
Davide P. Cervone
c5b2aa2515 Round height and depth of final SVG element to pixel size in order to try to get the baseline right. Resolves issue #995 (I hope). 2015-04-10 16:30:30 -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
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
Davide P. Cervone
ed85cf61ee Fix HTML-CSS bounding boxes for annotation-xml nodes when used illegally as first semantics child. 2015-03-18 13:04:52 -04: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 \&times; 2015-03-17 11:20:49 +01:00
Davide P. Cervone
ad66602529 Merge remote-tracking branch 'dpvc/hotfix-2.5' into develop 2015-02-25 18:34:17 -05:00
Davide P. Cervone
960108c712 Fix version number of MathJax as a whole. 2015-02-25 10:59:15 -05:00
Davide P. Cervone
5f53a23e58 Force measurement of unknown characters, even when noReflows is active. 2015-02-25 10:59:01 -05:00
Davide P. Cervone
6286c63239 Fix var problems identified by YUI. 2015-02-20 09:47:47 -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
13ebde0937 Correct computation of TeX class for maction elements (handle embellished operators correctly). 2015-02-19 08:59:23 -05:00
Davide P. Cervone
3308957304 Fix some comments. 2015-02-19 08:58:01 -05:00
Davide P. Cervone
fe0d977494 Handle padding in measured children when noReflows is used (e.g., in maction tags around operators). 2015-02-17 16:03:25 -05:00
Peter Krautzberger
05f9233886 Update with recent fixes from @davidcarlisle
Fixes #1024
2015-02-17 11:02:36 +01:00
Davide P. Cervone
49c3e3a156 Don't set font-size of maction span (the elements it contains do that themselves). 2015-02-14 15:43:40 -05:00
Davide P. Cervone
15b3928891 Break HTML-CSS output into phases so that the final measurement can be done all at once. Restores timing improvements that were lost due to a change made in the testing for v2.5. 2015-02-14 15:30:37 -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
cb13a059bb Localize a variable that was accidentally global. Resolves problem 2 of #1050. 2015-02-09 16:16:30 -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
1e67bf954f Merge branch 'issue1033' into hotfix-2.5. Issue #1033. 2015-02-05 18:31:15 -05:00
Davide P. Cervone
9531b299d4 Make sure children of mtable are mtr or mlabeledtr (was incorrectly making an mtd instead of an mtr). Resolves issues #1006 and #1032. 2015-02-05 16:47:17 -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
964f7b4500 Fix var issues (noted by YUI compression) 2015-01-29 10:38:05 -05:00
Davide P. Cervone
737fbc01df Fix var issues (noted by YUI compression) 2015-01-29 10:34:58 -05:00
Davide P. Cervone
e4982cb703 Fix unneeded variable (noted by YUI compression) 2015-01-29 10:32:36 -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
da8b1ea1ff Make super- and subscripts respect height of stretched characters. 2015-01-28 11:43:19 -05:00
Davide P. Cervone
5b232c93e8 Fix problem with width of equations with line breaking. 2015-01-27 08:17:00 -05:00
Davide P. Cervone
477903cc79 Fix problem with positioning of colored rectangles (when combined combitionings add up to zero). 2015-01-27 08:16:20 -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
90af9db319 Fix NativeMMLelement to work with IE8 and below when MathPlayer isn't in place. 2015-01-26 12:03:43 -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
646a977b8c Update version to beta-4 2015-01-24 13:48:49 -05:00
Davide P. Cervone
f6b374813f Merge branch 'issue1018' into develop. Issue #1018. 2015-01-24 13:38:00 -05:00
Davide P. Cervone
20e1e01735 Merge branch 'issue1016' into develop. Issue #1016. 2015-01-24 13:37:41 -05:00
Davide P. Cervone
8f9d982af6 Scale displayIndent to HTML size, since the shift is outside the font-size scaling. This was required by the change to issue 769. (Issue #768.) 2015-01-24 05:15:21 -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
cd235d5b0e Handle background color properly when there is an indentshift. 2015-01-23 11:31:17 -05:00
Davide P. Cervone
646568650e Handle head properly in another location when looking for script tags. Issue #1016. 2015-01-22 11:02:58 -05:00
Davide P. Cervone
b86a77bee3 Merge remote-tracking branch 'dpvc/develop' into develop 2015-01-22 10:16:31 -05:00
Davide P. Cervone
08cb7160f5 Fix scaling of indentshift in HTML-CSS; since is outside the font-size change, it doesn't need HTMLCSS.scale. 2015-01-22 10:15:12 -05:00
Davide P. Cervone
237635132a Use document.head when available, and look up scripts via namespace if not found without it. Resolves issue #1016. 2015-01-22 10:09:21 -05:00
Davide P. Cervone
af8efeafd5 Merge remote-tracking branch 'dpvc/develop' into develop 2015-01-21 08:54:00 -05:00