ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lmtx and defined placeinitial color
@ 2021-05-25  0:10 jbf
  2021-05-25 13:45 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: jbf @ 2021-05-25  0:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

If I run the following in lmtx, the defined color is not recognized and 
I get black instead. If I run it as mkiv with --luatex, I get the 
darkgray I defined. Is there something else I need to do for lmtx?

\definecolor[darkgray][s=.4]

\setupinitial[color=darkgray,font=adellesemibold at 46pt,distance=3pt,n=3]

\starttext

\placeinitial{M}{\sc aking sense of the world} at any time is a fraught 
exercise...

\stoptext

Julian

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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: lmtx and defined placeinitial color
@ 2021-05-25 11:35 Eduardo Bohoyo
  2021-05-25 22:01 ` jbf
  0 siblings, 1 reply; 5+ messages in thread
From: Eduardo Bohoyo @ 2021-05-25 11:35 UTC (permalink / raw)
  To: ntg-context

I have just seen that I also experience the same problem. I didn't 
realise it. I have provisionally "solved" it with an unfancy workaround. 
For instance, in your case it could be something like this:

\definecolor[dropcapitals][t=0.40,a=1]

This is not ideal. I know. But for the moment I can't think of anything 
better than to include the transparency trick.

Eduardo Bohoyo


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

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

end of thread, other threads:[~2021-05-25 23:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25  0:10 lmtx and defined placeinitial color jbf
2021-05-25 13:45 ` Hans Hagen
2021-05-25 11:35 Eduardo Bohoyo
2021-05-25 22:01 ` jbf
2021-05-25 23:03   ` Eduardo Bohoyo

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