Commit Graph

3358 Commits

Author SHA1 Message Date
Davide P. Cervone
e72aa99513 Handle spacing of trailing binary operators properly. 2015-08-03 18:07:14 -04:00
Martin von Gagern
62a8b2d4e7 Whitelist keys to include in ss_data query strings 2015-08-03 22:45:22 +02:00
Peter Krautzberger
8c2ed0c91c Merge pull request #1216 from cben/error-tip
Add debugging tips to error messages
2015-08-03 17:21:46 +02:00
Peter Krautzberger
98ea9c5c26 Merge pull request #5 from minrk/component
add component task
2015-08-03 10:53:41 +02:00
Davide P. Cervone
5c333a8b47 Fix depth of horizontal stretchy characters to match HTML-CSS (should be based on extender as originally done, but font metrics don't really work for that with minus sign for arrows, for example). 2015-08-02 17:16:15 -04:00
Davide P. Cervone
92deaa0993 Handle WebKit problems with negative depth (again). 2015-08-02 17:01:01 -04:00
Davide P. Cervone
ead271e0e6 Change fonts from having ascent=descent to having midpoint at .25em, and adjust font handling to do offsets from that. 2015-08-02 15:14:14 -04:00
Davide P. Cervone
930e35a39d Merge branch 'issue1225' into develop. Issue #1225. 2015-08-02 08:55:52 -04:00
Davide P. Cervone
16476f8d44 Merge branch 'issue1224' into develop. Issue #1224 2015-08-02 08:55:38 -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
7cbea14c75 Handle braces properly in text mode when looking for matching math delimiters. Resolves issue #1224 2015-07-30 09:25:25 -04:00
Min RK
85cdc0c13e add component task
- removes png image fonts
- disables imageFont in HTML-CSS config
2015-07-29 21:45:39 -07:00
Min RK
48322fc7e5 add grunt-regex-replace 2015-07-29 21:13:51 -07:00
Min RK
eec24e97fe add node_modules to .gitignore 2015-07-29 21:12:23 -07:00
Kevin Barabash
b2d2df9bef Merge pull request #317 from JeffEverett/unsupported_commands
Added support for visual depiction of unsupported commands
2015-07-29 10:55:04 -07:00
Kevin Barabash
76d87e8f90 Merge pull request #319 from JeffEverett/fix_limit_controls
Fixed limit controls in textstyle
2015-07-29 09:05:39 -07:00
Kevin Barabash
4a507c40f1 Merge pull request #290 from kevinb7/fonts-p1_metrics
Adds font metrics to support font commands.
2015-07-29 09:04:33 -07:00
Jeff Everett
9b0f42ea50 Fixed limit controls in textstyle 2015-07-28 15:22:30 -06:00
Jeff Everett
e1c221273c Added support for visual depiction of unsupported commands 2015-07-28 00:50:08 -06:00
Kevin Barabash
4be3931cb5 Merge pull request #314 from JeffEverett/limits_and_nolimits
Add support for \limits and \nolimits controls
2015-07-24 19:53:55 -06:00
Jeff Everett
5d83bb8cc0 Added support for \limits and \nolimits controls 2015-07-24 19:33:09 -06:00
Davide P. Cervone
4149a87a96 Autoload AssisitveMML if the menu item is set and the extension isn't loaded. 2015-07-24 09:25:11 -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
Peter Krautzberger
a02ed2e604 Update package name 2015-07-24 10:40:51 +02:00
Peter Krautzberger
08932e468f fix linting errors
* add strict mode
* fix trailing commas
2015-07-24 10:39:25 +02:00
Peter Krautzberger
1350d174f6 Merge pull request #4 from errantmind/master
fix: mathmlInput removing TeX folders instead of MathML
2015-07-24 10:03:01 +02:00
James Bates
5173fc16bb fix mathmlInput removing TeX folders instead of MathML 2015-07-24 00:05:17 -05: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
24f0388bda Merge branch 'issue1188' into develop. Issue #1188. 2015-07-23 08:07:24 -04:00
Davide P. Cervone
414ae76423 Merge branch 'issue1211' into develop. Issue #1211. 2015-07-23 08:06:54 -04:00
Kevin Barabash
0dc9eed1c4 Disable chrome screenshotter tests until we can determine why it's producing different results.
Test Plan:
- run `make screenshots` and verify that it doesn't start the chrome docker image

Auditors: alpert, emily
2015-07-22 22:12:39 -06:00
Kevin Barabash
bd275b85d7 Update make screenshots to run the new screenshotter
Test Plan:
- run `make screenshots` and verify that the screenshotter runs

Auditors: alpert
2015-07-22 22:06:16 -06:00
Beni Cherniavsky-Paskin
6eff72ba8a Since we probably can't give informative traceback, tell user how to obtain one. 2015-07-22 23:34:23 +03:00
Davide P. Cervone
ca53ebdd73 More fixes for #1188 to prevent empty object problems 2015-07-20 15:18:46 -04:00
Davide P. Cervone
26ebc33c37 Treat missing super- or subscript as <none/> when not properly paired in multiscripts. (Issue 1188) 2015-07-20 15:10:41 -04:00
Davide P. Cervone
d613dabd8e Treat missing super- or subscript as <none/> when not properly paired in multiscripts. Resolves issue #1188. 2015-07-20 15:06:37 -04:00
Davide P. Cervone
efb24b7fc2 Properly detect the extra web fonts in IE10+. Resolves issue #1211. 2015-07-20 11:33:27 -04:00
Kevin Barabash
476eebf3c5 Merge pull request #299 from gagern/delimiters
Provide more delimiters
2015-07-19 21:14:13 -06:00
Emily Eisenberg
b2d9f09e59 Update katex to v0.5.0 2015-07-16 14:25:22 -07:00
Emily Eisenberg
2600587f78 Update master version numbers
Summary: Update the version numbers on master to <the-next-version>-pre.

Test plan:
 - ???

Auditors: kevinb, alpert
2015-07-16 14:20:29 -07: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
Emily Eisenberg
ce99abd1f2 Update Dockerfile for ttfautohint, update metrics
Summary:
Update the MathJaxFonts `Dockerfile` to enable the use of
`ttfautohint` which hints our fonts better. Also, fix the location that
batik is downloaded from, update some formatting in the `Dockerfile`,
and update the fonts and metrics.

Test Plan:
 - Compare a rendered `= - A z 4 \Longrightarrow \Sigma \Biggl(` in
   Chrome on Windows at font sizes 10px to 20px before and after this
   change.
 - See that characters look about the same, or better.
 - See that the screenshot tests didn't change in firefox (maybe firefox
   runs the same autohinting algorithm that we do?), and don't visually
   change in chrome

Reviewers: kevinb, alpert

Reviewed By: kevinb, alpert

Differential Revision: https://phabricator.khanacademy.org/D18977
2015-07-16 12:01:26 -07:00
Davide P. Cervone
e0bf912cf3 Merge pull request #1210 from CalebKester/develop
Update MathZoom.js with global border-box support
2015-07-16 10:11:31 -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