Erik Demaine
a0deb3410f
fix: space should prevent optional argument to \\ ( #3746 )
...
Fix `src/functions/cr.js`'s definition of `\\` to manually look for an
optional argument via `future()` instead of `numOptionalArgs`, so that
it does *not* skip over spaces. This matches the existing behavior of
`\\` in `src/environments/array.js` and AMSMath's behavior of `\math@cr`
via `\new@ifnextchar`.
Fixes #3745
Co-authored-by: Ron Kok <ronkok@comcast.net >
2022-12-07 15:01:07 -08:00
renovate[bot]
3db8e34719
chore(deps): update dependency mini-css-extract-plugin to v2.6.1 [skip netlify] ( #3747 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-02 01:28:48 +00:00
KaTeX bot
2c13d2631f
chore(release): 0.16.3 [ci skip]
...
## [0.16.3](https://github.com/KaTeX/KaTeX/compare/v0.16.2...v0.16.3 ) (2022-10-22)
### Bug Fixes
* \hline after \cr ([#3735 ](https://github.com/KaTeX/KaTeX/issues/3735 )) ([ebf6bf5
](ebf6bf5b50
)), closes [#3734 ](https://github.com/KaTeX/KaTeX/issues/3734 )
2022-10-22 16:11:14 +00:00
Ron Kok
ebf6bf5b50
fix: \hline after \cr ( #3735 )
...
Support `\hline` when it occurs after a `\cr` within an environment
Fixes #3734
2022-10-22 16:08:34 +00:00
Erik Demaine
be07984313
docs: New security reporting policy ( #3723 )
2022-10-17 21:52:49 +00:00
little-cindy
a3155ba03c
docs(support_table): fix escaping of accent macros ( #3732 )
...
* Update support_table.md
2022-10-04 13:02:54 +00:00
Jim Fisher
c43f835f73
docs: Update "No character metrics" documentation ( #3719 )
...
* Update quoted error message
This page didn't appear for me when searching for "No character metrics". I then stumbled onto it, and it's quite useful
* Update broken link
metrics/extract_ttfs.py does not exist, and it's not the "root" of the metric-generation stuff
2022-09-22 11:08:05 -04:00
KaTeX bot
ef49e2be91
chore(release): 0.16.2 [ci skip]
...
## [0.16.2](https://github.com/KaTeX/KaTeX/compare/v0.16.1...v0.16.2 ) (2022-08-29)
### Bug Fixes
* **auto-render:** concatenate content of successive text nodes ([#3422 ](https://github.com/KaTeX/KaTeX/issues/3422 )) ([4d3fdd8
](4d3fdd8647
))
* Implement \pmb via CSS text-shadow ([#3505 ](https://github.com/KaTeX/KaTeX/issues/3505 )) ([176552a
](176552a691
))
2022-08-29 21:57:29 +00:00
Ron Kok
176552a691
fix: Implement \pmb via CSS text-shadow ( #3505 )
...
* Fix: Implement \pmb via CSS text-shadow
* Update screen shots
Co-authored-by: ylemkimon <y@ylem.kim >
2022-08-29 21:54:20 +00:00
Marco Esters
4d3fdd8647
fix(auto-render): concatenate content of successive text nodes ( #3422 )
...
* fix(auto-render): concatenate text nodes
Concatenate successive text nodes to prevent auto-render from skipping
math input when browsers split text nodes with long textContent.
* Remove siblings only when math found
Only remove siblings when math expressions were found to prevent removal
of nodes that do not contain math.
* Skip siblings if they do not contain math
* Fixed typo in comments
* Added first tests for large test nodes
* Expanded testing to compare renderMathInElement with renderMathInText
* Simplified text node test
* Change description of test
* Update contrib/auto-render/auto-render.js
Co-authored-by: marcoesters <marco.esters@duke.edu >
Co-authored-by: ylemkimon <y@ylem.kim >
2022-08-30 06:50:14 +09:00
kori reine
99be728a78
refactor: update toSplitInto to accept delimiter object ( #3444 )
...
Update toSplitInto matcher to accept the same delimiter object type that's used in renderMathInElement
Co-authored-by: ylemkimon <y@ylem.kim >
2022-08-30 06:39:43 +09:00
HallowedDust5
f04c645f52
docs: fix broken link ( #3525 )
...
The previous link is deprecated, I'm pretty sure the new link directs to what is intended, but I was not here before that link broke.
Co-authored-by: ylemkimon <y@ylem.kim >
2022-08-29 21:31:29 +00:00
CommanderRoot
299584d12f
refactor: replace deprecated String.prototype.substr() ( #3590 )
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
Co-authored-by: ylemkimon <y@ylem.kim >
2022-08-29 21:26:39 +00:00
renovate[bot]
48b15e4340
chore(deps): update dependency istanbul-reports to v3.1.5 [skip netlify] ( #3696 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 22:41:39 +00:00
Erik Demaine
7e6e9eee29
docs: Fix \set documentation ( #3646 )
...
Work around `|` in tables
See https://github.com/facebook/docusaurus/issues/2004
2022-08-28 10:18:49 -07:00
renovate[bot]
8b4ba62845
chore(deps): update dependency cssnano to v5.1.13 [skip netlify] ( #3695 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 13:45:02 +00:00
renovate[bot]
ade917b918
chore(deps): update dependency browserslist to v4.21.3 [skip netlify] ( #3691 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 10:10:51 +00:00
KaTeX bot
cf2a46258e
chore(release): 0.16.1 [ci skip]
...
## [0.16.1](https://github.com/KaTeX/KaTeX/compare/v0.16.0...v0.16.1 ) (2022-08-28)
### Bug Fixes
* Use SVGs for some stacked delims ([#3686 ](https://github.com/KaTeX/KaTeX/issues/3686 )) ([8a65a2e
](8a65a2e1fd
))
2022-08-28 04:24:43 +00:00
Ron Kok
8a65a2e1fd
fix: Use SVGs for some stacked delims ( #3686 )
...
* fix: Use SVGs for some stacked delims
* Account for script level & correct some geometry
* Fix script level adjustment
* Updated screenshotter images
* Change \vert to round cap
* Fix \vert geometry
* Update screenshotter images
2022-08-28 13:21:03 +09:00
Erik Demaine
7530849bdb
chore: Upgrade to yarn 3.2.2, Node 16 ( #3682 )
...
* Upgrade to yarn 4.0.0-rc.14
Adds support for Node 18
* Upgrade CI to Node 16
* Update website/yarn.lock
* pnpIgnorePatterns for subproject
* Switch to stable Yarn 3.2.2
2022-08-17 14:10:08 -07:00
renovate[bot]
00d015f6bf
chore(deps): update dependency cssnano to v5.1.12 [skip netlify] ( #3676 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-01 22:37:51 +00:00
Erik Demaine
9164a15ef8
docs: Cleanup changelog ( #3649 )
2022-06-10 10:46:58 -04:00
KaTeX bot
0854e68740
chore(release): 0.16.0 [ci skip]
...
# [0.16.0](https://github.com/KaTeX/KaTeX/compare/v0.15.6...v0.16.0 ) (2022-06-06)
### Bug Fixes
* **copy-tex:** Use JS (instead of CSS) to select full equation, solving display glitches ([#3586 ](https://github.com/KaTeX/KaTeX/issues/3586 )) ([8c2d852
](8c2d852c4a
))
### BREAKING CHANGES
* **copy-tex:** copy-tex extension no longer has (or requires) a CSS file.
* Code cleanup, lint fixes, port to Flow
* Rewrite to extend both start and end of range
* Remove contrib/**/*.css linting
Co-authored-by: Erik Demaine <edemaine@mit.edu >
2022-06-06 16:13:28 +00:00
Fons van der Plas
8c2d852c4a
fix(copy-tex): Use JS (instead of CSS) to select full equation, solving display glitches ( #3586 )
...
* copy-tex: Use JS to select full equation instead of CSS
* remove CSS
* Update webpack.common.js
* more build tweaks
* Update contrib/copy-tex/copy-tex.js
Co-authored-by: Erik Demaine <edemaine@mit.edu >
* Document new behavior
BREAKING CHANGE: copy-tex extension no longer has (or requires) a CSS file.
* Code cleanup, lint fixes, port to Flow
* Rewrite to extend both start and end of range
* Remove contrib/**/*.css linting
Co-authored-by: Erik Demaine <edemaine@mit.edu >
2022-06-06 12:09:30 -04:00
KaTeX bot
023cc0342c
chore(release): 0.15.6 [ci skip]
...
## [0.15.6](https://github.com/KaTeX/KaTeX/compare/v0.15.5...v0.15.6 ) (2022-05-20)
### Features
* Support \Braket, \set, and \Set ([#3214 ](https://github.com/KaTeX/KaTeX/issues/3214 )) ([9e3ae4d
](9e3ae4d5a8
))
2022-05-20 17:28:59 +00:00
Erik Demaine
9e3ae4d5a8
feat: Support \Braket, \set, and \Set ( #3214 )
...
* feat: Support \Braket, \set, and \Set
* Update screenshots.
* Rewrite to redefine | via macros
* Update screenshot after merge
* Rename \bra@ket@one -> \bra@set
* Fix spacing in \set and \Set to match braket.sty
* Add || and \| support
* Update tests
* Update screenshots
Co-authored-by: Ron Kok <ronkok@comcast.net >
2022-05-20 17:26:04 +00:00
BettyJJ
8319467151
docs(support_table): \leftarrowtail is already supported ( #3515 )
2022-05-20 17:15:41 +00:00
snip-bot
be8a3847d2
docs: Add snip to the users list ( #3614 )
...
* add snip
* Alphabetize
Co-authored-by: snip-bot <snip-bot>
Co-authored-by: Erik Demaine <edemaine@mit.edu >
2022-05-20 17:10:16 +00:00
KaTeX bot
4fa84d0ca3
chore(release): 0.15.5 [ci skip]
...
## [0.15.5](https://github.com/KaTeX/KaTeX/compare/v0.15.4...v0.15.5 ) (2022-05-20)
### Bug Fixes
* Avoid crash when \ce{} is empty ([#3627 ](https://github.com/KaTeX/KaTeX/issues/3627 )) ([4865e45
](4865e45437
))
2022-05-20 16:07:59 +00:00
Ron Kok
4865e45437
fix: Avoid crash when \ce{} is empty ( #3627 )
...
* Fix: Avoid crash when \ce{} is empty
* Shorten one line of code
2022-05-20 12:05:12 -04:00
KaTeX bot
575dab79f1
chore(release): 0.15.4 [ci skip]
...
## [0.15.4](https://github.com/KaTeX/KaTeX/compare/v0.15.3...v0.15.4 ) (2022-05-20)
### Features
* Support Unicode (sub|super)script characters ([#3633 ](https://github.com/KaTeX/KaTeX/issues/3633 )) ([d8fc35e
](d8fc35e6a9
))
2022-05-20 13:53:28 +00:00
Ron Kok
d8fc35e6a9
feat: Support Unicode (sub|super)script characters ( #3633 )
...
* feat: Support Unicode (sub|super)script characters
* Acquire tokens via repeated fetch()
* Match more Unicode (sub|super)script characters
* Update docs with new characters
* Add Greek characters to RegEx
* Pick up review comments
Co-authored-by: Erik Demaine <edemaine@mit.edu >
2022-05-20 09:50:34 -04:00
Andreas Deininger
c31256f838
docs: change links from http to https ( #3635 )
2022-05-19 18:15:22 -04:00
renovate[bot]
5fc88a795d
chore(deps): update dependency webpack-dev-server to v4.8.1 [skip netlify] ( #3624 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-04-21 17:51:27 +00:00
renovate[bot]
02e10eac8d
chore(deps): update dependency webpack to v5.72.0 [skip netlify] ( #3623 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-04-21 15:12:04 +00:00
renovate[bot]
4ddcd950f7
chore(deps): update dependency fs-extra to v10.1.0 ( #3622 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-04-21 09:16:58 +00:00
renovate[bot]
4b30656e39
chore(deps): update dependency rollup to v2.70.2 [skip netlify] ( #3621 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-04-21 04:03:34 +00:00
renovate[bot]
00d5ca935d
chore(deps): update dependency caniuse-lite to v1.0.30001332 [skip netlify] ( #3620 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-04-20 22:56:11 +00:00
renovate[bot]
a492ef4818
chore(deps): update linters [skip netlify] ( #3615 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-04-20 17:25:43 +00:00
renovate[bot]
539ef56ad1
chore(deps): update dependency caniuse-lite to v1.0.30001325 [skip netlify] ( #3613 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-04-07 15:09:05 +00:00
renovate[bot]
b2054ea32b
chore(deps): update dependency prettier to v2.6.2 [skip netlify] ( #3611 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-04-05 22:12:49 +00:00
renovate[bot]
113eaf35e6
chore(deps): update dependency webpack to v5.71.0 [skip netlify] ( #3602 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-04-05 00:22:58 +00:00
renovate[bot]
eb5aaeb38d
chore(deps): update dependency cssnano to v5.1.7 [skip netlify] ( #3609 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-04-04 21:58:04 +00:00
renovate[bot]
52d3609856
chore(deps): update dependency rollup to v2.70.1 [skip netlify] ( #3601 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-03-30 10:47:36 +00:00
renovate[bot]
9655e1cf2b
chore(deps): update dependency prettier to v2.6.1 [skip netlify] ( #3600 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-03-30 04:50:25 +00:00
renovate[bot]
ad08fe62ec
chore(deps): update dependency mini-css-extract-plugin to v2.6.0 [skip netlify] ( #3599 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-03-30 02:02:49 +00:00
renovate[bot]
6e72cc78b0
chore(deps): update dependency cssnano to v5.1.5 [skip netlify] ( #3598 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-03-29 23:39:29 +00:00
renovate[bot]
3c1d394155
chore(deps): update dependency css-loader to v6.7.1 [skip netlify] ( #3597 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-03-29 20:20:36 +00:00
renovate[bot]
698392a2b9
chore(deps): update dependency postcss-preset-env to v7.4.3 [skip netlify] ( #3595 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-03-29 17:44:13 +00:00
renovate[bot]
18603195b9
chore(deps): update dependency fs-extra to v10.0.1 ( #3594 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-03-29 14:10:55 +00:00