summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-05-14 03:01:02 +0000
committerNorbert Preining <norbert@preining.info>2024-05-14 03:01:02 +0000
commitf37b07217a41ad15251ba603bade202897769a05 (patch)
tree81a43508517df44f8f920bdba15c92e32482b0fc /support/TeX4ht/source
parent783a8e848cd9e9023287546627c43afbcae2d2f6 (diff)
CTAN sync 202405140301
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r--support/TeX4ht/source/ChangeLog8
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex57
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex47
3 files changed, 70 insertions, 42 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index ccd09bba95..3e15e91edc 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,5 +1,13 @@
2024-05-10 Michal Hoftich <michal.h21@gmail.com>
+ * tex4ht-4ht.tex (lettrine.4ht): defined more keys supported by the
+ \lettrine command.
+ https://tex.stackexchange.com/a/717883/2891
+ * tex4ht-html4.tex (html4.4ht): moved HTML declarations for the
+ Lettrine package from lettrine.4ht.
+
+2024-05-10 Michal Hoftich <michal.h21@gmail.com>
+
* tex4ht-fonts-noncjk.tex (
./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/adobe/courier/*.htf,
./tex4ht.dir/texmf/tex4ht/ht-fonts/alias/adobe/courier/*.htf
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 8d96fba96d..22c0361ada 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1516 2024-05-09 13:28:51Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1518 2024-05-13 20:19:03Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -34963,10 +34963,24 @@ but fatal error is a worse possibility.
\<config lettrine\><<<
\NewConfigure{lettrine}{7}
+\NewConfigure{lettrinechar}{2}
\define@key{L}{ante}{\def\LH:ante{#1}}%
\define@key{L}{findent}{\def\LH:findent{#1}}%
\define@key{L}{lhang}{\def\LH:lhang{#1}}%
\define@key{L}{lines}{\def\LH:lines{#1}}%
+\define@key{L}{slope}{}
+\define@key{L}{depth}{}
+\define@key{L}{loversize}{}
+\define@key{L}{lraise}{}
+\define@key{L}{nindent}{}
+\define@key{L}{novskip}{}
+\define@key{L}{image}{}
+\define@key{L}{grid}{}
+\define@key{L}{realheight}{}
+\define@key{L}{refstring}{}
+\define@key{L}{refstring}{}
+\define@key{L}{optionsfile}{}
+
\def\reset:LH:keys{\let\LH:ante\@empty
\def\LH:lines{2}%
\def\LH:lhang{0}%
@@ -34979,48 +34993,9 @@ but fatal error is a worse possibility.
\a:lettrine
\ifx\LH:ante\@empty\else\f:lettrine\LH:ante\g:lettrine\fi
\c:lettrine
- \HCode{<span class="lettrine-}#2\HCode{">}#2\HCode{</span>}
+ \a:lettrinechar#2\b:lettrinechar
\b:lettrine\d:lettrine#3\e:lettrine
\reset:LH:keys}
-%
-% a: before lettrine
-% b: after lettrine
-% c: before letter
-% d: between letter and string
-% e: after string
-% f: before ante
-% g: after ante
-%
-\Configure{lettrine}
- {\HCode{<span class="lettrine">}}
- {\HCode{</span>}}
-%
- {\HCode{<span class="lettrine-letter">}}
- {\HCode{</span><span class="lettrine-line">}}
- {\HCode{</span>}}
-%
- {\HCode{<span class="lettrine-ante">}}
- {\HCode{</span>}}
-%
-% Define default Css
-%
-\Css{.lettrine{float: left;
- line-height: 0.7; margin-left: -0.1em;
- margin-bottom: -.5em; margin-right: 0.2em;
- }}
-\Css{.lettrine-ante{vertical-align: top;}}
-\Css{.lettrine-letter{font-style: normal;
- font-size: 4em; color: gray;}}
-%
-\Css{.lettrine-A{margin-right: 0.3em;}}
-\Css{.lettrine-A + .lettrine-line{margin-left: -0.4em;}}
-\Css{.lettrine-J{line-height: 1; margin-right: 0;}}
-\Css{.lettrine-H, .lettrine-I, .lettrine-N, .lettrine-U{margin-right: 0;}}
-\Css{.lettrine-V{margin-right: -0.3em;}}
-\Css{.lettrine-V + .lettrine-line{margin-left: 0.3em;}}
-\Css{.lettrine-Q{padding-bottom: 1em;margin-top: -0.6em;}}
-\Css{.lettrine-line{font-variant: small-caps;}}
-\Css{p.indent{text-indent: 0em;}}
>>>
\Section{osudeG.sty}
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index 4c591c9b37..6f3e1402a4 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/tex4ht-html4.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1516 2024-05-09 13:28:51Z michal_h21 $
+% $Id: tex4ht-html4.tex 1518 2024-05-13 20:19:03Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -15872,6 +15872,51 @@ IE doesn't distinguish between upper and lower case characters in css
>>>
+\section{lettrine.sty}
+
+\<configure html4 lettrine\><<<
+%
+% a: before lettrine
+% b: after lettrine
+% c: before letter
+% d: between letter and string
+% e: after string
+% f: before ante
+% g: after ante
+%
+\Configure{lettrine}
+ {\HCode{<span class="lettrine">}}
+ {\HCode{</span>}}
+%
+ {\HCode{<span class="lettrine-letter">}}
+ {\HCode{</span><span class="lettrine-line">}}
+ {\HCode{</span>}}
+%
+ {\HCode{<span class="lettrine-ante">}}
+ {\HCode{</span>}}
+
+\Configure{lettrinechar}{\HCode{<span class="lettrine-\HlettrineChar">}}{\HCode{</span>}}
+%
+% Define default Css
+%
+\Css{.lettrine{float: left;
+ line-height: 0.7; margin-left: -0.1em;
+ margin-bottom: -.5em; margin-right: 0.2em;
+ }}
+\Css{.lettrine-ante{vertical-align: top;}}
+\Css{.lettrine-letter{font-style: normal;
+ font-size: 4em; color: gray;}}
+%
+\Css{.lettrine-A{margin-right: 0em;}}
+\Css{.lettrine-A + .lettrine-line{margin-left: -0.4em;}}
+\Css{.lettrine-J{line-height: 0.9; margin-right: 0;}}
+\Css{.lettrine-H, .lettrine-I, .lettrine-N, .lettrine-U{margin-right: 0;}}
+\Css{.lettrine-V{margin-right: -0.0em;}}
+\Css{.lettrine-V + .lettrine-line{margin-left: 0.3em;}}
+\Css{.lettrine-Q{line-height: 0.9;padding-bottom: 1em;margin-top: -0.6em;}}
+\Css{.lettrine-line{font-variant: small-caps;}}
+>>>
+
%%%%%%%%%%%%%%%%%%
\section{gmatrix.sty}