texlive[65428] Master/texmf-dist: \subsubsection as big as main text

commits+karl at tug.org commits+karl at tug.org
Sun Jan 1 23:19:53 CET 2023


Revision: 65428
          http://tug.org/svn/texlive?view=revision&revision=65428
Author:   karl
Date:     2023-01-01 23:19:53 +0100 (Sun, 01 Jan 2023)
Log Message:
-----------
\subsubsection as big as main text

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2023-01-01 20:33:08 UTC (rev 65427)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2023-01-01 22:19:53 UTC (rev 65428)
@@ -1,3 +1,9 @@
+2023-01-01  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4th-html4.tex (html4.4ht): set font size for \subsubsection 
+	to be at least as big as the main text.
+	https://puszcza.gnu.org.ua/bugs/?592
+
 2022-12-30  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (nameref.4ht): fixed support for \\ in \caption.

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex	2023-01-01 20:33:08 UTC (rev 65427)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex	2023-01-01 22:19:53 UTC (rev 65428)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1275 2022-12-24 12:38:23Z michal_h21 $
+% $Id: tex4ht-html4.tex 1281 2023-01-01 22:05:02Z michal_h21 $
 % Compile 4 times: latex tex4ht-html4
 % Copy html4.4ht into the work directory before all but the last compilation.
 %
@@ -811,8 +811,14 @@
    {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
 >>>
 
+This CSS fixes issue that browsers by default render the H5 element in smaller size than 
+is the default font size.
 
+\<shared h5 subsubsection\><<<
+\Css{.subsubsectionHead, .likesubsubsectionHead { font-size: 1em; }}
+>>>
 
+
 \<mwcls divs\><<<
 \ConfigureMark{subsubsection}
    {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2023-01-01 20:33:08 UTC (rev 65427)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2023-01-01 22:19:53 UTC (rev 65428)
@@ -1,4 +1,4 @@
-% html4.4ht (2022-12-24-12:37), generated from tex4ht-html4.tex
+% html4.4ht (2023-01-01-14:19), generated from tex4ht-html4.tex
 % Copyright 2009-2022 TeX Users Group
 % Copyright 1997-2009 Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-12-24-12:37}
+\immediate\write-1{version 2023-01-01-14:19}
 
 \exit:ifnot{8859-6,% 
 CJK,% 
@@ -5821,6 +5821,7 @@
    {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
     \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
    {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Css{.subsubsectionHead, .likesubsubsectionHead { font-size: 1em; }}
 
 \ConfigureMark{subsection}
    {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
@@ -8522,6 +8523,7 @@
    {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
     \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
    {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Css{.subsubsectionHead, .likesubsubsectionHead { font-size: 1em; }}
 
 \ConfigureMark{subsection}
    {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
@@ -11154,6 +11156,7 @@
    {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
     \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
    {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Css{.subsubsectionHead, .likesubsubsectionHead { font-size: 1em; }}
 
 \ConfigureMark{subsection}
    {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
@@ -31959,6 +31962,7 @@
    {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
     \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
    {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Css{.subsubsectionHead, .likesubsubsectionHead { font-size: 1em; }}
 
 \ConfigureMark{subsection}
    {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
@@ -32166,6 +32170,7 @@
    {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
     \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
    {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Css{.subsubsectionHead, .likesubsubsectionHead { font-size: 1em; }}
 
 \ConfigureMark{subsection}
    {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
@@ -32654,6 +32659,7 @@
    {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
     \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
    {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Css{.subsubsectionHead, .likesubsubsectionHead { font-size: 1em; }}
 
 \ConfigureMark{appendix}{\HCode{<span class="titlemark">}%
    \thechapter\HCode{</span>}}
@@ -33983,6 +33989,7 @@
    {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
     \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
    {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Css{.subsubsectionHead, .likesubsubsectionHead { font-size: 1em; }}
 
 \ConfigureMark{appendix}{\HCode{<span class="titlemark">}%
    \thechapter\HCode{</span>}}
@@ -34267,6 +34274,7 @@
    {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
     \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
    {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Css{.subsubsectionHead, .likesubsubsectionHead { font-size: 1em; }}
 
 \ConfigureMark{subsection}
    {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
@@ -38109,6 +38117,7 @@
    {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
     \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
    {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Css{.subsubsectionHead, .likesubsubsectionHead { font-size: 1em; }}
 
 \ConfigureMark{subsection}
    {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble



More information about the tex-live-commits mailing list.