[tex4ht] [bug #592] inconsistent font sizes used for subsubsection/paragraph titles in tex4ht. How to fix?

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Sun Jan 1 19:28:48 CET 2023


URL:
  <http://puszcza.gnu.org.ua/bugs/?592>

                 Summary: inconsistent font sizes used for
subsubsection/paragraph titles in tex4ht. How to fix?
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Sun Jan  1 18:28:48 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 shot at

https://tex.stackexchange.com/questions/670328/inconsistent-font-sizes-used-for-subsubsection-paragraph-titles-in-tex4ht-how-t

I noticed in tex4ht that the size of the font used for the paragraph title is
the same as that of the section title (i.e. too large) and the size of the
font for the subsubsection is smaller than that used for the paragraph, which
it should be larger or at least the same size.

This makes looking at titles confusing as font size gives indication of
order.

The font size should decrease all the way from chapter to paragraph. Now it
decreases but then starts to increase once it reaches paragraph.

in PDF, it is consistent, as the sizes decrease correctly from chapter to
paragraph. Screen shots below

MWE

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

\part{first part}
\chapter{first chapter}
\section{first section}
\subsection{first subsection}
\subsubsection{first subsubsection}
\paragraph{first paragraph}

\end{document}
-----------------------


Compiled using

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

Gives

          enter image description here

Compare to the pdf where the sizes decreases uniformly (but hard to see if
font used for paragraph is smaller or same as subsubsection, but at least it
is not larger like with the HTML)

      enter image description here

Question is: How to make the size of the font used for paragraph title with
tex4ht not be larger than subsubsection? Is there a way to control these
settings?

TL 2022





    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?592>

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



More information about the tex4ht mailing list.