Support embedded SVG in LaTeX expressions.
TODO: The LaTeX output does not look correct here!
*** Parameters: ***
require 'maruku/ext/math'; {:html_math_engine => 'itex2mml'}
*** Markdown input: ***
In $SU(3)$, $\begin{svg}
\end{svg}\includegraphics[width=2em]{young1}
\otimes
\begin{svg}
\end{svg}\includegraphics[width=1em]{young2}
=
\begin{svg}
\end{svg}\includegraphics[width=2em]{young3}
\oplus
\begin{svg}
\end{svg}\includegraphics[width=3em]{young4}$.
*** Output of inspect ***
md_el(:document,[
md_par(["In ",
md_el(:inline_math, [], {:math=>"SU(3)"}),
", ",
md_el(:inline_math, [], {:math=>"\\begin{svg}\n\n\\end{svg}\\includegraphics[width=2em]{young1}\n \\otimes\n\\begin{svg}\n\n\\end{svg}\\includegraphics[width=1em]{young2}\n =\n\\begin{svg}\n\n\\end{svg}\\includegraphics[width=2em]{young3}\n \\oplus\n\\begin{svg}\n\n\\end{svg}\\includegraphics[width=3em]{young4}"}),
"."
])
],{},[])
*** Output of to_html ***
In , .
*** Output of to_latex ***
In $SU(3)$, $ \includegraphics[width=2em]{young1}
\otimes
\includegraphics[width=1em]{young2}
=
\includegraphics[width=2em]{young3}
\oplus
\includegraphics[width=3em]{young4}$.