Open afalkenhahn opened 6 months ago
I have a similar issue where \begin(document}
environments seem to get rendered literally (using graphic_cairo.h
in the openmath
branch as well). I'm not quite sure where to look in the code to add support for additional environments like \begin{itemize}
or \begin{document}
@Shootfast look at lib/macro/macro_def.cpp
. The document environment can probably just be a no-op, but itemize will probably need custom code written for it.
When trying to render the following text with MicroTeX using the Cairo backend:
\begin{itemize} \item item1. \item item2 \item item3 \end{itemize}
I get this result:
As you can see, it's all on a single line instead of multiple lines. What can be done to make this render correctly?