chirun-ncl / chirun

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

itemize is numbered #180

Closed prowlett closed 9 months ago

prowlett commented 9 months 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 2 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.