texlive[66888] Master: lettrine (18apr23)
commits+karl at tug.org
commits+karl at tug.org
Tue Apr 18 21:45:16 CEST 2023
Revision: 66888
http://tug.org/svn/texlive?view=revision&revision=66888
Author: karl
Date: 2023-04-18 21:45:16 +0200 (Tue, 18 Apr 2023)
Log Message:
-----------
lettrine (18apr23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/lettrine/README.md
trunk/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-de.pdf
trunk/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-fr.pdf
trunk/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-lua.pdf
trunk/Master/texmf-dist/doc/latex/lettrine/lettrine.pdf
trunk/Master/texmf-dist/source/latex/lettrine/lettrine.dtx
trunk/Master/texmf-dist/tex/latex/lettrine/lettrine.cfg
trunk/Master/texmf-dist/tex/latex/lettrine/lettrine.sty
trunk/Master/tlpkg/libexec/ctan2tds
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/lettrine/contrib/
trunk/Master/texmf-dist/doc/latex/lettrine/contrib/optfile.cfl
trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pacl.cfl
trunk/Master/texmf-dist/doc/latex/lettrine/contrib/padl.cfl
trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pzc2.cfl
trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pzc3.cfl
trunk/Master/texmf-dist/tex/latex/lettrine/lettrine-2022-09-25.sty
Removed Paths:
-------------
trunk/Master/texmf-dist/source/latex/lettrine/contrib.dtx
trunk/Master/texmf-dist/source/latex/lettrine/contrib.ins
trunk/Master/texmf-dist/source/latex/lettrine/lettrine.ins
trunk/Master/texmf-dist/tex/latex/lettrine/optfile.cfl
trunk/Master/texmf-dist/tex/latex/lettrine/pacl.cfl
trunk/Master/texmf-dist/tex/latex/lettrine/padl.cfl
trunk/Master/texmf-dist/tex/latex/lettrine/pzc2.cfl
trunk/Master/texmf-dist/tex/latex/lettrine/pzc3.cfl
Modified: trunk/Master/texmf-dist/doc/latex/lettrine/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lettrine/README.md 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/doc/latex/lettrine/README.md 2023-04-18 19:45:16 UTC (rev 66888)
@@ -9,10 +9,10 @@
Documentation
-------------
-Have a look at one of the PDF files, demo-fr.pdf (in French),
-demo-de.pdf (in German) or demo-lua.pdf in the doc directory,
-to see how different layouts for dropped capitals can be achieved.
-You can also play with the source files demo-*.tex.
+Have a look at one of the PDF files, lettrine-demo-fr.pdf (in French),
+lettrine-demo-de.pdf (in German) or lettrine-demo-lua.pdf in the doc
+directory, to see different layouts for dropped capitals.
+You can also play with the source files lettrine-demo-*.tex.
Have a look at lettrine.pdf in the doc directory, if you are interested
in the complete documentation and code.
@@ -31,20 +31,24 @@
This bundle is included in most TeX distributions, but if you need
to install it by yourself
-1. run lualatex on lettrine.dtx to get the documentation (lettrine.pdf);
-2. run luatex on lettrine.ins to strip the comments and create
+1. run luatex on lettrine.dtx to strip the comments and create
lettrine.sty and lettrine.cfg;
-3. run luatex on contrib.dtx to produce the *.cfl files.
+2. run lualatex on lettrine.dtx to get the documentation (lettrine.pdf).
Files lettrine.sty, lettrine.cfg, lettrine-*.sty and *.cfl go to to
a directory searched by TeX, typically $TEXMF/tex/latex/lettrine.
-Files README, demo*, *.pdf go to a doc directory, typically
-$TEXMF/doc/latex/lettrine.
+Files README, lettrine-demo*, lettrine.pdf go to a doc directory,
+typically $TEXMF/doc/latex/lettrine.
-Files *.dtx, *.ins go to a source directory, typically
+Files lettrine.dtx goes to a source directory, typically
$TEXMF/source/latex/lettrine
+Changes
+-------
+
+See the included manual lettrine.pdf, section "Change History".
+
--
-Copyright 1999--2022 Daniel Flipo
+Copyright 1999--2023 Daniel Flipo
E-mail: daniel (dot) flipo (at) free (dot) fr
Added: trunk/Master/texmf-dist/doc/latex/lettrine/contrib/optfile.cfl
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lettrine/contrib/optfile.cfl (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/lettrine/contrib/optfile.cfl 2023-04-18 19:45:16 UTC (rev 66888)
@@ -0,0 +1,28 @@
+%% This is an example of config file *for syntax only*.
+%% To use it, copy it to your document's directory and code
+%% \usepackage[optionsfile=optfile.cfl]{lettrine}
+%%
+%% The settings below are just *examples*, they are not meant to be good!
+%% Proper values heavily depend on the font used!
+%%
+%% Letters not listed below, will get either the default parameters,
+%% or those given as optional argument of \lettrine, if any.
+%%
+%% The values of the parameters set in this file can be overridden
+%% locally using the optional argument of \lettrine.
+
+%% A
+\LettrineOptionsFor{A}{slope=0.1\LettrineWidth, findent=-.5em, nindent=.7em}
+%% Same parameters for À (utf-8)
+\LettrineOptionsFor{À}{slope=0.1\LettrineWidth, findent=-.5em, nindent=0.7em}
+%% C'
+\LettrineOptionsFor{C'}{nindent=-0.5em}
+%% I and J hang into the margin
+\LettrineOptionsFor{I}{lhang=1, nindent=0pt}
+\LettrineOptionsFor{J}{lhang=1, nindent=0pt}
+%% Q
+\LettrineOptionsFor{Q}{loversize=0, lraise=0.1}
+%% V
+\LettrineOptionsFor{V}{slope=-0.1\LettrineWidth, lhang=0.5, nindent=0pt}
+
+\endinput
Property changes on: trunk/Master/texmf-dist/doc/latex/lettrine/contrib/optfile.cfl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pacl.cfl
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pacl.cfl (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pacl.cfl 2023-04-18 19:45:16 UTC (rev 66888)
@@ -0,0 +1,84 @@
+%%% This is file `pacl.cfl'.
+%%% It is provided under the LPPL. Copyright is hold by Pascal Kockaert.
+%%% If you modify this file you *MUST* change its name.
+%%%
+%%% This file contains config values to simplify the use of the
+%%% ACaslon-SwashItalic (aka pacri8s) font from Adobe
+%%% with the lettrine package by Daniel Flipo.
+%%%
+%%% If you want to use this file, your document should contain
+%%% the two next lines, without the leading percent signs.
+%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{pacl}\selectfont}
+%%% \renewcommand{\DefaultOptionsFile}{pacl.cfl}
+%%%
+%%% The fontfamily pacl is defined through the file T1pacl.fd.
+%%% The contents of T1pacl.fd is listed at the end of this file.
+%%%
+%%% The settings below were defined according to my visual tastes.
+%%% No mathematical rule based on the metrices was applied.
+%%% Though the result may not please you, it should be better
+%%% than the default placement. This said, comments are welcome.
+%%%
+%%% Comments about this file can be sent to Pascal.Kockaert
+%%% at the mail server ulb.ac.be.
+
+
+\ProvidesFile{pacl.cfl}[2003/08/24 v0.1 Pascal Kockaert]
+\LettrineOptionsFor{A}{loversize= 0.15,lraise= 0.02,lhang= 0.30,findent= 0.00\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{B}{loversize= 0.15,lraise= 0.00,lhang= 0.25,findent=-0.05\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{C}{loversize=-0.10,lraise= 0.25,lhang= 0.05,findent= 0.00\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{D}{loversize= 0.15,lraise= 0.00,lhang= 0.20,findent=-0.07\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{E}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent=-0.10\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{F}{loversize=-0.10,lraise= 0.20,lhang= 0.00,findent= 0.05\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{G}{loversize=-0.10,lraise= 0.20,lhang= 0.05,findent=-0.05\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{H}{loversize= 0.05,lraise= 0.00,lhang= 0.25,findent= 0.00\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{I}{loversize= 0.15,lraise= 0.00,lhang= 0.00,findent= 0.00\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{J}{loversize=-0.10,lraise= 0.20,lhang= 0.00,findent= 0.00\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{K}{loversize=-0.10,lraise= 0.25,lhang= 0.00,findent= 0.00\LettrineWidth,nindent= 0.45\LettrineWidth}
+\LettrineOptionsFor{L}{loversize= 0.00,lraise= 0.20,lhang= 0.00,findent=-0.10\LettrineWidth,nindent= 0.40\LettrineWidth}
+\LettrineOptionsFor{M}{loversize= 0.15,lraise= 0.00,lhang= 0.24,findent=-0.05\LettrineWidth,nindent= 0.10\LettrineWidth}
+\LettrineOptionsFor{N}{loversize=-0.05,lraise= 0.25,lhang= 0.13,findent= 0.05\LettrineWidth,nindent= 0.35\LettrineWidth}
+\LettrineOptionsFor{O}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent=-0.12\LettrineWidth,nindent= 0.15\LettrineWidth}
+\LettrineOptionsFor{P}{loversize= 0.15,lraise= 0.00,lhang= 0.25,findent= 0.00\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{Q}{loversize=-0.15,lraise= 0.25,lhang= 0.10,findent=-0.05\LettrineWidth,nindent= 0.55\LettrineWidth}
+\LettrineOptionsFor{R}{loversize=-0.15,lraise= 0.25,lhang= 0.20,findent=-0.05\LettrineWidth,nindent= 0.45\LettrineWidth}
+\LettrineOptionsFor{S}{loversize=-0.10,lraise= 0.25,lhang=-0.05,findent=-0.05\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{T}{loversize= 0.15,lraise= 0.00,lhang= 0.15,findent= 0.00\LettrineWidth,nindent= 0.15\LettrineWidth}
+\LettrineOptionsFor{U}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent= 0.00\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{V}{loversize= 0.15,lraise= 0.00,lhang= 0.20,findent=-0.05\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{W}{loversize= 0.15,lraise= 0.00,lhang= 0.15,findent=-0.05\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{X}{loversize= 0.15,lraise= 0.00,lhang= 0.45,findent= 0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
+\LettrineOptionsFor{Y}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent= 0.20\LettrineWidth,nindent= 0.25\LettrineWidth}
+\LettrineOptionsFor{Z}{loversize= 0.05,lraise= 0.15,lhang= 0.15,findent= 0.00\LettrineWidth,nindent= 0.30\LettrineWidth}
+\endinput
+
+
+% The installation of the pacl family can be performed using the fontinst
+% package.
+% You must own the font ACaslon-SwashItalic, that is an AFM and a PFB file
+% which should be renamed as padri8w.afm and padri8w.pfb.
+%
+% You should process the file Makepacl.tex (see below) through TeX,
+% and follow the instructions of the fontinst manual to finish the install.
+% The file T1pacl.fd should be defined as below and put with other local FD
+% files.
+
+%%% File Makepacl.tex
+\input fontinst.sty
+\installfonts
+ \declareencoding{T1-SWASH}{T1}
+ \fromafm{pacri8s} %%% File containing metrics of ACaslon-SwashItalic
+ \installfont{pacri9s}{pacri8s}{T1}{T1}{pacl}{m}{n}{}
+\endinstallfonts
+\bye
+%%% End of file Makepacl.tex
+
+% The pacl family is defined by the file T1pacl.fd, as follows
+
+%%% File T1pacl.fd
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+\ProvidesFile{t1pacl.fd}[2003/08/24 v1.0 Pascal Kockaert]
+\DeclareFontFamily{T1}{pacl}{}
+\DeclareFontShape{T1}{pacl}{m}{n}{<->pacri9s}{}
+\endinput
+%%% End of file T1pacl.fd
Property changes on: trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pacl.cfl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/lettrine/contrib/padl.cfl
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lettrine/contrib/padl.cfl (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/lettrine/contrib/padl.cfl 2023-04-18 19:45:16 UTC (rev 66888)
@@ -0,0 +1,85 @@
+%%% This is file `padl.cfl'.
+%%% It is provided under the LPPL. Copyright is hold by Pascal Kockaert.
+%%% If you modify this file you *MUST* change its name.
+%%%
+%%% This file contains config values to simplify the use of the
+%%% AGaramondAlt-Italic (aka padri8w) font from Adobe
+%%% with the lettrine package by Daniel Flipo.
+%%%
+%%% If you want to use this file, your document should contain
+%%% the two next lines, without the leading percent signs.
+%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{padl}\selectfont}
+%%% \renewcommand{\DefaultOptionsFile}{padl.cfl}
+%%%
+%%% The fontfamily padl is defined through the file T1padl.fd.
+%%% The contents of T1padl.fd is listed at the end of this file.
+%%%
+%%% The settings below were defined according to my visual tastes.
+%%% No mathematical rule based on the metrices was applied.
+%%% Though the result may not please you, it should be better
+%%% than the default placement. This said, comments are welcome.
+%%%
+%%% Comments about this file can be sent to Pascal.Kockaert
+%%% at the mail server ulb.ac.be.
+
+
+
+\ProvidesFile{padl.cfl}[2003/08/24 v1.0 Pascal Kockaert]
+
+\LettrineOptionsFor{A}{loversize= 0.05,lraise= 0.10,lhang= 0.40,findent= 0.000\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{B}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.025\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{C}{loversize= 0.00,lraise= 0.10,lhang= 0.15,findent= 0.175\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{D}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent=-0.025\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{E}{loversize= 0.10,lraise= 0.00,lhang= 0.10,findent= 0.100\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{F}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.100\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{G}{loversize=-0.08,lraise= 0.20,lhang= 0.10,findent= 0.000\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{H}{loversize=-0.01,lraise= 0.00,lhang= 0.00,findent= 0.040\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{I}{loversize= 0.10,lraise= 0.00,lhang= 0.00,findent= 0.050\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{J}{loversize=-0.08,lraise= 0.20,lhang= 0.00,findent=-0.025\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{K}{loversize=-0.05,lraise= 0.25,lhang= 0.00,findent=-0.050\LettrineWidth,nindent= 0.60\LettrineWidth}
+\LettrineOptionsFor{L}{loversize= 0.00,lraise= 0.20,lhang= 0.00,findent= 0.100\LettrineWidth,nindent= 0.40\LettrineWidth}
+\LettrineOptionsFor{M}{loversize= 0.10,lraise= 0.00,lhang= 0.40,findent= 0.040\LettrineWidth,nindent= 0.10\LettrineWidth}
+\LettrineOptionsFor{N}{loversize= 0.00,lraise= 0.20,lhang= 0.20,findent=-0.010\LettrineWidth,nindent= 0.40\LettrineWidth}
+\LettrineOptionsFor{O}{loversize= 0.10,lraise= 0.00,lhang= 0.20,findent=-0.010\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{P}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.050\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{Q}{loversize= 0.00,lraise= 0.20,lhang= 0.20,findent= 0.050\LettrineWidth,nindent= 0.70\LettrineWidth}
+\LettrineOptionsFor{R}{loversize=-0.05,lraise= 0.25,lhang= 0.25,nindent= 0.500\LettrineWidth,nindent= 0.50\LettrineWidth}
+\LettrineOptionsFor{S}{loversize= 0.10,lraise= 0.05,lhang= 0.00,findent= 0.000\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{T}{loversize= 0.10,lraise= 0.00,lhang= 0.35,findent= 0.100\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{U}{loversize= 0.10,lraise= 0.00,lhang= 0.20,findent= 0.050\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{V}{loversize= 0.10,lraise= 0.00,lhang= 0.40,findent= 0.050\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{W}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.040\LettrineWidth,nindent= 0.50em}
+\LettrineOptionsFor{X}{loversize= 0.10,lraise= 0.00,lhang= 0.40,findent= 0.040\LettrineWidth,nindent= 0.20\LettrineWidth}
+\LettrineOptionsFor{Y}{loversize= 0.10,lraise= 0.00,lhang= 0.20,findent= 0.100\LettrineWidth,nindent= 0.20\LettrineWidth}
+\LettrineOptionsFor{Z}{loversize=-0.05,lraise= 0.25,lhang= 0.00,findent= 0.050\LettrineWidth,nindent= 0.55\LettrineWidth}
+\endinput
+
+
+% The installation of the padl family can be performed using the fontinst package.
+% You must own the font AGaramondAlt-Italic, that is an AFM and a PFB file
+% which should be renamed as padri8w.afm and padri8w.pfb.
+%
+% You should process the file Makepadl.tex (see below) through TeX,
+% and follow the instructions of the fontinst manual to finish the install.
+% The file T1padl.fd should be defined as below and put with other local FD files.
+
+%%% File Makepadl.tex
+\input fontinst.sty
+\installfonts
+ \declareencoding{T1-SWASH}{T1}
+ \fromafm{padri8w} %%% File containing metrics of AGaramondAlt-Italic
+ \gdef\uc#1#2{#1swash}
+ \installfont{padw9w}{padri8w}{T1}{T1}{padl}{m}{n}{}
+\endinstallfonts
+\bye
+%%% End of file Makepadl.tex
+
+% The padl family is defined by the file T1padl.fd, as follows
+
+%%% File T1padl.fd
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+\ProvidesFile{t1padl.fd}[2003/08/24 v0.1 Pascal Kockaert]
+\DeclareFontFamily{T1}{padl}{}
+\DeclareFontShape{T1}{padl}{m}{n}{<->padw9w}{}
+\endinput
+%%% End of file T1padl.fd
Property changes on: trunk/Master/texmf-dist/doc/latex/lettrine/contrib/padl.cfl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pzc2.cfl
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pzc2.cfl (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pzc2.cfl 2023-04-18 19:45:16 UTC (rev 66888)
@@ -0,0 +1,45 @@
+%%% This is file `pzc2.cfl'.
+%%% It is provided under the LPPL. Copyright is held by Kevin M. Dunn.
+%%% If you modify this file you *MUST* change its name.
+%%%
+%%% This file contains config values to simplify the use of the
+%%% Zapf-Chancery (aka pzc) font with the lettrine package by Daniel Flipo.
+%%% This file provides the parameters for 2 DefaultLines.
+%%%
+%%% If you want to use this file, your document should contain
+%%% the next three lines, without the leading percent signs.
+%%% \setcounter{DefaultLines}{2}
+%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{pzc}\selectfont}
+%%% \renewcommand{\DefaultOptionsFile}{pzc2.cfl}
+%%%
+%%% Comments about this file can be sent to Kevin Dunn
+%%% (cavema2 at cavemanchemistry.com)
+%%%
+\ProvidesFile{pzc2.cfl}[2006/03/19 v0.1 Kevin M. Dunn]
+\LettrineOptionsFor{A}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
+\LettrineOptionsFor{B}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.08\LettrineWidth}
+\LettrineOptionsFor{C}{loversize= 0.35,lraise= 0.10,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
+\LettrineOptionsFor{D}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.05\LettrineWidth}
+\LettrineOptionsFor{E}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
+\LettrineOptionsFor{F}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.00\LettrineWidth}
+\LettrineOptionsFor{G}{loversize= 0.35,lraise= 0.10,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.17\LettrineWidth}
+\LettrineOptionsFor{H}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.20\LettrineWidth}
+\LettrineOptionsFor{I}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
+\LettrineOptionsFor{J}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.00\LettrineWidth}
+\LettrineOptionsFor{K}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.13\LettrineWidth}
+\LettrineOptionsFor{L}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=-0.02\LettrineWidth,nindent= 0.30\LettrineWidth}
+\LettrineOptionsFor{M}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
+\LettrineOptionsFor{N}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.10\LettrineWidth}
+\LettrineOptionsFor{O}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.08\LettrineWidth}
+\LettrineOptionsFor{P}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.25\LettrineWidth,nindent= 0.05\LettrineWidth}
+\LettrineOptionsFor{Q}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.10\LettrineWidth}
+\LettrineOptionsFor{R}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.08\LettrineWidth,nindent= 0.15\LettrineWidth}
+\LettrineOptionsFor{S}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.13\LettrineWidth}
+\LettrineOptionsFor{T}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.20\LettrineWidth}
+\LettrineOptionsFor{U}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
+\LettrineOptionsFor{V}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.18\LettrineWidth,nindent=-0.15\LettrineWidth}
+\LettrineOptionsFor{W}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent=-0.05\LettrineWidth}
+\LettrineOptionsFor{X}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.35\LettrineWidth}
+\LettrineOptionsFor{Y}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.05\LettrineWidth}
+\LettrineOptionsFor{Z}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.30\LettrineWidth}
+\endinput
Property changes on: trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pzc2.cfl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pzc3.cfl
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pzc3.cfl (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pzc3.cfl 2023-04-18 19:45:16 UTC (rev 66888)
@@ -0,0 +1,45 @@
+%%% This is file `pzc2.cfl'.
+%%% It is provided under the LPPL. Copyright is held by Kevin M. Dunn.
+%%% If you modify this file you *MUST* change its name.
+%%%
+%%% This file contains config values to simplify the use of the
+%%% Zapf-Chancery (aka pzc) font with the lettrine package by Daniel Flipo.
+%%% This file provides the parameters for 3 DefaultLines.
+%%%
+%%% If you want to use this file, your document should contain
+%%% the next three lines, without the leading percent signs.
+%%% \setcounter{DefaultLines}{3}
+%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{pzc}\selectfont}
+%%% \renewcommand{\DefaultOptionsFile}{pzc3.cfl}
+%%%
+%%% Comments about this file can be sent to Kevin Dunn
+%%% (cavema2 at cavemanchemistry.com)
+
+\ProvidesFile{pzc3.cfl}[2006/03/19 v0.1 Kevin M. Dunn]
+\LettrineOptionsFor{A}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
+\LettrineOptionsFor{B}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.08\LettrineWidth,slope=-0.08\LettrineWidth}
+\LettrineOptionsFor{C}{loversize= 0.35,lraise= 0.10,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
+\LettrineOptionsFor{D}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.05\LettrineWidth,slope=-0.05\LettrineWidth}
+\LettrineOptionsFor{E}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
+\LettrineOptionsFor{F}{loversize= 0.35,lraise= 0.05,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.00\LettrineWidth}
+\LettrineOptionsFor{G}{loversize= 0.30,lraise= 0.30,lhang= 0.5,findent=0.10\LettrineWidth,nindent= 0.15\LettrineWidth}
+\LettrineOptionsFor{H}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.20\LettrineWidth}
+\LettrineOptionsFor{I}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
+\LettrineOptionsFor{J}{loversize= 0.35,lraise= 0.05,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.00\LettrineWidth}
+\LettrineOptionsFor{K}{loversize= 0.30,lraise= 0.20,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.13\LettrineWidth,slope= 0.20\LettrineWidth}
+\LettrineOptionsFor{L}{loversize= 0.35,lraise= 0.00,lhang=0.35,findent=-0.02\LettrineWidth,nindent= 0.30\LettrineWidth}
+\LettrineOptionsFor{M}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
+\LettrineOptionsFor{N}{loversize= 0.30,lraise= 0.20,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.10\LettrineWidth,slope= 0.20\LettrineWidth}
+\LettrineOptionsFor{O}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.08\LettrineWidth}
+\LettrineOptionsFor{P}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.25\LettrineWidth,nindent= 0.05\LettrineWidth}
+\LettrineOptionsFor{Q}{loversize= 0.30,lraise= 0.25,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.10\LettrineWidth,slope= 0.20\LettrineWidth}
+\LettrineOptionsFor{R}{loversize= 0.30,lraise= 0.20,lhang= 0.35,findent=0.08\LettrineWidth,nindent= 0.15\LettrineWidth,slope= 0.20\LettrineWidth}
+\LettrineOptionsFor{S}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.13\LettrineWidth}
+\LettrineOptionsFor{T}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.20\LettrineWidth}
+\LettrineOptionsFor{U}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
+\LettrineOptionsFor{V}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.18\LettrineWidth,nindent=-0.05\LettrineWidth,slope=-0.15\LettrineWidth}
+\LettrineOptionsFor{W}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.18\LettrineWidth,nindent=-0.05\LettrineWidth,slope=-0.10\LettrineWidth}
+\LettrineOptionsFor{X}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.35\LettrineWidth}
+\LettrineOptionsFor{Y}{loversize= 0.30,lraise= 0.10,lhang= 0.40,findent=0.10\LettrineWidth,nindent= 0.00\LettrineWidth,slope=-0.10\LettrineWidth}
+\LettrineOptionsFor{Z}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.30\LettrineWidth}
+\endinput
Property changes on: trunk/Master/texmf-dist/doc/latex/lettrine/contrib/pzc3.cfl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-de.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-fr.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-lua.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/lettrine/lettrine.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/source/latex/lettrine/contrib.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/lettrine/contrib.dtx 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/source/latex/lettrine/contrib.dtx 2023-04-18 19:45:16 UTC (rev 66888)
@@ -1,376 +0,0 @@
-% \iffalse meta-comment
-%
-% This program can be distributed and/or modified under the terms
-% of the LaTeX Project Public License either version 1.3c of this
-% license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This file has the LPPL maintenance status "maintained".
-%
-% \fi
-%
-% \iffalse
-%<*opt>
-% \fi
-% \begin{macrocode}
-%% This is an example of config file *for syntax only*.
-%%
-%% Copy it to your document's directory and add
-%% \renewcommand{\DefaultOptionsFile}{optfile.cfl}
-%% to your document's preamble to use it.
-%%
-%% The settings below are just *examples*, they are not meant to be good!
-%% Proper values heavily depend on the font used!
-%%
-%% Letters not listed below, will get either the default parameters,
-%% or those given as optional argument of \lettrine, if any.
-%%
-%% The values of the parameters set in this file can be overridden locally
-%% using the optional argument of \lettrine.
-%%
-%% A
-\LettrineOptionsFor{A}{slope=0.1\LettrineWidth, findent=-.5em, nindent=.7em}
-%% Same parameters for À (utf-8)
-\LettrineOptionsFor{À}{slope=0.1\LettrineWidth, findent=-.5em, nindent=0.7em}
-%% C'
-\LettrineOptionsFor{C'}{nindent=-0.5em}
-%% I and J hang into the margin
-\LettrineOptionsFor{I}{lhang=1, nindent=0pt}
-\LettrineOptionsFor{J}{lhang=1, nindent=0pt}
-%% Q
-\LettrineOptionsFor{Q}{loversize=-0.1, lraise=0.1}
-%% V
-\LettrineOptionsFor{V}{slope=-0.1\LettrineWidth, lhang=0.5, nindent=0pt}
-% \end{macrocode}
-% \iffalse
-%</opt>
-% \fi
-%
-% \iffalse
-%<*pzc2>
-% \fi
-% \begin{macrocode}
-%%% This is file `pzc2.cfl'.
-%%% It is provided under the LPPL. Copyright is held by Kevin M. Dunn.
-%%% If you modify this file you *MUST* change its name.
-
-%%% This file contains config values to simplify the use of the
-%%% Zapf-Chancery (aka pzc) font with the lettrine package by Daniel Flipo.
-%%% This file provides the parameters for 2 DefaultLines.
-
-%%% If you want to use this file, your document should contain
-%%% the next three lines, without the leading percent signs.
-%%% \setcounter{DefaultLines}{2}
-%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{pzc}\selectfont}
-%%% \renewcommand{\DefaultOptionsFile}{pzc2.cfl}
-
-%%% Comments about this file can be sent to Kevin Dunn
-%%% (cavema2 at cavemanchemistry.com)
-
-\ProvidesFile{pzc2.cfl}[2006/03/19 v0.1 Kevin M. Dunn]
-
-\LettrineOptionsFor{A}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
-\LettrineOptionsFor{B}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.08\LettrineWidth}
-\LettrineOptionsFor{C}{loversize= 0.35,lraise= 0.10,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
-\LettrineOptionsFor{D}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.05\LettrineWidth}
-\LettrineOptionsFor{E}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
-\LettrineOptionsFor{F}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.00\LettrineWidth}
-\LettrineOptionsFor{G}{loversize= 0.35,lraise= 0.10,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.17\LettrineWidth}
-\LettrineOptionsFor{H}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{I}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
-\LettrineOptionsFor{J}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.00\LettrineWidth}
-\LettrineOptionsFor{K}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.13\LettrineWidth}
-\LettrineOptionsFor{L}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=-0.02\LettrineWidth,nindent= 0.30\LettrineWidth}
-\LettrineOptionsFor{M}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{N}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.10\LettrineWidth}
-\LettrineOptionsFor{O}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.08\LettrineWidth}
-\LettrineOptionsFor{P}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.25\LettrineWidth,nindent= 0.05\LettrineWidth}
-\LettrineOptionsFor{Q}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.10\LettrineWidth}
-\LettrineOptionsFor{R}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.08\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{S}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.13\LettrineWidth}
-\LettrineOptionsFor{T}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{U}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{V}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.18\LettrineWidth,nindent=-0.15\LettrineWidth}
-\LettrineOptionsFor{W}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent=-0.05\LettrineWidth}
-\LettrineOptionsFor{X}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.35\LettrineWidth}
-\LettrineOptionsFor{Y}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.05\LettrineWidth}
-\LettrineOptionsFor{Z}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.30\LettrineWidth}
-% \end{macrocode}
-% \iffalse
-%</pzc2>
-% \fi
-%
-% \iffalse
-%<*pzc3>
-% \fi
-% \begin{macrocode}
-%%% This is file `pzc3.cfl'.
-%%% It is provided under the LPPL. Copyright is held by Kevin M. Dunn.
-%%% If you modify this file you *MUST* change its name.
-
-%%% This file contains config values to simplify the use of the
-%%% Zapf-Chancery (aka pzc) font with the lettrine package by Daniel Flipo.
-%%% This file provides the parameters for 3 DefaultLines.
-
-%%% If you want to use this file, your document should contain
-%%% the next three lines, without the leading percent signs.
-%%% \setcounter{DefaultLines}{3}
-%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{pzc}\selectfont}
-%%% \renewcommand{\DefaultOptionsFile}{pzc3.cfl}
-
-%%% Comments about this file can be sent to Kevin Dunn
-%%% (cavema2 at cavemanchemistry.com)
-
-\ProvidesFile{pzc3.cfl}[2006/03/19 v0.1 Kevin M. Dunn]
-
-\LettrineOptionsFor{A}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
-\LettrineOptionsFor{B}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.08\LettrineWidth,slope=-0.08\LettrineWidth}
-\LettrineOptionsFor{C}{loversize= 0.35,lraise= 0.10,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
-\LettrineOptionsFor{D}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.05\LettrineWidth,slope=-0.05\LettrineWidth}
-\LettrineOptionsFor{E}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
-\LettrineOptionsFor{F}{loversize= 0.35,lraise= 0.05,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.00\LettrineWidth}
-\LettrineOptionsFor{G}{loversize= 0.30,lraise= 0.30,lhang= 0.5,findent=0.10\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{H}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{I}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
-\LettrineOptionsFor{J}{loversize= 0.35,lraise= 0.05,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.00\LettrineWidth}
-\LettrineOptionsFor{K}{loversize= 0.30,lraise= 0.20,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.13\LettrineWidth,slope= 0.20\LettrineWidth}
-\LettrineOptionsFor{L}{loversize= 0.35,lraise= 0.00,lhang=0.35,findent=-0.02\LettrineWidth,nindent= 0.30\LettrineWidth}
-\LettrineOptionsFor{M}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{N}{loversize= 0.30,lraise= 0.20,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.10\LettrineWidth,slope= 0.20\LettrineWidth}
-\LettrineOptionsFor{O}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.08\LettrineWidth}
-\LettrineOptionsFor{P}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.25\LettrineWidth,nindent= 0.05\LettrineWidth}
-\LettrineOptionsFor{Q}{loversize= 0.30,lraise= 0.25,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.10\LettrineWidth,slope= 0.20\LettrineWidth}
-\LettrineOptionsFor{R}{loversize= 0.30,lraise= 0.20,lhang= 0.35,findent=0.08\LettrineWidth,nindent= 0.15\LettrineWidth,slope= 0.20\LettrineWidth}
-\LettrineOptionsFor{S}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.13\LettrineWidth}
-\LettrineOptionsFor{T}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{U}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{V}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.18\LettrineWidth,nindent=-0.05\LettrineWidth,slope=-0.15\LettrineWidth}
-\LettrineOptionsFor{W}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.18\LettrineWidth,nindent=-0.05\LettrineWidth,slope=-0.10\LettrineWidth}
-\LettrineOptionsFor{X}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.35\LettrineWidth}
-\LettrineOptionsFor{Y}{loversize= 0.30,lraise= 0.10,lhang= 0.40,findent=0.10\LettrineWidth,nindent= 0.00\LettrineWidth,slope=-0.10\LettrineWidth}
-\LettrineOptionsFor{Z}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.30\LettrineWidth}
-% \end{macrocode}
-% \iffalse
-%</pzc3>
-% \fi
-%
-% \iffalse
-%<*pacl>
-% \fi
-% \begin{macrocode}
-%%% This is file `pacl.cfl'.
-%%% It is provided under the LPPL. Copyright is hold by Pascal Kockaert.
-%%% If you modify this file you *MUST* change its name.
-
-%%% This file contains config values to simplify the use of the
-%%% ACaslon-SwashItalic (aka pacri8s) font from Adobe
-%%% with the lettrine package by Daniel Flipo.
-
-%%% If you want to use this file, your document should contain
-%%% the two next lines, without the leading percent signs.
-%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{pacl}\selectfont}
-%%% \renewcommand{\DefaultOptionsFile}{pacl.cfl}
-
-%%% The fontfamily pacl is defined through the file T1pacl.fd.
-%%% The contents of T1pacl.fd is listed at the end of this file.
-
-%%% The settings below were defined according to my visual tastes.
-%%% No mathematical rule based on the metrices was applied.
-%%% Though the result may not please you, it should be better
-%%% than the default placement. This said, comments are welcome.
-
-%%% Comments about this file can be sent to Pascal.Kockaert
-%%% at the mail server ulb.ac.be.
-
-\ProvidesFile{pacl.cfl}[2003/08/24 v0.1 Pascal Kockaert]
-
-\LettrineOptionsFor{A}{loversize= 0.15,lraise= 0.02,lhang= 0.30,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{B}{loversize= 0.15,lraise= 0.00,lhang= 0.25,findent=-0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{C}{loversize=-0.10,lraise= 0.25,lhang= 0.05,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{D}{loversize= 0.15,lraise= 0.00,lhang= 0.20,findent=-0.07\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{E}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent=-0.10\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{F}{loversize=-0.10,lraise= 0.20,lhang= 0.00,findent= 0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{G}{loversize=-0.10,lraise= 0.20,lhang= 0.05,findent=-0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{H}{loversize= 0.05,lraise= 0.00,lhang= 0.25,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{I}{loversize= 0.15,lraise= 0.00,lhang= 0.00,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{J}{loversize=-0.10,lraise= 0.20,lhang= 0.00,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{K}{loversize=-0.10,lraise= 0.25,lhang= 0.00,findent= 0.00\LettrineWidth,nindent= 0.45\LettrineWidth}
-\LettrineOptionsFor{L}{loversize= 0.00,lraise= 0.20,lhang= 0.00,findent=-0.10\LettrineWidth,nindent= 0.40\LettrineWidth}
-\LettrineOptionsFor{M}{loversize= 0.15,lraise= 0.00,lhang= 0.24,findent=-0.05\LettrineWidth,nindent= 0.10\LettrineWidth}
-\LettrineOptionsFor{N}{loversize=-0.05,lraise= 0.25,lhang= 0.13,findent= 0.05\LettrineWidth,nindent= 0.35\LettrineWidth}
-\LettrineOptionsFor{O}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent=-0.12\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{P}{loversize= 0.15,lraise= 0.00,lhang= 0.25,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{Q}{loversize=-0.15,lraise= 0.25,lhang= 0.10,findent=-0.05\LettrineWidth,nindent= 0.55\LettrineWidth}
-\LettrineOptionsFor{R}{loversize=-0.15,lraise= 0.25,lhang= 0.20,findent=-0.05\LettrineWidth,nindent= 0.45\LettrineWidth}
-\LettrineOptionsFor{S}{loversize=-0.10,lraise= 0.25,lhang=-0.05,findent=-0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{T}{loversize= 0.15,lraise= 0.00,lhang= 0.15,findent= 0.00\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{U}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{V}{loversize= 0.15,lraise= 0.00,lhang= 0.20,findent=-0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{W}{loversize= 0.15,lraise= 0.00,lhang= 0.15,findent=-0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{X}{loversize= 0.15,lraise= 0.00,lhang= 0.45,findent= 0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{Y}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent= 0.20\LettrineWidth,nindent= 0.25\LettrineWidth}
-\LettrineOptionsFor{Z}{loversize= 0.05,lraise= 0.15,lhang= 0.15,findent= 0.00\LettrineWidth,nindent= 0.30\LettrineWidth}
-\let\EOF\endinput
-\EOF
-
-%% The installation of the pacl family can be performed using the
-%% fontinst package.
-%% You must own the font ACaslon-SwashItalic, that is an AFM and a PFB file
-%% which should be renamed as padri8w.afm and padri8w.pfb.
-
-%% You should process the file Makepacl.tex (see below) through TeX,
-%% and follow the instructions of the fontinst manual to finish the install.
-%% The file T1pacl.fd should be defined as below and put with other local
-%% FD files.
-
-%%% File Makepacl.tex
-\input fontinst.sty
-\installfonts
- \declareencoding{T1-SWASH}{T1}
- \fromafm{pacri8s} %%% File containing metrics of ACaslon-SwashItalic
- \installfont{pacri9s}{pacri8s}{T1}{T1}{pacl}{m}{n}{}
-\endinstallfonts
-\bye
-%%% End of file Makepacl.tex
-
-%%% The pacl family is defined by the file T1pacl.fd, as follows
-
-%%% File T1pacl.fd
-%%% THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
-\ProvidesFile{t1pacl.fd}[2003/08/24 v1.0 Pascal Kockaert]
-\DeclareFontFamily{T1}{pacl}{}
-\DeclareFontShape{T1}{pacl}{m}{n}{<->pacri9s}{}
-%%% End of file T1pacl.fd
-% \end{macrocode}
-% \iffalse
-%</pacl>
-% \fi
-%
-% \iffalse
-%<*padl>
-% \fi
-% \begin{macrocode}
-%%% This is file `padl.cfl'.
-%%% It is provided under the LPPL. Copyright is hold by Pascal Kockaert.
-%%% If you modify this file you *MUST* change its name.
-
-%%% This file contains config values to simplify the use of the
-%%% AGaramondAlt-Italic (aka padri8w) font from Adobe
-%%% with the lettrine package by Daniel Flipo.
-
-%%% If you want to use this file, your document should contain
-%%% the two next lines, without the leading percent signs.
-%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{padl}\selectfont}
-%%% \renewcommand{\DefaultOptionsFile}{padl.cfl}
-
-%%% The fontfamily padl is defined through the file T1padl.fd.
-%%% The contents of T1padl.fd is listed at the end of this file.
-
-%%% The settings below were defined according to my visual tastes.
-%%% No mathematical rule based on the metrices was applied.
-%%% Though the result may not please you, it should be better
-%%% than the default placement. This said, comments are welcome.
-
-%%% Comments about this file can be sent to Pascal.Kockaert
-%%% at the mail server ulb.ac.be.
-
-\ProvidesFile{padl.cfl}[2003/08/24 v1.0 Pascal Kockaert]
-
-\LettrineOptionsFor{A}{loversize= 0.05,lraise= 0.10,lhang= 0.40,findent= 0.000\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{B}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.025\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{C}{loversize= 0.00,lraise= 0.10,lhang= 0.15,findent= 0.175\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{D}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent=-0.025\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{E}{loversize= 0.10,lraise= 0.00,lhang= 0.10,findent= 0.100\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{F}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.100\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{G}{loversize=-0.08,lraise= 0.20,lhang= 0.10,findent= 0.000\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{H}{loversize=-0.01,lraise= 0.00,lhang= 0.00,findent= 0.040\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{I}{loversize= 0.10,lraise= 0.00,lhang= 0.00,findent= 0.050\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{J}{loversize=-0.08,lraise= 0.20,lhang= 0.00,findent=-0.025\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{K}{loversize=-0.05,lraise= 0.25,lhang= 0.00,findent=-0.050\LettrineWidth,nindent= 0.60\LettrineWidth}
-\LettrineOptionsFor{L}{loversize= 0.00,lraise= 0.20,lhang= 0.00,findent= 0.100\LettrineWidth,nindent= 0.40\LettrineWidth}
-\LettrineOptionsFor{M}{loversize= 0.10,lraise= 0.00,lhang= 0.40,findent= 0.040\LettrineWidth,nindent= 0.10\LettrineWidth}
-\LettrineOptionsFor{N}{loversize= 0.00,lraise= 0.20,lhang= 0.20,findent=-0.010\LettrineWidth,nindent= 0.40\LettrineWidth}
-\LettrineOptionsFor{O}{loversize= 0.10,lraise= 0.00,lhang= 0.20,findent=-0.010\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{P}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.050\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{Q}{loversize= 0.00,lraise= 0.20,lhang= 0.20,findent= 0.050\LettrineWidth,nindent= 0.70\LettrineWidth}
-\LettrineOptionsFor{R}{loversize=-0.05,lraise= 0.25,lhang= 0.25,nindent= 0.500\LettrineWidth,nindent= 0.50\LettrineWidth}
-\LettrineOptionsFor{S}{loversize= 0.10,lraise= 0.05,lhang= 0.00,findent= 0.000\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{T}{loversize= 0.10,lraise= 0.00,lhang= 0.35,findent= 0.100\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{U}{loversize= 0.10,lraise= 0.00,lhang= 0.20,findent= 0.050\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{V}{loversize= 0.10,lraise= 0.00,lhang= 0.40,findent= 0.050\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{W}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.040\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{X}{loversize= 0.10,lraise= 0.00,lhang= 0.40,findent= 0.040\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{Y}{loversize= 0.10,lraise= 0.00,lhang= 0.20,findent= 0.100\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{Z}{loversize=-0.05,lraise= 0.25,lhang= 0.00,findent= 0.050\LettrineWidth,nindent= 0.55\LettrineWidth}
-\let\EOF\endinput
-\EOF
-
-%% The installation of the padl family can be performed using the
-%% fontinst package.
-%% You must own the font AGaramondAlt-Italic, that is an AFM and a PFB
-%% file which should be renamed as padri8w.afm and padri8w.pfb.
-
-%% You should process the file Makepadl.tex (see below) through TeX,
-%% and follow the instructions of the fontinst manual to finish the
-%% install.
-%% The file T1padl.fd should be defined as below and put with other
-%% local FD files.
-
-%%% File Makepadl.tex
-\input fontinst.sty
-\installfonts
- \declareencoding{T1-SWASH}{T1}
- \fromafm{padri8w} %%% File containing metrics of AGaramondAlt-Italic
- \gdef\uc#1#2{#1swash}
- \installfont{padw9w}{padri8w}{T1}{T1}{padl}{m}{n}{}
-\endinstallfonts
-\bye
-%%% End of file Makepadl.tex
-
-%% The padl family is defined by the file T1padl.fd, as follows
-
-%%% File T1padl.fd
-%%% THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
-\ProvidesFile{t1padl.fd}[2003/08/24 v0.1 Pascal Kockaert]
-\DeclareFontFamily{T1}{padl}{}
-\DeclareFontShape{T1}{padl}{m}{n}{<->padw9w}{}
-%%% End of file T1padl.fd
-% \end{macrocode}
-% \iffalse
-%</padl>
-% \fi
-%
-% \iffalse
-%<*dtx>
-% \fi
-%%
-%% \CharacterTable
-%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-%%
-% \iffalse
-%</dtx>
-% \fi
-%
-% \Finale
-\endinput
-
-%%% Local Variables:
-%%% fill-column: 70
-%%% coding: utf-8
-%%% End:
Deleted: trunk/Master/texmf-dist/source/latex/lettrine/contrib.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/lettrine/contrib.ins 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/source/latex/lettrine/contrib.ins 2023-04-18 19:45:16 UTC (rev 66888)
@@ -1,59 +0,0 @@
-%%
-%% Copyright (C) 1999-2020 Daniel Flipo.
-%%
-%% This program can be distributed and/or modified under the terms
-%% of the LaTeX Project Public License either version 1.3c of this
-%% license or (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3c or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-%% This file will generate fast loadable files and documentation
-%% driver files from the doc files in this package when run through
-%% LaTeX or TeX.
-%%
-\def\batchfile{contrib.ins}
-\input docstrip.tex
-
-{\ifx\generate\undefined
-\Msg{**********************************************}
-\Msg{*}
-\Msg{* This installation requires docstrip}
-\Msg{* version 2.3c or later.}
-\Msg{*}
-\Msg{* An older version of docstrip has been input}
-\Msg{*}
-\Msg{**********************************************}
-\errhelp{Move or rename old docstrip.tex.}
-\errmessage{Old docstrip in input path}
-\batchmode
-\csname @@end\endcsname
-\fi}
-
-\keepsilent
-\askforoverwritefalse
-
-\usedir{tex/latex/lettrine}
-
-\nopreamble
-\generate{\file{optfile.cfl}{\from{contrib.dtx}{opt}}
- \usedir{tex/latex/lettrine/contrib}
- \file{pzc2.cfl}{\from{contrib.dtx}{pzc2}}
- \file{pzc3.cfl}{\from{contrib.dtx}{pzc3}}
- \nopostamble
- \file{pacl.cfl}{\from{contrib.dtx}{pacl}}
- \file{padl.cfl}{\from{contrib.dtx}{padl}}
- }
-
-\Msg{***********************************************************}
-\Msg{*}
-\Msg{* To finish the installation please move all the *.cfl}
-\Msg{* files to the contrib subdirectory of tex/latex/lettrine.}
-\Msg{*}
-\Msg{* Happy TeXing!}
-\Msg{*}
-\Msg{***********************************************************}
-
-\endbatchfile
-\endinput
Modified: trunk/Master/texmf-dist/source/latex/lettrine/lettrine.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/lettrine/lettrine.dtx 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/source/latex/lettrine/lettrine.dtx 2023-04-18 19:45:16 UTC (rev 66888)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright © 1999-2022 Daniel Flipo.
+% Copyright © 1999-2023 Daniel Flipo.
%
% This program can be distributed and/or modified under the terms
% of the LaTeX Project Public License either version 1.3c of this
@@ -12,31 +12,36 @@
%
% This file has the LPPL maintenance status "maintained".
%
-% \fi
-%
-% \iffalse
-%
-%<*sty>
-\NeedsTeXFormat{LaTeX2e}[2018-04-01]
-\ProvidesFile{lettrine.sty}
-%</sty>
-%<*dtx>
-\ProvidesFile{lettrine.dtx}
-%</dtx>
-%<*!cfg>
- [2022-09-25 v2.30 (Daniel Flipo)]
-%</!cfg>
-%
-% Lettrine package for LaTeX version 2e
-%
-% Copyright © 1999-2020 by Daniel Flipo
-%
-% Please report errors to: daniel (dot) flipo (at) free (dot) fr
-%
+%<*batch>
+%<*gobble>
+\ifx\jobname\relax\let\documentclass\undefined\fi
+\ifx\documentclass\undefined
+\csname fi\endcsname
+%</gobble>
+\input docstrip.tex
+\keepsilent
+\let\MetaPrefix\relax
+\preamble
+\endpreamble
+\postamble
+\endpostamble
+\let\MetaPrefix\DoubleperCent
+\askforoverwritefalse
+\generate{\file{lettrine.sty}{\from{lettrine.dtx}{sty}}
+ \nopreamble
+ \file{lettrine.cfg}{\from{lettrine.dtx}{cfg}}
+ }
+\endbatchfile
+%</batch>
+%<*gobble>
+\fi
+\expandafter\ifx\csname @currname\endcsname\empty
+\csname fi\endcsname
+%</gobble>
%<*driver>
-\RequirePackage{pdfmanagement-testphase}
-\DeclareDocumentMetadata{pdfstandard=A-2b, lang=en-US}
-\documentclass[a4paper]{ltxdoc}
+\DocumentMetadata{pdfstandard=A-2b, lang=en-GB}
+\documentclass[a4paper,british]{ltxdoc}
+\usepackage{babel,varioref}
\usepackage[dvipsnames]{xcolor}
\usepackage{unicode-math}
\setmainfont{erewhon}
@@ -73,7 +78,7 @@
\setlength{\parindent}{0pt}
\setlength{\parskip}{.3\baselineskip}
\begin{document}
-\GetFileInfo{lettrine.dtx}
+\GetFileInfo{lettrine.sty}
\begin{center}
\textbf{\Large Typesetting dropped capitals with LaTeX}
\\[.5\baselineskip]^^A\]
@@ -83,9 +88,28 @@
\DocInput{lettrine.dtx}
\end{document}
%</driver>
+%<*gobble>
+\fi
+%</gobble>
+% \fi
%
-%\fi
+% \iffalse
%
+%<*sty>
+%% IMPORTANT NOTICE:
+%% For the copyright see the source file `lua-typo.dtx’.
+%%
+\NeedsTeXFormat{LaTeX2e}[2022-06-01]
+\ProvidesFile{lettrine.sty}
+%</sty>
+%<*dtx>
+\ProvidesFile{lettrine.dtx}
+%</dtx>
+%<*sty|dtx>
+ [2023-04-18 v2.40 (Daniel Flipo)]
+%</sty|dtx>
+% \fi
+%
% \section{Introduction}
%
% The file \file{\filename}\footnote{The file described in this
@@ -113,8 +137,7 @@
% \item ``Mise en page et impression’’ Yves~Perrousseaux,
% ISBN-2-911220-01-3.
% \end{itemize}
-% The parameters can be set using David Carlisle’s
-% \texttt{keyval.sty} syntax:
+% The parameters can be set using the \texttt{key=value} syntax:
% \begin{itemize}
% \item \lopt{lines=}\meta{integer} sets how many lines the
% dropped capital will occupy (default=2);
@@ -146,7 +169,7 @@
% like |A| or |V| to add \meta{dimen} (positive or negative) to the
% indentation of each line starting from the third one (no effect if
% \lopt{lines=2}, default=0pt);
-% \item \lopt{ante=}\meta{text} can be used to typeset \meta{text}
+% \item \lopt{ante=}\meta{string} can be used to typeset \meta{string}
% \emph{before} the dropped capital (typical use is for French
% guillemets starting the paragraph).
%
@@ -210,18 +233,17 @@
% top of the non accented letters).
% \end{description}
%
-% \item \lopt{refstring}\footnote{Unlike \lopt{grid} or
-% \lopt{realheight}, \lopt{refstring} is not a flag (\emph{do not}
-% add \lopt{=true}!); it is possible to set
-% \lopt{refstring=}\meta{string} to override \cs{LettrineTestString}
-% locally.} is meant for fancy initials with
-% irregular heights (i.e.\ taken in fonts like Yinit (OpenType),
-% \file{cfr-initials},…). \lopt{refstring} forces the
+% \item \lopt{refstring} with no value, is meant for fancy initials
+% with irregular heights (i.e.\ taken in fonts like Yinit (OpenType),
+% \file{cfr-initials},…). Option \lopt{refstring} forces the
% |\fontsize| computations to be run on the initial given as
% |\lettrine|’s first mandatory argument instead of the reference
% string |\LettrineTestString|. In most cases, this option should
% \emph{not} be used: think of accentuated initials or capitals with
-% optical correction.
+% optical correction.\par
+% \lopt{refstring}=\meta{string} can be used to override
+% |\LettrineTestString|, the default reference string
+% (option \emph{seldom useful}).
%
% \end{itemize}
%
@@ -230,7 +252,7 @@
% \mbox{}\phantom{\tt Example: lettrine}%
% |{V}{oici} un exemple |…
%
-% Coloured initials are possible in conjonction with package
+% Coloured initials are available in conjonction with package
% \file{color}, examples: \\
% |\lettrine{\textcolor{red}{A}}{n} example|\quad or\\
% |\lettrine{\textcolor[gray]{0.5}{A}}{nother} one| \\
@@ -241,26 +263,27 @@
% Three dimensions, |\LettrineWidth|, |\LettrineHeight| and
% |\LettrineDepth|, store the final size of the initial.
%
-% Have a look at files \file{demo-fr.tex} and \file{demo-lua.tex}
-% and at the resulting PDFs in the \file{doc} folder to see the
-% possible usage of these parameters.
+% Have a look at files \file{lettrine-demo-fr.tex} and
+% \file{lettrine-demo-lua.tex} and at the resulting PDFs in the
+% \file{doc} folder to see the possible usage of these parameters.
%
% \changes{v1.9}{2015/08/31}{New customisable string
% \cs{LettrineSecondString} to tune the initial’s height.}
%
-% Starting with version~2.30, the default settings can be
+% Starting with version~2.30, the default settings can easily be
% specified as options passed to the \pkg{lettrine} \emph{package}.
-% These options are the same as those of the |\lettrine| command%
-% \footnote{With one exception: \lopt{refstring} is available only
-% for the \cs{lettrine} command.}:
-% f.i. |\usepackage[lines=3]{lettrine}| will set the default to three
-% lines of text. Options passed to the \pkg{lettrine} package override
-% the defaults set in the \file{lettrine.cfg} file (see below) and will
-% be overriden by options passed to the |\lettrine| command.
+% These options are the same as those of the |\lettrine| command
+% previously described%
+% \footnote{With the exception of \lopt{ante} which doesn’t make
+% sense for a global usage.}: f.i. |\usepackage[lines=3]{lettrine}|
+% will set the default to three lines of text.
+% Options passed to the \pkg{lettrine} package override the defaults
+% set in the \file{lettrine.cfg} file (see below) and will be
+% overriden by options passed to the |\lettrine| command.
%
-% The default settings can be customized in a config file
-% \file{lettrine.cfg} for a global usage. The following list shows
-% the syntax to set them and their default values:
+% The default settings can also be customized in a config file
+% \file{lettrine.cfg} (backward compatibility). The following list
+% shows the syntax to set them and their default values:
% \begin{itemize}
% \item |\setcounter{DefaultLines}{2}|,
% \item |\setcounter{DefaultDepth}{0}|,
@@ -288,9 +311,9 @@
%
% The dimensional parameters \lopt{findent}, \lopt{nindent} and
% \lopt{slope}, can be set relative to |\LettrineWidth| if needed,
-% \emph{in \meta{filename} only}. The settings read from this file
-% will be overridden by the optional arguments eventually given to
-% |\lettrine|.
+% \emph{in an \file{optionsfile} only}. The settings read from this
+% file will be overridden by the optional arguments eventually given
+% to the |\lettrine| command.
%
% |\LettrineTextFont| sets the font used for the second argument
% of |\lettrine|, its default definition is
@@ -332,12 +355,12 @@
% \vspace{\baselineskip}
% \textbf{Important notice:}
% the sizing works fine with \emph{fully scalable} fonts (like the
-% standard PostScript fonts), but might not work well with CM/EC
-% fonts which have two limitations: only a limited number of sizes
-% is available by default (precise adjustments are impossible),
-% and the largest size (25pt or 35pt) is often too small.
-% The CM fonts are now available in PostScript type1 format for
-% free (courtesy of BlueSky/Y\&Y), to make them fully scalable,
+% standard PostScript or OpenType fonts), but might not work well
+% with CM/EC fonts which have two limitations: only a limited number
+% of sizes is available by default (precise adjustments are
+% impossible), and the largest size (25pt or 35pt) is often too
+% small. The CM fonts are available in PostScript type1 format
+% for free (courtesy of BlueSky/Y\&Y), to make them fully scalable,
% it is mandatory to add |\usepackage{type1cm}| in the preamble
% of your document.
% The EC fonts are also available in type1 format for free
@@ -411,32 +434,23 @@
% \changes{v2.2}{2018/08/25}{Rollback mechanism used for recovering
% older versions.}
%
-% The lettrine package now uses the rollback mechanism recently
+% \changes{v2.40}{2023/04/18}{lettrine.dtx auto-generates lettrine.sty
+% and lettrine.cfg (lettrine.ins deleted).}
+%
+% The lettrine package uses the rollback mechanism
% introduced by the LaTeX Team to provide easier backward
-% compatibility. This requires a recent LaTeX kernel (at least
-% 2018-04-01), roolback is ignored with older kernels.
+% compatibility. The current release requires a LaTeX version
+% not older than 2022-06-01 (kernel packages \pkg{ltkeys} and
+% \pkg{xfp} are required).
% \begin{macrocode}
-\ifdefined\DeclareRelease
- \DeclareRelease{v1.6}{1999-03-03}{lettrine-2006-03-17.sty}
- \DeclareRelease{v1.9}{2012-07-20}{lettrine-2015-08-31.sty}
- \DeclareRelease{v2.0}{2018-07-21}{lettrine-2018-08-18.sty}
- \DeclareCurrentRelease{}{2020-03-14}
-\else
- \PackageWarning{lettrine}{Your LaTeX kernel is too old to provide
- access\MessageBreak to former versions of the lettrine package.%
- \MessageBreak If you need rollback, please upgrade%
- \MessageBreak your LaTeX kernel (2018-04-01 or newer),%
- \MessageBreak otherwise you are fine; reported}
-\fi
+\DeclareRelease{v1.6}{1999-03-03}{lettrine-2006-03-17.sty}
+\DeclareRelease{v1.9}{2012-07-20}{lettrine-2015-08-31.sty}
+\DeclareRelease{v2.0}{2018-07-21}{lettrine-2018-08-18.sty}
+\DeclareRelease{v2.3}{2022-09-25}{lettrine-2022-09-25.sty}
+\DeclareCurrentRelease{}{2023-04-18}
+\RequirePackage{xfp}
% \end{macrocode}
%
-% This package only runs with LaTeX and requires files
-% \file{xkeyval.sty} and \file{minifp.sty}.
-%
-% \begin{macrocode}
-\RequirePackage{xkeyval,minifp}
-% \end{macrocode}
-%
% Default initializations: define the necessary counters, lengths,
% and commands to hold the default settings and set these default
% settings. They can be overwritten in file |lettrine.cfg|.
@@ -477,42 +491,6 @@
\newif\ifLettrineRealHeight
% \end{macrocode}
%
-% Load a local config file if present in LaTeX’s search path.
-% \begin{macrocode}
-\InputIfFileExists{lettrine.cfg}
- {\typeout{Loading lettrine.cfg}}
- {\typeout{lettrine.cfg not found, using default values}}
-% \end{macrocode}
-%
-% \changes{v2.30}{2022/09/23}{Added global options to package
-% \pkg{lettrine}.}
-%
-% Global package options enable to override the default values given
-% above to generic parameters. These may be overriden again by
-% options passed to the |\lettrine[]{}{}| command.
-% \begin{macrocode}
-\DeclareOptionX{lines}[\value{DefaultLines}]{\setcounter{DefaultLines}{#1}}
-\DeclareOptionX{depth}[\value{DefaultDepth}]{\setcounter{DefaultDepth}{#1}}
-\DeclareOptionX{lhang}[]{\ifx#1\@empty\else
- \renewcommand*{\DefaultLhang}{#1}\fi}
-\DeclareOptionX{loversize}[]{\ifx#1\@empty\else
- \renewcommand*{\DefaultLoversize}{#1}\fi}
-\DeclareOptionX{lraise}[]{\ifx#1\@empty\else
- \renewcommand*{\DefaultLraise}{#1}}
-\DeclareOptionX{findent}[\the\DefaultFindent]{%
- \setlength{\DefaultFindent}{#1}}
-\DeclareOptionX{nindent}[\the\DefaultNindent]{%
- \setlength{\DefaultNindent}{#1}}
-\DeclareOptionX{slope}[\the\DefaultSlope]{\setlength{\DefaultSlope}{#1}}
-\DeclareOptionX{image}[true]{\csname LettrineImage#1\endcsname}
-\DeclareOptionX{grid}[true]{\csname LettrineOnGrid#1\endcsname}
-\DeclareOptionX{novskip}[\the\DiscardVskip]{\setlength{\DiscardVskip}{#1}}
-\DeclareOptionX{realheight}[true]{\csname LettrineRealHeight#1\endcsname}
-\DeclareOptionX{optionsfile}[]{\ifx#1\@empty\else
- \renewcommand*{\DefaultOptionsFile}{#1}\fi}
-\ProcessOptionsX
-% \end{macrocode}
-
% Then let’s define the necessary internal counters, lengths,
% and commands.
%
@@ -548,17 +526,95 @@
\newif\ifL at image
\newif\ifL at grid
\newif\ifL at realh
-\newif\ifL at selfref
% \end{macrocode}
%
-% Provide commands for the fonts used to typeset the two
-% mandatory arguments of |\lettrine|.
+% \begin{macro}{\LettrineTestString}
+% As some font designers apply optical correction to capitals C, G,
+% O, or Q (they are slightly taller than `T’ or `Z’), they are better
+% left out of |\LettrineTestString|. |EFTZ| should be a good default
+% for most fonts.
%
+% \changes{v1.63}{2012/07/20}{(new) it defaults to
+% `ABCDEFGHIJKLMNOQPRSTUVWXYZ’. In previous versions height
+% computations were based on letter `X’ which might not exist
+% in some (rare) fonts. Pointed out by Raphaël Pinson.}
+%
+% \changes{v2.0}{2018/07/21}{changed from `ABCDEFGHIJKLMNOQPRSTUVWXYZ’
+% to `EFTZ’ as some capitals like C, G, O, Q or X might be slightly
+% taller (possible optical correction).}
+%
+% \begin{macrocode}
+\newcommand*{\LettrineTestString}{EFTZ}
+% \end{macrocode}
+% \end{macro}
+%
+% Load a local config file if present in LaTeX’s search path.
+% \begin{macrocode}
+\InputIfFileExists{lettrine.cfg}
+ {\typeout{Loading lettrine.cfg}}
+ {\typeout{lettrine.cfg not found, using default values}}
+% \end{macrocode}
+%
+% \changes{v2.30}{2022/09/23}{Added global options to package
+% \pkg{lettrine}.}
+%
+% \changes{v2.40}{2023/04/18}{Package options and \cs{lettrine} options
+% no longer depend on \pkg{xkeyval}, they are based on ltkeys.dtx.}
+%
+% Global package options enable to override the default values given
+% above to generic parameters. These may be overriden again by
+% options passed to the |\lettrine[]{}{}| command.
+% This code is based on \pkg{ltkeys.dtx}.
+% \begin{macrocode}
+\DeclareKeys[LettrineGlobal]
+ {
+ lines.code = \setcounter{DefaultLines}{#1} ,
+ depth.code = \setcounter{DefaultDepth}{#1} ,
+ lhang.store = \DefaultLhang ,
+ loversize.store = \DefaultLoversize ,
+ lraise.store = \DefaultLraise ,
+ findent.code = \setlength{\DefaultFindent}{#1} ,
+ nindent.code = \setlength{\DefaultNindent}{#1} ,
+ slope.code = \setlength{\DefaultSlope}{#1} ,
+ novskip.code = \setlength{\DiscardVskip}{#1} ,
+ image.if = LettrineImage ,
+ grid.if = LettrineOnGrid ,
+ realheight.if = LettrineRealHeight ,
+ refstring.default:n = \l at initial ,
+ refstring.store = \LettrineTestString ,
+ optionsfile.store = \DefaultOptionsFile
+ }
+\ProcessKeyOptions[LettrineGlobal]
+% \end{macrocode}
+%
+% Ditto for the |\lettrine| command’s options.
+%
+% \begin{macrocode}
+\DeclareKeys[LettrineLocal]
+ {
+ lines.code = \setcounter{L at lines}{#1} ,
+ depth.code = \setcounter{L at depth}{#1} ,
+ lhang.code = \renewcommand*{\L at hang}{#1} ,
+ loversize.code = \renewcommand*{\L at oversize}{#1} ,
+ lraise.code = \renewcommand*{\L at raise}{#1} ,
+ ante.code = \renewcommand*{\L at ante}{#1} ,
+ findent.code = \setlength{\L at Findent}{#1} ,
+ nindent.code = \setlength{\L at Nindent}{#1} ,
+ slope.code = \setlength{\L at slope}{#1} ,
+ novskip.code = \setlength{\L at novskip}{#1} ,
+ image.if = L at image ,
+ grid.if = L at grid ,
+ realheight.if = L at realh ,
+ refstring.default:n = \l at initial ,
+ refstring.store = \l at refstring
+ }
+% \end{macrocode}
+%
% \changes{v2.21}{2018/08/28}{Code clean up, new commands
% \cs{computeL at height}, \cs{compute at fontsize}, \cs{setupL at lbox}.}
%
% \begin{macro}{\LettrineTextFont}
-% In French, small caps usually follow the dropped capital.
+% In French, small caps usually follow the initial.
% \begin{macrocode}
\newcommand*{\LettrineTextFont}{\scshape}
\newcommand*{\LettrineSecondString}{x}
@@ -657,7 +713,7 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\LettrineTestString}
+% \begin{macro}{\compute at fontsize}
% After executing |\computeL at height|, |\L at height| holds the exact
% height required for the dropped capital, nothing more is needed if
% the initial is a picture, otherwise we need to compute the matching
@@ -664,34 +720,13 @@
% |\fontsize|’s value. This is done by measuring the height of
% a ``reference’’ capital (i.e.\ either listed in
% |\LettrineTestString| or the initial itself).
-% As some font designers apply optical correction to capitals C, G,
-% O, or Q (they are slightly taller than `T’ or `Z’), they are better
-% left out of |\LettrineTestString|. |EFTZ| should be a good default
-% for most fonts.
-%
-% \changes{v1.63}{2012/07/20}{(new) it defaults to
-% `ABCDEFGHIJKLMNOQPRSTUVWXYZ’. In previous versions height
-% computations were based on letter `X’ which might not exist
-% in some (rare) fonts. Pointed out by Raphaël Pinson.}
-%
-% \changes{v2.0}{2018/07/21}{changed from `ABCDEFGHIJKLMNOQPRSTUVWXYZ’
-% to `EFTZ’ as some capitals like C, G, O, Q or X might be slightly
-% taller (possible optical correction).}
-%
-% \begin{macrocode}
-\newcommand*{\LettrineTestString}{EFTZ}
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\compute at fontsize}
% This command compares the height of a ``reference’’ capital scaled
-% by |\fontsize| with argument |\L at height| to |\L at height| (the
+% by |\fontsize| with argument |\L at height|, to |\L at height| (the
% required height for the initial); both are converted into integers
-% (in sp) to compute a ratio |\L at factor|.
-% Up to v2.01, possible values for |\L at factor| were either 1 or any
-% value $\geq 1.1$ which was fine for almost every font but not
-% all (i.e.\ \file{cfr-initials}). Starting with v2.1, |\L at factor|
-% is computed more accurately by |\MFPdiv| from \file{minifp.sty}.
+% (in sp), to compute a ratio |\L at factor| (decimal number).
+% Then, the initial will be scaled by |\L at factor\L at height|.
+% Starting with v2.40, |\L at factor| is computed by |\fpeval|
+% from \file{xfp.sty}.
%
% \changes{v2.1}{2018/08/14}{Computation of \cs{L at factor} for
% \cs{fontsize} done by the minifp package.}
@@ -699,17 +734,20 @@
% \changes{v2.22}{2018/09/14}{Warn if \cs{fontsize} computation fails
% due to division by 0.}
%
-% The conditional |\ifL at selfref| is set to \lopt{true} by |\lettrine|
-% option \lopt{refstring}, then the initial itself is taken as
-% reference to compute |\fontsize|, this can be handy when working
-% with fancy fonts (i.e.\ cfr-initials, Yinit). In most cases, the
-% default is a better choice.
+% \changes{v2.40}{2023/04/18}{Computation of \cs{L at factor} for
+% \cs{fontsize} done by the xfp package.}
+%
+% If the option \lopt{refstring} is set in the |\lettrine| command
+% the initial itself is taken as reference to compute |\fontsize|,
+% this can be handy when working with fancy fonts
+% (i.e.\ cfr-initials, Yinit).
+% In most cases, the default is a better choice .
% \begin{macrocode}
\def\compute at fontsize{%
- \ifL at selfref
+ \ifx\l at refstring\@empty
+ \def\Lettrine at RefString{\LettrineTestString}%
+ \else
\def\Lettrine at RefString{\l at refstring}%
- \else
- \def\Lettrine at RefString{\LettrineTestString}%
\fi
\sbox{\@tempboxa}{\LettrineFontHook
\fontsize{\L at height}{\L at height}\selectfont
@@ -721,7 +759,7 @@
\def\L at factor{1}%
\else
\@tempcntb=\L at height
- \MFPdiv{\the\@tempcntb}{\the\@tempcnta}\L at factor
+ \def\L at factor{\fpeval{\the\@tempcntb/\the\@tempcnta}}%
\fi
}
% \end{macrocode}
@@ -746,7 +784,8 @@
%
% \begin{macro}{\LettrineImage}
% The following definition is for use with dropped capitals defined
-% as images: EPS, PDF, JPG, PNG files (see examples in demo-fr.tex).
+% as images: EPS, PDF, JPG, PNG files (see examples in
+% lettrine-demo-fr.tex).
% Its requires the |graphicx| package to be loaded in the
% preamble with |\usepackage{graphicx}|. The image’s height is
% computed just as in the standard case and passed to
@@ -778,26 +817,6 @@
% \end{macrocode}
% \end{macro}
%
-% Set up keyval initializations for the |\lettrine| command.
-%
-% \begin{macrocode}
-\define at key{L}{lines}{\setcounter{L at lines}{#1}}
-\define at key{L}{depth}{\setcounter{L at depth}{#1}}
-\define at key{L}{lhang}{\renewcommand*{\L at hang}{#1}}
-\define at key{L}{loversize}{\renewcommand*{\L at oversize}{#1}}
-\define at key{L}{lraise}{\renewcommand*{\L at raise}{#1}}
-\define at key{L}{ante}{\renewcommand*{\L at ante}{#1}}
-\define at key{L}{findent}{\setlength{\L at Findent}{#1}}
-\define at key{L}{nindent}{\setlength{\L at Nindent}{#1}}
-\define at key{L}{slope}{\setlength{\L at slope}{#1}}
-\define at key{L}{image}[true]{\csname L at image#1\endcsname}
-\define at key{L}{grid}[true]{\csname L at grid#1\endcsname}
-\define at key{L}{realheight}[true]{\csname L at realh#1\endcsname}
-\define at key{L}{novskip}{\setlength{\L at novskip}{#1}}
-\define at key{L}{refstring}[\l at initial]{\L at selfreftrue
- \def\l at refstring{#1}}
-% \end{macrocode}
-%
% \changes{v1.5}{2003/08/18}{\cs{LettrineOptionsFor} and
% \cs{LettrineWidth} added.}
%
@@ -805,23 +824,33 @@
% This command is to be used in an optional config file (the name
% of which is found in |\DefaultOptionsFile|) to set the values
% of parameters on a per character basis, for instance:\\
-% |\LettrineOptionsFor{A}{slope=0.6em, findent=-1em, nindent=0.6em}|\\
-% creates an internal command (|\l at A-keys| in this example),
-% which expands to the options given as second argument of
-% |\LettrineOptionsFor| for letter `A’.
+% |\LettrineOptionsFor{A}{slope=0.6em, findent=-1em, nindent=0.6em}|
%
% \begin{macrocode}
-\newcommand*{\LettrineOptionsFor}[2]{\@namedef{l@#1-keys}{#2}}
+\newcommand*{\LettrineOptionsFor}[2]{%
+ \edef\l at tmpa{#1}%
% \end{macrocode}
+% Gobble potential color commands for the initial.
+% \begin{macrocode}
+ \begingroup
+ \def\color##1##{\l at color{##1}}%
+ \let\l at color\@gobbletwo
+ \def\textcolor##1##{\l at textcolor{##1}}%
+ \def\l at textcolor##1##2##3{##3}%
+ \xdef\l at tmpb{\l at initial}%
+ \endgroup
+ \ifx\l at tmpa\l at tmpb \SetKeys[LettrineLocal]{#2}\fi
+ }
+% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\lettrine}
-% Now let’s define |\lettrine|.
+% Now let’s define the |\lettrine| command.
%
% \begin{macrocode}
\def\lettrine{\@ifnextchar[\@lettrine{\@lettrine[]}}
\def\@lettrine[#1]#2#3{%
- \def\l at initial{#2}\let\l at refstring\l at initial
+ \def\l at initial{#2}\let\l at refstring\@empty
% \end{macrocode}
%
% \changes{v1.9}{2015/08/31}{\cs{theDefaultLines} changed to
@@ -846,11 +875,11 @@
\ifLettrineRealHeight\L at realhtrue\else\L at realhfalse\fi
% \end{macrocode}
%
-% The final initial size depends on the height of |\L at tbox|; the
-% content of |\L at tbox| depends on option |realheight|, so we have
-% to read |\lettrine|’s optional argument and initialise the
-% |\L at tbox| content now\footnote{Now means before eventually
-% reading the config file.}.
+% Then take the local options passed to |\lettrine| into account.
+% The content of |\L at tbox| depends on option |realheight|, so we
+% have to initialise the |\L at tbox| content now%
+% \footnote{Now means before eventually reading the per character
+% config file.}.
%
% \changes{v1.9}{2015/08/31}{Use the second mandatory
% argument of \cs{lettrine} or \cs{LettrineSecondString} (which
@@ -858,7 +887,7 @@
% the `realheight’ flag.}
%
% \begin{macrocode}
- \setkeys{L}{#1}%
+ \SetKeys[LettrineLocal]{#1}%
\sbox{\L at tbox}{\LettrineTextFont{\LettrineSecondString}}%
\ifL at realh
\def\@tempa{#3}%
@@ -867,7 +896,7 @@
{Empty second argument,\MessageBreak
ignoring option `realheight';}%
\else
- \sbox{\L at tbox}{\LettrineTextFont{#3}}%
+ \sbox{\L at tbox}{{\LettrineTextFont{#3}}}%
\fi
\fi
% \end{macrocode}
@@ -878,74 +907,39 @@
% global command |\l at LOKeys| which will expand to the list of
% options given by |\LettrineOptionsFor| for the current initial
% (defined by |#2|)…
+%
+% \changes{v2.40}{2023/04/18}{Options from the per letter config file
+% are now handled by LaTeX command \cs{SetKeys}.}
+%
+% Take the per character config file into account if any.
% \begin{macrocode}
\if\DefaultOptionsFile\relax
\else
- \begingroup
- \InputIfFileExists{\DefaultOptionsFile}%
- {}%
- {\PackageWarning{lettrine.sty}%
- {File \DefaultOptionsFile\space not found}%
- }%
% \end{macrocode}
-% Gobble the colour commands, just keep the letter argument.
-% \begin{macrocode}
- \def\color##1##{\l at color{##1}}%
- \let\l at color\@gobbletwo
- \def\textcolor##1##{\l at textcolor{##1}}%
- \def\l at textcolor##1##2##3{##3}%
-% \end{macrocode}
-% Save the list of options relevant to the letter in |#2|
-% in |\l at LOKeys| (list is empty eventually).
-% \begin{macrocode}
- \expandafter\ifx\csname l@#2-keys\endcsname\relax
- \gdef\l at LOKeys{}%
- \else
- \xdef\l at LOKeys{\csname l@#2-keys\endcsname}%
- \fi
- \endgroup
-% \end{macrocode}
-% Now apply these options (the following code executes
-% |\setkeys{L}{\l at LOKeys}}| where |\l at LOKeys| is expanded,
-% see \file{keyval.sty}).
-% \begin{macrocode}
- \def\KV at prefix{KV at L@}%
- \let\@tempc\relax
- \expandafter\KV at do\l at LOKeys,\relax,
-% \end{macrocode}
% As some parameters’ values \lopt{findent}, \lopt{nindent} and
% \lopt{slope} ---which do not influence the initial’s size--- may
% be given relative to |\LettrineWidth|, the |\L at lbox| has to be
% set up to evaluate |\LettrineWidth|.
-%
-% \changes{v2.21}{2018/08/28}{\lopt{findent} computation
-% relative to \cs{LettrineWidth} in \lopt{.cfl} files fixed;
-% thanks to Frank Mittelbach for raising the issue.}
-%
% \begin{macrocode}
\setupL at lbox
\setlength{\LettrineWidth}{\wd\L at lbox}%
- \def\KV at prefix{KV at L@}%
- \let\@tempc\relax
- \expandafter\KV at do\l at LOKeys,\relax,
+ \InputIfFileExists{\DefaultOptionsFile}%
+ {}%
+ {\PackageWarning{lettrine.sty}%
+ {File \DefaultOptionsFile\space not found}%
+ }%
% \end{macrocode}
% As local options prevail on those held in the config file, we
-% have to read local options again:
+% have to read again the optionnal argument of |\lettrine|.
% \begin{macrocode}
- \setkeys{L}{#1}%
+ \SetKeys[LettrineLocal]{#1}%
\fi
% \end{macrocode}
-% Options and optional config file have be taken into account, we
-% can now finally save the first mandatory argument of |\lettrine|
-% properly scaled into |\L at lbox|.
-% \begin{macrocode}
- \setupL at lbox
-% \end{macrocode}
-%
% \changes{v1.65}{2014/09/04}{Measure and store the initial’s
% final dimensions.}
% Store the initial’s final dimensions,
% \begin{macrocode}
+ \setupL at lbox
\setlength{\LettrineWidth}{\wd\L at lbox}%
\setlength{\LettrineHeight}{\ht\L at lbox}%
\setlength{\LettrineDepth}{\dp\L at lbox}%
@@ -954,7 +948,7 @@
% \changes{v2.0}{2018/07/21}{Add informations about targeted
% and actual height of the initial to the .log file.}
%
-% print some informations about accuracy to the log file,
+% and print some informations about accuracy to the log file,
% \begin{macrocode}
\begingroup
\def\IeC##1{##1}%
@@ -975,7 +969,7 @@
% \cs{LettrineTextFont}. Suggested by Philipp Lehman.}
%
% \begin{macrocode}
- \sbox{\L at tbox}{\LettrineTextFont{#3}}%
+ \sbox{\L at tbox}{{\LettrineTextFont{#3}}}%
% \end{macrocode}
%
% Start a new paragraph, skipping the necessary amount of space
@@ -1093,12 +1087,16 @@
% \changes{v1.64}{2013/03/14}{Remove \$ around \cs{smash}
% and add \cs{relax}. Bug pointed out by David Monniaux.
% Correction by Enrico Gregorio.}
+%
+% \changes{v2.40}{2023/04/18}{Replace \cs{usebox} by \cs{unhcopy}
+% for box \cs{L at tbox} to allow footnote calls and microtype action.}
+%
% Write the dropped capital into the left margin, and wrap
% the rest of paragraph around it.
% \begin{macrocode}
\smash{\llap{\mbox{\L at ante}\raisebox{\L at lraise}{\usebox{\L at lbox}}%
\hskip \the\L at Findent}}%
- \usebox{\L at tbox}%
+ \unhcopy\L at tbox\relax
% \end{macrocode}
%
%\changes{v2.22}{2019/03/30}{\cs{parshape} reset added in lists.}
@@ -1170,7 +1168,7 @@
%%
%% In case you want to set parameters for some letters
%% in file `optfile.cfl'
-%% \renewcommand{\DefaultOptionsFile}{optfile.cfl}
+%%\renewcommand{\DefaultOptionsFile}{optfile.cfl}
% \end{macrocode}
% \iffalse
%</cfg>
Deleted: trunk/Master/texmf-dist/source/latex/lettrine/lettrine.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/lettrine/lettrine.ins 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/source/latex/lettrine/lettrine.ins 2023-04-18 19:45:16 UTC (rev 66888)
@@ -1,84 +0,0 @@
-%%
-%% Copyright (C) 1999-2022 Daniel Flipo.
-%%
-%% This file will generate fast loadable files and documentation
-%% driver files from the doc files in this package when run through
-%% LaTeX or TeX.
-%%
-%% This program can be distributed and/or modified under the terms
-%% of the LaTeX Project Public License either version 1.3c of this
-%% license or (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3c or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-\def\batchfile{lettrine.ins}
-\input docstrip.tex
-
-{\ifx\generate\undefined
-\Msg{**********************************************}
-\Msg{*}
-\Msg{* This installation requires docstrip}
-\Msg{* version 2.3c or later.}
-\Msg{*}
-\Msg{* An older version of docstrip has been input}
-\Msg{*}
-\Msg{**********************************************}
-\errhelp{Move or rename old docstrip.tex.}
-\errmessage{Old docstrip in input path}
-\batchmode
-\csname @@end\endcsname
-\fi}
-
-\keepsilent
-\askforoverwritefalse
-
-\usedir{tex/latex/lettrine}
-
-\preamble
-
-This file is a generated file part of the lettrine package.
------------------------------------------------------------
-
-For the copyright see the source file `lettine.dtx'.
-
-This file can be distributed and/or modified under the terms
-of the LaTeX Project Public License either version 1.3c of this
-license or (at your option) any later version.
-The latest version of this license is in
- http://www.latex-project.org/lppl.txt
-and version 1.3c or later is part of all distributions of LaTeX
-version 2005/12/01 or later.
-
-This work has the LPPL maintenance status "maintained".
-
-The Current Maintainer of this work is Daniel Flipo.
-
-Please report errors to: <daniel (dot) flipo (at) free (dot) fr>
-
-\endpreamble
-
-\generate{\file{lettrine.sty}{\from{lettrine.dtx}{sty}}
- \nopreamble
- \file{lettrine.cfg}{\from{lettrine.dtx}{cfg}}
- }
-
-\Msg{***********************************************************}
-\Msg{*}
-\Msg{* To finish the installation you have to move}
-\Msg{* lettrine.sty, lettrine.cfg and the *.cfl files generated}
-\Msg{* from contrib.ins into a directory searched by TeX.}
-\Msg{*}
-\Msg{* If you want to change the default settings, uncomment the}
-\Msg{* lines you want in file lettrine.cfg and customize them.}
-\Msg{*}
-\Msg{* To produce the documentation run lettrine.dtx}
-\Msg{* through LuaLaTeX.}
-\Msg{*}
-\Msg{* Happy TeXing!}
-\Msg{*}
-\Msg{***********************************************************}
-
-\endbatchfile
-\endinput
Added: trunk/Master/texmf-dist/tex/latex/lettrine/lettrine-2022-09-25.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lettrine/lettrine-2022-09-25.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lettrine/lettrine-2022-09-25.sty 2023-04-18 19:45:16 UTC (rev 66888)
@@ -0,0 +1,302 @@
+%%
+%% This is file `lettrine.sty', v2.30.
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file `lettine.dtx'.
+%%
+%% This file can be distributed and/or modified under the terms
+%% of the LaTeX Project Public License either version 1.3c of this
+%% license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is Daniel Flipo.
+%%
+%% Please report errors to: <daniel (dot) flipo (at) free (dot) fr>
+%%
+\NeedsTeXFormat{LaTeX2e}[2018-04-01]
+\ProvidesFile{lettrine.sty}
+ [2022-09-25 v2.30 (Daniel Flipo)]
+\RequirePackage{xkeyval,minifp}
+\newcounter{DefaultLines}
+\setcounter{DefaultLines}{2}
+\newcounter{DefaultDepth}
+\newcommand*{\DefaultOptionsFile}{\relax}
+\newcommand*{\DefaultLoversize}{0}
+\newcommand*{\DefaultLraise}{0}
+\newcommand*{\DefaultLhang}{0}
+\newdimen\DefaultFindent
+\setlength{\DefaultFindent}{\z@}
+\newdimen\DefaultNindent
+\setlength{\DefaultNindent}{0.5em}
+\newdimen\DefaultSlope
+\setlength{\DefaultSlope}{\z@}
+\newdimen\DiscardVskip
+\setlength{\DiscardVskip}{0.2\p@}
+\newif\ifLettrineImage
+\newif\ifLettrineOnGrid
+\newif\ifLettrineRealHeight
+\InputIfFileExists{lettrine.cfg}
+ {\typeout{Loading lettrine.cfg}}
+ {\typeout{lettrine.cfg not found, using default values}}
+\DeclareOptionX{lines}[\value{DefaultLines}]{\setcounter{DefaultLines}{#1}}
+\DeclareOptionX{depth}[\value{DefaultDepth}]{\setcounter{DefaultDepth}{#1}}
+\DeclareOptionX{lhang}[]{\ifx#1\@empty\else
+ \renewcommand*{\DefaultLhang}{#1}\fi}
+\DeclareOptionX{loversize}[]{\ifx#1\@empty\else
+ \renewcommand*{\DefaultLoversize}{#1}\fi}
+\DeclareOptionX{lraise}[]{\ifx#1\@empty\else
+ \renewcommand*{\DefaultLraise}{#1}}
+\DeclareOptionX{findent}[\the\DefaultFindent]{%
+ \setlength{\DefaultFindent}{#1}}
+\DeclareOptionX{nindent}[\the\DefaultNindent]{%
+ \setlength{\DefaultNindent}{#1}}
+\DeclareOptionX{slope}[\the\DefaultSlope]{\setlength{\DefaultSlope}{#1}}
+\DeclareOptionX{image}[true]{\csname LettrineImage#1\endcsname}
+\DeclareOptionX{grid}[true]{\csname LettrineOnGrid#1\endcsname}
+\DeclareOptionX{novskip}[\the\DiscardVskip]{\setlength{\DiscardVskip}{#1}}
+\DeclareOptionX{realheight}[true]{\csname LettrineRealHeight#1\endcsname}
+\DeclareOptionX{optionsfile}[]{\ifx#1\@empty\else
+ \renewcommand*{\DefaultOptionsFile}{#1}\fi}
+\ProcessOptionsX
+
+\newsavebox{\L at lbox}
+\newsavebox{\L at tbox}
+\newcounter{L at lines}
+\newcounter{L at depth}
+\newdimen\L at Pindent
+\newdimen\L at Findent
+\newdimen\L at Nindent
+\newdimen\L at lraise
+\newdimen\L at first
+\newdimen\L at next
+\newdimen\L at slope
+\newdimen\L at height
+\newdimen\L at novskip
+\newdimen\L at target@ht
+\newdimen\L at target@dp
+\newdimen\L at target@tht
+\newdimen\LettrineWidth
+\newdimen\LettrineHeight
+\newdimen\LettrineDepth
+\newcommand*{\L at file}{}
+\newcommand*{\L at hang}{}
+\newcommand*{\L at oversize}{}
+\newcommand*{\L at raise}{}
+\newcommand*{\L at ante}{}
+\newif\ifL at image
+\newif\ifL at grid
+\newif\ifL at realh
+\newif\ifL at selfref
+\newcommand*{\LettrineTextFont}{\scshape}
+\newcommand*{\LettrineSecondString}{x}
+\newcommand*{\LettrineFontHook}{}
+\def\computeL at height{%
+ \setlength{\L at target@ht}{\ht\L at tbox}%
+ \@tempdima=\baselineskip
+ \setlength{\L at target@dp}{\value{L at lines}\@tempdima}%
+ \ifnum\value{L at lines}>1
+ \addtolength{\L at target@dp}{-\@tempdima}%
+ \else
+ \addtolength{\L at target@ht}{\L at target@dp}%
+ \setlength{\L at target@dp}{0pt}%
+ \fi
+ \setlength{\L at target@tht}{\L at target@ht}%
+ \addtolength{\L at target@tht}{\L at target@dp}%
+ \setlength{\L at height}{\L at target@tht}%
+ \addtolength{\L at height}{\L at oversize\L at target@tht}%
+}
+\newcommand*{\LettrineTestString}{EFTZ}
+\def\compute at fontsize{%
+ \ifL at selfref
+ \def\Lettrine at RefString{\l at refstring}%
+ \else
+ \def\Lettrine at RefString{\LettrineTestString}%
+ \fi
+ \sbox{\@tempboxa}{\LettrineFontHook
+ \fontsize{\L at height}{\L at height}\selectfont
+ \Lettrine at RefString}%
+ \@tempcnta=\ht\@tempboxa
+ \ifnum\@tempcnta=0
+ \PackageWarning{lettrine}{Unable to compute \protect\fontsize!%
+ \MessageBreak \protect\LettrineTestString\space empty? reported}
+ \def\L at factor{1}%
+ \else
+ \@tempcntb=\L at height
+ \MFPdiv{\the\@tempcntb}{\the\@tempcnta}\L at factor
+ \fi
+}
+\newcommand*{\LettrineFont}{%
+ \LettrineFontHook
+ \fontsize{\L at factor\L at height}{\L at factor\L at height}%
+ \selectfont
+}
+\newcommand*{\LettrineImage}{%
+ \LettrineFontHook\includegraphics[height=\L at height]%
+}
+\def\setupL at lbox{%
+ \computeL at height
+ \ifL at image
+ \sbox{\L at lbox}{\LettrineImage{\l at initial}}%
+ \else
+ \compute at fontsize
+ \sbox{\L at lbox}{\LettrineFont \l at initial}%
+ \fi
+}
+\define at key{L}{lines}{\setcounter{L at lines}{#1}}
+\define at key{L}{depth}{\setcounter{L at depth}{#1}}
+\define at key{L}{lhang}{\renewcommand*{\L at hang}{#1}}
+\define at key{L}{loversize}{\renewcommand*{\L at oversize}{#1}}
+\define at key{L}{lraise}{\renewcommand*{\L at raise}{#1}}
+\define at key{L}{ante}{\renewcommand*{\L at ante}{#1}}
+\define at key{L}{findent}{\setlength{\L at Findent}{#1}}
+\define at key{L}{nindent}{\setlength{\L at Nindent}{#1}}
+\define at key{L}{slope}{\setlength{\L at slope}{#1}}
+\define at key{L}{image}[true]{\csname L at image#1\endcsname}
+\define at key{L}{grid}[true]{\csname L at grid#1\endcsname}
+\define at key{L}{realheight}[true]{\csname L at realh#1\endcsname}
+\define at key{L}{novskip}{\setlength{\L at novskip}{#1}}
+\define at key{L}{refstring}[\l at initial]{\L at selfreftrue
+ \def\l at refstring{#1}}
+\newcommand*{\LettrineOptionsFor}[2]{\@namedef{l@#1-keys}{#2}}
+\def\lettrine{\@ifnextchar[\@lettrine{\@lettrine[]}}
+\def\@lettrine[#1]#2#3{%
+ \def\l at initial{#2}\let\l at refstring\l at initial
+ \setcounter{L at lines}{\value{DefaultLines}}%
+ \setcounter{L at depth}{\value{DefaultDepth}}%
+ \renewcommand*{\L at hang}{\DefaultLhang}%
+ \renewcommand*{\L at oversize}{\DefaultLoversize}%
+ \renewcommand*{\L at raise}{\DefaultLraise}%
+ \renewcommand*{\L at ante}{}%
+ \setlength{\L at Findent}{\DefaultFindent}%
+ \setlength{\L at Nindent}{\DefaultNindent}%
+ \setlength{\L at slope}{\DefaultSlope}%
+ \setlength{\L at novskip}{\DiscardVskip}%
+ \ifLettrineImage\L at imagetrue\else\L at imagefalse\fi
+ \ifLettrineOnGrid\L at gridtrue\else\L at gridfalse\fi
+ \ifLettrineRealHeight\L at realhtrue\else\L at realhfalse\fi
+ \setkeys{L}{#1}%
+ \sbox{\L at tbox}{\LettrineTextFont{\LettrineSecondString}}%
+ \ifL at realh
+ \def\@tempa{#3}%
+ \ifx\@tempa\@empty
+ \PackageWarning{lettrine.sty}%
+ {Empty second argument,\MessageBreak
+ ignoring option `realheight';}%
+ \else
+ \sbox{\L at tbox}{\LettrineTextFont{#3}}%
+ \fi
+ \fi
+ \if\DefaultOptionsFile\relax
+ \else
+ \begingroup
+ \InputIfFileExists{\DefaultOptionsFile}%
+ {}%
+ {\PackageWarning{lettrine.sty}%
+ {File \DefaultOptionsFile\space not found}%
+ }%
+ \def\color##1##{\l at color{##1}}%
+ \let\l at color\@gobbletwo
+ \def\textcolor##1##{\l at textcolor{##1}}%
+ \def\l at textcolor##1##2##3{##3}%
+ \expandafter\ifx\csname l@#2-keys\endcsname\relax
+ \gdef\l at LOKeys{}%
+ \else
+ \xdef\l at LOKeys{\csname l@#2-keys\endcsname}%
+ \fi
+ \endgroup
+ \def\KV at prefix{KV at L@}%
+ \let\@tempc\relax
+ \expandafter\KV at do\l at LOKeys,\relax,
+ \setupL at lbox
+ \setlength{\LettrineWidth}{\wd\L at lbox}%
+ \def\KV at prefix{KV at L@}%
+ \let\@tempc\relax
+ \expandafter\KV at do\l at LOKeys,\relax,
+ \setkeys{L}{#1}%
+ \fi
+ \setupL at lbox
+ \setlength{\LettrineWidth}{\wd\L at lbox}%
+ \setlength{\LettrineHeight}{\ht\L at lbox}%
+ \setlength{\LettrineDepth}{\dp\L at lbox}%
+ \begingroup
+ \def\IeC##1{##1}%
+ \@tempdima=\L at oversize pt\relax
+ \PackageInfo{lettrine.sty}%
+ {Targeted height = \the\L at target@tht\MessageBreak
+ (for loversize=0, accent excluded),\MessageBreak
+ Lettrine height = \the\LettrineHeight\space (#2)%
+ \ifdim\@tempdima=\z@\else\space loversize=\L at oversize\fi;%
+ \MessageBreak reported}%
+ \endgroup
+ \sbox{\L at tbox}{\LettrineTextFont{#3}}%
+ \setlength{\L at first}{\LettrineHeight}%
+ \setlength{\L at lraise}{\L at raise\L at target@tht}%
+ \addtolength{\L at first}{\L at lraise}%
+ \ifnum\value{L at lines}=1
+ \addtolength{\L at first}{-\ht\L at tbox}%
+ \else
+ \addtolength{\L at first}{-\L at target@tht}%
+ \addtolength{\L at lraise}{-\L at target@dp}%
+ \fi
+ \par
+ \ifdim\L at first>\L at novskip
+ \ifL at grid
+ \@tempdima=\baselineskip
+ \@tempdimb=\@tempdima
+ \advance\@tempdimb by \L at novskip
+ \@tempcnta=1
+ \loop\ifdim\L at first>\@tempdimb
+ \advance\@tempcnta by 1
+ \advance\L at first by -\@tempdima
+ \repeat
+ \L at first=\@tempcnta\baselineskip
+ \fi
+ \vskip\L at first
+ \fi
+ \setlength{\L at Pindent}{\wd\L at lbox}%
+ \addtolength{\L at Pindent}{-\L at hang\wd\L at lbox}%
+ \settowidth{\L at first}{\L at ante}%
+ \addtolength{\L at Pindent}{\L at first}%
+ \addtolength{\L at Pindent}{\L at Findent}%
+ \setlength{\L at first}{\linewidth}%
+ \addtolength{\L at first}{-\L at Pindent}%
+ \addtolength{\L at Nindent}{\L at Pindent}%
+ \setlength{\L at next}{\linewidth}%
+ \addtolength{\L at next}{-\L at Nindent}%
+ \addtolength{\L at Pindent}{\@totalleftmargin}%
+ \addtolength{\L at Nindent}{\@totalleftmargin}%
+ \addtocounter{L at lines}{1}%
+ \addtocounter{L at lines}{\value{L at depth}}%
+ \def\L at parshape{\c at L@lines \the\L at Pindent \the\L at first}%
+ \@tempcnta=\tw@
+ \@whilenum \@tempcnta<\c at L@lines\do{%
+ \edef\L at parshape{\L at parshape \the\L at Nindent \the\L at next}%
+ \addtolength{\L at Nindent}{\L at slope}%
+ \addtolength{\L at next}{-\L at slope}%
+ \advance\@tempcnta\@ne}%
+ \edef\L at parshape{\L at parshape \@totalleftmargin \the\linewidth}%
+ \noindent
+ \parshape=\L at parshape\relax
+ \smash{\llap{\mbox{\L at ante}\raisebox{\L at lraise}{\usebox{\L at lbox}}%
+ \hskip \the\L at Findent}}%
+ \usebox{\L at tbox}%
+ \ifnum\@listdepth>0 \Lreset at listparshape \fi
+}
+\newtoks\Llist at everypar
+\def\Lreset at listparshape{%
+ \let\Lnew at everypar\everypar
+ \Llist at everypar=\expandafter{\the\everypar}%
+ \Lnew at everypar={\the\Llist at everypar
+ \parshape=\@ne \@totalleftmargin \linewidth \relax
+ \let\everypar\Llist at everypar
+ }%
+}
+\endinput
+%%
+%% End of file `lettrine.sty'.
Property changes on: trunk/Master/texmf-dist/tex/latex/lettrine/lettrine-2022-09-25.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/lettrine/lettrine.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lettrine/lettrine.cfg 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/tex/latex/lettrine/lettrine.cfg 2023-04-18 19:45:16 UTC (rev 66888)
@@ -32,7 +32,7 @@
%%
%% In case you want to set parameters for some letters
%% in file `optfile.cfl'
-%% \renewcommand{\DefaultOptionsFile}{optfile.cfl}
-\endinput
+%%\renewcommand{\DefaultOptionsFile}{optfile.cfl}
+%%
%%
%% End of file `lettrine.cfg'.
Modified: trunk/Master/texmf-dist/tex/latex/lettrine/lettrine.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lettrine/lettrine.sty 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/tex/latex/lettrine/lettrine.sty 2023-04-18 19:45:16 UTC (rev 66888)
@@ -6,41 +6,18 @@
%%
%% lettrine.dtx (with options: `sty')
%%
-%% This file is a generated file part of the lettrine package.
-%% -----------------------------------------------------------
-%%
-%% For the copyright see the source file `lettine.dtx'.
-%%
-%% This file can be distributed and/or modified under the terms
-%% of the LaTeX Project Public License either version 1.3c of this
-%% license or (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3c or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-%% This work has the LPPL maintenance status "maintained".
-%%
-%% The Current Maintainer of this work is Daniel Flipo.
-%%
-%% Please report errors to: <daniel (dot) flipo (at) free (dot) fr>
-%%
-\NeedsTeXFormat{LaTeX2e}[2018-04-01]
+%% IMPORTANT NOTICE:
+%% For the copyright see the source file `lua-typo.dtx’.
+%%
+\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesFile{lettrine.sty}
- [2022-09-25 v2.30 (Daniel Flipo)]
-\ifdefined\DeclareRelease
- \DeclareRelease{v1.6}{1999-03-03}{lettrine-2006-03-17.sty}
- \DeclareRelease{v1.9}{2012-07-20}{lettrine-2015-08-31.sty}
- \DeclareRelease{v2.0}{2018-07-21}{lettrine-2018-08-18.sty}
- \DeclareCurrentRelease{}{2020-03-14}
-\else
- \PackageWarning{lettrine}{Your LaTeX kernel is too old to provide
- access\MessageBreak to former versions of the lettrine package.%
- \MessageBreak If you need rollback, please upgrade%
- \MessageBreak your LaTeX kernel (2018-04-01 or newer),%
- \MessageBreak otherwise you are fine; reported}
-\fi
-\RequirePackage{xkeyval,minifp}
+ [2023-04-18 v2.40 (Daniel Flipo)]
+\DeclareRelease{v1.6}{1999-03-03}{lettrine-2006-03-17.sty}
+\DeclareRelease{v1.9}{2012-07-20}{lettrine-2015-08-31.sty}
+\DeclareRelease{v2.0}{2018-07-21}{lettrine-2018-08-18.sty}
+\DeclareRelease{v2.3}{2022-09-25}{lettrine-2022-09-25.sty}
+\DeclareCurrentRelease{}{2023-04-18}
+\RequirePackage{xfp}
\newcounter{DefaultLines}
\setcounter{DefaultLines}{2}
\newcounter{DefaultDepth}
@@ -59,30 +36,6 @@
\newif\ifLettrineImage
\newif\ifLettrineOnGrid
\newif\ifLettrineRealHeight
-\InputIfFileExists{lettrine.cfg}
- {\typeout{Loading lettrine.cfg}}
- {\typeout{lettrine.cfg not found, using default values}}
-\DeclareOptionX{lines}[\value{DefaultLines}]{\setcounter{DefaultLines}{#1}}
-\DeclareOptionX{depth}[\value{DefaultDepth}]{\setcounter{DefaultDepth}{#1}}
-\DeclareOptionX{lhang}[]{\ifx#1\@empty\else
- \renewcommand*{\DefaultLhang}{#1}\fi}
-\DeclareOptionX{loversize}[]{\ifx#1\@empty\else
- \renewcommand*{\DefaultLoversize}{#1}\fi}
-\DeclareOptionX{lraise}[]{\ifx#1\@empty\else
- \renewcommand*{\DefaultLraise}{#1}}
-\DeclareOptionX{findent}[\the\DefaultFindent]{%
- \setlength{\DefaultFindent}{#1}}
-\DeclareOptionX{nindent}[\the\DefaultNindent]{%
- \setlength{\DefaultNindent}{#1}}
-\DeclareOptionX{slope}[\the\DefaultSlope]{\setlength{\DefaultSlope}{#1}}
-\DeclareOptionX{image}[true]{\csname LettrineImage#1\endcsname}
-\DeclareOptionX{grid}[true]{\csname LettrineOnGrid#1\endcsname}
-\DeclareOptionX{novskip}[\the\DiscardVskip]{\setlength{\DiscardVskip}{#1}}
-\DeclareOptionX{realheight}[true]{\csname LettrineRealHeight#1\endcsname}
-\DeclareOptionX{optionsfile}[]{\ifx#1\@empty\else
- \renewcommand*{\DefaultOptionsFile}{#1}\fi}
-\ProcessOptionsX
-
\newsavebox{\L at lbox}
\newsavebox{\L at tbox}
\newcounter{L at lines}
@@ -110,7 +63,47 @@
\newif\ifL at image
\newif\ifL at grid
\newif\ifL at realh
-\newif\ifL at selfref
+\newcommand*{\LettrineTestString}{EFTZ}
+\InputIfFileExists{lettrine.cfg}
+ {\typeout{Loading lettrine.cfg}}
+ {\typeout{lettrine.cfg not found, using default values}}
+\DeclareKeys[LettrineGlobal]
+ {
+ lines.code = \setcounter{DefaultLines}{#1} ,
+ depth.code = \setcounter{DefaultDepth}{#1} ,
+ lhang.store = \DefaultLhang ,
+ loversize.store = \DefaultLoversize ,
+ lraise.store = \DefaultLraise ,
+ findent.code = \setlength{\DefaultFindent}{#1} ,
+ nindent.code = \setlength{\DefaultNindent}{#1} ,
+ slope.code = \setlength{\DefaultSlope}{#1} ,
+ novskip.code = \setlength{\DiscardVskip}{#1} ,
+ image.if = LettrineImage ,
+ grid.if = LettrineOnGrid ,
+ realheight.if = LettrineRealHeight ,
+ refstring.default:n = \l at initial ,
+ refstring.store = \LettrineTestString ,
+ optionsfile.store = \DefaultOptionsFile
+ }
+\ProcessKeyOptions[LettrineGlobal]
+\DeclareKeys[LettrineLocal]
+ {
+ lines.code = \setcounter{L at lines}{#1} ,
+ depth.code = \setcounter{L at depth}{#1} ,
+ lhang.code = \renewcommand*{\L at hang}{#1} ,
+ loversize.code = \renewcommand*{\L at oversize}{#1} ,
+ lraise.code = \renewcommand*{\L at raise}{#1} ,
+ ante.code = \renewcommand*{\L at ante}{#1} ,
+ findent.code = \setlength{\L at Findent}{#1} ,
+ nindent.code = \setlength{\L at Nindent}{#1} ,
+ slope.code = \setlength{\L at slope}{#1} ,
+ novskip.code = \setlength{\L at novskip}{#1} ,
+ image.if = L at image ,
+ grid.if = L at grid ,
+ realheight.if = L at realh ,
+ refstring.default:n = \l at initial ,
+ refstring.store = \l at refstring
+ }
\newcommand*{\LettrineTextFont}{\scshape}
\newcommand*{\LettrineSecondString}{x}
\newcommand*{\LettrineFontHook}{}
@@ -129,12 +122,11 @@
\setlength{\L at height}{\L at target@tht}%
\addtolength{\L at height}{\L at oversize\L at target@tht}%
}
-\newcommand*{\LettrineTestString}{EFTZ}
\def\compute at fontsize{%
- \ifL at selfref
+ \ifx\l at refstring\@empty
+ \def\Lettrine at RefString{\LettrineTestString}%
+ \else
\def\Lettrine at RefString{\l at refstring}%
- \else
- \def\Lettrine at RefString{\LettrineTestString}%
\fi
\sbox{\@tempboxa}{\LettrineFontHook
\fontsize{\L at height}{\L at height}\selectfont
@@ -146,7 +138,7 @@
\def\L at factor{1}%
\else
\@tempcntb=\L at height
- \MFPdiv{\the\@tempcntb}{\the\@tempcnta}\L at factor
+ \def\L at factor{\fpeval{\the\@tempcntb/\the\@tempcnta}}%
\fi
}
\newcommand*{\LettrineFont}{%
@@ -166,25 +158,20 @@
\sbox{\L at lbox}{\LettrineFont \l at initial}%
\fi
}
-\define at key{L}{lines}{\setcounter{L at lines}{#1}}
-\define at key{L}{depth}{\setcounter{L at depth}{#1}}
-\define at key{L}{lhang}{\renewcommand*{\L at hang}{#1}}
-\define at key{L}{loversize}{\renewcommand*{\L at oversize}{#1}}
-\define at key{L}{lraise}{\renewcommand*{\L at raise}{#1}}
-\define at key{L}{ante}{\renewcommand*{\L at ante}{#1}}
-\define at key{L}{findent}{\setlength{\L at Findent}{#1}}
-\define at key{L}{nindent}{\setlength{\L at Nindent}{#1}}
-\define at key{L}{slope}{\setlength{\L at slope}{#1}}
-\define at key{L}{image}[true]{\csname L at image#1\endcsname}
-\define at key{L}{grid}[true]{\csname L at grid#1\endcsname}
-\define at key{L}{realheight}[true]{\csname L at realh#1\endcsname}
-\define at key{L}{novskip}{\setlength{\L at novskip}{#1}}
-\define at key{L}{refstring}[\l at initial]{\L at selfreftrue
- \def\l at refstring{#1}}
-\newcommand*{\LettrineOptionsFor}[2]{\@namedef{l@#1-keys}{#2}}
+\newcommand*{\LettrineOptionsFor}[2]{%
+ \edef\l at tmpa{#1}%
+ \begingroup
+ \def\color##1##{\l at color{##1}}%
+ \let\l at color\@gobbletwo
+ \def\textcolor##1##{\l at textcolor{##1}}%
+ \def\l at textcolor##1##2##3{##3}%
+ \xdef\l at tmpb{\l at initial}%
+ \endgroup
+ \ifx\l at tmpa\l at tmpb \SetKeys[LettrineLocal]{#2}\fi
+ }
\def\lettrine{\@ifnextchar[\@lettrine{\@lettrine[]}}
\def\@lettrine[#1]#2#3{%
- \def\l at initial{#2}\let\l at refstring\l at initial
+ \def\l at initial{#2}\let\l at refstring\@empty
\setcounter{L at lines}{\value{DefaultLines}}%
\setcounter{L at depth}{\value{DefaultDepth}}%
\renewcommand*{\L at hang}{\DefaultLhang}%
@@ -198,7 +185,7 @@
\ifLettrineImage\L at imagetrue\else\L at imagefalse\fi
\ifLettrineOnGrid\L at gridtrue\else\L at gridfalse\fi
\ifLettrineRealHeight\L at realhtrue\else\L at realhfalse\fi
- \setkeys{L}{#1}%
+ \SetKeys[LettrineLocal]{#1}%
\sbox{\L at tbox}{\LettrineTextFont{\LettrineSecondString}}%
\ifL at realh
\def\@tempa{#3}%
@@ -207,36 +194,19 @@
{Empty second argument,\MessageBreak
ignoring option `realheight';}%
\else
- \sbox{\L at tbox}{\LettrineTextFont{#3}}%
+ \sbox{\L at tbox}{{\LettrineTextFont{#3}}}%
\fi
\fi
\if\DefaultOptionsFile\relax
\else
- \begingroup
+ \setupL at lbox
+ \setlength{\LettrineWidth}{\wd\L at lbox}%
\InputIfFileExists{\DefaultOptionsFile}%
{}%
{\PackageWarning{lettrine.sty}%
{File \DefaultOptionsFile\space not found}%
}%
- \def\color##1##{\l at color{##1}}%
- \let\l at color\@gobbletwo
- \def\textcolor##1##{\l at textcolor{##1}}%
- \def\l at textcolor##1##2##3{##3}%
- \expandafter\ifx\csname l@#2-keys\endcsname\relax
- \gdef\l at LOKeys{}%
- \else
- \xdef\l at LOKeys{\csname l@#2-keys\endcsname}%
- \fi
- \endgroup
- \def\KV at prefix{KV at L@}%
- \let\@tempc\relax
- \expandafter\KV at do\l at LOKeys,\relax,
- \setupL at lbox
- \setlength{\LettrineWidth}{\wd\L at lbox}%
- \def\KV at prefix{KV at L@}%
- \let\@tempc\relax
- \expandafter\KV at do\l at LOKeys,\relax,
- \setkeys{L}{#1}%
+ \SetKeys[LettrineLocal]{#1}%
\fi
\setupL at lbox
\setlength{\LettrineWidth}{\wd\L at lbox}%
@@ -252,7 +222,7 @@
\ifdim\@tempdima=\z@\else\space loversize=\L at oversize\fi;%
\MessageBreak reported}%
\endgroup
- \sbox{\L at tbox}{\LettrineTextFont{#3}}%
+ \sbox{\L at tbox}{{\LettrineTextFont{#3}}}%
\setlength{\L at first}{\LettrineHeight}%
\setlength{\L at lraise}{\L at raise\L at target@tht}%
\addtolength{\L at first}{\L at lraise}%
@@ -303,7 +273,7 @@
\parshape=\L at parshape\relax
\smash{\llap{\mbox{\L at ante}\raisebox{\L at lraise}{\usebox{\L at lbox}}%
\hskip \the\L at Findent}}%
- \usebox{\L at tbox}%
+ \unhcopy\L at tbox\relax
\ifnum\@listdepth>0 \Lreset at listparshape \fi
}
\newtoks\Llist at everypar
@@ -315,6 +285,6 @@
\let\everypar\Llist at everypar
}%
}
-\endinput
+%%
%%
%% End of file `lettrine.sty'.
Deleted: trunk/Master/texmf-dist/tex/latex/lettrine/optfile.cfl
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lettrine/optfile.cfl 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/tex/latex/lettrine/optfile.cfl 2023-04-18 19:45:16 UTC (rev 66888)
@@ -1,31 +0,0 @@
-%% This is an example of config file *for syntax only*.
-%%
-%% Copy it to your document's directory and add
-%% \renewcommand{\DefaultOptionsFile}{optfile.cfl}
-%% to your document's preamble to use it.
-%%
-%% The settings below are just *examples*, they are not meant to be good!
-%% Proper values heavily depend on the font used!
-%%
-%% Letters not listed below, will get either the default parameters,
-%% or those given as optional argument of \lettrine, if any.
-%%
-%% The values of the parameters set in this file can be overridden locally
-%% using the optional argument of \lettrine.
-%%
-%% A
-\LettrineOptionsFor{A}{slope=0.1\LettrineWidth, findent=-.5em, nindent=.7em}
-%% Same parameters for À (utf-8)
-\LettrineOptionsFor{À}{slope=0.1\LettrineWidth, findent=-.5em, nindent=0.7em}
-%% C'
-\LettrineOptionsFor{C'}{nindent=-0.5em}
-%% I and J hang into the margin
-\LettrineOptionsFor{I}{lhang=1, nindent=0pt}
-\LettrineOptionsFor{J}{lhang=1, nindent=0pt}
-%% Q
-\LettrineOptionsFor{Q}{loversize=-0.1, lraise=0.1}
-%% V
-\LettrineOptionsFor{V}{slope=-0.1\LettrineWidth, lhang=0.5, nindent=0pt}
-\endinput
-%%
-%% End of file `optfile.cfl'.
Deleted: trunk/Master/texmf-dist/tex/latex/lettrine/pacl.cfl
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lettrine/pacl.cfl 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/tex/latex/lettrine/pacl.cfl 2023-04-18 19:45:16 UTC (rev 66888)
@@ -1,83 +0,0 @@
-%%% This is file `pacl.cfl'.
-%%% It is provided under the LPPL. Copyright is hold by Pascal Kockaert.
-%%% If you modify this file you *MUST* change its name.
-
-%%% This file contains config values to simplify the use of the
-%%% ACaslon-SwashItalic (aka pacri8s) font from Adobe
-%%% with the lettrine package by Daniel Flipo.
-
-%%% If you want to use this file, your document should contain
-%%% the two next lines, without the leading percent signs.
-%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{pacl}\selectfont}
-%%% \renewcommand{\DefaultOptionsFile}{pacl.cfl}
-
-%%% The fontfamily pacl is defined through the file T1pacl.fd.
-%%% The contents of T1pacl.fd is listed at the end of this file.
-
-%%% The settings below were defined according to my visual tastes.
-%%% No mathematical rule based on the metrices was applied.
-%%% Though the result may not please you, it should be better
-%%% than the default placement. This said, comments are welcome.
-
-%%% Comments about this file can be sent to Pascal.Kockaert
-%%% at the mail server ulb.ac.be.
-
-\ProvidesFile{pacl.cfl}[2003/08/24 v0.1 Pascal Kockaert]
-
-\LettrineOptionsFor{A}{loversize= 0.15,lraise= 0.02,lhang= 0.30,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{B}{loversize= 0.15,lraise= 0.00,lhang= 0.25,findent=-0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{C}{loversize=-0.10,lraise= 0.25,lhang= 0.05,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{D}{loversize= 0.15,lraise= 0.00,lhang= 0.20,findent=-0.07\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{E}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent=-0.10\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{F}{loversize=-0.10,lraise= 0.20,lhang= 0.00,findent= 0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{G}{loversize=-0.10,lraise= 0.20,lhang= 0.05,findent=-0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{H}{loversize= 0.05,lraise= 0.00,lhang= 0.25,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{I}{loversize= 0.15,lraise= 0.00,lhang= 0.00,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{J}{loversize=-0.10,lraise= 0.20,lhang= 0.00,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{K}{loversize=-0.10,lraise= 0.25,lhang= 0.00,findent= 0.00\LettrineWidth,nindent= 0.45\LettrineWidth}
-\LettrineOptionsFor{L}{loversize= 0.00,lraise= 0.20,lhang= 0.00,findent=-0.10\LettrineWidth,nindent= 0.40\LettrineWidth}
-\LettrineOptionsFor{M}{loversize= 0.15,lraise= 0.00,lhang= 0.24,findent=-0.05\LettrineWidth,nindent= 0.10\LettrineWidth}
-\LettrineOptionsFor{N}{loversize=-0.05,lraise= 0.25,lhang= 0.13,findent= 0.05\LettrineWidth,nindent= 0.35\LettrineWidth}
-\LettrineOptionsFor{O}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent=-0.12\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{P}{loversize= 0.15,lraise= 0.00,lhang= 0.25,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{Q}{loversize=-0.15,lraise= 0.25,lhang= 0.10,findent=-0.05\LettrineWidth,nindent= 0.55\LettrineWidth}
-\LettrineOptionsFor{R}{loversize=-0.15,lraise= 0.25,lhang= 0.20,findent=-0.05\LettrineWidth,nindent= 0.45\LettrineWidth}
-\LettrineOptionsFor{S}{loversize=-0.10,lraise= 0.25,lhang=-0.05,findent=-0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{T}{loversize= 0.15,lraise= 0.00,lhang= 0.15,findent= 0.00\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{U}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent= 0.00\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{V}{loversize= 0.15,lraise= 0.00,lhang= 0.20,findent=-0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{W}{loversize= 0.15,lraise= 0.00,lhang= 0.15,findent=-0.05\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{X}{loversize= 0.15,lraise= 0.00,lhang= 0.45,findent= 0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{Y}{loversize= 0.15,lraise= 0.00,lhang= 0.05,findent= 0.20\LettrineWidth,nindent= 0.25\LettrineWidth}
-\LettrineOptionsFor{Z}{loversize= 0.05,lraise= 0.15,lhang= 0.15,findent= 0.00\LettrineWidth,nindent= 0.30\LettrineWidth}
-\let\EOF\endinput
-\EOF
-
-%% The installation of the pacl family can be performed using the
-%% fontinst package.
-%% You must own the font ACaslon-SwashItalic, that is an AFM and a PFB file
-%% which should be renamed as padri8w.afm and padri8w.pfb.
-
-%% You should process the file Makepacl.tex (see below) through TeX,
-%% and follow the instructions of the fontinst manual to finish the install.
-%% The file T1pacl.fd should be defined as below and put with other local
-%% FD files.
-
-%%% File Makepacl.tex
-\input fontinst.sty
-\installfonts
- \declareencoding{T1-SWASH}{T1}
- \fromafm{pacri8s} %%% File containing metrics of ACaslon-SwashItalic
- \installfont{pacri9s}{pacri8s}{T1}{T1}{pacl}{m}{n}{}
-\endinstallfonts
-\bye
-%%% End of file Makepacl.tex
-
-%%% The pacl family is defined by the file T1pacl.fd, as follows
-
-%%% File T1pacl.fd
-%%% THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
-\ProvidesFile{t1pacl.fd}[2003/08/24 v1.0 Pascal Kockaert]
-\DeclareFontFamily{T1}{pacl}{}
-\DeclareFontShape{T1}{pacl}{m}{n}{<->pacri9s}{}
-%%% End of file T1pacl.fd
Deleted: trunk/Master/texmf-dist/tex/latex/lettrine/padl.cfl
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lettrine/padl.cfl 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/tex/latex/lettrine/padl.cfl 2023-04-18 19:45:16 UTC (rev 66888)
@@ -1,85 +0,0 @@
-%%% This is file `padl.cfl'.
-%%% It is provided under the LPPL. Copyright is hold by Pascal Kockaert.
-%%% If you modify this file you *MUST* change its name.
-
-%%% This file contains config values to simplify the use of the
-%%% AGaramondAlt-Italic (aka padri8w) font from Adobe
-%%% with the lettrine package by Daniel Flipo.
-
-%%% If you want to use this file, your document should contain
-%%% the two next lines, without the leading percent signs.
-%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{padl}\selectfont}
-%%% \renewcommand{\DefaultOptionsFile}{padl.cfl}
-
-%%% The fontfamily padl is defined through the file T1padl.fd.
-%%% The contents of T1padl.fd is listed at the end of this file.
-
-%%% The settings below were defined according to my visual tastes.
-%%% No mathematical rule based on the metrices was applied.
-%%% Though the result may not please you, it should be better
-%%% than the default placement. This said, comments are welcome.
-
-%%% Comments about this file can be sent to Pascal.Kockaert
-%%% at the mail server ulb.ac.be.
-
-\ProvidesFile{padl.cfl}[2003/08/24 v1.0 Pascal Kockaert]
-
-\LettrineOptionsFor{A}{loversize= 0.05,lraise= 0.10,lhang= 0.40,findent= 0.000\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{B}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.025\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{C}{loversize= 0.00,lraise= 0.10,lhang= 0.15,findent= 0.175\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{D}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent=-0.025\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{E}{loversize= 0.10,lraise= 0.00,lhang= 0.10,findent= 0.100\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{F}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.100\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{G}{loversize=-0.08,lraise= 0.20,lhang= 0.10,findent= 0.000\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{H}{loversize=-0.01,lraise= 0.00,lhang= 0.00,findent= 0.040\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{I}{loversize= 0.10,lraise= 0.00,lhang= 0.00,findent= 0.050\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{J}{loversize=-0.08,lraise= 0.20,lhang= 0.00,findent=-0.025\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{K}{loversize=-0.05,lraise= 0.25,lhang= 0.00,findent=-0.050\LettrineWidth,nindent= 0.60\LettrineWidth}
-\LettrineOptionsFor{L}{loversize= 0.00,lraise= 0.20,lhang= 0.00,findent= 0.100\LettrineWidth,nindent= 0.40\LettrineWidth}
-\LettrineOptionsFor{M}{loversize= 0.10,lraise= 0.00,lhang= 0.40,findent= 0.040\LettrineWidth,nindent= 0.10\LettrineWidth}
-\LettrineOptionsFor{N}{loversize= 0.00,lraise= 0.20,lhang= 0.20,findent=-0.010\LettrineWidth,nindent= 0.40\LettrineWidth}
-\LettrineOptionsFor{O}{loversize= 0.10,lraise= 0.00,lhang= 0.20,findent=-0.010\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{P}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.050\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{Q}{loversize= 0.00,lraise= 0.20,lhang= 0.20,findent= 0.050\LettrineWidth,nindent= 0.70\LettrineWidth}
-\LettrineOptionsFor{R}{loversize=-0.05,lraise= 0.25,lhang= 0.25,nindent= 0.500\LettrineWidth,nindent= 0.50\LettrineWidth}
-\LettrineOptionsFor{S}{loversize= 0.10,lraise= 0.05,lhang= 0.00,findent= 0.000\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{T}{loversize= 0.10,lraise= 0.00,lhang= 0.35,findent= 0.100\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{U}{loversize= 0.10,lraise= 0.00,lhang= 0.20,findent= 0.050\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{V}{loversize= 0.10,lraise= 0.00,lhang= 0.40,findent= 0.050\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{W}{loversize= 0.10,lraise= 0.00,lhang= 0.30,findent= 0.040\LettrineWidth,nindent= 0.50em}
-\LettrineOptionsFor{X}{loversize= 0.10,lraise= 0.00,lhang= 0.40,findent= 0.040\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{Y}{loversize= 0.10,lraise= 0.00,lhang= 0.20,findent= 0.100\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{Z}{loversize=-0.05,lraise= 0.25,lhang= 0.00,findent= 0.050\LettrineWidth,nindent= 0.55\LettrineWidth}
-\let\EOF\endinput
-\EOF
-
-%% The installation of the padl family can be performed using the
-%% fontinst package.
-%% You must own the font AGaramondAlt-Italic, that is an AFM and a PFB
-%% file which should be renamed as padri8w.afm and padri8w.pfb.
-
-%% You should process the file Makepadl.tex (see below) through TeX,
-%% and follow the instructions of the fontinst manual to finish the
-%% install.
-%% The file T1padl.fd should be defined as below and put with other
-%% local FD files.
-
-%%% File Makepadl.tex
-\input fontinst.sty
-\installfonts
- \declareencoding{T1-SWASH}{T1}
- \fromafm{padri8w} %%% File containing metrics of AGaramondAlt-Italic
- \gdef\uc#1#2{#1swash}
- \installfont{padw9w}{padri8w}{T1}{T1}{padl}{m}{n}{}
-\endinstallfonts
-\bye
-%%% End of file Makepadl.tex
-
-%% The padl family is defined by the file T1padl.fd, as follows
-
-%%% File T1padl.fd
-%%% THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
-\ProvidesFile{t1padl.fd}[2003/08/24 v0.1 Pascal Kockaert]
-\DeclareFontFamily{T1}{padl}{}
-\DeclareFontShape{T1}{padl}{m}{n}{<->padw9w}{}
-%%% End of file T1padl.fd
Deleted: trunk/Master/texmf-dist/tex/latex/lettrine/pzc2.cfl
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lettrine/pzc2.cfl 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/tex/latex/lettrine/pzc2.cfl 2023-04-18 19:45:16 UTC (rev 66888)
@@ -1,48 +0,0 @@
-%%% This is file `pzc2.cfl'.
-%%% It is provided under the LPPL. Copyright is held by Kevin M. Dunn.
-%%% If you modify this file you *MUST* change its name.
-
-%%% This file contains config values to simplify the use of the
-%%% Zapf-Chancery (aka pzc) font with the lettrine package by Daniel Flipo.
-%%% This file provides the parameters for 2 DefaultLines.
-
-%%% If you want to use this file, your document should contain
-%%% the next three lines, without the leading percent signs.
-%%% \setcounter{DefaultLines}{2}
-%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{pzc}\selectfont}
-%%% \renewcommand{\DefaultOptionsFile}{pzc2.cfl}
-
-%%% Comments about this file can be sent to Kevin Dunn
-%%% (cavema2 at cavemanchemistry.com)
-
-\ProvidesFile{pzc2.cfl}[2006/03/19 v0.1 Kevin M. Dunn]
-
-\LettrineOptionsFor{A}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
-\LettrineOptionsFor{B}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.08\LettrineWidth}
-\LettrineOptionsFor{C}{loversize= 0.35,lraise= 0.10,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
-\LettrineOptionsFor{D}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.05\LettrineWidth}
-\LettrineOptionsFor{E}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
-\LettrineOptionsFor{F}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.00\LettrineWidth}
-\LettrineOptionsFor{G}{loversize= 0.35,lraise= 0.10,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.17\LettrineWidth}
-\LettrineOptionsFor{H}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{I}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
-\LettrineOptionsFor{J}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.00\LettrineWidth}
-\LettrineOptionsFor{K}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.13\LettrineWidth}
-\LettrineOptionsFor{L}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=-0.02\LettrineWidth,nindent= 0.30\LettrineWidth}
-\LettrineOptionsFor{M}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{N}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.10\LettrineWidth}
-\LettrineOptionsFor{O}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.08\LettrineWidth}
-\LettrineOptionsFor{P}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.25\LettrineWidth,nindent= 0.05\LettrineWidth}
-\LettrineOptionsFor{Q}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent= 0.10\LettrineWidth}
-\LettrineOptionsFor{R}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.08\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{S}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.13\LettrineWidth}
-\LettrineOptionsFor{T}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{U}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{V}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.18\LettrineWidth,nindent=-0.15\LettrineWidth}
-\LettrineOptionsFor{W}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.15\LettrineWidth,nindent=-0.05\LettrineWidth}
-\LettrineOptionsFor{X}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.35\LettrineWidth}
-\LettrineOptionsFor{Y}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.10\LettrineWidth,nindent= 0.05\LettrineWidth}
-\LettrineOptionsFor{Z}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent= 0.00\LettrineWidth,nindent= 0.30\LettrineWidth}
-\endinput
-%%
-%% End of file `pzc2.cfl'.
Deleted: trunk/Master/texmf-dist/tex/latex/lettrine/pzc3.cfl
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lettrine/pzc3.cfl 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/texmf-dist/tex/latex/lettrine/pzc3.cfl 2023-04-18 19:45:16 UTC (rev 66888)
@@ -1,48 +0,0 @@
-%%% This is file `pzc3.cfl'.
-%%% It is provided under the LPPL. Copyright is held by Kevin M. Dunn.
-%%% If you modify this file you *MUST* change its name.
-
-%%% This file contains config values to simplify the use of the
-%%% Zapf-Chancery (aka pzc) font with the lettrine package by Daniel Flipo.
-%%% This file provides the parameters for 3 DefaultLines.
-
-%%% If you want to use this file, your document should contain
-%%% the next three lines, without the leading percent signs.
-%%% \setcounter{DefaultLines}{3}
-%%% \renewcommand\LettrineFontHook{\fontencoding{T1}\fontfamily{pzc}\selectfont}
-%%% \renewcommand{\DefaultOptionsFile}{pzc3.cfl}
-
-%%% Comments about this file can be sent to Kevin Dunn
-%%% (cavema2 at cavemanchemistry.com)
-
-\ProvidesFile{pzc3.cfl}[2006/03/19 v0.1 Kevin M. Dunn]
-
-\LettrineOptionsFor{A}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
-\LettrineOptionsFor{B}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.08\LettrineWidth,slope=-0.08\LettrineWidth}
-\LettrineOptionsFor{C}{loversize= 0.35,lraise= 0.10,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
-\LettrineOptionsFor{D}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.05\LettrineWidth,slope=-0.05\LettrineWidth}
-\LettrineOptionsFor{E}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.28\LettrineWidth}
-\LettrineOptionsFor{F}{loversize= 0.35,lraise= 0.05,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.00\LettrineWidth}
-\LettrineOptionsFor{G}{loversize= 0.30,lraise= 0.30,lhang= 0.5,findent=0.10\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{H}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{I}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.25\LettrineWidth}
-\LettrineOptionsFor{J}{loversize= 0.35,lraise= 0.05,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.00\LettrineWidth}
-\LettrineOptionsFor{K}{loversize= 0.30,lraise= 0.20,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.13\LettrineWidth,slope= 0.20\LettrineWidth}
-\LettrineOptionsFor{L}{loversize= 0.35,lraise= 0.00,lhang=0.35,findent=-0.02\LettrineWidth,nindent= 0.30\LettrineWidth}
-\LettrineOptionsFor{M}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{N}{loversize= 0.30,lraise= 0.20,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.10\LettrineWidth,slope= 0.20\LettrineWidth}
-\LettrineOptionsFor{O}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.08\LettrineWidth}
-\LettrineOptionsFor{P}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.25\LettrineWidth,nindent= 0.05\LettrineWidth}
-\LettrineOptionsFor{Q}{loversize= 0.30,lraise= 0.25,lhang= 0.35,findent=0.15\LettrineWidth,nindent= 0.10\LettrineWidth,slope= 0.20\LettrineWidth}
-\LettrineOptionsFor{R}{loversize= 0.30,lraise= 0.20,lhang= 0.35,findent=0.08\LettrineWidth,nindent= 0.15\LettrineWidth,slope= 0.20\LettrineWidth}
-\LettrineOptionsFor{S}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.10\LettrineWidth,nindent= 0.13\LettrineWidth}
-\LettrineOptionsFor{T}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.20\LettrineWidth}
-\LettrineOptionsFor{U}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.05\LettrineWidth,nindent= 0.15\LettrineWidth}
-\LettrineOptionsFor{V}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.18\LettrineWidth,nindent=-0.05\LettrineWidth,slope=-0.15\LettrineWidth}
-\LettrineOptionsFor{W}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.18\LettrineWidth,nindent=-0.05\LettrineWidth,slope=-0.10\LettrineWidth}
-\LettrineOptionsFor{X}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.35\LettrineWidth}
-\LettrineOptionsFor{Y}{loversize= 0.30,lraise= 0.10,lhang= 0.40,findent=0.10\LettrineWidth,nindent= 0.00\LettrineWidth,slope=-0.10\LettrineWidth}
-\LettrineOptionsFor{Z}{loversize= 0.35,lraise= 0.00,lhang= 0.35,findent=0.00\LettrineWidth,nindent= 0.30\LettrineWidth}
-\endinput
-%%
-%% End of file `pzc3.cfl'.
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2023-04-18 19:41:35 UTC (rev 66887)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2023-04-18 19:45:16 UTC (rev 66888)
@@ -797,7 +797,6 @@
'leiletter', "die 'skipping, nonfree font (minion)'",
'letter1', "die 'skipping, ca.1989, never in TL, await request'",
'lettrgth', "die 'skipping, nonfree font'",
- 'lettrine', "&MAKEflatten",
'levy-font', "die 'skipping, use levy'",
'levy-latex', "die 'skipping, nosell per old latex'",
'lexend', "&MAKEflatten",
@@ -1729,6 +1728,7 @@
'latex-git-log' => 'change to use pod2man',
'latex2e-help-texinfo' => '&POSTlatex2e_help_texinfo',
'latexindent' => '&POSTlatexindent',
+ 'lettrine' => '&POST_onelevel',
'lhcyr' => '&POSTlhcyr',
'light-latex-make' => '&tl_man_to_pdf',
'lilyglyphs' => '&POSTlilyglyphs',
@@ -3204,6 +3204,7 @@
'lcd' => 'latex -translate-file=empty.tcx', # no 8-bit
'leaflet' => 'etex',
'letterswitharrows' => 'etex-answer-y',# docstrip overwrite agony
+ 'lettrine' => 'etex',
'libgreek' => 'etex',
'listings' => 'latex', # requires interaction
'lmake' => 'latex', # requires interaction
More information about the tex-live-commits
mailing list.