URL:
  <https://puszcza.gnu.org.ua/bugs/?655>

                 Summary: adding packages tocloft and etoc makes option frames
not work in tex4ht
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Sun Jun 15 12:52:55 2025
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

TL 2025 on linux

Using this command

make4ht -ulm default foo.tex 'mathjax,htm,frames'

On the following MWE produces no frames, because the latex included these two
packages

\usepackage{tocloft} %makes frames option not work
\usepackage{etoc} %makes frames option not work

When removing these packages, frames option works. Here is MWE

--------------------
\documentclass{book}

\usepackage{tocloft} %makes frames option not work
\usepackage{etoc}
\usepackage{lipsum}

\begin{document}
\title{my book}
\author{me}
\date{\today}
\maketitle

\ifdefined\HCode 
\else 
\tableofcontents
\fi 

\chapter{first chapter}
\section{1st section}
\lipsum[1]
\section{second section}
\lipsum[1]
\section{3rd section}
\lipsum[1]

\end{document}

------------------------------

>From help on tex4ht:

https://www.tug.org/tugboat/tb25-1/gurari.pdf 

"- for content and toc in 2 frames,
use the command line option 'frames'"

Thanks
--Nasser






    _______________________________________________________

Reply to this item at: <https://puszcza.gnu.org.ua/bugs/?655>

_______________________________________________
Message sent via/by Puszcza <https://puszcza.gnu.org.ua/>

Reply via email to