ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Lettrine module not working?!
@ 2023-02-19 16:12 G.C.H.M. Verhaag via ntg-context
  2023-02-19 16:36 ` Alan Braslau via ntg-context
  0 siblings, 1 reply; 16+ messages in thread
From: G.C.H.M. Verhaag via ntg-context @ 2023-02-19 16:12 UTC (permalink / raw)
  To: ntg-context; +Cc: G.C.H.M. Verhaag


[-- Attachment #1.1: Type: text/plain, Size: 1649 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2159 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Lettrine module not working?!
@ 2013-04-25 12:24 Verhaag, G.C.H.M.
  2013-04-25 21:56 ` Wolfgang Schuster
  2013-04-26  7:15 ` Wolfgang Schuster
  0 siblings, 2 replies; 16+ messages in thread
From: Verhaag, G.C.H.M. @ 2013-04-25 12:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi ConTeXt User's,

I'm currently experiencing problems using the lettrine module! I know 
from fairly recent (mail-archive!) issues related to this module but 
can't figure out why my setup isn't working anymore.

I use the following:

\lettrine[Image=no,Slope=-0.5em,Hang=0.2,Findent=0.7em]
{H}{et is ca. half tien} in de...

This yields the following error message:

<to be read again>
\def
\doifnextoptionalelse #1#2 -\def
\m_syst_action_yes {#1}\def \m_syst_action_...
\doLettrineFont ...a \LettrineHeight \definedfont
[LettrineFont at \the \!!d...
\dolettrine ...trineEPS {#2}\else \doLettrineFont
#2\fi \fi }}\setbox \Lettr...
l.27 {H}{et is ca. half tien}

Maybe something has changed in the arguments of which I'm unaware!

Regards,
Verhaag, G.C.H.M.

P.S.Currently using ConTeXt  ver: 2013.04.20 01:15 MKIV current  fmt: 2013.4.22  int: english/english





___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-02-21  9:32 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-19 16:12 Lettrine module not working?! G.C.H.M. Verhaag via ntg-context
2023-02-19 16:36 ` Alan Braslau via ntg-context
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

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).