ylemkimon
ea409eaf1d
fix(fonts): update fonts dependencies ( #2866 )
...
* fix(fonts): update fonts dependencies
* chore(fonts): fix buildMetrics for Python 3
* fix(fonts): update fonts
* test: update screenshots
* docs: update reference to katex-fonts
* chore: use Python 3
* fix(fonts): update fonts
* test: update screenshots
* Use explicit path
* Command-line arguments aren't actually supported
* Small buildMetrics fixes
* Add build:{fonts,metrics} script
* Lock versions of font-related dependencies
* Install minimal texlive
* Install fontforge
Co-authored-by: Erik Demaine <edemaine@mit.edu >
2021-08-29 07:06:42 +09:00
Erik Demaine
6b4e80bfbb
fix(builder): combine characters together in all expressions ( #2080 )
...
* Combine characters together in all expressions
Call `tryCombineChars` in `buildExpression`
* update screenshots, exclude 'coverage' from lint
* update MathML snapshots
* don't combine two 'mbin's or two 'mord's
* update screenshots
* update screenshots
Co-authored-by: ylemkimon <y@ylem.kim >
Co-authored-by: Kevin Barabash <kevinb@khanacademy.org >
2020-12-30 10:34:01 -05:00
Ron Kok
4a8a6a38ce
fix: Use SVGs to avoid gaps in tall delimiters. ( #2698 )
...
* fix: Use SVGs to avoid gaps in tall delimiters.
* Add \vert and \Vert
* Update screenshots
* Define verts array outside of function.
* Revert height-finding logic.
* Update screenshots
* Pick up review comments.
* Update CD screen shots
2020-12-28 16:50:09 -05:00
ylemkimon
dc5f97aaa2
feat(macro): improve argument parsing ( #2085 )
...
* Improve macro argument parsing
* Make \above a primitive command
* Fix screenshotter data
* Normalize argument where necessary
* Improve argument location info
* Update comments
* Minor refactor
* Modularize group parsers
* Allow braced and blank size argument
for non-strict mode and \genfrac, respectively.
* Minor refactor & update comments
* Remove raw option in parseStringGroup
* Update tests
* Fix { delimited parameter
* Update tests
* Update tests
* Normalize argument in \genfrac
* Update tests
* Consume space before scanning an optional argument
* Fix \\, \newline, and \cr behavior
* Fix flow error
* Update comments
* Remove unnecessary mode switching
Parser mode affects neither fetch nor consume.
* Allow single (active) character macro
* Add function property `primitive`
* Set \mathchoice and \*style primitive
* Separate size-related improvements out to #2139
* Fix flow error
* Update screenshots
* Update demo example
* Add a migration guide
* Fix capitalization
* Make a primitive function unexpandable
* Update screenshots
* Update screenshots
* Revert "Document \def doesn't support delimiters (#2288 ) (#2289 )"
This reverts commit f96fba6f7f
.
* Update comments, errors, and tests
* Update screenshots
2020-09-06 12:56:13 +09:00
ylemkimon
36f9788cd6
chore(screenshotter): support Browserstack and test on Safari 13.1 ( #2306 )
...
* Support Browserstack in screenshotter
* Support Browserstack in CircleCI
* Test screenshots on Safari 13.1
* Don't run Safari screenshotter on forked PRs
* Update a screenshot
* Ignore *.log in .gitignore
2020-08-04 01:45:10 +09:00