Commit Graph

1692 Commits

Author SHA1 Message Date
Ron Kok
980b004023 fix: binom delimiter size in scriptscriptstyle. (#2976)
Co-authored-by: Erik Demaine <edemaine@mit.edu>
2021-05-06 18:27:10 +00:00
KaTeX bot
9cc58a8c08 chore(release): 0.13.6 [ci skip]
## [0.13.6](https://github.com/KaTeX/KaTeX/compare/v0.13.5...v0.13.6) (2021-05-06)

### Bug Fixes

* Correctly parse \ followed by whitespace ([#2877](https://github.com/KaTeX/KaTeX/issues/2877)) ([c85250d](c85250d14e)), closes [#2860](https://github.com/KaTeX/KaTeX/issues/2860)
2021-05-06 01:57:00 +00:00
Erik Demaine
c85250d14e fix: Correctly parse \ followed by whitespace (#2877)
* fix: Correctly parse \ followed by whitespace

LaTeX parses `\` followed by whitespace including up to one newline
as equivalent to `\ `.  (With multiple newlines, you get paragraph
breaks.)

Fix #2860.

* Improve comments

* Avoid second RegExp match in control words

* Document capturing groups

Co-authored-by: Ron Kok <ronkok@comcast.net>
2021-05-05 18:54:41 -07:00
renovate[bot]
e3b54c73ea chore(deps): update dependency browserslist to v4.16.6 [skip netlify] (#2982)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-04 20:05:48 +00:00
renovate[bot]
58d12d14f8 chore(deps): update dependency stylelint to v13.13.1 [skip netlify] (#2985)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-04 18:35:44 +00:00
renovate[bot]
e410e66696 chore(deps): update dependency mini-css-extract-plugin to v1.6.0 [skip netlify] (#2981)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 16:08:14 +00:00
renovate[bot]
b388a22f40 chore(deps): update dependency webpack to v5.36.2 [skip netlify] (#2966)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 13:16:43 +00:00
renovate[bot]
74e4d3b362 chore(deps): update dependency netlify to v6.1.24 (#2978)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 11:13:15 +00:00
renovate[bot]
6b43980efe chore(deps): update babel monorepo to v7.14.0 [skip netlify] (#2980)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-02 22:44:53 +00:00
KaTeX bot
9a4b662ff3 chore(release): 0.13.5 [ci skip]
## [0.13.5](https://github.com/KaTeX/KaTeX/compare/v0.13.4...v0.13.5) (2021-05-02)

### Bug Fixes

* Support \S and \P in math mode ([#2977](https://github.com/KaTeX/KaTeX/issues/2977)) ([3f7163d](3f7163daf5))
2021-05-02 20:00:14 +00:00
Ron Kok
3f7163daf5 fix: Support \S and \P in math mode (#2977)
Co-authored-by: Erik Demaine <edemaine@mit.edu>
2021-05-02 15:57:39 -04:00
KaTeX bot
243451a1b9 chore(release): 0.13.4 [ci skip]
## [0.13.4](https://github.com/KaTeX/KaTeX/compare/v0.13.3...v0.13.4) (2021-05-02)

### Bug Fixes

* Avoid crash when \operatorname has \limits ([#2979](https://github.com/KaTeX/KaTeX/issues/2979)) ([fbda0b1](fbda0b1136))
2021-05-02 19:49:57 +00:00
Ron Kok
fbda0b1136 fix: Avoid crash when \operatorname has \limits (#2979) 2021-05-02 15:47:22 -04:00
renovate[bot]
19e0b66639 chore(deps): update dependency cssnano to v5.0.2 [skip netlify] (#2974)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-01 16:41:45 +00:00
renovate[bot]
9aa6e6c717 chore(deps): update dependency caniuse-lite to v1.0.30001219 [skip netlify] (#2971)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-01 11:43:15 +00:00
Erik Demaine
7377fea33a chore(screenshotter): modernize calls to NodeJS Buffer interface (#2962)
Avoid DeprecationWarning during screenshotting

Co-authored-by: ylemkimon <y@ylem.kim>
2021-04-30 20:06:04 +00:00
renovate[bot]
b90b724e34 chore(deps): update actions/github-script action to v4 [skip netlify] (#2967)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-01 05:02:03 +09:00
renovate[bot]
677edd9dbf chore(deps): update dependency stylelint-config-standard to v22 [skip netlify] (#2969)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-01 01:20:29 +09:00
renovate[bot]
f4625fd170 chore(deps): update dependency postcss to v8.2.13 [skip netlify] (#2964)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-29 13:34:21 +00:00
renovate[bot]
3c86f999ba chore(deps): update linters [skip netlify] (#2968)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-27 21:38:22 +00:00
ylemkimon
008c99b415 ci: set necessary token permissions (#2960)
* ci(fonts): set token permission to remove label

I've changed [the default permission of the token to read-only](https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/) and this is the only place we need write access.

* ci(codeql): set token permission to upload result

* ci(codeql): set token permission to read actions
2021-04-27 18:41:05 +00:00
renovate[bot]
7578671f43 chore(deps): update dependency browserslist to v4.16.5 [skip netlify] (#2963)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-25 19:55:22 +00:00
KaTeX bot
b9959815ef chore(release): 0.13.3 [ci skip]
## [0.13.3](https://github.com/KaTeX/KaTeX/compare/v0.13.2...v0.13.3) (2021-04-24)

### Bug Fixes

* Respect catcode in macro expansion and set ~'s catcode correctly ([#2949](https://github.com/KaTeX/KaTeX/issues/2949)) ([01ae7f8](01ae7f8eef)), closes [#2924](https://github.com/KaTeX/KaTeX/issues/2924)
* **array:** Keep single empty row in AMS environments ([#2947](https://github.com/KaTeX/KaTeX/issues/2947)) ([24332e0](24332e053c)), closes [#2944](https://github.com/KaTeX/KaTeX/issues/2944)
2021-04-24 19:35:15 +00:00
Erik Demaine
01ae7f8eef fix: Respect catcode in macro expansion and set ~'s catcode correctly (#2949)
Support single characters having a catcode of 13 (active) or 12 (other),
and expand a macro defined for the character only if it's active.
This enables defining `~` as a macro, but avoiding expansion in URLs.

Fix #2924

Co-authored-by: ylemkimon <y@ylem.kim>
2021-04-24 19:33:01 +00:00
Erik Demaine
24332e053c fix(array): Keep single empty row in AMS environments (#2947)
* fix(array): Keep single empty row in AMS environments

In particular prevents empty equation-numbered environment (e.g. `{align}`)
from crashing.

Fix #2944

* Add tests

Co-authored-by: ylemkimon <y@ylem.kim>
2021-04-24 19:28:16 +00:00
ylemkimon
bc718a0658 ci(release): use KaTeX-bot email address to commit (#2918)
Co-authored-by: Erik Demaine <edemaine@mit.edu>
2021-04-24 17:28:22 +00:00
renovate[bot]
02f4ff500f chore(deps): update dependency netlify to v6.1.20 (#2955)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 15:36:53 +00:00
renovate[bot]
a5f81a6320 chore(deps): update babel monorepo [skip netlify] (#2957)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 11:26:40 +00:00
renovate[bot]
61b67f8835 chore(deps): update dependency caniuse-lite to v1.0.30001214 [skip netlify] (#2954)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 14:54:57 +00:00
renovate[bot]
eb09bbfe01 chore(deps): update dependency css-loader to v5.2.4 [skip netlify] (#2953)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-22 23:06:17 +00:00
renovate[bot]
2935355861 chore(deps): update dependency mini-css-extract-plugin to v1.5.0 [skip netlify] (#2946)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-20 20:23:23 +00:00
renovate[bot]
5c9bd0eb6e chore(deps): update dependency eslint-plugin-flowtype to v5.7.1 [skip netlify] (#2945)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-20 00:25:49 +00:00
Erik Demaine
7973f79830 docs(support): remove excess backslash in CD example (#2943) 2021-04-19 09:14:34 -07:00
renovate[bot]
21c6a379b6 chore(deps): update dependency js-yaml to v4.1.0 [skip netlify] (#2938)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-18 19:35:48 +00:00
renovate[bot]
6cf91017b4 chore(deps): update dependency less-loader to v8.1.1 [skip netlify] (#2940)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-18 16:53:19 +00:00
renovate[bot]
c07729330b chore(deps): update dependency webpack to v5.33.2 [skip netlify] (#2937)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 21:03:13 +00:00
renovate[bot]
d04824c3dc chore(deps): update dependency netlify to v6.1.18 (#2936)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 16:51:56 +00:00
renovate[bot]
28b6d39d17 chore(deps): update dependency webpack-bundle-analyzer to v4.4.1 [skip netlify] (#2934)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 03:51:40 +00:00
renovate[bot]
09a8d9ac83 chore(deps): update dependency cssnano to v5.0.1 [skip netlify] (#2935)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 00:12:50 +00:00
renovate[bot]
8cb45fb37b chore(deps): update linters [skip netlify] (#2933)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-16 03:17:51 +00:00
renovate[bot]
5823fd45b0 chore(deps): update dependency postcss to v8.2.10 [skip netlify] (#2930)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 15:09:35 +00:00
renovate[bot]
e0b19eb450 chore(deps): update dependency browserslist to v4.16.4 [skip netlify] (#2932)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 13:57:53 +00:00
renovate[bot]
e769e824e6 chore(deps): update dependency less-loader to v8.1.0 [skip netlify] (#2926)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-13 17:00:22 +00:00
renovate[bot]
b50d451a94 chore(deps): update dependency cssnano to v5.0.0 [skip netlify] (#2927)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-13 15:54:09 +00:00
renovate[bot]
4db5c81362 chore(deps): update dependency css-loader to v5.2.1 [skip netlify] (#2925)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 19:03:53 +00:00
renovate[bot]
61650eb9fb chore(deps): update babel monorepo to v7.13.15 [skip netlify] (#2923)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-11 18:16:12 +00:00
renovate[bot]
702498acde chore(deps): update dependency caniuse-lite to v1.0.30001208 [skip netlify] (#2922)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-11 12:30:05 +00:00
renovate[bot]
f9c4c17a04 chore(deps): update actions/setup-node action to v2 [skip netlify] (#2919)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-11 06:45:54 +09:00
renovate[bot]
03870b0b69 chore(deps): update dependency mini-css-extract-plugin to v1.4.1 [skip netlify] (#2920)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 15:45:35 +00:00
Erik Demaine
48806364d9 docs(copy-tex): Remove outdated Edge warning (#2917)
Edge now supports putting both ASCII and HTML in the clipboard.

Fixes #2912
2021-04-08 19:17:40 +00:00