Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 resolves #411 fix MathJax equation numbering #412

Merged
merged 1 commit into from
Aug 13, 2020

Conversation

ggrossetie
Copy link
Member

MathJax 3+ does not allow invalid values for equation numbering.
Possible values are:

  • none
  • all
  • ams

See http://docs.mathjax.org/en/latest/options/input/tex.html#tex-options

When the attribute eqnums is not set, equation numbering is disabled (none).
When the attribute value of eqnums is:

  • all: equation numbering is enabled on all blocks (all)
  • none: equation numbering is disabled (none)
  • ams: AMS-style equation numbering is enabled (ams)
  • empty: AMS-style equation numbering is enabled (ams)
  • any other value: AMS-style equation numbering is enabled (ams)

This behavior is backward compatible with MathJax 2.7.

resolves #411

//cc @mojavelinux

MathJax 3+ does not allow invalid values for equation numbering.
Possible values are:
- `none`
- `all`
- `ams`

See http://docs.mathjax.org/en/latest/options/input/tex.html#tex-options

When the attribute `eqnums` is not set, equation numbering is disabled (`none`).
When the attribute value of `eqnums` is:
- `all`: equation numbering is enabled on all blocks (`all`)
- `none`: equation numbering is disabled (`none`)
- `ams`: AMS-style equation numbering is enabled (`ams`)
- empty: AMS-style equation numbering is enabled (`ams`)
- any other value: AMS-style equation numbering is enabled (`ams`)

This behavior is backward compatible with MathJax 2.7.
@ggrossetie ggrossetie changed the title resolves #411 fix MathJax equation numbering 🐛 resolves #411 fix MathJax equation numbering Aug 13, 2020
@ggrossetie ggrossetie merged commit d648997 into asciidoctor:master Aug 13, 2020
@ggrossetie ggrossetie deleted the issue-411-mathjax-eqnums branch August 13, 2020 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mathjax is broken when :eqnums: is used
1 participant