Added support for \mathtip{math}{tip} and \texttip{math}{tip} commands.
These commands are also supported by MathJax.
Added options.enablePopover option which can be set to false to prevent
the auto-complete popover from being displayed.
Changed the layout of the popover to display multiple options at once
Added the \error{} command which displays its content with a red underline.
A specific Compute Engine instance can be associated with a mathfield using
mf.computeEngine = ce. If none is provided, a default Compute Engine
instance is created when necessary. Setting the property to null will
prevent the Compute Engine from being used, but the MathJSON format will not
be available.
Improvements
Audio feedback is now using the Web Audio API. Previously, audio feedback was
provided using an Audio element, but browsers have limitations to the number
of Audio elements which can be instantiated in a page at a time, and this
limit is reached surprisingly quickly wiht multiple mathfields on a page.
The window.mathlive global is now globalThis[Symbol.for("mathlive")]. This
is mostly used internally for coordination between mathfields in the same
context but it also includes the version property which may be of use for
debugging or to report issues.
Bug Fixes
#1715, #1716: fill-in-the-blank placeholders inside a <math-field>
did not inherit the options from their parent container.
0.84.0 (2022-10-19)
New Features
When using renderMathInElement or renderMathInDocument to render math
content, the math content can now be provided as MathJSON in addition to LaTeX
by using a <script> tag with a type of math/json.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps mathlive from 0.79.0 to 0.85.1.
Changelog
Sourced from mathlive's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)