Commit Graph

1807 Commits

Author SHA1 Message Date
renovate[bot]
ad07ebebee chore(deps): update dependency prettier to v2.3.0 [skip netlify] (#3016)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-13 19:48:50 +00:00
renovate[bot]
0557a394b9 chore(deps): update dependency webpack to v5.37.0 [skip netlify] (#3020)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-13 18:50:28 +00:00
Mingye Wang
7933729701 docs: mention wrapping in inline mode (#2972)
* docs: mention wrapping in inline mode

* Apply suggestions from code review

Co-authored-by: Erik Demaine <edemaine@mit.edu>

* Add some CSS examples. 

* fixup! docs/issues: remove fleqn thing

* Minor tweaks

* Link to custom CSS

Co-authored-by: Erik Demaine <edemaine@mit.edu>
2021-05-12 14:32:14 +00:00
renovate[bot]
aec39f6daf chore(deps): update dependency eslint to v7.26.0 [skip netlify] (#3005)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-12 05:02:29 +00:00
renovate[bot]
1d04fda4d7 chore(deps): update dependency webpack-cli to v4.7.0 [skip netlify] (#3003)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-12 03:28:06 +00:00
KaTeX bot
b03d0c278e chore(release): 0.13.10 [ci skip]
## [0.13.10](https://github.com/KaTeX/KaTeX/compare/v0.13.9...v0.13.10) (2021-05-12)

### Bug Fixes

* Correct for negative margin in integrand lower limits ([#2987](https://github.com/KaTeX/KaTeX/issues/2987)) ([9b4acc9](9b4acc971c))
2021-05-12 01:29:07 +00:00
Ron Kok
9b4acc971c fix: Correct for negative margin in integrand lower limits (#2987)
* fix: Correct for negative margin in integrand lower limits.

* Adjust for width limit.

* Update screenshots.

* Update Safari screenshot.

* Catch null subGroup.

* Remove redundant code.
2021-05-11 21:26:35 -04:00
renovate[bot]
1ed90e4a65 chore(deps): update dependency caniuse-lite to v1.0.30001223 [skip netlify] (#3002)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-09 09:43:54 +00:00
renovate[bot]
376b78ab6a chore(deps): update dependency postcss to v8.2.14 [skip netlify] (#3001)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-08 22:38:57 +00:00
renovate[bot]
2a5cdd0275 chore(deps): update dependency @babel/preset-env to v7.14.1 [skip netlify] (#2996)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-07 09:10:10 +00:00
KaTeX bot
6dda13e1f1 chore(release): 0.13.9 [ci skip]
## [0.13.9](https://github.com/KaTeX/KaTeX/compare/v0.13.8...v0.13.9) (2021-05-07)

### Bug Fixes

* MathML for stretchy accents. [#2990](https://github.com/KaTeX/KaTeX/issues/2990) ([#2991](https://github.com/KaTeX/KaTeX/issues/2991)) ([1cb6279](1cb62799c6))
2021-05-07 03:34:19 +00:00
Nfer Zhuang
1cb62799c6 fix: MathML for stretchy accents. #2990 (#2991)
* fix #2990

fix make stretchycode to textNode bug.

* fix: fix stretchy.js@mathMLnode line too long

* chore(screenshotter): update stretchy snapshots

* fix: remove dup '\' in cdrightarrow cdleftarrow and cdlongequal

* test: add stretchy MathML builder test case

Co-authored-by: nferzhuang <nferzhuang@tencent.com>
Co-authored-by: Ron Kok <ronkok@comcast.net>
2021-05-06 20:31:52 -07:00
KaTeX bot
0f80a6ffcd chore(release): 0.13.8 [ci skip]
## [0.13.8](https://github.com/KaTeX/KaTeX/compare/v0.13.7...v0.13.8) (2021-05-06)

### Features

* \operatornamewithlimits (and clean up \operatorname support) ([#2984](https://github.com/KaTeX/KaTeX/issues/2984)) ([e9b751b](e9b751b72d))
2021-05-06 21:52:22 +00:00
Erik Demaine
e9b751b72d feat: \operatornamewithlimits (and clean up \operatorname support) (#2984)
* feat: \operatornamewithlimits (and clean up \operatorname support)

Add support for `\operatornamewithlimits` (an alias to `\operatorname*`
defined in `amsmath/amsopn.sty`), and use KaTeX's existing `\@ifstar`
macro to define `\operatorname` instead of a special lexing rule
(simplifying the lexer).

* Pick up one comment

* Actually fix docs this time

Co-authored-by: Ron Kok <ronkok@comcast.net>
2021-05-06 14:49:34 -07:00
KaTeX bot
6a7e3073a7 chore(release): 0.13.7 [ci skip]
## [0.13.7](https://github.com/KaTeX/KaTeX/compare/v0.13.6...v0.13.7) (2021-05-06)

### Bug Fixes

* binom delimiter size in scriptscriptstyle. ([#2976](https://github.com/KaTeX/KaTeX/issues/2976)) ([980b004](980b004023))
2021-05-06 18:29:57 +00:00
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