Skip to content

Commit 5068e6a

Browse files
authored
Merge pull request #307 from RRZE-Webteam/dev
Update KaTeX v0.16.9
2 parents d55ba51 + 47d0a21 commit 5068e6a

File tree

87 files changed

+289
-214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+289
-214
lines changed

includes/LaTeX/LaTeX.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ class LaTeX
1212
/**
1313
* KaTeX version
1414
* @var string
15+
* @link https://github.com/KaTeX/KaTeX/releases
1516
*/
16-
const KATEX_VERSION = '0.16.4';
17+
const KATEX_VERSION = '0.16.9';
1718

1819
/**
1920
* Constructor

includes/LaTeX/assets/katex/0.16.4/contrib/render-a11y-string.min.js

-1
This file was deleted.

includes/LaTeX/assets/katex/0.16.4/katex.min.css

-1
This file was deleted.

includes/LaTeX/assets/katex/0.16.4/katex.min.js

-1
This file was deleted.

includes/LaTeX/assets/katex/0.16.4/README.md includes/LaTeX/assets/katex/0.16.9/README.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# [<img src="https://katex.org/img/katex-logo-black.svg" width="130" alt="KaTeX">](https://katex.org/)
1+
<h1><a href="https://katex.org/">
2+
<picture>
3+
<source media="(prefers-color-scheme: dark)" srcset="https://katex.org/img/katex-logo.svg">
4+
<img alt="KaTeX" width=130 src="https://katex.org/img/katex-logo-black.svg">
5+
</picture>
6+
</a></h1>
7+
28
[![npm](https://img.shields.io/npm/v/katex.svg)](https://www.npmjs.com/package/katex)
39
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
410
[![CI](https://github.com/KaTeX/KaTeX/workflows/CI/badge.svg?branch=main&event=push)](https://github.com/KaTeX/KaTeX/actions?query=workflow%3ACI)
@@ -31,13 +37,13 @@ Try out KaTeX [on the demo page](https://katex.org/#demo)!
3137
<!-- KaTeX requires the use of the HTML5 doctype. Without it, KaTeX may not render properly -->
3238
<html>
3339
<head>
34-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].4/dist/katex.min.css" integrity="sha384-vKruj+a13U8yHIkAyGgK1J3ArTLzrFGBbBc0tDp4ad/EyewESeXE/Iv67Aj8gKZ0" crossorigin="anonymous">
40+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].9/dist/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous">
3541

3642
<!-- The loading of KaTeX is deferred to speed up page rendering -->
37-
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/katex.min.js" integrity="sha384-PwRUT/YqbnEjkZO0zZxNqcxACrXe+j766U2amXcgMg5457rve2Y7I6ZJSm2A0mS4" crossorigin="anonymous"></script>
43+
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].9/dist/katex.min.js" integrity="sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8" crossorigin="anonymous"></script>
3844

3945
<!-- To automatically render math in text elements, include the auto-render extension: -->
40-
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous"
46+
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].9/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous"
4147
onload="renderMathInElement(document.body);"></script>
4248
</head>
4349
...

includes/LaTeX/assets/katex/0.16.4/contrib/mhchem.js includes/LaTeX/assets/katex/0.16.9/contrib/mhchem.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ var __webpack_exports__ = {};
8383
/* harmony import */ var katex__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(katex__WEBPACK_IMPORTED_MODULE_0__);
8484
/* eslint-disable */
8585

86-
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
86+
/* -*- Mode: JavaScript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
8787

8888
/* vim: set ts=2 et sw=2 tw=80: */
8989

@@ -3197,7 +3197,7 @@ var texify = {
31973197
}
31983198
}
31993199
}; //
3200-
// Helpers for code anaylsis
3200+
// Helpers for code analysis
32013201
// Will show type error at calling position
32023202
//
32033203

includes/LaTeX/assets/katex/0.16.4/contrib/mhchem.min.js includes/LaTeX/assets/katex/0.16.9/contrib/mhchem.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

includes/LaTeX/assets/katex/0.16.4/contrib/mhchem.mjs includes/LaTeX/assets/katex/0.16.9/contrib/mhchem.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import katex from '../katex.mjs';
22

33
/* eslint-disable */
44

5-
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
5+
/* -*- Mode: JavaScript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
66

77
/* vim: set ts=2 et sw=2 tw=80: */
88

includes/LaTeX/assets/katex/0.16.4/contrib/render-a11y-string.js includes/LaTeX/assets/katex/0.16.9/contrib/render-a11y-string.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ var handleObject = function handleObject(tree, a11yStrings, atomType) {
801801

802802
case "mathchoice":
803803
{
804-
// TODO: track which which style we're using, e.g. dispaly, text, etc.
804+
// TODO: track which style we're using, e.g. display, text, etc.
805805
// default to text style if even that may not be the correct style
806806
buildA11yStrings(tree.text, a11yStrings, atomType);
807807
break;

0 commit comments

Comments
 (0)