[tex4ht] [bug #588] After updating to latest TL 2022. tex4ht no longer shows table of content when using split level
Nasser M. Abbasi
puszcza-hackers at gnu.org.ua
Tue Dec 27 03:26:11 CET 2022
URL:
<http://puszcza.gnu.org.ua/bugs/?588>
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
-------------------------------
<!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
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?588>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the tex4ht
mailing list.