-
-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
MWE (to be run in VSCode):
using Latexify, LaTeXStrings
latex_string = L"\begin{align*}
\require{mhchem}
\ce{ A &->[${\lambda}1$] B}
\end{align*}"
latexify(rn) |> s -> render(s, MIME("juliavscode/html"))
latexify(rn) |> s -> render(s, MIME("image/png"))
Here, latex_string is the LaTeX output of a Catalyst chemical reaction: see SciML/Catalyst.jl#566 for further discussion. The PNG output renderes correctly, but the juliavscode/html option (which is the default in VSCode) displays an error:

which seems to be due to the ${\lambda}1$ (which is valid LaTeX and accepted by the other mimes).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels