Take a typical 'book.cls' document structure, as the following MWE.tex:
\documentclass{book}
\usepackage[english]{babel}
\begin{document}
\frontmatter
\chapter{Preface}
\mainmatter
\chapter{First Chapter}
\appendix
\chapter{First Appendix}
\backmatter
% References
\end{document}
The result is that the chapters in the the frontmatter are not numbered, while the actual numbering starts in the mainmatter:
Preface
Chapter 1 - First Chapter
Appendix A - First Appendix
It seems that LaTeXML does not get it right. A simple conversion
latexmlc MWE.tex --verbose --format=html5 --destination=MWE.html
gives the following document structure:
Chapter 1 - Preface
Chapter 2 - First Chapter
Appendix A - First Appendix
Take a typical 'book.cls' document structure, as the following
MWE.tex:The result is that the chapters in the the
frontmatterare not numbered, while the actual numbering starts in themainmatter:It seems that LaTeXML does not get it right. A simple conversion
gives the following document structure: