texlive[71301] Master/texmf-dist: lettrine

commits+karl at tug.org commits+karl at tug.org
Sun May 19 16:41:42 CEST 2024


Revision: 71301
          https://tug.org/svn/texlive?view=revision&revision=71301
Author:   karl
Date:     2024-05-19 16:41:42 +0200 (Sun, 19 May 2024)
Log Message:
-----------
lettrine

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

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-05-19 08:52:29 UTC (rev 71300)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-05-19 14:41:42 UTC (rev 71301)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1518 2024-05-13 20:19:03Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1519 2024-05-19 14:40:58Z karl $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2024 TeX Users Group    
@@ -34954,7 +34954,7 @@
 % Lettrine
 \<lettrine.4ht\><<<
 % lettrine.4ht (|version), generated from |jobname.tex
-% Copyright 2012-2018 TeX Users Group
+% Copyright 2012-2024 TeX Users Group
 |<TeX4ht license text|>
 |<config lettrine|>
 \Hinput{lettrine}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2024-05-19 08:52:29 UTC (rev 71300)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2024-05-19 14:41:42 UTC (rev 71301)
@@ -1,4 +1,4 @@
-% html4.4ht (2024-05-09-14:07), generated from tex4ht-html4.tex
+% html4.4ht (2024-05-13-13:22), generated from tex4ht-html4.tex
 % Copyright 2009-2024 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 2024-05-09-14:07}
+\immediate\write-1{version 2024-05-13-13:22}
 
 \exit:ifnot{8859-6,% 
 CJK,% 
@@ -140,6 +140,7 @@
 latin1,% 
 latin2,% 
 letter,% 
+lettrine,% 
 lineno,% 
 linguex,% 
 listings,% 
@@ -11357,10 +11358,58 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{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;}}
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{graphics}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/lettrine.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/lettrine.4ht	2024-05-19 08:52:29 UTC (rev 71300)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/lettrine.4ht	2024-05-19 14:41:42 UTC (rev 71301)
@@ -1,5 +1,5 @@
-% lettrine.4ht (2024-05-13-13:22), generated from tex4ht-4ht.tex
-% Copyright 2012-2018 TeX Users Group
+% lettrine.4ht (2024-05-19-07:41), generated from tex4ht-4ht.tex
+% Copyright 2012-2024 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 2024-05-13-13:22}
+\immediate\write-1{version 2024-05-19-07:41}
 
 \NewConfigure{lettrine}{7}
 \NewConfigure{lettrinechar}{2}



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