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

* Re: Lettrine module not working?!
  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
  0 siblings, 1 reply; 16+ messages in thread
From: Alan Braslau via ntg-context @ 2023-02-19 16:36 UTC (permalink / raw)
  To: G.C.H.M. Verhaag via ntg-context; +Cc: Alan Braslau

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
___________________________________________________________________________________

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

* Re: Lettrine module not working?!
  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:55     ` Henning Hraban Ramm via ntg-context
  0 siblings, 2 replies; 16+ messages in thread
From: G.C.H.M. Verhaag via ntg-context @ 2023-02-20  9:39 UTC (permalink / raw)
  To: ntg-context; +Cc: G.C.H.M. Verhaag


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

Hi,

Thanks for your suggestion Alan! I've been using lettrine all the time, 
without knowing it was actually obsolete, sorry!

I'm now trying the \placeinitial command but coloring like:

*\definecolor[MyColor] [r=.76,g=.72,b=.48]**
**\setupinitial[color=\MyColor,font=Bold sa 4,distance=0pt,n=3]*

doesn't seem to work! Is this as expected behaviour or a possible issue?

Regards,

Gerard Verhaag

[-- Attachment #1.2: Type: text/html, Size: 658 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

* Re: Lettrine module not working?!
  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
  1 sibling, 1 reply; 16+ messages in thread
From: Keith McKay via ntg-context @ 2023-02-20 10:02 UTC (permalink / raw)
  To: G.C.H.M. Verhaag via ntg-context; +Cc: Keith McKay


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

Would state=start within \setupinitial[...] help?

Best Wishes

Keith McKay

On 20/02/2023 09:39, G.C.H.M. Verhaag via ntg-context wrote:
>
> Hi,
>
> Thanks for your suggestion Alan! I've been using lettrine all the 
> time, without knowing it was actually obsolete, sorry!
>
> I'm now trying the \placeinitial command but coloring like:
>
> *\definecolor[MyColor] [r=.76,g=.72,b=.48]**
> **\setupinitial[color=\MyColor,font=Bold sa 4,distance=0pt,n=3]*
>
> doesn't seem to work! Is this as expected behaviour or a possible issue?
>
> Regards,
>
> Gerard 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
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 2185 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

* Re: Lettrine module not working?!
  2023-02-20 10:02     ` Keith McKay via ntg-context
@ 2023-02-20 10:39       ` G.C.H.M. Verhaag via ntg-context
  0 siblings, 0 replies; 16+ messages in thread
From: G.C.H.M. Verhaag via ntg-context @ 2023-02-20 10:39 UTC (permalink / raw)
  To: ntg-context; +Cc: G.C.H.M. Verhaag


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

Hi,

Unfortunately it doesn't help Keith, sorry!

I tried to solve it like this:

*\color[MyColor]{\placeinitial{K}}*

A bit overkill but it works!

Anyway, thanks for your suggestion!

Regards,

Gerard Verhaag

[-- Attachment #1.2: Type: text/html, Size: 580 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

* Re: Lettrine module not working?!
  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:55     ` Henning Hraban Ramm via ntg-context
  2023-02-20 14:30       ` G.C.H.M. Verhaag via ntg-context
  1 sibling, 1 reply; 16+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2023-02-20 10:55 UTC (permalink / raw)
  To: G.C.H.M. Verhaag via ntg-context; +Cc: Henning Hraban Ramm

Am 20.02.23 um 10:39 schrieb G.C.H.M. Verhaag via ntg-context:
> *\definecolor[MyColor] [r=.76,g=.72,b=.48]**
> **\setupinitial[color=\MyColor,font=Bold sa 4,distance=0pt,n=3]*
> 
> doesn't seem to work! Is this as expected behaviour or a possible issue?

The color key generally takes color _names_, i.e. color=MyColor
I didn’t check if it works with \setupinitial.

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

* Re: Lettrine module not working?!
  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:09         ` Pablo Rodriguez via ntg-context
  0 siblings, 2 replies; 16+ messages in thread
From: G.C.H.M. Verhaag via ntg-context @ 2023-02-20 14:30 UTC (permalink / raw)
  To: ntg-context; +Cc: G.C.H.M. Verhaag


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

Hi,

Yes Hraban that worked! Thanks!

My next issue is adapting the font-family, because a want to use the 
*Antykwa-Poltawskiego* font|| as my initial. I tried the following:

*\definefont[InitialCapFont][name:antpoltcondregular*default sa 4]*

*\setupinitial[color=MyColor,distance=6pt,n=3,font=InitialCapFont]*

Has anybody any idea why this doesn't work?

Regards,

Geert Verhaag

[-- Attachment #1.2: Type: text/html, Size: 793 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

* Re: Lettrine module not working?!
  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:09         ` Pablo Rodriguez via ntg-context
  1 sibling, 1 reply; 16+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2023-02-20 14:41 UTC (permalink / raw)
  To: G.C.H.M. Verhaag via ntg-context; +Cc: Henning Hraban Ramm

Am 20.02.23 um 15:30 schrieb G.C.H.M. Verhaag via ntg-context:
> Hi,
> 
> Yes Hraban that worked! Thanks!
> 
> My next issue is adapting the font-family, because a want to use the 
> *Antykwa-Poltawskiego* font|| as my initial. I tried the following:
> 
> *\definefont[InitialCapFont][name:antpoltcondregular*default sa 4]*
> 
> *\setupinitial[color=MyColor,distance=6pt,n=3,font=InitialCapFont]*
> 
> Has anybody any idea why this doesn't work?

Did you confirm that \InitialCapFont works outside of that setup?

I recently used initials with a simple "font=Serif at 37pt,", and that 
worked. Maybe the operator "sa" doesn’t work in this context? (IDK)

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

* Re: Lettrine module not working?!
  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
  0 siblings, 2 replies; 16+ messages in thread
From: G.C.H.M. Verhaag via ntg-context @ 2023-02-20 15:02 UTC (permalink / raw)
  To: ntg-context; +Cc: G.C.H.M. Verhaag


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

Hi,

Yes Hraban it works outside in normal text flow. When I do e.g. 
*{\InitialCapFont test in normal text flow}* the text '/test in normal 
text flow/' is rendered correctly in the Antykwa-Poltawskiego font.

Found out that the following does work with the *\placeinitial* command:

*\setupinitial[color=MyColor,distance=6pt,n=3,font=name:antpoltcondregular*default 
sa 4]*

So something weird is happening I suppose!

Regards,
Geert Verhaag

[-- Attachment #1.2: Type: text/html, Size: 996 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

* Re: Lettrine module not working?!
  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:09         ` Pablo Rodriguez via ntg-context
  2023-02-21  9:32           ` G.C.H.M. Verhaag via ntg-context
  1 sibling, 1 reply; 16+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2023-02-20 15:09 UTC (permalink / raw)
  To: G.C.H.M. Verhaag via ntg-context; +Cc: Pablo Rodriguez

On 2/20/23 15:30, G.C.H.M. Verhaag via ntg-context wrote:
> Hi,
> 
> Yes Hraban that worked! Thanks!
> 
> My next issue is adapting the font-family, because a want to use the
> *Antykwa-Poltawskiego* font|| as my initial. I tried the following:
> 
> *\definefont[InitialCapFont][name:antpoltcondregular*default sa 4]*
> *\setupinitial[color=MyColor,distance=6pt,n=3,font=InitialCapFont]*
> 
> Has anybody any idea why this doesn't work?

Hi Geert,

this works for me:

  \definefont[InitialCapFont][name:antpoltcondregular*default sa 4]
  %\setupinitial[style={\switchtobodyfont[helvetica]}]
  \setupinitial[color=red,distance=6pt,n=3, style=\InitialCapFont]

  \starttext
  \setinitial\input zapf
  \stoptext

BTW, I think there is an issue (that might be a bug), when either style
or font are in use, size is not automatically adapted.

Could anyone confirm with the commented line?

Many thanks for your help,

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

* Re: Lettrine module not working?!
  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
  1 sibling, 0 replies; 16+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2023-02-20 15:19 UTC (permalink / raw)
  To: G.C.H.M. Verhaag via ntg-context; +Cc: Pablo Rodriguez

On 2/20/23 16:02, G.C.H.M. Verhaag via ntg-context wrote:
> [...]
> Found out that the following does work with the *\placeinitial* command:
> 
> *\setupinitial[color=MyColor,distance=6pt,n=3,font=name:antpoltcondregular*default sa 4]*
> 
> So something weird is happening I suppose!

Hi Geert,

if you only provide commands, it is really hard to tell what is going on.

Please, always provide complete samples (otherwise, most of the help is
figuring out what the issue is really about).

Best,

Pablo

___________________________________________________________________________________
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

* Re: Lettrine module not working?!
  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
  1 sibling, 0 replies; 16+ messages in thread
From: Alan Braslau via ntg-context @ 2023-02-20 23:39 UTC (permalink / raw)
  To: G.C.H.M. Verhaag via ntg-context; +Cc: Alan Braslau

On Mon, 20 Feb 2023 16:02:30 +0100
"G.C.H.M. Verhaag via ntg-context" <ntg-context@ntg.nl> wrote:

> Hi,
> 
> Yes Hraban it works outside in normal text flow. When I do e.g. 
> *{\InitialCapFont test in normal text flow}* the text '/test in
> normal text flow/' is rendered correctly in the Antykwa-Poltawskiego
> font.
> 
> Found out that the following does work with the *\placeinitial*
> command:
> 
> *\setupinitial[color=MyColor,distance=6pt,n=3,font=name:antpoltcondregular*default 
> sa 4]*
> 
> So something weird is happening I suppose!
> 
> Regards,
> Geert Verhaag

I use:

\setupinitial
 [font=Normal cp \measure{initial:n}]

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

* Re: Lettrine module not working?!
  2023-02-20 15:09         ` Pablo Rodriguez via ntg-context
@ 2023-02-21  9:32           ` G.C.H.M. Verhaag via ntg-context
  0 siblings, 0 replies; 16+ messages in thread
From: G.C.H.M. Verhaag via ntg-context @ 2023-02-21  9:32 UTC (permalink / raw)
  To: ntg-context; +Cc: G.C.H.M. Verhaag

Hi all,

Alan, Pablo, many thanks for your help concerning the \placeinitial command.

Next time I'll try a minimal example so that anyone might be able to 
quickly test it with their current ConTeXt installation!

Sorry for any inconvenience!

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
___________________________________________________________________________________

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

* Re: 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
  1 sibling, 0 replies; 16+ messages in thread
From: Wolfgang Schuster @ 2013-04-26  7:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 25.04.2013 um 14:24 schrieb "Verhaag, G.C.H.M." <verhaaggchm@ziggo.nl>:

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

Maybe this page helps you: http://wiki.contextgarden.net/Initials

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

* Re: 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
  1 sibling, 0 replies; 16+ messages in thread
From: Wolfgang Schuster @ 2013-04-25 21:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 25.04.2013 um 14:24 schrieb "Verhaag, G.C.H.M." <verhaaggchm@ziggo.nl>:

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

Can you make a minimal example?

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

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