[NTG-context] Layer presets / size of type area

2019-12-19 Thread Henning Hraban Ramm
Hi,
I setup a layer to the size of the typearea and expect the corner presets to 
place my figures into the corners, but \makeupwidth/height are smaller than the 
typearea (same with \textwidth). Why?
Hraban


\setuplayout[
width=120mm,
backspace=16mm,
height=192mm,
topspace=6mm,
header=8mm,
footer=6mm,
]
\showframe

\definelayer[TA]
[x=16mm, y=14mm,
width=\makeupwidth, height=\makeupheight]
\setupbackgrounds[page][background=TA]

\def\Square{\framed[width=1cm,height=1cm]{S}}

\starttext
\strut
\setlayer[TA][preset=leftbottom]{\Square}
\setlayer[TA][preset=rightbottom]{\Square}
\setlayer[TA][preset=lefttop]{\Square}
\setlayer[TA][preset=righttop]{\Square}

\stoptext

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


[NTG-context] Transparency in PNGs becomes black in PDF/X

2019-12-19 Thread Henning Hraban Ramm
I think this is the same problem that I had in Bassenge:
The transparent part of PNGs like the attached one becomes black if I try to 
make an PDF/X.

I hope that is solvable...

\setupbackend[format=PDF/X-1a:2001]

\starttext
\externalfigure[kinder/esel_kl]
\stoptext


Best, 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] setting the color of cropmarks

2019-12-19 Thread Henning Hraban Ramm
Am 2019-12-19 um 20:21 schrieb Hans Hagen :
> 
> On 12/19/2019 7:46 PM, Henning Hraban Ramm wrote:
> 
>> Massi said the crop marks are defined in grayscale black, but wants CMYK 
>> black.
>> In layout programs crop and registration marks are usually set in a color 
>> named "Registration" (not register, my mistake) or the like, and it maps to 
>> all color plates, i.e. mostly CMYK 1,1,1,1, but also spot colors. You need 
>> that for manual film montage.
> 
> So what is 1,1,1,1 ? Quite some mixed ink i guess? Kind of brown + black?

C,M,Y,K each 100% (no relationship to 1,1,1-Trichloroethane)

> I can add some control over these cropmark colors by using symbolic names 
> (later).

That would be nice. If you print on an office printer and cut yourself, it 
might make sense to use very light (e.g. yellow) crop marks.

Since I also sometimes need folding marks, I need to look into that sourcecode…

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] setting the color of cropmarks

2019-12-19 Thread Hans Hagen

On 12/19/2019 7:46 PM, Henning Hraban Ramm wrote:


Massi said the crop marks are defined in grayscale black, but wants CMYK black.
In layout programs crop and registration marks are usually set in a color named 
"Registration" (not register, my mistake) or the like, and it maps to all color 
plates, i.e. mostly CMYK 1,1,1,1, but also spot colors. You need that for manual film 
montage.


So what is 1,1,1,1 ? Quite some mixed ink i guess? Kind of brown + black?

I can add some control over these cropmark colors by using symbolic 
names (later).


Hans

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


Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread Henning Hraban Ramm

> Am 2019-12-19 um 19:11 schrieb mf :
> 
>> There is no option to change the color for the rules and the only option you 
>> have is to use color conversion.
>> \setupcolors[cmyk=yes,rgb=no]
> I do have this setup, but it produces grayscale crop marks.
> 
> I was told by two different printshops that grayscale raises problems with 
> recent versions of PDF software (verification? imposition? I've not asked), 
> that complains about that, because it treats grayscale as RGB, splitting it 
> on C, M and Y channels, instead of mapping it only to the K channel.

I’d regard that a misconfiguration on their side.

Maybe it helps to define the output intent:
https://wiki.contextgarden.net/Command/setupbackend
https://wiki.contextgarden.net/PDFX

>> If you need more control you can create your own marks and add them as 
>> background for the page.
> I've seen there's something about that in the mailing list history. I'll look 
> into that.
> 
> BTW, the MP file producing the marks is
> 
> metapost/context/base/mpiv/mp-crop.mpiv

Sorry for mixing up marks and markings.

> Am 2019-12-19 um 19:08 schrieb Hans Hagen :
> 
 Can I change their color, in particular into a CMYK black (0,0,0,1.0)?
> 
> Just curious ... isn't gray (g G) equivalent enough? I assume that a cmyk 
> prepress document can have gray scale images too.

Grayscale color space is device dependent, as well as CMYK and RGB color 
definitions without a profile; it should be the same as black CMYK channel, but 
needs not to.

>>> It would also make sense to use CMYK register color (1,1,1,1).
>> I do agree.
> I might agree if I know what is meant here.

Massi said the crop marks are defined in grayscale black, but wants CMYK black.
In layout programs crop and registration marks are usually set in a color named 
"Registration" (not register, my mistake) or the like, and it maps to all color 
plates, i.e. mostly CMYK 1,1,1,1, but also spot colors. You need that for 
manual film montage.

Greetlings, 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] setting the color of cropmarks

2019-12-19 Thread mf


There is no option to change the color for the rules and the only option 
you have is to use color conversion.


\setupcolors[cmyk=yes,rgb=no]

I do have this setup, but it produces grayscale crop marks.

I was told by two different printshops that grayscale raises problems 
with recent versions of PDF software (verification? imposition? I've not 
asked), that complains about that, because it treats grayscale as RGB, 
splitting it on C, M and Y channels, instead of mapping it only to the K 
channel.




If you need more control you can create your own marks and add them as 
background for the page.


I've seen there's something about that in the mailing list history. I'll 
look into that.


BTW, the MP file producing the marks is

metapost/context/base/mpiv/mp-crop.mpiv

Massi
___
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] setting the color of cropmarks

2019-12-19 Thread Hans Hagen

On 12/19/2019 6:24 PM, mf wrote:



Il 19/12/19 18:07, Henning Hraban Ramm ha scritto:

Am 2019-12-19 um 16:41 schrieb mf :


Hello list,

\setuplayout[marking=on] typesets crop marks that are in grayscale 
black.


Can I change their color, in particular into a CMYK black (0,0,0,1.0)?


Just curious ... isn't gray (g G) equivalent enough? I assume that a 
cmyk prepress document can have gray scale images too.


There’s no parameter, and I don’t understand how the markings are set 
in https://source.contextgarden.net/tex/context/base/mkiv/strc-mar.mkiv


No, that's about markings, a different thing.
I think the right file is page-mrk.mkiv.
The crop marks are made with MP.
I'm looking into it...



Maybe you see more… There’s an example for custom marks at the bottom.

It would also make sense to use CMYK register color (1,1,1,1).


I do agree.

I might agree if I know what is meant here.

Hans

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


Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread Wolfgang Schuster

mf schrieb am 19.12.2019 um 18:24:

Il 19/12/19 18:07, Henning Hraban Ramm ha scritto:

Am 2019-12-19 um 16:41 schrieb mf :


Hello list,

\setuplayout[marking=on] typesets crop marks that are in grayscale 
black.


Can I change their color, in particular into a CMYK black (0,0,0,1.0)?


There’s no parameter, and I don’t understand how the markings are set 
in https://source.contextgarden.net/tex/context/base/mkiv/strc-mar.mkiv


No, that's about markings, a different thing.
I think the right file is page-mrk.mkiv.
The crop marks are made with MP.
I'm looking into it...


There is no option to change the color for the rules and the only option 
you have is to use color conversion.


\setupcolors[cmyk=yes,rgb=no]

If you need more control you can create your own marks and add them as 
background for the page.


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] accessing glyph in private area

2019-12-19 Thread Pablo Rodriguez
On 12/19/19 9:50 AM, Hans Hagen wrote:
> [...]
> \enabledirectives[otf.keepnames]
> [...]
>  6\fontchar{u1F004}

Many thanks for your reply, Hans.

It took me some minutes to realize that characters in \fontchar{uFE4EA}
had to respect the case (both upper and lower).

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
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] setting the color of cropmarks

2019-12-19 Thread mf



Il 19/12/19 18:07, Henning Hraban Ramm ha scritto:

Am 2019-12-19 um 16:41 schrieb mf :


Hello list,

\setuplayout[marking=on] typesets crop marks that are in grayscale black.

Can I change their color, in particular into a CMYK black (0,0,0,1.0)?


There’s no parameter, and I don’t understand how the markings are set in 
https://source.contextgarden.net/tex/context/base/mkiv/strc-mar.mkiv


No, that's about markings, a different thing.
I think the right file is page-mrk.mkiv.
The crop marks are made with MP.
I'm looking into it...



Maybe you see more… There’s an example for custom marks at the bottom.

It would also make sense to use CMYK register color (1,1,1,1).


I do agree.

Massi
___
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] setting the color of cropmarks

2019-12-19 Thread Henning Hraban Ramm
Am 2019-12-19 um 16:41 schrieb mf :
> 
> Hello list,
> 
> \setuplayout[marking=on] typesets crop marks that are in grayscale black.
> 
> Can I change their color, in particular into a CMYK black (0,0,0,1.0)?

There’s no parameter, and I don’t understand how the markings are set in 
https://source.contextgarden.net/tex/context/base/mkiv/strc-mar.mkiv

Maybe you see more… There’s an example for custom marks at the bottom.

It would also make sense to use CMYK register color (1,1,1,1).

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


[NTG-context] setting the color of cropmarks

2019-12-19 Thread mf

Hello list,

\setuplayout[marking=on] typesets crop marks that are in grayscale black.

Can I change their color, in particular into a CMYK black (0,0,0,1.0)?

Thanks,
Massi
___
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] accessing glyph in private area

2019-12-19 Thread Hans Hagen

On 12/18/2019 8:33 PM, Pablo Rodriguez wrote:

Dear list,

I have the following sample:

 \definefontfamily[emoj][rm][Noto Emoji]
 \setupbodyfont[emoj]
 \starttext
 
 \utfchar{0x23f0}
 \utfchar{0xfe4eb}
 \utfchar{0xfe4eb}
 \stoptext

Is there any way to access glyphs from the private area (0Xfe4eb in the
sample) in ConTeXt?

I would need to use these glyphs for a presentation I have.

Many thanks for your help,

\enabledirectives[otf.keepnames]

\definefontfamily[emoj][rm][Noto Emoji]
\setupbodyfont[emoj]
\starttext
1
2
3
4
6\fontchar{u1F004}
\stoptext

you need to wipe the font cache then


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