Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles (was: Colormanagement)

2018-11-14 Thread Peter Rolf
Hi Jan, I donno if things have changed (ConTeXt is a fast moving target), so take my answers with a grain of salt. (1) AFAIK there is no ACTIVE color management in ConTeXt in the sense that there is an automatic color conversion from one profiled(!) colorspace into another profiled color space

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles (was: Colormanagement)

2018-11-14 Thread Jan U. Hasecke
does not know ConTeXt. > > > There are several files in the archive: > > The differences in the files are the color definition and the color > profile used. > > - rgb-xxx.tex – colors are defined with RGB values only. > > - rgb-cmyk-xxx.tex – colors are defined w

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles (was: Colormanagement)

2018-11-14 Thread Jan U. Hasecke
color definition and the color profile used. - rgb-xxx.tex – colors are defined with RGB values only. - rgb-cmyk-xxx.tex – colors are defined with RGB and CMYK values. The cmyk colors are derived from the rgb values using gimp and the color profiles sRGB/ISOCoated - cmyk-xxx.tex – colors are

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

2018-11-12 Thread Hans Hagen
On 11/12/2018 9:02 AM, Jan U. Hasecke wrote: Hi all, with the following file I tested the color conversion of context. I get the same CMYK-values in the output pdf file using different color profiles. A friend of mine can test the color values of PDF with a special software. My guess: the

[NTG-context] Issues with RGB to CMYK conversion with color profiles (was: Colormanagement)

2018-11-12 Thread Jan U. Hasecke
Hi all, with the following file I tested the color conversion of context. I get the same CMYK-values in the output pdf file using different color profiles. A friend of mine can test the color values of PDF with a special software. My guess: the profiles are not used during pdf generation. You

Re: [NTG-context] Which color model shall I use

2018-10-01 Thread Jan U. Hasecke
On 01.10.18 10:11, Henning Hraban Ramm wrote: > If you can ensure all RGB colors are tagged with the same profiles then it > should work, as long as you only care about *same* colors and not > (CMYK-defined) *specific* colors... > > Do your SVGs declare their RGB color space?

Re: [NTG-context] Which color model shall I use

2018-10-01 Thread Henning Hraban Ramm
Am 2018-10-01 um 09:23 schrieb Jan U. Hasecke : > On 30.09.18 17:16, Henning Hraban Ramm wrote: > >> >> Hi juh, >> >> you can define colors in several color models at once; CMYK makes most sense >> for professional printing. >> >> e.g. \defi

Re: [NTG-context] Which color model shall I use

2018-10-01 Thread Hans Hagen
On 10/1/2018 9:23 AM, Jan U. Hasecke wrote: On 30.09.18 17:16, Henning Hraban Ramm wrote: Hi juh, you can define colors in several color models at once; CMYK makes most sense for professional printing. e.g. \definecolor[CompanyBlue][r=0,g=0,b=1,c=1,m=1,y=0,k=0] and see https

Re: [NTG-context] Which color model shall I use

2018-10-01 Thread Jan U. Hasecke
On 30.09.18 17:16, Henning Hraban Ramm wrote: > > Hi juh, > > you can define colors in several color models at once; CMYK makes most sense > for professional printing. > > e.g. \definecolor[CompanyBlue][r=0,g=0,b=1,c=1,m=1,y=0,k=0] > > and see https://wik

Re: [NTG-context] Which color model shall I use

2018-09-30 Thread Hans Hagen
On 9/30/2018 7:22 PM, Alan Braslau wrote: On Sun, 30 Sep 2018 19:07:24 +0200 Hans Hagen wrote: Luckily I never had to match corporate colors of different models in ConTeXt... the worst are colors specs with 4 decimals based on some design made in indesign where one has at most 256 values per

Re: [NTG-context] Which color model shall I use

2018-09-30 Thread Alan Braslau
On Sun, 30 Sep 2018 19:07:24 +0200 Hans Hagen wrote: > > Luckily I never had to match corporate colors of different models in > > ConTeXt... > the worst are colors specs with 4 decimals based on some design made in > indesign where one has at most 256 values per channel and then some > desig

Re: [NTG-context] Which color model shall I use

2018-09-30 Thread Hans Hagen
On 9/30/2018 5:16 PM, Henning Hraban Ramm wrote: Luckily I never had to match corporate colors of different models in ConTeXt... the worst are colors specs with 4 decimals based on some design made in indesign where one has at most 256 values per channel and then some designer looking at his d

Re: [NTG-context] Which color model shall I use

2018-09-30 Thread Hans Hagen
colors. What is the best approach for defining colors in print materials? What color model shall I use? RGB or CMYK? For the background. We have some SVG graphics we use on the website. They are defined in RGB color model. And we use them in the print materials as well. I tend to define RGB

Re: [NTG-context] Which color model shall I use

2018-09-30 Thread Henning Hraban Ramm
g RGB > colors and then derived CMYK colors. > > What is the best approach for defining colors in print materials? What > color model shall I use? RGB or CMYK? > > For the background. We have some SVG graphics we use on the website. > They are defined in RGB color model. And

[NTG-context] Which color model shall I use

2018-09-30 Thread Jan U. Hasecke
defining colors in print materials? What color model shall I use? RGB or CMYK? For the background. We have some SVG graphics we use on the website. They are defined in RGB color model. And we use them in the print materials as well. I tend to define RGB colors in my print documents so that the colors of

Re: [NTG-context] \basegrid ignores color

2018-03-23 Thread Hans Hagen
color option.  That's kind of obvious because as I look at the code I don't see the color being communicated to Metapost at any point.  When you're at it, could you please also add a rulethickness parameters?  Thanks! Reproducible in TL2018 pertest and latest beta.  MWE is b

Re: [NTG-context] \basegrid ignores color

2018-03-22 Thread Henri Menke
Bump! I attached the updated core file to make it easier for you. On Wed, 2018-03-21 at 09:51 +1300, Henri Menke wrote: > Dear devs, > > The \basegrid macro ignores its color option.  That's kind of obvious because > as > I look at the code I don't see the color being

[NTG-context] \basegrid ignores color

2018-03-20 Thread Henri Menke
Dear devs, The \basegrid macro ignores its color option.  That's kind of obvious because as I look at the code I don't see the color being communicated to Metapost at any point.  When you're at it, could you please also add a rulethickness parameters?  Thanks! Reproducible in TL2

Re: [NTG-context] Presentation sections identified by color and mark

2018-02-04 Thread Hans Hagen
On 2/3/2018 10:02 PM, jmm...@us.es wrote: Hi, I'm starting a presentation with ConTeXt. I'd like to visually differentiate each section, so I've come up with two complementary approaches to do that: * Use a different color palette for each section, and * Mark the progress bar

[NTG-context] Presentation sections identified by color and mark

2018-02-03 Thread jmmora
Hi, I'm starting a presentation with ConTeXt. I'd like to visually differentiate each section, so I've come up with two complementary approaches to do that: * Use a different color palette for each section, and * Mark the progress bar to indicate the start of each section. I&#

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-19 Thread Aditya Mahajan
` > \usemodule[vim] > \definevimtyping[python][syntax=python, escape=on] > > \starttext > \startpython[highlight=1] > # Returns \m{\sum_{i=1}^{n}i \in F \int_i f} > \stoppython > \stoptext > ``` By default, the highlighting is done using the bars mechanism. It works fo

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-19 Thread Aditya Mahajan
s done using the bars mechanism. It works  for simple cases but fails with math mode (the spaces are not covered).  One option is to highlight using the textbackground mechanism: \definetextbackground[texthighlight]  [    background=color,    backgroundcolor=gray,    frame=off,  ] \d

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-19 Thread Henri Menke
ttext > > \startpython[highlight=1] > > # Returns \m{\sum_{i=1}^{n}i \in F \int_i f} > > \stoppython > > \stoptext > > ``` > By default, the highlighting is done using the bars mechanism. It works  > for simple cases but fails with math mode (the spaces are

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-19 Thread Gerion Entrup
[highlight=1] > > # Returns \m{\sum_{i=1}^{n}i \in F \int_i f} > > \stoppython > > \stoptext > > ``` > > By default, the highlighting is done using the bars mechanism. It works > for simple cases but fails with math mode (the spaces are not covered). > One option is to highlight

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-19 Thread Aditya Mahajan
tion is to highlight using the textbackground mechanism: \definetextbackground[texthighlight] [ background=color, backgroundcolor=gray, frame=off, ] \define[1]\texthighlight{\starttexthighlight#1\stoptexthighlight} \usemodule[vim] \definevimtyping[python][synt

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-18 Thread Gerion Entrup
t familiar enough with TeX or ConTeXt to get the TeX part to work, so the escapechar '°' is hardcoded at the moment. If you like the patch, this has to be fixed. Another problem, as you see in the above example, is, that vim interprets the second ')' in the startcpp section as c

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-17 Thread Aditya Mahajan
{\sum_{i=1}^{n}i} def sum_upto(\m{n \in \mathbb{N}}) r = range(1, \m{n} + 1) return sum(r) \stoppython \stoptext ``` Another option will be to use the algorithmic module: https://bitbucket.org/wolfs/algorithmic/src/ 2. It would be cool, if I can define some background color for the code. Unf

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-17 Thread Henri Menke
1, \m{n} + 1) > return sum(r) > \stoppython > \stoptext > ``` > > 2. It would be cool, if I can define some background color for the code.  > Unfortunately I'm very new to context and haven't seen a direct option. I  > assume this is possible with some kind of extra e

[NTG-context] t-vim module: math in "normal" code and background color

2017-07-17 Thread Gerion Entrup
e[vim] \definevimtyping[python][syntax=python, escape=on] \starttext \startpython # Returns \m{\sum_{i=1}^{n}i} def sum_upto(\m{n \in \mathbb{N}}) r = range(1, \m{n} + 1) return sum(r) \stoppython \stoptext ``` 2. It would be cool, if I can define some background color for the code. Unfortunately I'

[NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-19 Thread Benjamin Buchmuller
Hi Hans, the patch solves the issue. Thank you for the fast reply. With regard to Pablo’s question: When I would not use crop in the MWE, apparently I would get the desired output indeed. However, in the situation I was using the command to produce a document, I would need to crop some parts of

Re: [NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-19 Thread Hans Hagen
On 12/18/2016 11:00 PM, Benjamin Buchmuller wrote: Hi Hans, I finally managed to make a MWE. The issue is related to me using \clip{…} onto external figures I would like to crop in conjunction with a colored footer set-up: \starttext \setupfooter[color=red] \setupfootertexts

Re: [NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-18 Thread Pablo Rodriguez
what happens if you don’t use \clip? Pablo > \starttext > > \setupfooter[color=red] > > \setupfootertexts > [] > [] > [any text] % issue related to put something in footer ... > [] > > \input knuth

[NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-18 Thread Benjamin Buchmuller
Hi Hans, I finally managed to make a MWE. The issue is related to me using \clip{…} onto external figures I would like to crop in conjunction with a colored footer set-up: \starttext \setupfooter[color=red] \setupfootertexts [] [] [any

Re: [NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-04 Thread Benjamin Buchmuller
Hi Hans, thank you for your help. I tried exactly as you suggested, which worked fine, but adopting for the case being with \setupfootertexts[\strut{\color[MyColor]{footers}}\strut][][][…same…] (further, footer texts change in the course of the document and call markings, page numbers etc

Re: [NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-04 Thread Hans Hagen
On 12/4/2016 4:05 AM, Benjamin Buchmuller wrote: When I have \setupfooter[color=red, style=bold] (same goes with \setupfooter[style=red]) and a tex text text % <<<< page breaks here after typesetting >>>> \startplacefigure[ %location=force, % no matter what

[NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-03 Thread Benjamin Buchmuller
When I have \setupfooter[color=red, style=bold] (same goes with \setupfooter[style=red]) and a tex text text % <<<< page breaks here after typesetting >>>> \startplacefigure[ %location=force, % no matter what I do here title={Caption.} ] … something …

Re: [NTG-context] Change the color of the number of subsection

2016-07-27 Thread Wolfgang Schuster
Fabrice Couvreur 27. Juli 2016 um 12:32 Hi Henri, Thank you, it works. What's weird is that I used \setuphead [subsection][...] once unsuccessfully probably a mistake on my part. When you’re unsure which keys and values are available for a command take a look

Re: [NTG-context] Change the color of the number of subsection

2016-07-27 Thread Fabrice Couvreur
; > \starttext > > \setuphead > [subsection] > [ > sectionsegments=subsection:subsection, > color=darkred, > ] > > \startsubsection[title={Recherche d'une fonction sous contraintes}] > \stopsubsection > > \stoptext > > On 07/27/2016 11:2

Re: [NTG-context] Change the color of the number of subsection

2016-07-27 Thread Henri Menke
Hi Fabrice, use \setuphead (see below). Cheers, Henri --- \starttext \setuphead [subsection] [ sectionsegments=subsection:subsection, color=darkred, ] \startsubsection[title={Recherche d'une fonction sous contraintes}] \stopsubsection \stoptext On 07/27/2016 11:24 AM, Fa

[NTG-context] Change the color of the number of subsection

2016-07-27 Thread Fabrice Couvreur
Hello, With this \startsubsection [title={\darkred Recherche d'une fonction sous contraintes}, sectionsegments=subsection:subsection, numbercommand={\darkred}] it does not work. Thanks Fabrice ___ If your q

Re: [NTG-context] TikZ node and color

2016-07-05 Thread Christoph Reller
On Tue, 5 Jul 2016 10:21:48 +0200, Hans Hagen wrote: > On 7/5/2016 9:25 AM, Christoph Reller wrote: >> Dear List, >> >> I use the latest version of ConTeXt and I have the following MWE: >> >> \usemodule[tikz] >> \starttext >> \starttikzpicture

Re: [NTG-context] TikZ node and color

2016-07-05 Thread Hans Hagen
On 7/5/2016 9:25 AM, Christoph Reller wrote: Dear List, I use the latest version of ConTeXt and I have the following MWE: \usemodule[tikz] \starttext \starttikzpicture \node {\color[red]{red}}; \node[xshift=30] {\color[red]{not red}}; \stoptikzpicture \stoptext Can anybody tell me

[NTG-context] TikZ node and color

2016-07-05 Thread Christoph Reller
Dear List, I use the latest version of ConTeXt and I have the following MWE: \usemodule[tikz] \starttext \starttikzpicture \node {\color[red]{red}}; \node[xshift=30] {\color[red]{not red}}; \stoptikzpicture \stoptext Can anybody tell me why the second node is not colored red? Aside

Re: [NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Nicola
On 2016-05-30 16:45:37 +, Wolfgang Schuster said: Nicola 30. Mai 2016 um 17:45 I'd like to set a default background color for all the tables in my document. This is what I have tried (using the latest beta): \setuptables[background=color,backgroundcolor=red] \starttext \starttabl

Re: [NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Wolfgang Schuster
Nicola <mailto:nvitacolo...@gmail.com> 30. Mai 2016 um 17:45 I'd like to set a default background color for all the tables in my document. This is what I have tried (using the latest beta): \setuptables[background=color,backgroundcolor=red] \starttext \starttable[|cm|]

[NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Nicola
I'd like to set a default background color for all the tables in my document. This is what I have tried (using the latest beta): \setuptables[background=color,backgroundcolor=red] \starttext \starttable[|cm|] \HL \NC \bf R \NC \AR \NC A \NC \AR

Re: [NTG-context] Ligature color is not reliable

2016-04-11 Thread Jan Tosovsky
On 2016-04-11 Hans Hagen wrote: > On 4/11/2016 9:06 PM, Jan Tosovsky wrote: > > On 2016-04-09 Jan Tosovsky wrote: > >> > >> for an illustration I wanted to colorize all ligatures, but the > >> following method is not reliable for three character ligatures > >> - which ends up black. > >> > >> While

Re: [NTG-context] Ligature color is not reliable

2016-04-11 Thread Hans Hagen
On 4/11/2016 9:06 PM, Jan Tosovsky wrote: On 2016-04-09 Jan Tosovsky wrote: for an illustration I wanted to colorize all ligatures, but the following method is not reliable for three character ligatures - which ends up black. While tested with Palatino, it can be simulated even with a default

Re: [NTG-context] Ligature color is not reliable

2016-04-11 Thread Jan Tosovsky
On 2016-04-09 Jan Tosovsky wrote: > > for an illustration I wanted to colorize all ligatures, but the > following method is not reliable for three character ligatures > - which ends up black. > > While tested with Palatino, it can be simulated even with > a default font (however there are missi

[NTG-context] Ligature color is not reliable

2016-04-09 Thread Jan Tosovsky
Dear All, for an illustration I wanted to colorize all ligatures, but the following method is not reliable for three character ligatures - which ends up black. While tested with Palatino, it can be simulated even with a default font (however there are missing ffi and ffl ligatures). \definefontf

Re: [NTG-context] color (rendering) intent

2015-08-10 Thread Henning Hraban Ramm
Am 2015-08-11 um 01:12 schrieb Peter Rolf : >>> Thank you! So I can document that key for \setupcolors? (Does it do >>> anything? Different from \setupbackend?) >> >> it should add some group info in the pdf > > If I remember correctly this sets the complete document (global) to > 'overprint' (o

Re: [NTG-context] color (rendering) intent

2015-08-10 Thread Peter Rolf
Am 10.08.2015 um 18:58 schrieb Hans Hagen: > On 8/10/2015 5:23 PM, Henning Hraban Ramm wrote: >> >> Am 2015-08-10 um 17:52 schrieb Hans Hagen : >> >>> On 8/10/2015 10:28 AM, Henning Hraban Ramm wrote: Hi, in http://wiki.contextgarden.net/Context_2009.10.27#Data_files there’s:

Re: [NTG-context] color (rendering) intent

2015-08-10 Thread Hans Hagen
On 8/10/2015 5:23 PM, Henning Hraban Ramm wrote: Am 2015-08-10 um 17:52 schrieb Hans Hagen : On 8/10/2015 10:28 AM, Henning Hraban Ramm wrote: Hi, in http://wiki.contextgarden.net/Context_2009.10.27#Data_files there’s: • new parameter for \setupcolors: intent=none|overprint|knockout

Re: [NTG-context] color (rendering) intent

2015-08-10 Thread Henning Hraban Ramm
Am 2015-08-10 um 17:52 schrieb Hans Hagen : > On 8/10/2015 10:28 AM, Henning Hraban Ramm wrote: >> Hi, >> in http://wiki.contextgarden.net/Context_2009.10.27#Data_files >> there’s: >> • new parameter for \setupcolors: intent=none|overprint|knockout >> >> I had \setupcolors[intent=overprint]

Re: [NTG-context] color (rendering) intent

2015-08-10 Thread Hans Hagen
On 8/10/2015 10:28 AM, Henning Hraban Ramm wrote: Hi, in http://wiki.contextgarden.net/Context_2009.10.27#Data_files there’s: • new parameter for \setupcolors: intent=none|overprint|knockout I had \setupcolors[intent=overprint] in my environments, but since a few betas, I get „overprint

[NTG-context] color (rendering) intent

2015-08-10 Thread Henning Hraban Ramm
. Now I changed this to \setupcolors[intent={Uncoated FOGRA29 (ISO 12647-2:2004)}], and it works again. As far as I can see, it doesn’t change anything, I find no color intent mentioned in the PDF. The color profiles are listed in http://wiki.contextgarden.net/PDFX for \setupbackend; intent in

[NTG-context] Wiki page on color

2015-06-10 Thread Aditya Mahajan
look at both pages: [1]: http://wiki.contextgarden.net/Color [2]: http://wiki.contextgarden.net/Color/sandbox If you think that there is information on the original page that needs to go to the new page, move it there. After a few days, I'll move page [2] to page [1]. A

Re: [NTG-context] URLs in color including underbar

2015-05-18 Thread Alexander Shukaev
> > ​​ > \definebar[urlbar][underbar] > > \setupurl[style=\mono\urlbar,color=blue] > ​Interesting, thank you, Hans, it indeed works as expected. Could you supplement this with some explanations, i.e. why this one works compared to using plain `underbar'?​ I assume

Re: [NTG-context] URLs in color including underbar

2015-05-18 Thread Hans Hagen
On 5/17/2015 8:07 PM, Alexander Shukaev wrote: Hello, So far I came up with the following solution: \setupurl[ style={\mono\underbar}, color={blue}, ] \def \url{% \dosingleargument \dourl } \def \dourl[#1]{% \begingroup \setupbar[% style={\urlparameter{style

[NTG-context] URLs in color including underbar

2015-05-18 Thread Alexander Shukaev
Hello, So far I came up with the following solution: \setupurl[ style={\mono\underbar}, color={blue}, ] \def \url{% \dosingleargument \dourl } \def \dourl[#1]{% \begingroup \setupbar[% style={\urlparameter{style}}, color={\urlparameter{color}}, ]% \from[#1

Re: [NTG-context] \starttyping font changes when option=color

2015-04-09 Thread Wolfgang Schuster
> Am 09.04.2015 um 14:02 schrieb robin.kirk...@csiro.au: > > Folks, > > Switching the option to “color” in \setuptyping has the effect of resetting > the font from typewriter (constant width) to paragraph font (if you uncomment > it in the following MWE). > > I d

[NTG-context] \starttyping font changes when option=color

2015-04-09 Thread Robin.Kirkham
Folks, Switching the option to “color” in \setuptyping has the effect of resetting the font from typewriter (constant width) to paragraph font (if you uncomment it in the following MWE). I don’t see why that should be. Is it a bug or can someone explain? My intent was to use syntax

Re: [NTG-context] Color in an environment

2015-03-30 Thread Fabrice
Hi Wolfgang, I would first like to express once again my admiration for your knowledge and attention that you have to explain clearly. The code is cleaner, but I want the title ("DÉFINITION :Expérience aléatoire") is not in the colored frame, that is to say, as my original code. Best regards,

Re: [NTG-context] Color in an environment

2015-03-29 Thread Wolfgang Schuster
> Am 29.03.2015 um 22:05 schrieb Fabrice Couvreur : > > Hi, > > 1. In the following code, the color is not included in the \startframedtext > \stopframedtext environment Remove the \MPcolor command, it is only needed for meatiest graphics. You can also remove \setup

[NTG-context] Color in an environment

2015-03-29 Thread Fabrice Couvreur
Hi, 1. In the following code, the color is not included in the \startframedtext \stopframedtext environment 2. How can the height of the red square adapts to the height of the text ? 3. Can we improve the code ? Best regards, Fabrice \setupcolors[state=start] \definecolor[mycolor][c=0.00, m

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-07 Thread Fabrice
Hi, The latest t-tikz.tex form Hans solves the problems both in TL 2014 and standalone. The same for me, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : nt

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-07 Thread luigi scarso
On Thu, Nov 6, 2014 at 10:28 PM, Herbert Voss wrote: > Am 06.11.2014 um 21:16 schrieb luigi scarso: > > > > \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] > [...] > > > \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] > > > > > The problem seems to be > >

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Herbert Voss
Am 06.11.2014 um 21:16 schrieb luigi scarso: > > \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] [...] > \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] > The problem seems to be > %,framecolor=H1prime] I have no problem with "framecolor=H1prime" sett

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Hans Hagen
m, outer sep=0pt, draw=white, thick, line join=round, shading=ball, text=white, }, face color/.style={cube face/.append style={ball color=#1}}, pics/cube/.style args={#1 with #2}{ code={ \node [cube face, label={[name=-label]below:#2}] (-front) {#1}; \node [cube

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread luigi scarso
{% cube join/.style={ thick, -{Stealth}, }, cube face/.style={ minimum size=1cm, outer sep=0pt, draw=white, thick, line join=round, shading=ball, text=white, }, face color/.style={cube face/.append style={ball color=#1}}, pics/cube/.style args={#1 with #2}{ code={

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread luigi scarso
itioning] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \tikzset{% cube join/.style={ thick, -{Stealth}, }, cube face/.style={ minimum size=1cm, outer sep=0pt, draw=white, thick, line join=round, shading=ball, text=wh

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Aditya Mahajan
On Thu, 6 Nov 2014, Fabrice wrote: Hi Hans, It's true, I'm a little confused. In fact, the problem is the \ starttikzpicture \ endtikzpicture. As Hans said, you need to create a smaller example, and explain what you mean by "the problem". A blind guess is that \starttikzpicture ... \stopti

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Fabrice
efinecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \tikzset{% cube join/.style={ thick, -{Stealth}, }, cube face/.style={ minimum size=1cm, outer sep=0pt, draw=white, thick, line join=round, shading=ball, text=white, }, face color/.style={cube face/.append style={bal

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Hans Hagen
On 11/5/2014 7:41 PM, Fabrice wrote: Hi Hans, For spaces parasites, it is my fault because I copy and paste my code. However, I do not understand why this code does not work : You need to make real small example as I have no clue what to look at or expect (btw, you use \color[geen] which I

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-05 Thread Fabrice
][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \tikzset{% cube join/.style={ thick, -{Stealth}, }, cube face/.style={ minimum size=1cm, outer sep=0pt, draw=white, thick, line join=round, shading=ball, text=white, }, face color

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-05 Thread Hans Hagen
t to " 4cm" which is a valid dimension as when tex scans it it gobbles spaces " H1prime" as color could work in some cases when a color with a space in the name is defined spaces

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-04 Thread Fabrice
Hi, The problem is the \setupTABLE [column] [1] [[width = 4cm, align = {right, lohi}, frame = on, FrameColor = H1prime]. We must not put FrameColor = H1prime. Fabrice ___ If your question is of interest to others as

[NTG-context] Strange behavior with the command \color[]{}

2014-11-02 Thread Fabrice Couvreur
\bTR \bTD \color[orange]{\tfa Suite d'instructions correspondant au programme de calcul :} \eTD \bTD \eTD \bTD \color[orange]{\tfa Valeur de la variable $X$ après l'exécution de chaque instruction :} \eTD \eTR \bTR \bTD $X$ prend la valeur $7$ \eTD \bTD \dontleavehmode \startMP

Re: [NTG-context] \in, \at but without font/color change in the PDF

2014-08-26 Thread Wolfgang Schuster
> changes font to bold and colour to green, and I do not want that. > > What do I need to do to make the text classic, that is without font and > colour change? \setupinteraction [style=, color=, cont

[NTG-context] \in, \at but without font/color change in the PDF

2014-08-26 Thread Gerben Wierda
Suppose I want to make a fully classical flat text without interaction (no clickable links in the PDF). How do I get this? If I use \in or \at, ConTeXt turns them into clickable links. That is not my problem so much, but it also changes font to bold and colour to green, and I do not want that.

[NTG-context] A bug color in tikz

2014-07-30 Thread Xan
Hi, It's an annoying bug of TikZ with ConTexT: in some circumstances, the content after a tikzpicture is coloured. I refered it [here](http://www.ntg.nl/pipermail/ntg-context/2014/077374.html), and it's also present in the latest version of the minimals. Anyone could check it if he/she finds a

Re: [NTG-context] Color of the "headers" of one enumeration

2014-03-25 Thread Xan
> Am 24.03.2014 um 14:39 schrieb Xan : > > > Hi, > > > > I have this > > \defineenumeration > > [punt] > > > > [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit] > > > > So I get "

Re: [NTG-context] Color of the "headers" of one enumeration

2014-03-24 Thread Wolfgang Schuster
Am 24.03.2014 um 14:39 schrieb Xan : > Hi, > > I have this > \defineenumeration > [punt] > > [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit] > > So I get "Punt 1. bla,..." How

[NTG-context] Color of the "headers" of one enumeration

2014-03-24 Thread Xan
Hi, I have this \defineenumeration [punt] [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit] So I get "Punt 1. bla,..." How can I achieve that "Punt 1." were in darkblue? Now I j

Re: [NTG-context] Obscure math/color "bug" (namespace clash)

2014-02-22 Thread Hans Hagen
On 2/19/2014 9:53 AM, Alan BRASLAU wrote: Hello, I came across the following obscure math/color namespace clash: \definecolor [tan] [h=d2b48c] % Taken from \setupcolor [x11] \starttext $\tan θ$ \stoptext One solution would

[NTG-context] Obscure math/color "bug" (namespace clash)

2014-02-19 Thread Alan BRASLAU
Hello, I came across the following obscure math/color namespace clash: \definecolor [tan] [h=d2b48c] % Taken from \setupcolor [x11] \starttext $\tan θ$ \stoptext One solution would be to give precedence in math mode to the

Re: [NTG-context] Metafun: numeric=color

2014-01-30 Thread Hans Hagen
: Preloading the plain mem file, version 1.004 for metafun ii >> cyan >> (0,1,1) ! Equation cannot be performed (numeric=color). Unfortunately I cannot reproduce this error message in a minimal example, but can anyone tell me whether something has changed in MetaP

[NTG-context] Metafun: numeric=color

2014-01-29 Thread Otared Kavian
, version 1.004 for metafun ii >> cyan >> (0,1,1) ! Equation cannot be performed (numeric=color). Unfortunately I cannot reproduce this error message in a minimal example, but can anyone tell me whether something has changed in MetaPost? Best

Re: [NTG-context] Something weird with white color

2013-08-01 Thread Bertrand Masson
Le 01/08/2013 01:37, Hans Hagen a écrit : tricky nesting at the pdf level .. seems like i need to use bit more magic there ... fixed in beta Hans Thank you for your work on ConText. I already love working with ConTeXt, and if you adds magic, it will be fantastic. Bertrand _

Re: [NTG-context] Something weird with white color

2013-07-31 Thread Hans Hagen
On 7/31/2013 11:09 PM, Bertrand Masson wrote: Hello, The following code does not work, the second white ConTeXt is black !!! \setupbackgrounds[page][background=color,backgroundcolor=blue] \starttext {\rotate[rotation=90]{\definedfont[SansBold at 24pt]\white \ConTeXt}} {\definedfont[SansBold

[NTG-context] Something weird with white color

2013-07-31 Thread Bertrand Masson
Hello, The following code does not work, the second white ConTeXt is black !!! \setupbackgrounds[page][background=color,backgroundcolor=blue] \starttext {\rotate[rotation=90]{\definedfont[SansBold at 24pt]\white \ConTeXt}} {\definedfont[SansBold at 16pt] \white ConTeXt} \stoptext No problem

Re: [NTG-context] Change URL color to match layer

2013-07-30 Thread Michael Ash
I think that I have found an answer: in the \setupinteraction command that manages URL's, hyperlinks, PDF properties, etc. include color=,contrastcolor=, \usemodule[letter] %% Would like this URL to match the color of the return address ("location") \useURL[author-em

Re: [NTG-context] Change URL color to match layer

2013-07-30 Thread Wolfgang Schuster
Am 30.07.2013 um 23:57 schrieb Michael Ash : > I would like to change the color of URL's in parts of a document. > > In particular I am using the letter module and would like to have the color > of URL's match the color of text in the letterhead and then change to mat

[NTG-context] Change URL color to match layer

2013-07-30 Thread Michael Ash
I would like to change the color of URL's in parts of a document. In particular I am using the letter module and would like to have the color of URL's match the color of text in the letterhead and then change to match the color in the main body of the letter. I can set the URL color

Re: [NTG-context] background color for makeups

2013-06-19 Thread Pablo Rodríguez
s >> the way to do this? > > why not just > > \startstandardmakeup[align=middle] > content to be centered > \stopstandardmakeup > > \setupbackgrounds[page][background=color,backgroundcolor=red] > > \startstandardmakeup[align=middle] > content

Re: [NTG-context] background color for makeups

2013-06-18 Thread Hans Hagen
: \startsetups[setups:redcolor] \setupbackgrounds[page][background=color,backgroundcolor=red] \stopsetups \startstandardmakeup[setups=setups:redcolor] content \stopstandardmakeup why not just \startstandardmakeup[align=middle] content to be centered \stopstandardmakeup

[NTG-context] background color for makeups

2013-06-18 Thread Pablo Rodríguez
have tried with (what I understand from) setups: \startsetups[setups:redcolor] \setupbackgrounds[page][background=color,backgroundcolor=red] \stopsetups \startstandardmakeup[setups=setups:redcolor] content \stopstandardmakeup But it didn't work. Could you he

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
Aditya, thanks. I like this Lua way, but I have to explore the Lua world first. Ok, reading PIL and coding in Lua. Tim> Date: Tue, 23 Apr 2013 10:51:24 -0400 > From: adit...@umich.edu > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Set background color for a single page >

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Aditya Mahajan
Aditya, I want to know both please. Now I use the \start \definecolor ... ... \startmakeup[standard] ... \stopmakeup \stopto assign a specific color to the tilepage whose content is on a single page exactly. But I don't know how to set the background for a single page, say, page 3

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
Aditya, I want to know both please. Now I use the \start \definecolor ... ... \startmakeup[standard] ... \stopmakeup \stopto assign a specific color to the tilepage whose content is on a single page exactly. But I don't know how to set the background for a single page, say, page 3

<    1   2   3   4   5   6   7   8   >