Debian Codegraph @

texmf-dist/tex/generic/tex4ht/lettrine.4ht

raw
1 % lettrine.4ht (2024-05-19-07:41), generated from tex4ht-4ht.tex
2 % Copyright 2012-2024 TeX Users Group
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either
6 % version 1.3c of this license or (at your option) any
7 % later version. The latest version of this license is in
8 % http://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions
10 % of LaTeX version 2005/12/01 or later.
11 %
12 % This work has the LPPL maintenance status "maintained".
13 %
14 % The Current Maintainer of this work
15 % is the TeX4ht Project <http://tug.org/tex4ht>.
16 %
17 % If you modify this program, changing the
18 % version identification would be appreciated.
19 \immediate\write-1{version 2024-05-19-07:41}
20
21 \NewConfigure{lettrine}{7}
22 \NewConfigure{lettrinechar}{2}
23 \define@key{L}{ante}{\def\LH:ante{#1}}%
24 \define@key{L}{findent}{\def\LH:findent{#1}}%
25 \define@key{L}{lhang}{\def\LH:lhang{#1}}%
26 \define@key{L}{lines}{\def\LH:lines{#1}}%
27 \define@key{L}{slope}{}
28 \define@key{L}{depth}{}
29 \define@key{L}{loversize}{}
30 \define@key{L}{lraise}{}
31 \define@key{L}{nindent}{}
32 \define@key{L}{novskip}{}
33 \define@key{L}{image}{}
34 \define@key{L}{grid}{}
35 \define@key{L}{realheight}{}
36 \define@key{L}{refstring}{}
37 \define@key{L}{refstring}{}
38 \define@key{L}{optionsfile}{}
39
40 \def\reset:LH:keys{\let\LH:ante\@empty
41 \def\LH:lines{2}%
42 \def\LH:lhang{0}%
43 \def\LH:findent{0pt}}
44 \reset:LH:keys
45 %
46 \def\@lettrine[#1]#2#3{\setkeys{L}{#1}%
47 \def\HlettrineChar{#2}%
48 \def\HlettrineString{#3}%
49 \a:lettrine
50 \ifx\LH:ante\@empty\else\f:lettrine\LH:ante\g:lettrine\fi
51 \c:lettrine
52 \a:lettrinechar#2\b:lettrinechar
53 \b:lettrine\d:lettrine#3\e:lettrine
54 \reset:LH:keys}
55
56 \Hinput{lettrine}
57 \endinput
58