chirun-ncl / chirun

A Python package providing the command line interface for building flexible and accessible content with Chirun.
https://chirun.org.uk/
Other
30 stars 4 forks source link

itemize is numbered #180

Closed prowlett closed 1 year ago

prowlett commented 1 year ago

In a LaTeX chapter, this code:

\documentclass{article}
\begin{document}
    \begin{itemize}
        \item Hello.
        \item Goodbye.
    \end{itemize}
\end{document}

produces this in PDF:

image

but this in HTML:

image

In Beamer, this code:

\documentclass{beamer}
\begin{document}
    \begin{frame}{Start}
        \begin{itemize}
            \item Hello.
            \item Goodbye.
        \end{itemize}
    \end{frame}
\end{document}

produces this in PDF

image

but this in HTML

image

and this in the Slides HTML

image

christianp commented 7 months ago

I don't think we can unit test this because the method for list items that this issue was about was implemented in CSS, so you can't tell just from looking at the HTML what marker will be used.