[tex4ht] [bug #606] tex4ht duplicates TOC in two columns in TL 2023 but OK in TL 2022. What changed?

2023-09-21 Thread Michal Hoftich
Update of bug #606 (project tex4ht):

 Open/Closed:Open => Closed 

___

Follow-up Comment #1:

I've fixed that recently. Details are on TeX.sx.

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #606] tex4ht duplicates TOC in two columns in TL 2023 but OK in TL 2022. What changed?

2023-07-31 Thread Nasser M. Abbasi
URL:
  

 Summary: tex4ht duplicates TOC in two columns in TL 2023 but
OK in TL 2022. What changed?
 Project: tex4ht
Submitted by: nma123
Submitted on: Mon Jul 31 10:12:14 2023
Category: None
Priority: 5 - Normal
Severity: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

Reference and screen shots at  

https://tex.stackexchange.com/questions/692383/tex4ht-duplicates-toc-in-two-columns-in-tl-2023-but-ok-in-tl-2022-what-changed

I found a problem in TL 2023 on same document and same command, where now
tex4ht duplicates the TOC in two columns instead of spreading the TOC over the
two columns as it always did before.

Same document, same command. So something changed. The question is how to make
it behave as it did in TL 2022? Do I need to change something in the command
or in the latex?

I have document where in HTML only, I wanted to make the TOC spread over 2
columns because it is very long so I am using multicol package. This has been
working ok for many years.

Here is MWE

---
\documentclass[12pt,titlepage]{article}
\usepackage{multicol}

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

\ifdefined\HCode 
\Configure{tableofcontents*}{section}
\fi 

\ifdefined\HCode 
\begin{multicols}{2}
{
\tableofcontents
}
\end{multicols}
\else 
\tableofcontents
\fi 

\section{section 1}
text
\section{section 2}
text
\section{section 3}
text
\section{section 4}
text
\section{section 5}
text
\section{section 6}
text

\end{document}


Compiled using

make4ht -ulm default -a warning main.tex 
 'mathjax,htm,fn-in,0,notoc*,p-width,cut-fullname'

This is the output on a Linux running TL 2023

enter image description here

This is the output on a Linux still running TL 2022

enter image description here

Thanks
--Nasser





___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/