Skip to content

Commit

Permalink
Version 0.10.25
Browse files Browse the repository at this point in the history
  • Loading branch information
ronkok committed Mar 31, 2024
1 parent 9fdc09c commit ef49b42
Show file tree
Hide file tree
Showing 22 changed files with 32 additions and 34 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file. This CHANGELOG roughly follows the guidelines from [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).

## [0.10.25] = 2024-03-31

### Fixed

- Build empty braced exponents. Fixes #61.

## [0.10.24] = 2024-03-25

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions dist/temml.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7631,7 +7631,7 @@ defineFunctionBuilders({
if (group.sup) {
const sup = buildGroup$1(group.sup, childStyle);
const testNode = sup.type === "mrow" ? sup.children[0] : sup;
if ((testNode.type === "mo" && testNode.classes.includes("tml-prime"))
if ((testNode && testNode.type === "mo" && testNode.classes.includes("tml-prime"))
&& group.base && group.base.text && group.base.text === "f") {
// Chromium does not address italic correction on prime. Prevent f′ from overlapping.
testNode.classes.push("prime-pad");
Expand Down Expand Up @@ -13312,7 +13312,7 @@ class Style {
* https://mit-license.org/
*/

const version = "0.10.24";
const version = "0.10.25";

function postProcess(block) {
const labelMap = {};
Expand Down
4 changes: 2 additions & 2 deletions dist/temml.js
Original file line number Diff line number Diff line change
Expand Up @@ -7632,7 +7632,7 @@ var temml = (function () {
if (group.sup) {
const sup = buildGroup$1(group.sup, childStyle);
const testNode = sup.type === "mrow" ? sup.children[0] : sup;
if ((testNode.type === "mo" && testNode.classes.includes("tml-prime"))
if ((testNode && testNode.type === "mo" && testNode.classes.includes("tml-prime"))
&& group.base && group.base.text && group.base.text === "f") {
// Chromium does not address italic correction on prime. Prevent f′ from overlapping.
testNode.classes.push("prime-pad");
Expand Down Expand Up @@ -11413,7 +11413,7 @@ var temml = (function () {
* https://mit-license.org/
*/

const version = "0.10.24";
const version = "0.10.25";

function postProcess(block) {
const labelMap = {};
Expand Down
2 changes: 1 addition & 1 deletion dist/temml.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/temml.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7629,7 +7629,7 @@ defineFunctionBuilders({
if (group.sup) {
const sup = buildGroup$1(group.sup, childStyle);
const testNode = sup.type === "mrow" ? sup.children[0] : sup;
if ((testNode.type === "mo" && testNode.classes.includes("tml-prime"))
if ((testNode && testNode.type === "mo" && testNode.classes.includes("tml-prime"))
&& group.base && group.base.text && group.base.text === "f") {
// Chromium does not address italic correction on prime. Prevent f′ from overlapping.
testNode.classes.push("prime-pad");
Expand Down Expand Up @@ -13310,7 +13310,7 @@ class Style {
* https://mit-license.org/
*/

const version = "0.10.24";
const version = "0.10.25";

function postProcess(block) {
const labelMap = {};
Expand Down
2 changes: 1 addition & 1 deletion dist/temmlPostProcess.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* https://mit-license.org/
*/

const version = "0.10.24";
const version = "0.10.25";

function postProcess(block) {
const labelMap = {};
Expand Down
2 changes: 1 addition & 1 deletion docs/administration.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ You can suggest revisions to this page at the Temml [issues page](https://github
<nav>
<div id="sidebar">

$\href{https://temml.org/}{\color{black}\Large\Temml}$   v0.10.24
$\href{https://temml.org/}{\color{black}\Large\Temml}$   v0.10.25

<h3><a href="#top">Contents</a></h3>

Expand Down
2 changes: 1 addition & 1 deletion docs/comparison.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2 id="foreword">Foreword</h2>

<p>MathJax and KaTeX of course also render math in other formats. This comparison is limited to MathML.</p>

<p>Versions used are: Temml 0.10.24, MathJax 2.7.5, KaTeX 0.13.9, and TeXZilla 1.0.2.0</p>
<p>Versions used are: Temml 0.10.25, MathJax 2.7.5, KaTeX 0.13.9, and TeXZilla 1.0.2.0</p>

<h2 id="symbols">Symbols</h2>
<table>
Expand Down
2 changes: 1 addition & 1 deletion docs/support_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,7 @@ If you know the shape of a character, but not its name,
<nav>
<div id="sidebar" class="narrow">

$\href{https://temml.org/}{\color{black}\Large\Temml}$   v0.10.24
$\href{https://temml.org/}{\color{black}\Large\Temml}$   v0.10.25

<div style="height:0.5em;"></div>

Expand Down
2 changes: 1 addition & 1 deletion docs/supported.md
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ Released under the <a href="https://opensource.org/licenses/MIT">MIT License</a>
<nav>
<div id="sidebar">

$\href{https://temml.org/}{\color{black}\Large\Temml}$   v0.10.24
$\href{https://temml.org/}{\color{black}\Large\Temml}$   v0.10.25

<h3><a href="#top">Contents</a></h3>

Expand Down
2 changes: 1 addition & 1 deletion site/assets/temml.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion site/docs/en/administration.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ <h1 id='browser-issues'>Browser Issues</h1>
</main>
<nav>
<div id="sidebar">
<p><span class='hurmet-tex' data-entry='\href{https://temml.org/}{\color{black}\Large\Temml}'><math><mrow href="https://temml.org/"><mstyle mathsize="1.4400em" style="color:black;"><mtext>T</mtext><mspace width="-0.2em" style="margin-left:-0.2em;"></mspace><mpadded voffset="-0.2em" style="padding:0 0 0.2em 0;"><mtext>E</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mrow><mtext>M</mtext><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mpadded voffset="0.2em" style="padding:0.2em 0 0 0;"><mtext>M</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mtext>L</mtext></mrow></mstyle></mrow></math></span>   v0.10.24</p>
<p><span class='hurmet-tex' data-entry='\href{https://temml.org/}{\color{black}\Large\Temml}'><math><mrow href="https://temml.org/"><mstyle mathsize="1.4400em" style="color:black;"><mtext>T</mtext><mspace width="-0.2em" style="margin-left:-0.2em;"></mspace><mpadded voffset="-0.2em" style="padding:0 0 0.2em 0;"><mtext>E</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mrow><mtext>M</mtext><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mpadded voffset="0.2em" style="padding:0.2em 0 0 0;"><mtext>M</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mtext>L</mtext></mrow></mstyle></mrow></math></span>   v0.10.25</p>
<h3><a href="#top">Contents</a></h3>
<ul><li><p><a href='#browser-support'>Browser Support</a></p></li>
<li><p><a href='#installation'>Installation</a></p></li>
Expand Down
2 changes: 1 addition & 1 deletion site/docs/en/comparison.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2 id="foreword">Foreword</h2>

<p>MathJax and KaTeX of course also render math in other formats. This comparison is limited to MathML.</p>

<p>Versions used are: Temml 0.10.24, MathJax 2.7.5, KaTeX 0.13.9, and TeXZilla 1.0.2.0</p>
<p>Versions used are: Temml 0.10.25, MathJax 2.7.5, KaTeX 0.13.9, and TeXZilla 1.0.2.0</p>

<h2 id="symbols">Symbols</h2>
<table>
Expand Down
2 changes: 1 addition & 1 deletion site/docs/en/support_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,7 @@ <h2 id='yz'>YZ</h2>
</main>
<nav>
<div id="sidebar" class="narrow">
<p><span class='hurmet-tex' data-entry='\href{https://temml.org/}{\color{black}\Large\Temml}'><math><mrow href="https://temml.org/"><mstyle mathsize="1.4400em" style="color:black;"><mtext>T</mtext><mspace width="-0.2em" style="margin-left:-0.2em;"></mspace><mpadded voffset="-0.2em" style="padding:0 0 0.2em 0;"><mtext>E</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mrow><mtext>M</mtext><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mpadded voffset="0.2em" style="padding:0.2em 0 0 0;"><mtext>M</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mtext>L</mtext></mrow></mstyle></mrow></math></span>   v0.10.24</p>
<p><span class='hurmet-tex' data-entry='\href{https://temml.org/}{\color{black}\Large\Temml}'><math><mrow href="https://temml.org/"><mstyle mathsize="1.4400em" style="color:black;"><mtext>T</mtext><mspace width="-0.2em" style="margin-left:-0.2em;"></mspace><mpadded voffset="-0.2em" style="padding:0 0 0.2em 0;"><mtext>E</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mrow><mtext>M</mtext><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mpadded voffset="0.2em" style="padding:0.2em 0 0 0;"><mtext>M</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mtext>L</mtext></mrow></mstyle></mrow></math></span>   v0.10.25</p>
<div style="height:0.5em;"></div>
<ul><li class="tight"><p><a href='#symbols'>Symbols</a></p></li>
<li class="tight"><p><a href='#a'>A</a></p></li>
Expand Down
2 changes: 1 addition & 1 deletion site/docs/en/supported.html
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ <h2 id='units'>Units</h2>
</main>
<nav>
<div id="sidebar">
<p><span class='hurmet-tex' data-entry='\href{https://temml.org/}{\color{black}\Large\Temml}'><math><mrow href="https://temml.org/"><mstyle mathsize="1.4400em" style="color:black;"><mtext>T</mtext><mspace width="-0.2em" style="margin-left:-0.2em;"></mspace><mpadded voffset="-0.2em" style="padding:0 0 0.2em 0;"><mtext>E</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mrow><mtext>M</mtext><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mpadded voffset="0.2em" style="padding:0.2em 0 0 0;"><mtext>M</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mtext>L</mtext></mrow></mstyle></mrow></math></span>   v0.10.24</p>
<p><span class='hurmet-tex' data-entry='\href{https://temml.org/}{\color{black}\Large\Temml}'><math><mrow href="https://temml.org/"><mstyle mathsize="1.4400em" style="color:black;"><mtext>T</mtext><mspace width="-0.2em" style="margin-left:-0.2em;"></mspace><mpadded voffset="-0.2em" style="padding:0 0 0.2em 0;"><mtext>E</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mrow><mtext>M</mtext><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mpadded voffset="0.2em" style="padding:0.2em 0 0 0;"><mtext>M</mtext></mpadded><mspace width="-0.08em" style="margin-left:-0.08em;"></mspace><mtext>L</mtext></mrow></mstyle></mrow></math></span>   v0.10.25</p>
<h3><a href="#top">Contents</a></h3>
<ul class="toc">
<li><a href="#accents">Accents</a></li>
Expand Down
2 changes: 1 addition & 1 deletion src/postProcess.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* https://mit-license.org/
*/

export const version = "0.10.24";
export const version = "0.10.25";

export function postProcess(block) {
const labelMap = {}
Expand Down
10 changes: 1 addition & 9 deletions test/Investigate.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,7 @@
</p>

<p>
<math>
<mrow>
<mi>M</mi>
<mi>M</mi>
<mi mathvariant="normal">MM</mi>
<mi>M</mi>
<mi>M</mi>
</mrow>
</math>
<math> <mrow> <mo>(</mo> <mrow> <mo>(</mo> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> <mo>)</mo> </mrow> <mo>)</mo> </mrow> </math> <br/> <math> <mrow> <mo>(</mo> <mrow> <mo>(</mo> <mrow> <mi>x</mi> </mrow> <mo>)</mo> </mrow> <mo>)</mo> </mrow> </math>
</p>

<p>
Expand Down
4 changes: 2 additions & 2 deletions test/temml.js
Original file line number Diff line number Diff line change
Expand Up @@ -7632,7 +7632,7 @@ var temml = (function () {
if (group.sup) {
const sup = buildGroup$1(group.sup, childStyle);
const testNode = sup.type === "mrow" ? sup.children[0] : sup;
if ((testNode.type === "mo" && testNode.classes.includes("tml-prime"))
if ((testNode && testNode.type === "mo" && testNode.classes.includes("tml-prime"))
&& group.base && group.base.text && group.base.text === "f") {
// Chromium does not address italic correction on prime. Prevent f′ from overlapping.
testNode.classes.push("prime-pad");
Expand Down Expand Up @@ -11413,7 +11413,7 @@ var temml = (function () {
* https://mit-license.org/
*/

const version = "0.10.24";
const version = "0.10.25";

function postProcess(block) {
const labelMap = {};
Expand Down
2 changes: 1 addition & 1 deletion test/temmlPostProcess.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* https://mit-license.org/
*/

const version = "0.10.24";
const version = "0.10.25";

function postProcess(block) {
const labelMap = {};
Expand Down
4 changes: 2 additions & 2 deletions utils/temml.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7631,7 +7631,7 @@ defineFunctionBuilders({
if (group.sup) {
const sup = buildGroup$1(group.sup, childStyle);
const testNode = sup.type === "mrow" ? sup.children[0] : sup;
if ((testNode.type === "mo" && testNode.classes.includes("tml-prime"))
if ((testNode && testNode.type === "mo" && testNode.classes.includes("tml-prime"))
&& group.base && group.base.text && group.base.text === "f") {
// Chromium does not address italic correction on prime. Prevent f′ from overlapping.
testNode.classes.push("prime-pad");
Expand Down Expand Up @@ -13312,7 +13312,7 @@ class Style {
* https://mit-license.org/
*/

const version = "0.10.24";
const version = "0.10.25";

function postProcess(block) {
const labelMap = {};
Expand Down
4 changes: 2 additions & 2 deletions utils/temml.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7629,7 +7629,7 @@ defineFunctionBuilders({
if (group.sup) {
const sup = buildGroup$1(group.sup, childStyle);
const testNode = sup.type === "mrow" ? sup.children[0] : sup;
if ((testNode.type === "mo" && testNode.classes.includes("tml-prime"))
if ((testNode && testNode.type === "mo" && testNode.classes.includes("tml-prime"))
&& group.base && group.base.text && group.base.text === "f") {
// Chromium does not address italic correction on prime. Prevent f′ from overlapping.
testNode.classes.push("prime-pad");
Expand Down Expand Up @@ -13310,7 +13310,7 @@ class Style {
* https://mit-license.org/
*/

const version = "0.10.24";
const version = "0.10.25";

function postProcess(block) {
const labelMap = {};
Expand Down

0 comments on commit ef49b42

Please sign in to comment.