On 19 Jul 2021, at 09:56, Nicola
wrote: On 2021-07-18, Gerben Wierda
wrote: PS. switching \kap and \bf has an interesting result, the first character of the words is not in bold. This did not happen with lettrine in mkii
I do not have an answer to your question, but I'd like to point out that you can keep using lettrine with ConTeXt LMTX, if you wish. You just need to add the modules manually, currently:
I’ve tried this. Installed the modules and then I get with
\definemeasure[CAindent][12pt]
\setupindenting[yes,\measure{CAindent}]
% Every chapter body text starts with a drop cap:
\usemodule[lettrine]
\setuplettrine[Lines=3,
Hang=.5,
Oversize=0,
Raise=0,
Findent=0pt,
Nindent=0em,
Slope=0em,
Ante=,
FontHook=,
TextFont=\sc,
Image=no]
\starttext
\lettrine{S}{\kap{\bf uppose we}} have a system for the approval of
loans. \input knuth
\stoptext
Result:
tex error > tex error on line 19 in file ./test.tex: Undefined control sequence
<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 }}\...
Nicola
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________