[NTG-context] Lettrine module not working?!

G.C.H.M. Verhaag verhaaggchm at ziggo.nl
Sun Feb 19 17:12:45 CET 2023


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20230219/d6f5a36f/attachment.htm>


More information about the ntg-context mailing list