[NTG-context] overthinking overprinting

2022-05-19 Thread Henning Hraban Ramm via ntg-context


A question on TeX-D-L reminded me to look into this subject.

At the moment, there is \setupcolors[intent=overprint|knockout] with 
\startoverprint|knockout, as defined in colo-ext.mkxl|mkiv.


I’m not sure what that does as a general setting – usually you need 
overprinting for black text and lines in CMYK documents.


There are special cases where you want other (spot) colors to overprint, 
but that’s quite rare, and I can use transparency features to achieve 
the same (a=multiply) in an even more flexible way – as long as I don’t 
need a format like PDF/X-3 that doesn’t allow transparencies.
If I declare such a format, ConTeXt just switches off transparencies and 
doesn’t try to emulate (“flatten”) them as e.g. InDesign does.


So it would be nice if I could e.g.
\definecolor[OPred][m=1,y=1,intent=overprint]

OTOH there are cases where I want a black area or text to knockout the 
background, these might work with \startknockout etc.



When I try my example:

\useMPlibrary[dum]
\setupcolors[
   rgb=no,cmyk=yes,
   intent=overprint,% or knockout
]
\setupbodyfont[modern,ss,18pt]

\starttext

\definecollector[Test]
\setcollector [Test] {\externalfigure[none][width=8cm,height=6cm,frame=on]}
\setcollector [Test] [corner=middle,location=middle] {{\bf Toast}}
\setcollector [Test]
   [corner={left,top},location={right,bottom}]
   {\framed{LT}}
\setcollector [Test]
   [corner={left,bottom},location={right,top}]
   {\framed{LB}}

\composedcollector{Test}

\stoptext

... then the text is “knocked out” regardless how set the intent.
It also doesn’t help to use \startoverprint for the Text.
The attached screenshot shows the color separation preview from Acrobat 
Pro 9.


Is this broken or intended to be used differently?

Hraban___
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
___


Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Bruce Horrocks via ntg-context
Thank-you Adam, Hraban and Richard for your suggestions.

In the end it was remarkably simple:

\starttext
\definecollector[example]
\setcollector [example] {\externalfigure[cow][width=6cm,frame=off]}
\setcollector [example] [corner={right,bottom},location={right,top}]
{\rotate[rotation=90]{\copyright A great artist}}
\placefigure [ ] [fig:cow] {A fine figure of a cow} 
{\composedcollector{example}}
\stoptext

In the above the cow is drawn with the figure caption below as normal and with 
the copyright text running upwards along the edge of the right-hand edge of the 
image. And if you want to fine tune the space between the image and the text 
then it's easy to \framed the text and play around with the size and offsets.

—
Bruce Horrocks
Hampshire, UK

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


Re: [NTG-context] Crediting copyright on photographs

2022-05-04 Thread Adam Reviczky via ntg-context
Hi Bruce,

The Layers page has some examples (
https://wiki.contextgarden.net/Layers#Place_labels_on_pictures) and the
Collectors page as well (https://wiki.contextgarden.net/Collectors).

Some MWE:

\starttext
\definelayer  [figure][width=\overlaywidth,height=\overlayheight]
\defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}]
\startsetups figure
\setlayerframed[figure][frame=off,preset=rightbottom]{\copyright\ 2022}
\stopsetups
\externalfigure[cow][background={foreground,figure}]
\stoptext

\starttext
\definecollector[example]
\setcollector [example] {\externalfigure[cow][width=4cm,frame=off]}
\setcollector [example]
[corner={right,bottom},location={left,top}]{\copyright\ 2022}
\composedcollector{example}
\stoptext

Adam

On Wed, May 4, 2022 at 11:01 PM Bruce Horrocks via ntg-context <
ntg-context@ntg.nl> wrote:

> I need to include the copyright acknowledgement / photographer credit on
> an image but I'm not sure what's the best way to do it.
>
> Option 1: I can add the acknowledgement to the end of the \placefigure
> caption text:
>
> e.g.   \placefigure{A picture of a cow. Image of a cow that may or may not
> be under copyright anymore.}{\externalfigure[cow][height=6cm]}
>
> then the copyright bit will appear in the Table of Figures which I don't
> really want to happen. Is there a way to truncate this?
>
>
> Option 2: some magazines print the copyright credit running up the side of
> the image, independently of the caption. I'd quite like to do this and
> wondered if anyone had already written something they could share?
>
> —
> Bruce Horrocks
> Hampshire, UK
>
>
> ___
> 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
___