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 defin

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

2018-11-14 Thread Jan U. Hasecke
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 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

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

[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 spa

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 >

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

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
ining 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. A

[NTG-context] Which color model shall I use

2018-09-30 Thread Jan U. Hasecke
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 colors in my print documents so that the colors

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 below (as always

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 communica

[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 TL2018 pertest

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 to indicate

[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've done an small

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

2017-07-19 Thread Aditya Mahajan
m] > \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 for simple cases but f

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

2017-07-19 Thread Aditya Mahajan
s 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,  ] \define[1]\texthighlig

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

2017-07-19 Thread Henri Menke
rtpython[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).  &

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

2017-07-19 Thread Gerion Entrup
gt; # 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 using the textbackgr

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

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

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

2017-07-18 Thread Gerion Entrup
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 color code "Error", so the whol

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

2017-07-17 Thread Aditya Mahajan
}^{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. Unfortunately

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

2017-07-17 Thread Henri Menke
{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 environment arou

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

2017-07-17 Thread Gerion Entrup
] \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'm very new

[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

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
ut what happens if you don’t use \clip? Pablo > \starttext > > \setupfooter[color=red] > > \setupfootertexts > [] > [] > [any text] % issue related to put something in footer ... > [] > >

[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

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

2016-07-27 Thread Fabrice Couvreur
t; > Cheers, Henri > > --- > > \starttext > > \setuphead > [subsection] > [ > sectionsegments=subsection:subsection, > color=darkred, > ] > > \startsubsection[title={Recherche d'une fonction sous contraintes}] > \stopsubsection > > \s

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, Fabrice

[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

Re: [NTG-context] TikZ node and color

2016-07-06 Thread Christoph Reller
On Tue, 5 Jul 2016 10:21:48 +0200, Hans Hagen <pra...@wxs.nl> 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 >>

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 \starttable[|cm

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 \HL

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

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

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

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 pra...@wxs.nl: 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:

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

2015-08-10 Thread Henning Hraban Ramm
Am 2015-08-10 um 17:52 schrieb Hans Hagen pra...@wxs.nl: 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

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 pra...@wxs.nl: 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

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

2015-08-10 Thread Henning Hraban Ramm
Am 2015-08-11 um 01:12 schrieb Peter Rolf indi...@gmx.net: 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'

[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

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

[NTG-context] Wiki page on color

2015-06-10 Thread Aditya Mahajan
a 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]. Aditya

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 that the `color' key is overridden

[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] 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] \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] \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 don’t see why that should

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,

[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] Color in an environment

2015-03-29 Thread Wolfgang Schuster
Am 29.03.2015 um 22:05 schrieb Fabrice Couvreur fabrice1.couvr...@gmail.com: 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

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 herbert.v...@fu-berlin.de 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

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 :

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-06 Thread Fabrice
[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={ball color=#1

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

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

2014-11-06 Thread luigi scarso
=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 face] (-top) at (-front.north west) [anchor=south west, xslant=1, yscale=1/3] {}; \node [cube

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

2014-11-06 Thread luigi scarso
] \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={ball color=#1}}, pics/cube/.style args={#1 with #2

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

2014-11-06 Thread Hans Hagen
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={ \node [cube face, label={[name=-label]below:#2}] (-front) {#1}; \node

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 setting. I

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

2014-11-05 Thread Hans Hagen
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 after commas are ignores Hans

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-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
\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 \startMPcode input hvdm

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

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

2014-08-26 Thread Wolfgang Schuster
, but it also 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=, contrastcolor=] Wolfgang

[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

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

2014-03-25 Thread Xan
Am 24.03.2014 um 14:39 schrieb Xan dxpublica at telefonica.net: 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

[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 just

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 dxpubl...@telefonica.net: 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

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

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 MetaPost? fixed

[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 regards: OK

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

[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] 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] 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 once

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 m...@econs.umass.edu: 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

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-email][mailto:aut...@myhome.com

Re: [NTG-context] background color for makeups

2013-06-19 Thread Pablo Rodríguez
\startstandardmakeup[align=middle] content to be centered \stopstandardmakeup \setupbackgrounds[page][background=color,backgroundcolor=red] \startstandardmakeup[align=middle] content \stopstandardmakeup Well, so stupid it sounds, I had no idea this was possible (I thought

[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 help me

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] Set background color for a single page

2013-04-23 Thread Tim Li
Sometimes, I only want a single page, say, the titlepage or page 32, with colored background rather that the whole document. Here are some codes: \starttext% titlepage (yellow) \startmakeup[standard] \midaligned{How to make document} \stopmakeup % page1 (gray) Many \CONTEXT\ users $\ldots$ \page

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

2013-04-23 Thread Aditya Mahajan
Another alternative is to pick the color from a list using \convertnumber{colors}{userpage}, similar to the solution at http://tex.stackexchange.com/a/54062/323 Aditya ___ If your question is of interest to others

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

2013-04-23 Thread Tim Li
Aditya, Thanks. Defining a color conversion is a good idea, and we can apply this conversion easily to somethings like chapter, section, etc. which has a `color' filed to assign, but not pages. Is there a way to set the color of a page like that done for chapters and sections? Tim Date: Tue

<    1   2   3   4   5   6   7   >