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  0:10 lmtx and defined placeinitial color jbf
@ 2021-05-25 13:45 ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2021-05-25 13:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users, jbf

On 5/25/2021 2:10 AM, jbf wrote:
> 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
fixed in next upload


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 22:01 ` jbf
@ 2021-05-25 23:03   ` Eduardo Bohoyo
  0 siblings, 0 replies; 5+ messages in thread
From: Eduardo Bohoyo @ 2021-05-25 23:03 UTC (permalink / raw)
  To: jbf; +Cc: ntg >> mailing list for ConTeXt users

You are welcome. Obviously, it's a dirty trick. For example, it falls 
down if we have a non-white background on our page.

Hopefully LMTX won't take long to update.

Eduardo Bohoyo

El 26/5/21 a las 0:01, jbf escribió:
> Thanks Eduardo. Hans had seen the problem and the latest upgrade 
> solves it. But I'll keep your little trick in mind!
>
> Julian
>
> On 25/5/21 9:35 pm, Eduardo Bohoyo wrote:
>> 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
>> ___________________________________________________________________________________ 
>>
___________________________________________________________________________________
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
  2021-05-25 23:03   ` Eduardo Bohoyo
  0 siblings, 1 reply; 5+ messages in thread
From: jbf @ 2021-05-25 22:01 UTC (permalink / raw)
  To: Eduardo Bohoyo; +Cc: ntg >> mailing list for ConTeXt users

Thanks Eduardo. Hans had seen the problem and the latest upgrade solves 
it. But I'll keep your little trick in mind!

Julian

On 25/5/21 9:35 pm, Eduardo Bohoyo wrote:
> 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
> ___________________________________________________________________________________ 
>
___________________________________________________________________________________
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).