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

bookml hides align'ed equations when MathJax renders as SVG #1

Closed
rzach opened this issue Jul 21, 2023 · 0 comments
Closed

bookml hides align'ed equations when MathJax renders as SVG #1

rzach opened this issue Jul 21, 2023 · 0 comments
Labels
bug Something isn't working css

Comments

@rzach
Copy link

rzach commented Jul 21, 2023

When you use the SVG renderer in MathJax, equations produced using the align environment don't display when run through BookML.

Here's a test file:

\documentclass{article}
\usepackage{amsmath,bookml/bookml}
\begin{document}
\[a=2b\]
\begin{align*}
  a & = 2b
\end{align*}
\end{document}

The culprit seems to be the max-width attribute on svg tags in style.gitbook.css. See attached screenshots. (It works fine if MathJax uses the CHTML renderer)
Screenshot from 2023-07-21 09-34-18
Screenshot from 2023-07-21 09-34-23

@xworld21 xworld21 added css bug Something isn't working labels Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working css
Development

No branches or pull requests

2 participants