ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* color check
@ 2018-12-06  9:55 Floris van Manen
  2018-12-06 10:02 ` Taco Hoekwater
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Floris van Manen @ 2018-12-06  9:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 908 bytes --]

while experimenting with the sample transparency color code


\definecolor [transparentred]  [r=1,t=.5,a=1]
\definecolor [transparentblue] [b=1,t=.5,a=1]
\definecolor [solidyellow]  [y=1,t=1,a=1]

\starttext

\startTEXpage
~This is some sample text that goes behind the rectangles\hskip-80mm
\blackrule[width=18mm,height=10mm,depth=10mm,color=solidyellow]\hskip-6mm
\blackrule[width=18mm,height=20mm,depth=1mm,color=transparentred]\hskip-6mm
\blackrule[width=18mm,height=10mm,depth=10mm,color=transparentblue]\hskip-6mm
\blackrule[width=18mm,height=20mm,depth=1mm,color=solidyellow]\hskip27mm
\stopTEXpage

\stoptext



i get the intended result.



if i change the yellow t value to .99
\definecolor [solidyellow]  [y=1,t=0.99,a=1]
some green layer pops up.



as this is all about software, there is a reason to this.
it cold be the OSX preview program too, of course.
can someone explain to me ?
:-)

.F


[-- Attachment #1.1.2.1: Type: text/html, Size: 2272 bytes --]

[-- Attachment #1.1.2.2: Screen Shot 2018-12-06 at 10.53.21.PNG --]
[-- Type: image/png, Size: 8414 bytes --]

[-- Attachment #1.1.2.3: Screen Shot 2018-12-06 at 10.48.56.PNG --]
[-- Type: image/png, Size: 10306 bytes --]

[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

___________________________________________________________________________________
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] 6+ messages in thread

* Re: color check
  2018-12-06  9:55 color check Floris van Manen
@ 2018-12-06 10:02 ` Taco Hoekwater
  2018-12-06 10:12   ` Floris van Manen
  2018-12-06 10:09 ` Pablo Rodriguez
  2018-12-06 10:12 ` luigi scarso
  2 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2018-12-06 10:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Floris,

> 
> if i change the yellow t value to .99 
> \definecolor [solidyellow]  [y=1,t=0.99,a=1]
> some green layer pops up.
> 
> <Screen Shot 2018-12-06 at 10.48.56.PNG>

Test works OK for me, with the two ConTeXt releases I tried:

 current version: 2016.11.24 12:05
 current version: 2018.12.01 13:20

 macOS Mojave 10.14.1

Best wishes,
Taco

___________________________________________________________________________________
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] 6+ messages in thread

* Re: color check
  2018-12-06  9:55 color check Floris van Manen
  2018-12-06 10:02 ` Taco Hoekwater
@ 2018-12-06 10:09 ` Pablo Rodriguez
  2018-12-06 10:12 ` luigi scarso
  2 siblings, 0 replies; 6+ messages in thread
From: Pablo Rodriguez @ 2018-12-06 10:09 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

On 12/6/18 10:55 AM, Floris van Manen wrote:
> while experimenting with the sample transparency color code
> [...] 
> if i change the yellow t value to .99 
> \definecolor [solidyellow]  [y=1,t=0.99,a=1]
> some green layer pops up.
> 
> as this is all about software, there is a reason to this.
> it cold be the OSX preview program too, of course.
> can someone explain to me ?
> :-)

Hi Floris,

this is an Apple Preview issue. I wonder what it might be doing wrong.

Evince, mupdf-gl and acroread for Linux display it fine (see the
attached image).

Pablo
-- 
http://www.ousia.tk

[-- Attachment #2: color-1.png --]
[-- Type: image/png, Size: 7846 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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] 6+ messages in thread

* Re: color check
  2018-12-06 10:02 ` Taco Hoekwater
@ 2018-12-06 10:12   ` Floris van Manen
  0 siblings, 0 replies; 6+ messages in thread
From: Floris van Manen @ 2018-12-06 10:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 139 bytes --]

indeed, it’s probably related to the preview of osx 10.11.6 version.
e.g. if i paste the pdf into this mail, i shows up correctly.



[-- Attachment #1.1.2: t4test.pdf --]
[-- Type: application/pdf, Size: 6977 bytes --]

[-- Attachment #1.1.3: Type: text/plain, Size: 1000 bytes --]




> On 6 Dec 2018, at 11:02, Taco Hoekwater <taco@elvenkind.com> wrote:
> 
> Hi Floris,
> 
>> 
>> if i change the yellow t value to .99
>> \definecolor [solidyellow]  [y=1,t=0.99,a=1]
>> some green layer pops up.
>> 
>> <Screen Shot 2018-12-06 at 10.48.56.PNG>
> 
> Test works OK for me, with the two ConTeXt releases I tried:
> 
> current version: 2016.11.24 12:05
> current version: 2018.12.01 13:20
> 
> macOS Mojave 10.14.1
> 
> Best wishes,
> Taco
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

___________________________________________________________________________________
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] 6+ messages in thread

* Re: color check
  2018-12-06  9:55 color check Floris van Manen
  2018-12-06 10:02 ` Taco Hoekwater
  2018-12-06 10:09 ` Pablo Rodriguez
@ 2018-12-06 10:12 ` luigi scarso
  2018-12-06 12:33   ` Floris van Manen
  2 siblings, 1 reply; 6+ messages in thread
From: luigi scarso @ 2018-12-06 10:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 2258 bytes --]

On Thu, Dec 6, 2018 at 10:55 AM Floris van Manen <vm@klankschap.nl> wrote:

> while experimenting with the sample transparency color code
>
>
> \definecolor [transparentred]  [r=1,t=.5,a=1]
> \definecolor [transparentblue] [b=1,t=.5,a=1]
> \definecolor [solidyellow]  [y=1,t=1,a=1]
>
> \starttext
>
> \startTEXpage
> ~This is some sample text that goes behind the rectangles\hskip-80mm
> \blackrule[width=18mm,height=10mm,depth=10mm,color=solidyellow]\hskip-6mm
> \blackrule[width=18mm,height=20mm,depth=1mm,color=transparentred]\hskip-6mm
>
> \blackrule[width=18mm,height=10mm,depth=10mm,color=transparentblue]\hskip-6mm
> \blackrule[width=18mm,height=20mm,depth=1mm,color=solidyellow]\hskip27mm
> \stopTEXpage
>
> \stoptext
>
>
>
> i get the intended result.
>
>
> if i change the yellow t value to .99
> \definecolor [solidyellow]  [y=1,t=0.99,a=1]
> some green layer pops up.
>
>
> as this is all about software, there is a reason to this.
> it cold be the OSX preview program too, of course.
> can someone explain to me ?
> :-)
>
> here is ok under ubuntu
Can you convert pdf to png ? This should show almost the same png.

You can also prepend
\nopdfcompression
and post the pdf.

\nopdfcompression
\definecolor [transparentred]  [r=1,t=.5,a=1]
\definecolor [transparentblue] [b=1,t=.5,a=1]
\definecolor [solidyellow]  [y=1,t=1,a=1]

\starttext

\startTEXpage
\definecolor [solidyellow]  [y=1,t=1,a=1]
~This is some sample text that goes behind the rectangles\hskip-80mm
\blackrule[width=18mm,height=10mm,depth=10mm,color=solidyellow]\hskip-6mm
\blackrule[width=18mm,height=20mm,depth=1mm,color=transparentred]\hskip-6mm
\blackrule[width=18mm,height=10mm,depth=10mm,color=transparentblue]\hskip-6mm
\blackrule[width=18mm,height=20mm,depth=1mm,color=solidyellow]\hskip27mm
\stopTEXpage


\startTEXpage
\definecolor [solidyellow]  [y=1,t=0.99,a=1]
~This is some sample text that goes behind the rectangles\hskip-80mm
\blackrule[width=18mm,height=10mm,depth=10mm,color=solidyellow]\hskip-6mm
\blackrule[width=18mm,height=20mm,depth=1mm,color=transparentred]\hskip-6mm
\blackrule[width=18mm,height=10mm,depth=10mm,color=transparentblue]\hskip-6mm
\blackrule[width=18mm,height=20mm,depth=1mm,color=solidyellow]\hskip27mm
\stopTEXpage


\stoptext

-- 
luigi

[-- Attachment #1.1.2: Type: text/html, Size: 3623 bytes --]

[-- Attachment #1.2: Screen Shot 2018-12-06 at 10.53.21.PNG --]
[-- Type: image/png, Size: 8414 bytes --]

[-- Attachment #1.3: Screen Shot 2018-12-06 at 10.48.56.PNG --]
[-- Type: image/png, Size: 10306 bytes --]

[-- Attachment #2: Screen Shot 2018-12-06 at 10.53.21.PNG --]
[-- Type: image/png, Size: 8414 bytes --]

[-- Attachment #3: Screen Shot 2018-12-06 at 10.48.56.PNG --]
[-- Type: image/png, Size: 10306 bytes --]

[-- Attachment #4: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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] 6+ messages in thread

* Re: color check
  2018-12-06 10:12 ` luigi scarso
@ 2018-12-06 12:33   ` Floris van Manen
  0 siblings, 0 replies; 6+ messages in thread
From: Floris van Manen @ 2018-12-06 12:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 3455 bytes --]

it is the behaviour of the (old) osx preview app for sure.
when looking at the pdf, the thumbnails are correct, however when focussing on the page it turns green.
its getting more urgent to move to Linux ;-)

.F





> On 6 Dec 2018, at 11:12, luigi scarso <luigi.scarso@gmail.com> wrote:
> 
> 
> 
> On Thu, Dec 6, 2018 at 10:55 AM Floris van Manen <vm@klankschap.nl> wrote:
> while experimenting with the sample transparency color code
> 
> 
> \definecolor [transparentred]  [r=1,t=.5,a=1]
> \definecolor [transparentblue] [b=1,t=.5,a=1]
> \definecolor [solidyellow]  [y=1,t=1,a=1]
> 
> \starttext
> 
> \startTEXpage
> ~This is some sample text that goes behind the rectangles\hskip-80mm
> \blackrule[width=18mm,height=10mm,depth=10mm,color=solidyellow]\hskip-6mm
> \blackrule[width=18mm,height=20mm,depth=1mm,color=transparentred]\hskip-6mm
> \blackrule[width=18mm,height=10mm,depth=10mm,color=transparentblue]\hskip-6mm
> \blackrule[width=18mm,height=20mm,depth=1mm,color=solidyellow]\hskip27mm
> \stopTEXpage
> 
> \stoptext
> 
> 
> 
> i get the intended result.
> 
> <Screen Shot 2018-12-06 at 10.53.21.PNG>
> 
> if i change the yellow t value to .99
> \definecolor [solidyellow]  [y=1,t=0.99,a=1]
> some green layer pops up.
> 
> 
> 
> as this is all about software, there is a reason to this.
> it cold be the OSX preview program too, of course.
> can someone explain to me ?
> :-)
> 
> here is ok under ubuntu
> Can you convert pdf to png ? This should show almost the same png.
> 
> You can also prepend
> \nopdfcompression
> and post the pdf.
> 
> \nopdfcompression
> \definecolor [transparentred]  [r=1,t=.5,a=1]
> \definecolor [transparentblue] [b=1,t=.5,a=1]
> \definecolor [solidyellow]  [y=1,t=1,a=1]
> 
> \starttext
> 
> \startTEXpage
> \definecolor [solidyellow]  [y=1,t=1,a=1]
> ~This is some sample text that goes behind the rectangles\hskip-80mm
> \blackrule[width=18mm,height=10mm,depth=10mm,color=solidyellow]\hskip-6mm
> \blackrule[width=18mm,height=20mm,depth=1mm,color=transparentred]\hskip-6mm
> \blackrule[width=18mm,height=10mm,depth=10mm,color=transparentblue]\hskip-6mm
> \blackrule[width=18mm,height=20mm,depth=1mm,color=solidyellow]\hskip27mm
> \stopTEXpage
> 
> 
> \startTEXpage
> \definecolor [solidyellow]  [y=1,t=0.99,a=1]
> ~This is some sample text that goes behind the rectangles\hskip-80mm
> \blackrule[width=18mm,height=10mm,depth=10mm,color=solidyellow]\hskip-6mm
> \blackrule[width=18mm,height=20mm,depth=1mm,color=transparentred]\hskip-6mm
> \blackrule[width=18mm,height=10mm,depth=10mm,color=transparentblue]\hskip-6mm
> \blackrule[width=18mm,height=20mm,depth=1mm,color=solidyellow]\hskip27mm
> \stopTEXpage
> 
> 
> \stoptext
> 
> --
> luigi
> <Screen Shot 2018-12-06 at 10.48.56.PNG><Screen Shot 2018-12-06 at 10.53.21.PNG><Screen Shot 2018-12-06 at 10.48.56.PNG><Screen Shot 2018-12-06 at 10.48.56.PNG>___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.1.2.1: Type: text/html, Size: 5718 bytes --]

[-- Attachment #1.1.2.2: Screen Shot 2018-12-06 at 13.30.46.PNG --]
[-- Type: image/png, Size: 15735 bytes --]

[-- Attachment #1.1.2.3: Screen Shot 2018-12-06 at 13.30.52.PNG --]
[-- Type: image/png, Size: 16444 bytes --]

[-- Attachment #1.1.2.4: Screen Shot 2018-12-06 at 10.48.56.PNG --]
[-- Type: image/png, Size: 10306 bytes --]

[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2018-12-06 12:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-06  9:55 color check Floris van Manen
2018-12-06 10:02 ` Taco Hoekwater
2018-12-06 10:12   ` Floris van Manen
2018-12-06 10:09 ` Pablo Rodriguez
2018-12-06 10:12 ` luigi scarso
2018-12-06 12:33   ` Floris van Manen

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