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

Itemize doesn't render correctly #175

Open
afalkenhahn opened this issue May 19, 2024 · 2 comments
Open

Itemize doesn't render correctly #175

afalkenhahn opened this issue May 19, 2024 · 2 comments

Comments

@afalkenhahn
Copy link

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:

itemize

As you can see, it's all on a single line instead of multiple lines. What can be done to make this render correctly?

@Shootfast
Copy link

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}

@sp1ritCS
Copy link
Contributor

sp1ritCS commented Aug 7, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants