1

The enumerate package causes problems with make4ht, there are extra spaces and strange alignment.

\documentclass{article}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}
    \item text
    \item other text
\end{enumerate}
\end{document}

I compile with make4ht file.tex

1 Answer 1

1

It seems that there is a large space between the enumerate label and text. You can remove it using the following config file:

\Preamble{xhtml}
\Css{dd.enumerate{margin-left:0;}}
\begin{document}
\EndPreamble

It uses a CSS code that sets the left margin of enumerate text to zero, which removes the large space.

This is the result:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .