bugtex4ht - Bugs: bug #588, After updating to latest TL 2022....

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

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

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Tue Dec 27 02:26:11 2022  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri Mar 3 09:43:20 2023, 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.

Michal Hoftich <michal_h21>
Project Member
Tue Dec 27 02:26:11 2022, original submission:

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

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

<!DOCTYPE html>
<html lang='en-US' xml:lang='en-US'>
<head><title>my book title</title>
<meta charset='utf-8' />
<meta content='TeX4ht (https://tug.org/tex4ht/)' name='generator' />
<meta content='width=device-width,initial-scale=1' name='viewport' />
<link href='index.css' rel='stylesheet' type='text/css' />
<meta content='index.tex' name='src' />
<script>window.MathJax = { tex: { tags: "ams", }, }; </script>
<script async='async' id='MathJax-script' src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js' type='text/javascript'></script>
</head><body>
<!-- l. 10 --><p class='indent'>
</p>
<div class='maketitle'>
<h2 class='titleHead'>my book title</h2>
<div class='author'><span class='ec-lmr-12x-x-120'>me</span></div><br />
<div class='date'><span class='ec-lmr-12x-x-120'>December 26, 2022</span></div>

</div>
</body>
</html>
-------------------------

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

Nasser M. Abbasi <nma123>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by nma123 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Mar 3 09:43:20 2023michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray