Integration of MathJax, KaTeX and Asymptote with scribble, to typeset math in Racket documentation
![]() Summary: Add support for all of the other operators, including the ones with symbols and limits. This also fixes the bug where subscripts were shifted the same amount as subscripts. To accomplish this, the domTree.textNode has been repurposed into symbolNode which is no longer an actual text node, but instead represents an element with a single symbol in it. This lets us access properties like the italic correction of a symbol in a reasonable manner without having to recursively look through children of spans. Depends on D13082 Fixes #8 Test Plan: - Make sure tests work - Make sure huxley screenshots didn't change much, and new screenshot looks good Reviewers: alpert Reviewed By: alpert Differential Revision: http://phabricator.khanacademy.org/D13122 |
||
---|---|---|
build | ||
dockers/MathJaxFonts | ||
metrics | ||
static | ||
test | ||
.arcconfig | ||
.gitignore | ||
buildCommon.js | ||
buildTree.js | ||
delimiter.js | ||
domTree.js | ||
fontMetrics.js | ||
functions.js | ||
katex.js | ||
Lexer.js | ||
LICENSE.txt | ||
lint_blacklist.txt | ||
Makefile | ||
Options.js | ||
package.json | ||
ParseError.js | ||
Parser.js | ||
parseTree.js | ||
README.md | ||
server.js | ||
Style.js | ||
symbols.js | ||
utils.js |