summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/html5.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-10 21:34:55 +0000
committerKarl Berry <karl@freefriends.org>2023-01-10 21:34:55 +0000
commitfd2f9ef68518c5ae05d71a76af7835f3022200e6 (patch)
tree203dff35980bccf7ddd7e79a9b08085ebf34e259 /Master/texmf-dist/tex/generic/tex4ht/html5.4ht
parentac7bb10446cf82e03245669e79ecc4953a2fc2c0 (diff)
css for sections and page dimensions, tex4ht r1283
git-svn-id: svn://tug.org/texlive/trunk@65513 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/html5.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html5.4ht53
1 files changed, 49 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html5.4ht b/Master/texmf-dist/tex/generic/tex4ht/html5.4ht
index f29e77b0d91..2e25a58bcb2 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/html5.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/html5.4ht
@@ -1,5 +1,5 @@
-% html5.4ht (2022-08-11-14:16), generated from tex4ht-html5.tex
-% Copyright 2016-2022 TeX Users Group
+% html5.4ht (2023-01-10-13:34), generated from tex4ht-html5.tex
+% Copyright 2016-2023 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -16,7 +16,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-08-11-14:16}
+\immediate\write-1{version 2023-01-10-13:34}
\exit:ifnot{amsart,%
amsbook,%
@@ -68,6 +68,35 @@ tex4ht}
\else
\Log:Note{To print a timestamp, use the command line option timestamp}
\fi
+\:CheckOption{nostyle}\if:Option
+\else
+\Log:Note{We use a default CSS style. Use the `nostyle' option if you want to use custom a CSS design}
+\Css{body{
+ margin:1em auto;
+ max-width:80ch;
+ padding:0 .62em;
+}}
+
+\Css{h1,h2,h3,h4,h5 {
+ line-height:1.2;
+}}
+\Css{@media print{
+ body{
+ max-width:none
+ }
+}}
+\Css{.partHead, likepartHead { font-size: 2em; }}
+\Css{.chapterHead, likechapterHead { font-size: 1.7411em; }}
+\Css{.sectionHead, likesectionHead { font-size: 1.5157em; }}
+\Css{.subsectionHead, likesubsectionHead { font-size: 1.3195em; }}
+\Css{.subsubsectionHead, likesubsubsectionHead { font-size: 1.1487em; }}
+
+\Css{
+ @media (prefers-color-scheme: dark) {
+ img[src^="\jobname"]{filter: invert(1); }
+ }
+}
+\fi
\def\Declare:Language#1#2{%
\expandafter\gdef\csname rfclang#1\endcsname{#2}%
}
@@ -369,6 +398,8 @@ tex4ht}
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsart}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -416,7 +447,6 @@ tex4ht}
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsbook}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -741,6 +771,16 @@ tex4ht}
+
+
+
+
+
+
+
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{scrbook}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1142,5 +1182,10 @@ tex4ht}
+
+
+
+
+
\endinput