[tex4ht] [bug #588] After updating to latest TL 2022. tex4ht no longer shows table of content when using split level

2023-03-03 Thread Michal Hoftich
Update of bug #588 (project tex4ht):

 Open/Closed:Open => Closed 

___

Follow-up Comment #1:

This issue should be fixed now. The problem was that the sectioning command
that is used in \tableofcontents to print the "Contents" string caused page
cut. 

___

Reply to this item at:

  

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



[tex4ht] [bug #588] After updating to latest TL 2022. tex4ht no longer shows table of content when using split level

2022-12-26 Thread Nasser M. Abbasi
URL:
  

 Summary: After updating to latest TL 2022. tex4ht no longer
shows table of content when using split level
 Project: tex4ht
Submitted by: nma123
Submitted on: Tue Dec 27 02:26:11 2022
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/669769/problem-1-after-updating-to-latest-tl-2022-tex4ht-no-longer-shows-table-of-con


I found two big problems so far after I just updated to latest TL 2022 2 hrs
ago.

So I will post two separate questions on these. If I find more, will add
separate questions.

I found that table of content no longer shows up on the webpage when using
split level. The index.htm has basically an empty body.

If I do not use split level, then it does show. But this is not how it is
supposed to be.

Here is a MWE

---
\documentclass[12pt]{book}%
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{hyperref}

\begin{document}

\frontmatter
\title{my book title}
\author{me}
\date{\today}
\maketitle

\ifdefined\HCode 
\Configure{tableofcontents*}{chapter}   
\TocAt{chapter,section}
\TocAt{section,subsection}
\TocAt{subsection,subsubsection}
\TocAt{subsubsection,paragraph}
\fi 

\tableofcontents
\mainmatter

\chapter{First order ode $F\left(  x,y,y^{\prime}\right)  =0$}%
data
\section{First order linear in derivative $F\left( 
x,y,y^{\prime}\right)=0$}%
These are first order ode's which are linear in $y^{\prime}$.
\subsection{Quadrature ode $y^{\prime}=f\left(  x\right)  $}
data
\subsubsection{Introduction}
data
\end{document}
---

Compiled using

 make4ht -ulm default -a debug  index.tex 'mathjax,htm,4'

This is the HTML generated (no table of content)


This is the raw html

---

 
 
my book title 
 
 
 
 
 
window.MathJax = { tex: { tags: "ams", }, };  
   


   

my book title
me
December 26,
2022
  

 

-

You can see, empty body. This happens when asking for a split level. changing
4 to 3 or 2 in the command

 make4ht -ulm default -a debug  index.tex 'mathjax,htm,4'

makes no difference. Main page is empty. So something went badly wrong
somewhere.

>which tex4ht
/usr/local/texlive/2022/bin/x86_64-linux/tex4ht
>make4ht --version
make4ht version v0.3l







___

Reply to this item at:

  

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