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

[CommonHTML] issues with vectors #355

Closed
roman-spiridonov opened this issue Aug 29, 2017 · 2 comments
Closed

[CommonHTML] issues with vectors #355

roman-spiridonov opened this issue Aug 29, 2017 · 2 comments

Comments

@roman-spiridonov
Copy link

roman-spiridonov commented Aug 29, 2017

I found this issue when updating mathjax-node for mathjax-node-page project.
The latter has a nice test.html file.
If you convert it using v1.2.0 for mjnode you will get the following vector overlap issues:
image

Below are the formula contents.

    \begin{align}
      \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\
      \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\
      \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\
      \nabla \cdot \vec{\mathbf{B}} & = 0
    \end{align}

UPD: actually I am not sure that it was v1.2.0 update that caused the issue, so changed the issue title.

@roman-spiridonov roman-spiridonov changed the title v1.2.0 update caused CSS issues in html output CSS issues in html output with vectors Aug 29, 2017
@pkra pkra changed the title CSS issues in html output with vectors [CommonHTML] issues with vectors Aug 29, 2017
@pkra pkra added the Accepted label Aug 29, 2017
@pkra
Copy link
Contributor

pkra commented Aug 29, 2017

Thanks for the report.

This is a regression due to changes in MathJax v2.7.2 (adding new fonts) and a hardcoded value of fontURL.

To workaround this, configure fontURL manually to 2.7.2 (instead of 2.7.0).

@pkra pkra added this to the 2.7.1 milestone Aug 29, 2017
pkra added a commit that referenced this issue Aug 29, 2017
roman-spiridonov added a commit to roman-spiridonov/mathjax-node-page that referenced this issue Aug 29, 2017
roman-spiridonov added a commit to roman-spiridonov/mathjax-node-page that referenced this issue Aug 29, 2017
@pkra pkra mentioned this issue Sep 5, 2017
@pkra
Copy link
Contributor

pkra commented Sep 5, 2017

Fixed in develop.

@pkra pkra closed this as completed Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants