Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Aditya Mahajan
\setupinteraction[state=start] \setupcolors[textcolor=colorone] \setupbackgrounds[page][background=color,backgroundcolor=nearlywhite] \usemodule[vim] \startvimrc[name=minor-groups] hi Function cterm=NONE hi Stringcterm=NONE hi Delimiter cterm=NONE \stopvimrc \startcolorscheme[oceansunset] \def

Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Aditya Mahajan
On Sat, 16 May 2020, Nicola wrote: On 2020-05-16, Aditya Mahajan wrote: On Sat, 16 May 2020, Aditya Mahajan wrote: Moreover, if you comment line line 126 of `2context.vim` "let s:id = synIDtrans (s:id) [If you make a local copy of 2context.vim, then you need to run the file with

Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Nicola
On 2020-05-16, Aditya Mahajan wrote: > On Sat, 16 May 2020, Aditya Mahajan wrote: > Moreover, if you comment line line 126 of `2context.vim` > > "let s:id = synIDtrans (s:id) > > [If you make a local copy of 2context.vim, then you need to run the > file with `--mode=dev-vim` to ensure t

Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Aditya Mahajan
On Sat, 16 May 2020, Aditya Mahajan wrote: On Sat, 16 May 2020, Nicola wrote: On 2020-05-14, Aditya Mahajan wrote: On Thu, 14 May 2020, Nicola wrote: Quick question: Is \startcolorscheme... \stopcolorscheme (still) supported by t-vim? It is supposed to work. If it doesn't, then it is a

Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Aditya Mahajan
On Sat, 16 May 2020, Nicola wrote: On 2020-05-14, Aditya Mahajan wrote: On Thu, 14 May 2020, Nicola wrote: Quick question: Is \startcolorscheme... \stopcolorscheme (still) supported by t-vim? It is supposed to work. If it doesn't, then it is a bug. Could you provide a complete MWE. Plea

Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Nicola
\definecolor[nearlywhite] [r=0.988, g=0.988, b=0.988] \setupinteraction[state=start] \setupcolors[textcolor=colorone] \setupbackgrounds[page][background=color,backgroundcolor=nearlywhite] \usemodule[vim] \unprotect \startcolorscheme[oceansunset] \definesyntaxgroup[Comment][\c

Re: [NTG-context] Custom color schemes in t-vim

2020-05-14 Thread Aditya Mahajan
On Thu, 14 May 2020, Nicola wrote: Quick question: Is \startcolorscheme... \stopcolorscheme (still) supported by t-vim? In a template I wrote long time ago to typeset code, I have: \usemodule[vim] \unprotect \startcolorscheme[oceansunset] \definesyntaxgroup[Comment][\c!color

[NTG-context] Custom color schemes in t-vim

2020-05-14 Thread Nicola
Quick question: Is \startcolorscheme... \stopcolorscheme (still) supported by t-vim? In a template I wrote long time ago to typeset code, I have: \usemodule[vim] \unprotect \startcolorscheme[oceansunset] \definesyntaxgroup[Comment][\c!color={colortwo},\c!style=italic

Re: [NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Pablo Rodriguez
On 4/8/20 11:32 AM, Fabrice Couvreur wrote: > [...] > \startframedtext[width=max,background=color,backgroundcolor=fondpaille] >      \starthanging[location=right] >          {\startMPcode >           draw unitsquare scaled 2cm ; >           \stopMPcode} >      \input tuft

Re: [NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Fabrice Couvreur
Hi Pablo, Here a sample. Fabrice \useMPlibrary[dum] \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext \startframedtext[width=max,background=color,backgroundcolor=fondpaille] \starthanging[location=right] {\startMPcode draw unitsquare scaled 2cm

Re: [NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Pablo Rodriguez
which only adds the background color (and disables the frame)? > In fact, my question is more general: if we insert an image, the > background color envelops this image: how to solve this problem? Unless you provide a sample that shows the issue you are facing, not including the image in t

[NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Fabrice Couvreur
Hi, Is there a more elegant way to have a white background for the table ? In fact, my question is more general : if we insert an image, the background color envelops this image : how to solve this problem ? Thank you. Fabrice \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext

[NTG-context] Hatch color in a table cell

2020-03-12 Thread Fabrice Couvreur
] [\metahashoverlay{ -45}] \defineoverlay[meta:hash:horizontal][\metahashoverlay{+180}] \defineoverlay[meta:hash:vertical] [\metahashoverlay{ -90}] \starttext \startmidaligned \startxtable [align={lohi,middle}, width=1.5cm, background=color

Re: [NTG-context] color

2020-03-06 Thread Henning Hraban Ramm
> I thought h in HSV would be between 0 and 360? It is. > (I’ll gladly wikify this, even if I probably never will use HSV or HBW…) Ok, it’s now in https://wiki.contextgarden.net/Color and https://wiki.contextgarden.net/Command/definecolor

Re: [NTG-context] color

2020-03-06 Thread Henning Hraban Ramm
> Am 2020-03-06 um 16:06 schrieb Hans Hagen : > > Hi, > > As a side effect of svg color manipulations (experiments by ms and me) the > next release will have support for hbw colors: > >{\directcolored[h=.1,b=.2,w=.1]\blackrule[width=3cm,height=3cm]} >{\d

[NTG-context] color

2020-03-06 Thread Hans Hagen
Hi, As a side effect of svg color manipulations (experiments by ms and me) the next release will have support for hbw colors: {\directcolored[h=.1,b=.2,w=.1]\blackrule[width=3cm,height=3cm]} {\directcolored[h=.1,b=.2,w=.2]\blackrule[width=3cm,height=3cm]} {\directcolored[h=.1,b=.2

Re: [NTG-context] Any plans for an active color management?

2020-02-17 Thread Hans Hagen
On 2/17/2020 6:52 PM, Floris van Manen wrote: On 17-02-2020 16:10, juh wrote: At least, digital images are always RGB. In my special case we started with a RGB corporate design as we are an online cooperative. Print comes later. The thing is that in print the CMYK will result in a fixed wel

Re: [NTG-context] Any plans for an active color management?

2020-02-17 Thread Henning Hraban Ramm
> Am 2020-02-17 um 17:57 schrieb Jan U. Hasecke : > > I contacted three print shops and they demand three different color > profiles, one of them prints on "100 % recycling paper" with an uncoated > profile. The other two use ISO Coated v2 300% and Coated Fogra 39. Oh

Re: [NTG-context] Any plans for an active color management?

2020-02-17 Thread Floris van Manen
On 17-02-2020 16:10, juh wrote: > At least, digital images are always RGB. > > In my special case we started with a RGB corporate design as we are an > online cooperative. Print comes later. The thing is that in print the CMYK will result in a fixed well defined object: a physical print on pap

Re: [NTG-context] Any plans for an active color management?

2020-02-17 Thread Jan U. Hasecke
Hi Henning Hraban, I contacted three print shops and they demand three different color profiles, one of them prints on "100 % recycling paper" with an uncoated profile. The other two use ISO Coated v2 300% and Coated Fogra 39. Being online shops I think they will complain if not

Re: [NTG-context] Any plans for an active color management?

2020-02-17 Thread Henning Hraban Ramm
the same. That means you should keep your photos in (profiled) RGB. Probably best use sRGB to stay device independend, because that’s default for monitors, even if printshops like Adobe RGB or one of the profiles that shrink the RGB color space to printable colors. For type and logos I still

Re: [NTG-context] Any plans for an active color management?

2020-02-17 Thread juh
Floris van Manen writes: > On 17-02-2020 15:39, Hans Hagen wrote: >> On 2/17/2020 3:03 PM, Jan U. Hasecke wrote: >> >>> Are there any plans to automate these steps into ConTeXt? That would >>> enable us to work in RGB the whole time. Only when creating a print

Re: [NTG-context] Any plans for an active color management?

2020-02-17 Thread Floris van Manen
On 17-02-2020 15:39, Hans Hagen wrote: > On 2/17/2020 3:03 PM, Jan U. Hasecke wrote: > >> Are there any plans to automate these steps into ConTeXt? That would >> enable us to work in RGB the whole time. Only when creating a print pdf >> we would specify a color profile

Re: [NTG-context] Any plans for an active color management?

2020-02-17 Thread Hans Hagen
On 2/17/2020 3:03 PM, Jan U. Hasecke wrote: Are there any plans to automate these steps into ConTeXt? That would enable us to work in RGB the whole time. Only when creating a print pdf we would specify a color profile and ConTeXt would do the rest by converting all rgb values to cmyk values due

[NTG-context] Any plans for an active color management?

2020-02-17 Thread Jan U. Hasecke
Hi all, I would like to come back to a discussion from 2018 on this list. After printing some flyers for my cooperative I come to the conclusion that color management *is* very difficult. In my eyes, the only way of getting good results seems to be the following process. My starting point are

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-15 Thread Hans Hagen
On 2/15/2020 12:25 PM, Fabrice Couvreur wrote: Hi Henri, Why does the blue path not rotate 90 with the draw command but rotate with the fill command? compare draw origin -- (0,0.2cm) -- (4cm,0.2cm) -- (4cm,0) -- (4.1cm,-0.05cm) -- (0.1cm,-0.05cm) -- cycle rotated alpha withcolor red;

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-15 Thread Floris van Manen
On 15-02-2020 12:25, Fabrice Couvreur wrote: > Hi Henri, > Why does the blue path not rotate 90 with the draw command but rotate > with the fill command? > Why not draw the match as a picture first, then rotate and shift that picture? Also, if you use a local scale unit, it will be easier to st

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-15 Thread Fabrice Couvreur
t; the same effect for the red color. > Thank you. > Fabrice > \startMPcode > def match (expr pos) = > fill unitsquare xscaled 4cm yscaled 0.2cm shifted pos withcolor > yellow; > fill origin -- (4cm,0) -- (4.1cm,-0.05cm) -- (0.1cm,-0.05cm) -- cycle > withcolor(.6

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-14 Thread Fabrice Couvreur
Hi, Hi, I have corrected for the dimensions of the ellipse but I cannot achieve the same effect for the red color. Thank you. Fabrice \startMPcode def match (expr pos) = fill unitsquare xscaled 4cm yscaled 0.2cm shifted pos withcolor yellow; fill origin -- (4cm,0) -- (4.1cm,-0.05cm

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-14 Thread Fabrice L
Hi, > Le 13 févr. 2020 à 16:45, Fabrice Couvreur a > écrit : > How to have the color defined by {yellow!60!black} with Metapost ? color MyColor ; MyColor := .6[yellow,black] ; See metafun manual, section 1.13. > Thank you. > Fabrice Fabri

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-14 Thread Fabrice Couvreur
-- ++(-4,0) -- ++(-0.1,0.05); \shade[ball color=red] (#1+4,#2+0.1) ellipse (0.25cm and 0.22cm); \draw (#1+4,#2+0.1) ellipse (0.25cm and 0.22cm); } \allumette{0.1}{0.2} \filldraw[orange,scale=0.5,shift={(8.2,1.2)}] (0,0) .. controls (-1.5,1.25) and (.5,2) .. (-.2,4) .. controls (1,2.5)

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-13 Thread Henri Menke
On 2/14/20 10:45 AM, Fabrice Couvreur wrote: > Hi, > How to have the color defined by {yellow!60!black} with Metapost ? \usemodule[tikz] \starttext \startMPcode fill fullsquare scaled 1cm withcolor (.6yellow + black) ; \stopMPcode \starttikzpicture \fill[yellow!60!black] (0,0) rectangl

[NTG-context] Metapost and TikZ color code equivalent

2020-02-13 Thread Fabrice Couvreur
Hi, How to have the color defined by {yellow!60!black} with Metapost ? Thank you. Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Color Profiles in lmtx

2020-02-13 Thread Peter Rolf
Am 12.02.2020 um 17:15 schrieb Jan U. Hasecke: > Am 12.02.20 um 11:09 schrieb Peter Rolf: > >>> I get this in my logs >>> >>> backend > profiles > profile specification 'ISO Coated v2 300% >>> (ECI)' loaded from >>> '/home/juh/context-linux-64/tex/texmf-context/colors/icc/context/colorpro

Re: [NTG-context] Color Profiles in lmtx

2020-02-13 Thread Jan U. Hasecke
Am 12.02.20 um 19:48 schrieb Pablo Rodriguez: > On 2/12/20 5:15 PM, Jan U. Hasecke wrote: >> [...] >> I just realized that the above output is the right output. > > Hi Jan Ulrich, > > you might check profiles that with VeraPDF (or simply \nopdfcompression > as first command in the source and sear

Re: [NTG-context] Color Profiles in lmtx

2020-02-12 Thread Pablo Rodriguez
On 2/12/20 5:15 PM, Jan U. Hasecke wrote: > [...] > I just realized that the above output is the right output. Hi Jan Ulrich, you might check profiles that with VeraPDF (or simply \nopdfcompression as first command in the source and search for the profile 😎), > Ok. But now I have another questio

Re: [NTG-context] Color Profiles in lmtx

2020-02-12 Thread Jan U. Hasecke
Am 12.02.20 um 11:09 schrieb Peter Rolf: >> I get this in my logs >> >> backend > profiles > profile specification 'ISO Coated v2 300% >> (ECI)' loaded from >> '/home/juh/context-linux-64/tex/texmf-context/colors/icc/context/colorprofiles.xml' I just realized that the above output is th

Re: [NTG-context] Color Profiles in lmtx

2020-02-12 Thread Peter Rolf
Am 12.02.2020 um 09:41 schrieb juh: > Hi all, > > again I have a question concerning color profiles. > > I have this to load the ISO Coated v2 300% profile. > > \setupbackend[ >format=PDF/X-3:2003, >intent={ISO Coated v2 300\letterpercent\space (ECI)}, >]

[NTG-context] Color Profiles in lmtx

2020-02-12 Thread juh
Hi all, again I have a question concerning color profiles. I have this to load the ISO Coated v2 300% profile. \setupbackend[ format=PDF/X-3:2003, intent={ISO Coated v2 300\letterpercent\space (ECI)}, ] \setupcolors[cmyk=yes,rgb=no,] But is this profile part of the new lmtx version

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-29 Thread Jeong Dal
Dear Wolfgang, Now, I understand why the error messages “\texfont0 is undefined”, “ you used the started character from an undefined font family.” are appeared. Thank you for your clear explanation. Best regards, Dalyoung >> 3. removing \starttext, \stoptext, and functionstyle=“math”, it wor

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-29 Thread Wolfgang Schuster
Jeong Dal schrieb am 29.12.2019 um 14:33: Dear Hans, I run the following code which is in page 24,25 luametafun.pdf. 1. adding \starttext and \stoptext, it works fine. No overlapping. Also, functionstyle = “math” is working nicely. 2. removing \starttext and \stoptext, then functionstyle =“mat

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-29 Thread Jeong Dal
Dear Hans, I run the following code which is in page 24,25 luametafun.pdf. 1. adding \starttext and \stoptext, it works fine. No overlapping. Also, functionstyle = “math” is working nicely. 2. removing \starttext and \stoptext, then functionstyle =“math” invoked an error. 3. removing \startte

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-29 Thread Hans Hagen
On 12/28/2019 9:27 PM, Jeong Dal wrote: Dear Hans, Thank you for the fix. Background color is OK now. A new problem in the caption: Since width of the figure is narrower than the width of the line "x = [0,12.555]; y = [-6,6];”, “y =“ is written over 12.555. Is there any option to sup

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-29 Thread Hans Hagen
On 12/28/2019 9:27 PM, Jeong Dal wrote: Dear Hans, Thank you for the fix. Background color is OK now. A new problem in the caption: Since width of the figure is narrower than the width of the line "x = [0,12.555]; y = [-6,6];”, “y =“ is written over 12.555. Is there any option to sup

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-28 Thread Jeong Dal
Dear Hans, Thank you for the fix. Background color is OK now. A new problem in the caption: Since width of the figure is narrower than the width of the line "x = [0,12.555]; y = [-6,6];”, “y =“ is written over 12.555. Is there any option to suppress the caption x, y since there are nu

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

2019-12-20 Thread mf
This is a dirty hack to change the color of the crop marks and the page number at the corner of a page when \setuplayout[marking=on]. Edit the file: tex/texmf-context/metapost/context/base/mpiv/mp-crop.mpiv in the distribution, changing two lines: - (here i'm reproducing only the

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 &

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

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

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

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

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

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

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

[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

Re: [NTG-context] Bug in LMTX: Color is lost after linebreak

2019-08-07 Thread Hans Hagen
On 8/7/2019 12:36 PM, Henri Menke wrote: Dear devs, there seems to be a bug in LMTX. In the MWE below, the letter right after the linebreak is black instead of gray. I'm using the latest beta. fixed in next lmtx update Hans -

[NTG-context] Bug in LMTX: Color is lost after linebreak

2019-08-07 Thread Henri Menke
rsion: 2019.07.24 11:31 mtx-context | main context file: /opt/context-lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2019.08.02 19:50 Cheers, Henri --- \starttext \startstandardmakeup[align=middle] \tfd\setupinterlinespace \color[middlegray]{%

Re: [NTG-context] background color, was: CMYK Color profile

2019-06-02 Thread Benjamin Koppe
When stupidity strikes, no one's safe. Turns out \setupbackgrounds has an option called backgroundoffset, and this is the solution. The not colorized part was the bleed part of the document, so the background command would be: \setupbackgrounds [paper] [ background=

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
YOU PRINT! \showframe \setupbackgrounds[paper][background=color,backgroundcolor=blue] \starttext \starttitle[title={First page}] \input lorem \stoptitle \starttitle[title={Second page}] \input lorem \stoptitle \starttitle[title={Third page}] \input lorem \stoptitle \startt

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Wolfgang Schuster
p the background color by \setupbackgrounds[page][backgroundcolor=blue] \setupbackgrounds [paper] [background=color,backgroundcolor=blue] Wolfgang ___ If your question is of interest to others as well, please add an entry t

Re: [NTG-context] CMYK Color profile

2019-05-31 Thread Benjamin Koppe
makes sense what you write, but as I am not sure about the whole issue, I won't bet. ;) Am 31. Mai 2019 09:40:06 MESZ schrieb Hans Hagen : >On 5/31/2019 7:56 AM, Jan U. Hasecke wrote: > >> There are some limitations in ConTeXt concerning colors as embedded >> images are not converted, so RGB im

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
Hi Jan, yes, I've read these texts once and they played a role in thinking about getting into ConTEXt. Thank you for your answer, now I have something to investigate. Another follow up question on background colors: I try to setup the background color by \setupbackgrounds

Re: [NTG-context] CMYK Color profile

2019-05-31 Thread Hans Hagen
On 5/31/2019 7:56 AM, Jan U. Hasecke wrote: There are some limitations in ConTeXt concerning colors as embedded images are not converted, so RGB images are converted only by the print shop during printing, which can lead to strange results. I think the only way to control the output is to conver

Re: [NTG-context] CMYK Color profile

2019-05-30 Thread Jan U. Hasecke
Am 30.05.19 um 23:34 schrieb Benjamin Koppe: > Hello everyone, > > I'm about creating a DIN Lang Folder brochure with ConTEXt. I got > everything set up the way I'd like it to. Now that I'm done with the > work, I've been told the output pdf should have a CMYK

[NTG-context] CMYK Color profile

2019-05-30 Thread Benjamin Koppe
Hello everyone, I'm about creating a DIN Lang Folder brochure with ConTEXt. I got everything set up the way I'd like it to. Now that I'm done with the work, I've been told the output pdf should have a CMYK Color profile embedded for the on demand printing service to be able t

Re: [NTG-context] about the color of sidebar

2019-02-25 Thread Jeong Dal
Dear Mohammad Hossein Bateni, > 2019. 2. 25. 오후 1:27, ntg-context-requ...@ntg.nl 작성: > > I have never used the sidebar mechanism, but there is a "rulecolor" option > in setupsidebar. Maybe that's what you're looking for. > > You can look up the commands and their options in "i-context.pdf" file

Re: [NTG-context] about the color of sidebar

2019-02-24 Thread Mohammad Hossein Bateni
idebar … \stopsidebar” because I > used the same style bar by defining a frame and overlay. > Here is a question: Is it possible to change the color of the bar or any > other options? > There is no commnad like “\setupsidebar” in the wiki. > > Thank you. > > Best regards, >

[NTG-context] about the color of sidebar

2019-02-24 Thread Jeong Dal
psidebar” because I used the same style bar by defining a frame and overlay. Here is a question: Is it possible to change the color of the bar or any other options? There is no commnad like “\setupsidebar” in t

Re: [NTG-context] Define color with calculations

2019-02-18 Thread Henri Menke
On 19/02/19 10:33 AM, Wolfgang Schuster wrote: > Mohammad Hossein Bateni schrieb am 18.02.19 um 04:37: >> Hi, >> >> When I use definecolor, (how) can I use computations in setting the >> value of a component?  Something like the following... >> >> \definecolor[mycolor][r=0.5*0.7] > > \starttext >

Re: [NTG-context] Define color with calculations

2019-02-18 Thread Wolfgang Schuster
Mohammad Hossein Bateni schrieb am 18.02.19 um 04:37: Hi, When I use definecolor, (how) can I use computations in setting the value of a component?  Something like the following... \definecolor[mycolor][r=0.5*0.7] \starttext \colored[r=\cldcontext{0.5*0.7}]{\cldcontext{0.5*0.7}} \colored[

Re: [NTG-context] Define color with calculations

2019-02-18 Thread Mohammad Hossein Bateni
Thanks, Henri! Works like a charm. On Sun, Feb 17, 2019 at 11:03 PM Henri Menke wrote: > Use Lua. > > > \def\eval#1{\ctxlua{% > local context = context > local _ENV = math > context(#1) > }} > > \definecolor[mycolor][r=\eval{0.5*0.7}] > >

Re: [NTG-context] Frame with Color

2019-02-18 Thread Marco Patzer
On Mon, 18 Feb 2019 12:26:45 + Ursula Hermann wrote: > \framed > [background=color,backgroundcolor=red, >foreground=color,foregroundcolor=white foreground=color,foregroundcolor=white, > frame=off] > {\bf

[NTG-context] Frame with Color

2019-02-18 Thread Ursula Hermann
High list! Maybe someone can help me. I tried: \setuppapersize[A5] \setupcolors[state=start] \framed [background=color,backgroundcolor=red, foreground=color,foregroundcolor=white frame=off] {\bf Wichtig} What I wanted, is a frame with background= red8 and a white text: Wichtig Many

Re: [NTG-context] Define color with calculations

2019-02-17 Thread Henri Menke
Use Lua. \def\eval#1{\ctxlua{% local context = context local _ENV = math context(#1) }} \definecolor[mycolor][r=\eval{0.5*0.7}] \starttext \color[mycolor]{Hello!} \stoptext On 18/02/19 4:37 PM, Mohammad Hossein Bateni wrote: > Hi, > > When I use definecolor, (how)

[NTG-context] Define color with calculations

2019-02-17 Thread Mohammad Hossein Bateni
Hi, When I use definecolor, (how) can I use computations in setting the value of a component? Something like the following... \definecolor[mycolor][r=0.5*0.7] Thanks, ~MHB ___ If your question is of interest to othe

Re: [NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Marcus Vinicius Mesquita
t; \setuplayout[grid=yes] > > \showgrid > > \setupcolumns[n=2] > > > > \starttext > > > > \startcolumns > > \input knuth > > \column > > \input knuth > > \stopcolumns > > > > \stoptext > > > > in t

Re: [NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 08.02.19 um 17:47: Dear list, When processing the attached mwe: \setuplayout[grid=yes] \showgrid \setupcolumns[n=2] \starttext \startcolumns \input knuth \column \input knuth \stopcolumns \stoptext in the final result there is a background color. How do

[NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Marcus Vinicius Mesquita
Dear list, When processing the attached mwe: \setuplayout[grid=yes] \showgrid \setupcolumns[n=2] \starttext \startcolumns \input knuth \column \input knuth \stopcolumns \stoptext in the final result there is a background color. How do I get rid of it? Marcus Vinicius mwe.tex Description

Re: [NTG-context] Where to put icc color profiles

2019-02-03 Thread Jan U. Hasecke
Am 03.02.19 um 18:19 schrieb Mojca Miklavec: > Dear Jan, > > On Sun, 3 Feb 2019 at 14:49, Jan U. Hasecke wrote: >> >> I downloaded some color profiles and stored them in: >> >> /context/tex/texmf-context/colors/icc/profiles >> >> But they get overwritt

Re: [NTG-context] Where to put icc color profiles

2019-02-03 Thread Mojca Miklavec
Dear Jan, On Sun, 3 Feb 2019 at 14:49, Jan U. Hasecke wrote: > > I downloaded some color profiles and stored them in: > > /context/tex/texmf-context/colors/icc/profiles > > But they get overwritten, when I update context. Please try to put them to /context/tex/texmf-local/c

Re: [NTG-context] Color profile not found

2019-02-03 Thread Jan U. Hasecke
Coated FOGRA39 (ISO > 12647-2:2004)' > > I copied the file CoatedFOGRA39.icc to > > context/tex/texmf-context/colors/icc/profiles > > My setup worked before. > > Using the intent "ISO Coated v2 300\letterpercent\space (ECI)" I get no > error. >

[NTG-context] Color profile not found

2019-02-03 Thread Jan U. Hasecke
I get an error when I use. \setupbackend[ format=PDF/X-3:2003, intent={Coated FOGRA39 (ISO 12647-2:2004)}, ] backend > profiles > profile specification 'Coated FOGRA39 (ISO 12647-2:2004)' loaded from '/home/juh/context/tex/texmf-context/colors/icc/context/colorprofiles.xml' backe

[NTG-context] Where to put icc color profiles

2019-02-03 Thread Jan U. Hasecke
Hi all, I downloaded some color profiles and stored them in: /context/tex/texmf-context/colors/icc/profiles But they get overwritten, when I update context. Can I put color profiles in the working folder of my project. And how do I access them with setupbackend? TIA juh -- Software

Re: [NTG-context] Color a column (xtable, lua)

2019-01-27 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 27.01.19 um 00:59: Hi Henry, Thank you for your proposition. I tested both : the first work  but not the second. Fabrice Remove the empty line between the two arguments of the \defineoverlay command. Wolfgang __

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
t;, "J" } 20 local letters_2 = { "A", "0", "1", "1", "0", "", "", "", "", "" } 21 context.startxtable({"align={middle,lohi}, width=1.25cm,offset=0.8ex"}) 22 23 context.start

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Henri Menke
On 1/27/19 12:26 PM, Henri Menke wrote: > On 1/27/19 12:08 PM, Fabrice Couvreur wrote: >> Hi, >> How to color the first column as I did for the first line ? > > Stolen from Wolfgang's answer on TeX.SX. > https://tex.stackexchange.com/a/464771 > You could also ev

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Henri Menke
On 1/27/19 12:08 PM, Fabrice Couvreur wrote: > Hi, > How to color the first column as I did for the first line ? Stolen from Wolfgang's answer on TeX.SX. https://tex.stackexchange.com/a/464771 \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \startuseMPgraphic {tablebackground} fill

[NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
Hi, How to color the first column as I did for the first line ? Thank you Fabrice \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext \startluacode local letters_1 = { "A", "B", "C", "D", "E", "F", &qu

Re: [NTG-context] color check

2018-12-06 Thread Floris van Manen
hu, Dec 6, 2018 at 10:55 AM Floris van Manen 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] > > \start

Re: [NTG-context] color check

2018-12-06 Thread luigi scarso
On Thu, Dec 6, 2018 at 10:55 AM Floris van Manen 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] > > \sta

Re: [NTG-context] color check

2018-12-06 Thread Floris van Manen
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. t4test.pdf Description: Adobe PDF document > On 6 Dec 2018, at 11:02, Taco Hoekwater wrote: > > Hi Floris, > >> >> if i change the yellow t value to .99 >> \

Re: [NTG-context] color check

2018-12-06 Thread Pablo Rodriguez
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, ther

Re: [NTG-context] color check

2018-12-06 Thread Taco Hoekwater
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. > > 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

[NTG-context] color check

2018-12-06 Thread Floris van Manen
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

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles

2018-11-21 Thread luigi scarso
ns but at least I found transicc to > calculate color conversions. > > What precision is useful in the wild? > > I now use three digits after the decimal point, eg.: > > \definecolor [hs-logoblau] [c=0.976, m=0.665, y=0.028, k=0.116] > > It's safe to specify a color

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles

2018-11-21 Thread Jan U. Hasecke
Am 19.11.18 um 11:14 schrieb luigi scarso: > Perhaps this is still useful  >  https://www.tug.org/TUGboat/tb31-3/tb99scarso.pdf Thanks a lot for the hint. I don't understand the equations but at least I found transicc to calculate color conversions. What precision is useful in the w

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles

2018-11-19 Thread luigi scarso
On Mon, Nov 19, 2018 at 10:57 AM Henning Hraban Ramm wrote: > > It would make sense to outsource color calculations to a color management > library like LittleCMS. > > yes. Perhaps this is still useful https://www.tug.org/TUGboat/tb31-3/tb99scarso

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles

2018-11-19 Thread Henning Hraban Ramm
nd debug the situation. >>> >>> I am testing together with a friend of mine, a professional >>> colormanager, who does not know ConTeXt. >> Even without a color profile the results from the normal conversion of >> colors from cmyk to rgb >> can result in di

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles

2018-11-18 Thread Hans Hagen
know ConTeXt. Even without a color profile the results from the normal conversion of colors from cmyk to rgb can result in differences between ConTeXt and Gimp because both use different formulas. This is the formula from ConTeXt (attr-col.lua) r = 1.0 - math.min(1.0,c+k) g = 1.0 - math.min(1.0

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles

2018-11-14 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 14.11.18 um 11:39: Hi all, attached you find my colormanagement tests and I need your help to understand and debug the situation. I am testing together with a friend of mine, a professional colormanager, who does not know ConTeXt. Even without a color profile the

<    1   2   3   4   5   6   7   8   >