Is it possible to change the settings of dvi compilation in tex4ht? I ask, because I get a strange errors, when trying to generate html for my latex file:
! Use of \leftmargin doesn't match its definition.
[exec] \@listi ...argin \leftmargini \parsep 4\p@ \@plus
[exec] 2\p@ \@minus \p@ \topsep 8...
[exec] l.18 \begin{itemize}
[exec]
[exec] ?
[exec] ! Emergency stop.
[exec] \@listi ...argin \leftmargini \parsep 4\p@ \@plus
[exec] 2\p@ \@minus \p@ \topsep 8...
[exec] l.18 \begin{itemize}
I do not have any errors like that, when generating pdf or dvi (using texify.exe)
UPDATE. I have created a sample tex that produces the error:
\documentclass[10pt]{book}
\usepackage{float}
\usepackage{hyperref}
\usepackage{tabularx}
\usepackage[style=altlist, %Verwendung eines Glossars
nonumberlist,
numberedsection,
acronym,
toc]{glossaries}
\newacronym{ie}{{\small IE}}{}
\newacronym{ml}{{\small ML}}{}
\makeglossaries
\begin{document}
\chapter{Example}
\glsresetall
\subsection{Fundamentals}
\gls{ie}
\begin{table}[tpb]
\begin{center}
\begin{tabularx}{\columnwidth}{|l|X|}
\hline
\textbf{Doc No} & \textbf{Text} \\ \hline
5641 & Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium \\ \hline
9382 & Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium \\ \hline
\end{tabularx}
\end{center}
\caption{AAA \label{tbl:unstr_example}}
\end{table}
\gls{ie}
\appendix
\printglossary[toctitle=Acronyms,type=\acronymtype]
\printglossary[toctitle=Glossary, type=main]
\bibliographystyle{apalike}
\bibliography{}
\clearpage
\pagestyle{empty}
\end{document}
The error message for the sample doc is (run: htlatex test_doc.tex):
! Use of \leftmargin doesn't match its definition.
\@listi ...argin \leftmargini \parsep 4\p@ \@plus
2\p@ \@minus \p@ \topsep 8...
l.2 \begin{theglossary}
\glossaryheader
?
! Emergency stop.
\@listi ...argin \leftmargini \parsep 4\p@ \@plus
2\p@ \@minus \p@ \topsep 8...
l.2 \begin{theglossary}
\glossaryheader
The error does not appear if I remove \small from acronym definition: \newacronym{ie}{{\small IE}}{information extraction}
