next-theme / hexo-filter-mathjax

💯 Server side MathJax renderer plugin for Hexo.
https://www.npmjs.com/package/hexo-filter-mathjax
MIT License
105 stars 6 forks source link

Update dependency mathjax-full to v3.1.3 #31

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mathjax-full 3.1.2 -> 3.1.3 age adoption passing confidence

Release Notes

mathjax/Mathjax-src ### [`v3.1.3`](https://togithub.com/mathjax/Mathjax-src/releases/3.1.3) [Compare Source](https://togithub.com/mathjax/Mathjax-src/compare/3.1.2...3.1.3) This is mostly a bug-fix release, various display bugs and other issues. See the individual bugs linked below for more details, and the [3.1.3 milestone](https://togithub.com/mathjax/MathJax-src/milestone/5) for the pull requests involved in this release. ### New Features in this Release - The speech-rule engine (SRE) has been updated to v3.2.0. ([SRE release notes.](https://togithub.com/zorkow/speech-rule-engine/releases/tag/v3.2.0)) - The options controlling the SRE have been separated out from the other assistive options so they can be configured independently. ([documentation](https://docs.mathjax.org/en/v3.1-latest/options/accessibility.html?highlight=sre#semantic-enrich-extension-options)) - The MathDocument `reset()` command now allows resetting input and output jax. ([#​647](https://togithub.com/mathjax/Mathjax-src/issues/647)) - LaTeX environments can now be defined in the MathJax configuration, just like macros. ([mathjax/MathJax#​2505](https://togithub.com/mathjax/MathJax/issues/2505)) ([documentation](https://docs.mathjax.org/en/v3.1-latest/input/tex/extensions/configmacros.html?highlight=environments)) - Add support for all `\mathXYZ` and `\symXYZ` macros (e.g., `\mathsfit`, `\symbfup`) and use multi-letter `` when possible. ([mathjax/MathJax#​2595](https://togithub.com/mathjax/MathJax/issues/2595)) - Add support for trapping and reporting SRE errors. ([#​679](https://togithub.com/mathjax/Mathjax-src/issues/679)) ([documentation](https://docs.mathjax.org/en/v3.1-latest/options/accessibility.html?highlight=enricherror#semantic-enrich-extension-options)) - Add ability to trigger links within expressions (via the return key) while using the expression explorer. ([#​687](https://togithub.com/mathjax/Mathjax-src/issues/687)) - Update the `mhchem` extension to the latest version from the author. ([#​688](https://togithub.com/mathjax/Mathjax-src/issues/688)) - Update AsciiMath to current version. ([mathjax/MathJax#​2640](https://togithub.com/mathjax/MathJax/issues/2640)) ### Bugs Addressed in this release #### TeX Input Issues - Allow `\middle` to work when a style or color is open. ([mathjax/MathJax#​2663](https://togithub.com/mathjax/MathJax/issues/2663)) - Fully clear tagging on equation start. ([mathjax/MathJax#​2643](https://togithub.com/mathjax/MathJax/issues/2643)) - Ignore `*` in `\\*` and `\\*[...]` constructions. ([mathjax/MathJax#​2433](https://togithub.com/mathjax/MathJax/issues/2433)) - Fix problems with SVG output being misplaced. ([mathjax/MathJax#​2554](https://togithub.com/mathjax/MathJax/issues/2554), [mathjax/MathJax#​2624](https://togithub.com/mathjax/MathJax/issues/2624), [mathjax/MathJax#​2577](https://togithub.com/mathjax/MathJax/issues/2577)) - Fix problem with `\|` being stretchy when it shouldn't be. ([mathjax/MathJax#​2632](https://togithub.com/mathjax/MathJax/issues/2632)) - Fix placement of undefined macro when `textmacros` and `noundefined` are both in effect. ([mathjax/MathJax#​2622](https://togithub.com/mathjax/MathJax/issues/2622)) - Fix problem with autoloading when macro name is followed by a space. ([mathjax/MathJax#​2580](https://togithub.com/mathjax/MathJax/issues/2580)) #### MathML Input Issues - Fix problem with loading entity files when MathML input encounters an entity that isn't defined. ([mathjax/MathJax#​2650](https://togithub.com/mathjax/MathJax/issues/2650)) - Fix handling of `` nodes that look like `\left...\right` to be TeX class INNER. ([mathjax/Mathjax#​2584](https://togithub.com/mathjax/Mathjax/issues/2584)) - Don't mark `` nodes as fences if the parentheses aren't stretchy. ([#​583](https://togithub.com/mathjax/Mathjax-src/issues/583)) - Make `` elements have TeX class NONE. ([mathjax/MathJax#​2576](https://togithub.com/mathjax/MathJax/issues/2576)) #### Output Issues - Fix MathML spacing rules for `` elements to better follow the specification. ([mathjax/MathJax#​2392](https://togithub.com/mathjax/MathJax/issues/2392)) - Better handling of minimum height and width for SVG (so they don't disappear). ([mathjax/MathJax#​2605](https://togithub.com/mathjax/MathJax/issues/2605)) - Fix issues with placement of `` notations. ([mathjax/MathJax#​2571](https://togithub.com/mathjax/MathJax/issues/2571)) - Fix several issues with tables (label alignment in CHTML, lines in SVG in tables with tags, vertical centering). ([mathjax/Mathjax#​2601](https://togithub.com/mathjax/Mathjax/issues/2601)) - Update SVG output so that following a link scrolls to the top of the tag rather than the baseline in all browsers. ([mathjax/MathJax#​2588](https://togithub.com/mathjax/MathJax/issues/2588)) - Use a colon in link anchor ids so that links work in Safari in SVG output. ([mathjax/MathJax#​2586](https://togithub.com/mathjax/MathJax/issues/2586)) - Improve positioning of extenders for stretchy characters. ([mathjax/MathJax#​2547](https://togithub.com/mathjax/MathJax/issues/2547), [mathjax/MathJax#​2598](https://togithub.com/mathjax/MathJax/issues/2598)) - Improve heights of successively larger multi-character surds. ([mathjax/MathJax#​2658](https://togithub.com/mathjax/MathJax/issues/2658)) - Handle variant forms for pseudo-scripts better in fonts that have them. ([mathjax/MathJax#​2519](https://togithub.com/mathjax/MathJax/issues/2519)) - Allow stylesheet to be obtained even after it was created. ([mathjax/MathJax#​2542](https://togithub.com/mathjax/MathJax/issues/2542)) - Correct errors in the horizontal stretchy data for several characters. ([#​645](https://togithub.com/mathjax/Mathjax-src/issues/645)) - Updates to handle `smallmatrix` environment properly. ([#​582](https://togithub.com/mathjax/Mathjax-src/issues/582), [#​621](https://togithub.com/mathjax/Mathjax-src/issues/621)) - Fix problem with selectors for SVG path widths. ([mathjax/MathJax#​2618](https://togithub.com/mathjax/MathJax/issues/2618)) - Fix incorrect glyph for script capital I. ([mathjax/MathJax-src#​2555](https://togithub.com/mathjax/MathJax-src/issues/2555)) - Add a small separation between super- and subscripts and their base. ([mathjax/MathJax#​2406](https://togithub.com/mathjax/MathJax/issues/2406)) - Allow "single-character" `` elements to include trailing combining characters. ([mathjax/MathJax#​2617](https://togithub.com/mathjax/MathJax/issues/2617)) - Improve spacing between accents and their bases, and handle under- and over-lines more like TeX. ([#​619](https://togithub.com/mathjax/Mathjax-src/issues/619)) - Handle accents more like TeX does (better sizes and placement). ([mathjax/MathJax#​712](https://togithub.com/mathjax/MathJax/issues/712), [mathjax/MathJax#​2474](https://togithub.com/mathjax/MathJax/issues/2474)) - Fix handling of italic correction for `` and `` combinations. ([#​634](https://togithub.com/mathjax/Mathjax-src/issues/634)) - Better handling of the placement of scripts in enriched MathML. ([zorkow/speech-rule-engine#​462](https://togithub.com/zorkow/speech-rule-engine/issues/462), [#​617](https://togithub.com/mathjax/Mathjax-src/issues/617)) - Handle spacing in `` elements properly. ([mathjax/MathJax#​2630](https://togithub.com/mathjax/MathJax/issues/2630)) - Make sure hit-box is translated along with the hit-able element in SVG output. ([mathjax/MathJax#​2530](https://togithub.com/mathjax/MathJax/issues/2530)) - Add support for setting the unknown character family for when a character is not in the MathJax fonts. ([#​576](https://togithub.com/mathjax/Mathjax-src/issues/576)) - Make sure bevelled fraction is symmetrically placed. ([#​580](https://togithub.com/mathjax/Mathjax-src/issues/580)) - Prevent border-spacing and border-collapse from being inherited from an outer table. ([#​686](https://togithub.com/mathjax/Mathjax-src/issues/686)) #### Miscellaneous - Update operator dictionary to the current state of Appendix C of the specification. ([#​652](https://togithub.com/mathjax/Mathjax-src/issues/652)) - Skip DOM node types that MathJax can't process. ([mathjax/MathJax#​2662](https://togithub.com/mathjax/MathJax/issues/2662)) - Fix a problem where `enableEnrich` and other a11y options could not be configured. ([mathjax/MathJax#​2651](https://togithub.com/mathjax/MathJax/issues/2651)) - Properly serialize `` content. ([#​678](https://togithub.com/mathjax/Mathjax-src/issues/678)) - Reset the tex labels and ids when A11y changes force re-rendering. ([mathjax/MathJax#​2597](https://togithub.com/mathjax/MathJax/issues/2597)) - Trim TeX and annotations before copying to clipboard. ([mathjax/MathJax#​2574](https://togithub.com/mathjax/MathJax/issues/2574)) - Remove `role='presentation'` attributes. ([mathjax/MathJax#​2608](https://togithub.com/mathjax/MathJax/issues/2608)) - Handle measuring of elements in jsdom adaptor the same way as in liteDOM, since jsdom doesn't do measurements. ([mathjax/MathJax#​2550](https://togithub.com/mathjax/MathJax/issues/2550)) - Show more internal properties in serialized MathML. ([mathjax/MathJax#​2585](https://togithub.com/mathjax/MathJax/issues/2585)) - Improve build tools to make it easier to create custom components. ([#​592](https://togithub.com/mathjax/Mathjax-src/issues/592)) - Fix `pack` and `makeAll` commands to display the modules used in version 5 of webpack. ([#​591](https://togithub.com/mathjax/Mathjax-src/issues/591), [#​579](https://togithub.com/mathjax/Mathjax-src/issues/579)) - Fix webpack.common.js to handle windows paths correctly. ([mathjax/MathJax-demos-web#​30](https://togithub.com/mathjax/MathJax-demos-web/issues/30)) - Update LiteAdaptor to handle full-width characters better. ([mathjax/MathJax-demos-node#​29](https://togithub.com/mathjax/MathJax-demos-node/issues/29)) ### Potential Future Breaking Changes Some of the changes made to the options to accommodate the updated speech-rule engine are potentially breaking changes, in that the previous options (`enrichSpeech`, `a11y.locale`, `a11y.speechRules`) are no longer valid options. Since MathJax flags invalid options and stops processing when it encounters one, this means any configurations that used the older options would no longer work. Version 3.1.3 includes code to transfer the old options to their new locations, but that code will be removed in version 3.2. This gives page authors the opportunity to fix the issue before version 3.2 is released and their pages break. Similarly, the code that automatically renames the older TeX package names to their current all-lower-case versions (e.g., `configMacros` to `configmacros` and `colorV2` to `colorv2`) will likely be removed from version 3.2, so if you are using old package names, you should change your configurations before version 3.2. This applies to `\require{}` macros that refer to the older names as well as their names in the `loader` section, the `tex.packages` array, and the `tex.autoload` block. Version 3.2 will also see the removal of the `matchFontHeight` option for the SVG output jax, since it only applies to the CommonHTML output, but is currently allowed in the `svg` configuration block, while doing nothing. Version 3.2 may include other breaking changes, such as the removal of the `toArray()` method from the `LinkedList` class (and its subclasses), so any custom code that uses that should switch to using `Array.from(...)` around the list instead. Finally, the `Box.ts` and `CssStyles.ts` (and their associated `.js` files) have been moved from the `output` directories to the `util` directory. Compatibility files were placed in the original locations so that older code would continue to work, but these will likely be removed in v3.2, so you should modify any custom code that loads these files to obtain them from the `util` directory instead.

Configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.