In mkiv and mkxl, we use
\placeinitial
rather than the obsolete (mkii) lettrine module.
See also \setupinitial.
Alan
On Sun, 19 Feb 2023 17:12:45 +0100
"G.C.H.M. Verhaag via ntg-context"
Dear ConTeXt-user,
Have been using ConTeXt for quite some time now and did a fresh standalone install today:
mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /home/gverhaag/ConTeXtInstallation/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2023.02.14 17:44 mtx-context | main context file: /home/gverhaag/ConTeXtInstallation/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2023.02.14 17:44
However the *lettrine* module doesn't seem to work anymore!
I use it like this:
*\usemodule[lettrine]*
*\setuplettrine[Lines=3,Image=no,Findent=0.7em,Nindent=0pt,FontHook={\MyColor}]*
These two commands are in my setup file.
Following error:
tex error > tex error on line 36 in file deel3/hfdst1.tex: Control sequence expected instead of undefined
<macro> \m_syst_parameter_n ... \the \LettrineHeight ] X}}\scratchcounter = \numexpr (100*\LettrineHeight )/(\ht \Lettrinetbox /100) - 9999\relax \ifnum \scratchcounter >0 \def \tempa {1.\the \scratchcounter }\else \def \tempa {1}\fi \LettrineFontHook \!!dimena = \tempa \Let ... <macro> \dolettrine ...\Lettrinefindent =\LettrineFindent \relax \Lettrinelines =\LettrineLines \relax \setbox \Lettrinelbox \hbox {{\ifx \LettrineImage \v!yes \doLettrineEPS {#2}\else \ifx \LettrineImage \v!true \doLettrineEPS {#2}\else \doLettrineFont #2\fi \fi }}\ ...
\lettrine{H}{et begin} van ... Any hint on this would be much of a help! Thanks in advance!
Regards,
Geert Verhaag