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" <ntg-context@ntg.nl> wrote:

> 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 }}\ ...
> <line 4.36>
> \lettrine{H}{et begin} van ...
> 
> Any hint on this would be much of a help! Thanks in advance!
> 
> Regards,
> 
> Geert Verhaag
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to