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

                 Summary: TeX4ht warning — \SaveEverypar’s. With book
class and subimport
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Fri Jul  4 00:38:03 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:


Reference and screen shots at 

<https://tex.stackexchange.com/questions/747210/tex4ht-warning-saveeverypar-s-with-book-class-and-subimport>

This warning has been in tex4ht for long time. Finally I am able to make MWE
to reproduce it.

This is a book class, with two parts. When one part does \subimport{.}{B} to
load B.tex which is book class document which has \chapter in it, tex4ht
generates this at the end of B.tex when compiled

--------------------
 l.13 — TeX4ht warning — \SaveEverypar’s: 2 at \begindocument and 3
\enddocument —
------------------------

Here is MWE and command used. I am using TL 2025 updated today. This is A.tex
file

---------------------------
\documentclass[12pt]{book}%
\usepackage{standalone}   
\usepackage{import}

\setcounter{secnumdepth}{6}  %for body of book to show subsubsubsection    
\begin{document}

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

\ifdefined\HCode 
  \Configure{tableofcontents*}{part}   
  \TocAt{part,chapter}
  \TocAt{chapter,section}
\else
  \setcounter{tocdepth}{0}
  \tableofcontents
\fi 

\part{Introduction and design}

\chapter{Introduction}
\section{Supported differential equations}
text...
\section{Types of solutions supported}
text...

\chapter{Design of the ode solver program}
text...

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\part{First order ode $F\left(  x,y,y^{\prime}\right)  =0$}

\subimport{.}{B}
\end{document}
--------------------

And this is B.tex in same folder as A.tex

--------------------------
\documentclass{book}%
%\usepackage{standalone}   %has no effect
%\standalonetrue %has no effect

\begin{document}

\chapter{Existence, uniqueness}%

to do
%WARNING SHOW HERE
\end{document}
---------------------

The command used is

make4ht  -ulm default -a debug  A.tex 'mathjax,htm,6'

The split level 6 above does not matter. I tried 2,3,4,5 and they all produce
same warning.

enter image description here

The output of the command produces these warnings

.....
.37 --- TeX4ht warning --- \Link{tailApa2.htm}? ---
l.37 --- TeX4ht warning --- \Link{ }? ---
(./A.4ct)
[15]
[16] (././B.tex
[17]
[18]
Chapter 3.
l.7 --- TeX4ht warning --- \Link{tailAch3.htm}? ---
l.7 --- TeX4ht warning --- \Link{ }? ---
(./A.4ct))
l.41 --- TeX4ht warning --- \Link{ }? ---

[19]
l.41 --- TeX4ht warning --- \Link{ }? ---

:::::::::::::::::::::::::::::::::::::::::
 TeX4ht info is available in the log file 
::::::::::::::::::::::::::::::::::::::::::
) (/usr/local/texlive/2025/texmf-dist/tex/generic/tex4ht/tex4ht.sty
l.875 --- TeX4ht warning --- nonprimitive \everypar ---
--- needs --- tex4ht A ---
(./A.tmp) (./A.xref)

This zip file 

https://12000.org/tmp/070325/tex4ht_warning.zip

contains everything in one folder, including the log file, HTML produces and
.tex files

enter image description here

Am I doing wrong? Why tex4ht generates these warnings? And what to do so they
do not show?

Note: lualatex compiles A.tex with no warnings or any issues.







    _______________________________________________________

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

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

Reply via email to