From: Alan Braslau via ntg-context <ntg-context@ntg.nl>
To: "G.C.H.M. Verhaag via ntg-context" <ntg-context@ntg.nl>
Cc: Alan Braslau <alan.braslau@icloud.com>
Subject: Re: Lettrine module not working?!
Date: Sun, 19 Feb 2023 09:36:02 -0700 [thread overview]
Message-ID: <20230219093602.6f76ffcd@boo.my.domain> (raw)
In-Reply-To: <2cfdbb52-b7aa-0ddd-ee06-09c48840c997@ziggo.nl>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2023-02-19 16:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-19 16:12 G.C.H.M. Verhaag via ntg-context
2023-02-19 16:36 ` Alan Braslau via ntg-context [this message]
2023-02-20 9:39 ` G.C.H.M. Verhaag via ntg-context
2023-02-20 10:02 ` Keith McKay via ntg-context
2023-02-20 10:39 ` G.C.H.M. Verhaag via ntg-context
2023-02-20 10:55 ` Henning Hraban Ramm via ntg-context
2023-02-20 14:30 ` G.C.H.M. Verhaag via ntg-context
2023-02-20 14:41 ` Henning Hraban Ramm via ntg-context
2023-02-20 15:02 ` G.C.H.M. Verhaag via ntg-context
2023-02-20 15:19 ` Pablo Rodriguez via ntg-context
2023-02-20 23:39 ` Alan Braslau via ntg-context
2023-02-20 15:09 ` Pablo Rodriguez via ntg-context
2023-02-21 9:32 ` G.C.H.M. Verhaag via ntg-context
-- strict thread matches above, loose matches on Subject: below --
2013-04-25 12:24 Verhaag, G.C.H.M.
2013-04-25 21:56 ` Wolfgang Schuster
2013-04-26 7:15 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230219093602.6f76ffcd@boo.my.domain \
--to=ntg-context@ntg.nl \
--cc=alan.braslau@icloud.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).