Commit Graph

3423 Commits

Author SHA1 Message Date
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
Peter Krautzberger
9995bf3fda Merge pull request #1166 from mathjax/hotfix-2.5.2
Merge v2.5.2 for release
2015-04-29 16:26:46 +02: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
Davide P. Cervone
7df7e227c5 Make sure the correct jax is passed to the postInputHooks. 2015-04-28 18:25:06 -04:00
Ben Alpert
1f90b36518 Add JSON as a global in .jshintrc 2015-04-26 17:22:42 -07:00
Ben Alpert
b29b8c40ea [auto-render] Don't stop parsing when one expression fails
Summary: Fixes #223.

Test Plan: Opened http://127.0.0.1:7936/contrib/auto-render/, saw `$\unsupported$` in page and error in console, but other expressions rendered. Made test.

Reviewers: emily

Reviewed By: emily

Differential Revision: https://phabricator.khanacademy.org/D17543
2015-04-26 17:04:11 -07:00
Davide P. Cervone
0360f44783 Merge pull request #1172 from christianp/var-in-global-scope
fix typo which put a variable in global scope
2015-04-23 06:59:42 -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
Emily Eisenberg
af8c1307f7 Add better lint checking.
Summary:
Make the lint checker check more files. Also, make arc run the
linter.

Test Plan:
 - `arc lint`
 - `make lint`

Reviewers: kevinb, alpert

Reviewed By: alpert

Differential Revision: https://phabricator.khanacademy.org/D17509
2015-04-22 18:55:20 -07:00
Emily Eisenberg
eef108b2dd Fix lint
Test plan:
 - `npm test`

Auditors: alpert
2015-04-22 15:33:26 -07:00
Emily Eisenberg
c48de165e8 Add optional arguments to \sqrt
Summary:
Use the TeX definitions of `\root` to get the optional `\sqrt`
argument in the right place. Also add the MathML version.

Fixes #48

Test Plan:
 - `make test`
 - See that the images look good

Reviewers: kevinb, alpert

Reviewed By: alpert

Differential Revision: https://phabricator.khanacademy.org/D17236
2015-04-22 15:26:10 -07:00
Davide P. Cervone
e533634f37 Add a postInputHooks list so that we can attach global filters like the MathML semantic enhancement filter. 2015-04-21 17:34:48 -04: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
bdc1528939 Merge branch 'issue1089' into develop. Issue #1089. 2015-04-21 16:41:32 -04:00
Davide P. Cervone
add4af85c3 Repack and recombine 2015-04-21 12:49:01 -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
993715cc03 Merge remote-tracking branch 'dpvc/hotfix-2.5.2' into hotfix-2.5.2 2015-04-20 08:56:34 -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
e35dd5fd43 Merge pull request #1168 from mathjax/issue1162
Updating contributing.md
2015-04-18 12:02:33 -04:00
Davide P. Cervone
d3ccf6fe89 Fix transforms so they work for IE9. 2015-04-18 10:42:21 -04:00
Davide P. Cervone
c2c33b634e Fix @font-face to work with IE8. 2015-04-18 06:57:27 -04:00
Davide P. Cervone
64ed60ac51 Change how combining characters are handled so that they show up in IE but are still placed properly in Chrome (putting them over a non-breaking space got the baseline wrong in Chrome for some reason, and over a space got the width wrong). 2015-04-17 17:22:48 -04:00
Davide P. Cervone
562786da5e Update HTML-CSS fonts to be usable by CommonHTML, and remove the CommonHTML fonts. Update @font-face to include the new formats. 2015-04-17 16:01:57 -04:00
Peter Krautzberger
3ad8dc5a29 updated contributing.md
Fixing typos to address comments
2015-04-16 21:08:55 +02:00
Peter Krautzberger
f22a1adab7 updating contributing.md
* Fix more relative links
* fix TOC structure
* minor changes to core section
2015-04-16 14:31:35 +02:00
Peter Krautzberger
79127fb44b Updating Commit.md
* fix broken links
* re-write bug report instructions
* restructure core development advice.
2015-04-16 10:51:17 +02: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
8f20749a48 Add arc/fown/smile as horizontal stretchy delimiters. 2015-04-15 13:33:42 -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
Davide P. Cervone
65937e6c4d Merge pull request #1165 from dpvc/issue1137
Issue #1137
2015-04-15 10:15:39 -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
4cce3df7b3 Merge pull request #1160 from mathjax/issue1157
fix Readme: bad links to documentation. Issue #1157.
2015-04-14 11:01:43 -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
9c5682cdb4 Merge pull request #1156 from dpvc/issue1088
Make text-based close boxes appear closer to the original versions, and ...
2015-04-14 10:59:21 -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