diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-24 22:33:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-24 22:33:03 +0000 |
commit | a8839004e16596333bc82a4cbdef4ec82ce2369e (patch) | |
tree | 4773fb869eb84209c5261532b1eb78482872e482 /Master/texmf-dist/tex/generic/tex4ht/html5.4ht | |
parent | d367788b5abcd18cb9830d29873b62c53e282fae (diff) |
env hooks (tex4ht r870), abstracts support (tex4ht r871-872), doc fixes (tex4ht r873)
git-svn-id: svn://tug.org/texlive/trunk@57516 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.4ht | 70 |
1 files changed, 66 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html5.4ht b/Master/texmf-dist/tex/generic/tex4ht/html5.4ht index 1f088bb3945..4f0416fbfc6 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html5.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html5.4ht @@ -1,4 +1,4 @@ -% html5.4ht (2020-04-13-14:20), generated from tex4ht-html5.tex +% html5.4ht (2021-01-24-13:56), generated from tex4ht-html5.tex % Copyright 2016-2020 TeX Users Group % % This work may be distributed and/or modified under the @@ -16,7 +16,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2020-04-13-14:20} +\immediate\write-1{version 2021-01-24-13:56} \exit:ifnot{amsart,% amsbook,% @@ -24,6 +24,7 @@ amsproc,% article,% book,% latex,% +memoir,% report,% scrartcl,% scrbook,% @@ -270,6 +271,13 @@ tex4ht} \Css{figcaption.caption span.id{font-weight: bold; white-space: nowrap; }} +\ConfigureEnv{abstract} +{\ifvmode\IgnorePar\fi\EndP\HCode{<section role="doc-abstract" class="abstract">\Hnewline}} +{\ifvmode\IgnorePar\fi\EndP\HCode{</section>}}{}{} + +\Css{.abstract{margin:1em;}} + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -308,6 +316,13 @@ tex4ht} \Css{figcaption.caption span.id{font-weight: bold; white-space: nowrap; }} +\ConfigureEnv{abstract} +{\ifvmode\IgnorePar\fi\EndP\HCode{<section role="doc-abstract" class="abstract">\Hnewline}} +{\ifvmode\IgnorePar\fi\EndP\HCode{</section>}}{}{} + +\Css{.abstract{margin:1em;}} + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -330,6 +345,7 @@ tex4ht} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsart} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -368,7 +384,6 @@ tex4ht} \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsbook} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -550,6 +565,49 @@ tex4ht} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{memoir} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \Configure{float} + {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}} + {\:xhtml{\IgnorePar\EndP}\HCode{<figure class="float"\Hnewline>}} + {\ifvmode \IgnorePar \fi\EndP + \HCode{</figure>}\csname par\endcsname\ShowPar} + +\ConfigureEnv{figure} +{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}% + \bgroup \Configure{float}{\ShowPar}{}{}% + } + {\egroup + \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar +\par} + {}{} + +\Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}} +\Css{figure.float img, figure.figure img {display: block; margin-left: auto; margin-right: auto;}} +\Css{figure.figure > p {text-align:center;}} + +\Configure{caption}{\:xhtml{\IgnorePar\EndP}\HCode{<figcaption class="caption" ><span class="id">}} + {:} {\HCode{</span><span \Hnewline class="content">}} + {\HCode{</span></figcaption>}\HCode{<!--tex4ht:label?: + \cur:th\:currentlabel\space-->}% +} +\Css{figcaption.caption {text-indent:-2em; margin-left:3em; margin-right:1em; + text-align:center;}} +\Css{figcaption.caption span.id{font-weight: bold; white-space: nowrap; }} + +\ConfigureEnv{abstract} +{\ifvmode\IgnorePar\fi\EndP\HCode{<section role="doc-abstract" class="abstract">\Hnewline}} +{\ifvmode\IgnorePar\fi\EndP\HCode{</section>}}{}{} + +\Css{.abstract{margin:1em;}} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + @@ -651,6 +709,7 @@ tex4ht} \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{scrartcl} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -689,7 +748,6 @@ tex4ht} \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{scrreprt} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -965,5 +1023,9 @@ tex4ht} + + + + \endinput |