When using htlatex on the file with \chapter{...} etc., the resulting html file loses paragraph formatting and is all one big paragraph.

When I comment out \chapter etc., all works fine. I use memoir class.

htlatex Test_html.tex "xhtml,charset=utf-8" " -cunihtf -utf8" "" "--shell-escape"



\chapter{Chapter one}

\section{Section one}

Lorem ipsum

\section{Section two}

Lorem ipsum...

  • could you post a minimal working example that illustrates this behavior? I cannot reproduce that with up-to date tex4ht distribution – michal.h21 Mar 24 at 18:30
  • which TeX distribution do you use? it works correctly on TL 2018 for me. – michal.h21 Mar 24 at 19:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.