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

2013-04-23 Thread Aditya Mahajan
On Tue, 23 Apr 2013, Tim Li wrote: 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

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

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, 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 Aditya, I want

[NTG-context] Underlay a text with color

2013-04-18 Thread H. Özoguz
Hi, how to underlay a text (or simply one word) with a (grey) colored rectangle, just to highlight – like if I had marked it by hand with a grey marker-pen? Thanks. Huseyin ___ If your question is of interest to

Re: [NTG-context] Underlay a text with color

2013-04-18 Thread Marco Patzer
On 2013–04–18 H. Özoguz wrote: how to underlay a text (or simply one word) with a (grey) colored rectangle, just to highlight – like if I had marked it by hand with a grey marker-pen? \definetextbackground [marker] [background=color, backgroundcolor=yellow, frame=off] \starttext

[NTG-context] [***SPAM***] Underlay a text with color

2013-04-18 Thread H. Özoguz
Marco Thanks Marco, but I was not precise enough: I want this underlied gray in the header for the chapter-marking. The direct attempt below fails: \definetextbackground [marker] [background=color, backgroundcolor=gray, frame=off] \setupheadertexts[][ {\marker{\getmarking[section

Re: [NTG-context] [***SPAM***] Underlay a text with color

2013-04-18 Thread Marco Patzer
On 2013–04–18 H. Özoguz wrote: Thanks Marco, but I was not precise enough: I want this underlied gray in the header for the chapter-marking. The direct attempt below fails: \definetextbackground [marker] [background=color, backgroundcolor=gray, frame=off] \setupheadertexts

Re: [NTG-context] Underlay a text with color

2013-04-18 Thread Aditya Mahajan
On Thu, 18 Apr 2013, H. Özoguz wrote: Hi, how to underlay a text (or simply one word) with a (grey) colored rectangle, just to highlight – like if I had marked it by hand with a grey marker-pen? http://randomdeterminism.wordpress.com/2010/10/31/can-i-borrow-your-highlighter-please/

[NTG-context] How to change the color of numbers just before the footnote text?

2013-04-15 Thread Tim Li
Now I have to change the color of numbers just before the footnote text so that it can match the color of text area. I try to do it like this: \def\myfootnotecolor#1{%\startcolor[red]#1\stopcolor} \setupfootnotes [numbercommand={\myfootnotecolor}] or \setupfootnotes [foregroundcolor

Re: [NTG-context] How to change the color of numbers just before the footnote text?

2013-04-15 Thread Wolfgang Schuster
Am 15.04.2013 um 10:44 schrieb Tim Li timli2...@outlook.com: Now I have to change the color of numbers just before the footnote text so that it can match the color of text area. I try to do it like this: \def\myfootnotecolor#1{% \startcolor[red]#1\stopcolor} \setupfootnotes

[NTG-context] [***SPAM***] Background color with dotted frame formula

2013-04-11 Thread hwitloc
=off,% for math have to use \mframed corner=0, background=color, backgroundcolor=gray, backgroundoffset=3pt] } \starttext Large font with rounded gray background \startformula \rndgraymath{\tfc e^{i\pi} + 1 = 0 } \stopformula \blank[big] Large font in dotted rounded frame gray

Re: [NTG-context] [***SPAM***] Background color with dotted frame formula

2013-04-11 Thread Hans Hagen
On 4/11/2013 2:39 PM, hwit...@gmail.com wrote: I am trying to make a rounded corner dotted frame with a formula on a gray background. I can't seem to get both the background and the dotted frame working well at the same time. Here is the same mkiv macros showing three specimens. #1 is

[NTG-context] Color red:3

2012-10-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, there is a color red:3 noticed at http://wiki.contextgarden.net/Colors. However, the following code doesn't work with color red:3 specification: \starttext \showcolor[rgb] \color[red]{AAA} \color[red:3]{AAA} \stoptext So, how it the matter with using red:3 correctly

Re: [NTG-context] Color red:3

2012-10-22 Thread luigi scarso
On Mon, Oct 22, 2012 at 11:10 AM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello, there is a color red:3 noticed at http://wiki.contextgarden.net/**Colorshttp://wiki.contextgarden.net/Colors . However, the following code doesn't work with color red:3 specification

Re: [NTG-context] Color red:3

2012-10-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Mon, 22 Oct 2012 11:11:08 +0200, luigi scarso luigi.sca...@gmail.com wrote: On Mon, Oct 22, 2012 at 11:10 AM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello, there is a color red:3 noticed at http://wiki.contextgarden.net/**Colorshttp://wiki.contextgarden.net/Colors

Re: [NTG-context] Color red:3

2012-10-22 Thread luigi scarso
, there is a color red:3 noticed at http://wiki.contextgarden.net/** **Colors http://wiki.contextgarden.net/**Colorshttp://wiki.** contextgarden.net/Colors http://wiki.contextgarden.net/Colors . However, the following code doesn't work with color red:3 specification: \starttext \showcolor

Re: [NTG-context] Color red:3

2012-10-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Ah ok , it was an image. The text says You find lists of predefined colors in the files colo-xxx.tex,.. but colo*tex it's an old file -- it should be colo-rgb.mkii , ie pdftex So %%test.mkii \setupcolors[state=start] \starttext \showcolor[rgb] \color[red]{AAA} \color[red:3]{AAA} \stoptext

Re: [NTG-context] Color red:3

2012-10-22 Thread Philipp Gesang
···date: 2012-10-22, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· I don't use MkII, so I'll avoid using red:3 with MkIV. You don’t have to, these colors were upgraded to a superior way of being defined (colo-imp-dem.mkiv):

Re: [NTG-context] Color red:3

2012-10-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Mon, 22 Oct 2012 13:53:31 +0200, Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de wrote: You don’t have to, these colors were upgraded to a superior way of being defined (colo-imp-dem.mkiv): · \setupcolor[dem]

Re: [NTG-context] Change color of EPS file.

2012-09-16 Thread Henning Hraban Ramm
2012/9/15 Troy Henderson thend...@gmail.com: Utilities are available in abundance which can transform raster graphics from color to grayscale, but until I created this yesterday, I have never seen a utility that keeps the graphic in vector format (i.e., never rasterizes it throughout

Re: [NTG-context] Change color of EPS file.

2012-09-15 Thread Rogers, Michael K
On Sep 15, 2012, at 1:36 AM, luigi scarso luigi.sca...@gmail.commailto:luigi.sca...@gmail.com wrote: On Sat, Sep 15, 2012 at 1:23 AM, Troy Henderson thend...@gmail.commailto:thend...@gmail.com wrote: and which uses Cairo and Poppler for its conversion. Now in order for my simplistic filter

Re: [NTG-context] Change color of EPS file.

2012-09-15 Thread Troy Henderson
. It was also strange to me that I couldn't easily create a TeX document with one set of graphics and have TeX generate two types of output, namely color and a grayscale, depending on the value of some parameters. Utilities are available in abundance which can transform raster graphics from color

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread pol stra
Aditya Mahajan adit...@umich.edu wrote: If you want to use eps images, why not just use a white background at ConTeXt end (as you had stated in your first message I think you misread: Pol wants the EPS to be white-on-transparent, instead of black-on-transparent, so that he can use it on a

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread Troy Henderson
I tested this on a black-on-transparent EPS that was created via MetaPost, and it seems to work fine. If you are not using Linux (or Unix or Mac OS X), let me know and I can probably put together a quick HTML page to do this on my server. cat foo.eps | sed -e s/0 0 0 setrgbcolor/1 1 1

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread Troy Henderson
I put together this little utility for converting a color EPS/PDF/SVG to grayscale. http://www.tlhiv.org/grayscale/ Selecting invert swaps colors from white to black and black to white. So, using a black/white graphic on a transparent background should transform it to a white/black graphic

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread Aditya Mahajan
On Fri, 14 Sep 2012, Troy Henderson wrote: I put together this little utility for converting a color EPS/PDF/SVG to grayscale. http://www.tlhiv.org/grayscale/ Selecting invert swaps colors from white to black and black to white. So, using a black/white graphic on a transparent background

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread Troy Henderson
For those that care, here is basically how the service works. The filter is applied to an SVG, and the uploaded graphic is converted to SVG using the following process: EPS - PDF - SVG PDF - SVG SVG - PDF - SVG where the EPS - PDF conversion is done with the standard `epstopdf` included with

Re: [NTG-context] Change color of EPS file.

2012-09-14 Thread luigi scarso
On Sat, Sep 15, 2012 at 1:23 AM, Troy Henderson thend...@gmail.com wrote: and which uses Cairo and Poppler for its conversion. Now in order for my simplistic filter to function, Why 'simplistic' and not 'simple' ? I always thought that its meaning is negative (something like 'simplistic'

Re: [NTG-context] Change color of EPS file.

2012-09-13 Thread Hans Hagen
On 12-9-2012 19:10, pol stra wrote: Hello, I have a EPS file wich contains black lines and no background. The background of my presentation is colored, so I would like to put this figure in white. I tried a \startcolor … \stopcolor environement without succed. Is there a way to do so? edit

Re: [NTG-context] Change color of EPS file.

2012-09-13 Thread Sietse Brouwer
Hello Pol stra, Off-topic for this mailing list, but on-topic for you: You can do this with Inkscape. * Install Inkscape: http://inkscape.org/download/?lang=en * Open the EPS in Inkscape Working white-on-white sucks, so * File Document properties click to the right of 'Background:', below the

Re: [NTG-context] Change color of EPS file.

2012-09-13 Thread pol stra
From: sbbrou...@gmail.com Date: Thu, 13 Sep 2012 13:45:20 +0200 Subject: Re: [NTG-context] Change color of EPS file. To: ntg-context@ntg.nl CC: r...@hotmail.fr Hello Pol stra, Off-topic for this mailing list, but on-topic for you: You can do this with Inkscape. * Install Inkscape

Re: [NTG-context] Change color of EPS file.

2012-09-13 Thread Aditya Mahajan
On Thu, 13 Sep 2012, pol stra wrote: Off-topic for this mailing list, but on-topic for you: You can do this with Inkscape. * Install Inkscape: http://inkscape.org/download/?lang=en * Open the EPS in Inkscape Working white-on-white sucks, so * File Document properties click to the right of

Re: [NTG-context] Change color of EPS file.

2012-09-13 Thread Sietse Brouwer
Aditya Mahajan adit...@umich.edu wrote: If you want to use eps images, why not just use a white background at ConTeXt end (as you had stated in your first message I think you misread: Pol wants the EPS to be white-on-transparent, instead of black-on-transparent, so that he can use it on a

[NTG-context] Change color of EPS file.

2012-09-12 Thread pol stra
with: \placefigure[left,none]{caption}{\externalfigure[demo-b][background=color,backgroundcolor=white]} Best regards ___ If your question is of interest to others as well

Re: [NTG-context] ConTeXt color to text

2012-09-04 Thread Peter Rolf
Am 03.09.2012 20:36, schrieb Hans Hagen: On 3-9-2012 18:59, Peter Rolf wrote: Hi, for a batch command (ImageMagick) I need to convert ConTeXt colors to a text representation (e.g. rgb 'red' - 'rgb(255,0,0)'; same for color models cmyk and gray). What is the best way to get (read only

[NTG-context] ConTeXt color to text

2012-09-03 Thread Peter Rolf
Hi, for a batch command (ImageMagick) I need to convert ConTeXt colors to a text representation (e.g. rgb 'red' - 'rgb(255,0,0)'; same for color models cmyk and gray). What is the best way to get (read only) access to the color channels of a defined color? Peter

Re: [NTG-context] ConTeXt color to text

2012-09-03 Thread Hans Hagen
On 3-9-2012 18:59, Peter Rolf wrote: Hi, for a batch command (ImageMagick) I need to convert ConTeXt colors to a text representation (e.g. rgb 'red' - 'rgb(255,0,0)'; same for color models cmyk and gray). What is the best way to get (read only) access to the color channels of a defined color

Re: [NTG-context] Grid lines color and disable

2012-08-15 Thread Xan
Al 14/08/12 19:32, En/na Hans Hagen ha escrit: On 14-8-2012 16:52, Xan wrote: Hi, I want to change color to red to black in \showgrid. Is it possible? By the other hand, I want to enable/disable the grid alternatively: I want to have for example 5 blank new pages and then leave the grid

[NTG-context] Grid lines color and disable

2012-08-14 Thread Xan
Hi, I want to change color to red to black in \showgrid. Is it possible? By the other hand, I want to enable/disable the grid alternatively: I want to have for example 5 blank new pages and then leave the grid: \showgrid[nonumber]{{\dorecurse{80}\page[empty]}} What command I have to run

Re: [NTG-context] Grid lines color and disable

2012-08-14 Thread Hans Hagen
On 14-8-2012 16:52, Xan wrote: Hi, I want to change color to red to black in \showgrid. Is it possible? By the other hand, I want to enable/disable the grid alternatively: I want to have for example 5 blank new pages and then leave the grid: \showgrid[nonumber]{{\dorecurse{80}\page[empty

Re: [NTG-context] mutual color definition

2012-05-15 Thread Hans Hagen
On 14-5-2012 19:19, Peter Rolf wrote: Hi, while playing around with colors, I accidentally used two mutual color definitions. Stupid thing to do, but shit happens. :-D This example ends in an infinite loop. %-- \definecolor[foo][red] \definecolor[bar][foo] \starttext

[NTG-context] color as module parameter (mkiv)

2012-05-14 Thread Peter Schorsch
Hi, I am trying to pass a tex color as a paramter to a module. I used the example from the wiki as a base. But as soon I hand over a color directly it does not work. Any help is welcome as I am looking forward to hand in my first module. Are there any rules how and where to hand in a module

Re: [NTG-context] color as module parameter (mkiv)

2012-05-14 Thread Wolfgang Schuster
Am 14.05.2012 um 17:53 schrieb Peter Schorsch: Hi, I am trying to pass a tex color as a paramter to a module. I used the example from the wiki as a base. But as soon I hand over a color directly it does not work. You can expand the value \normalexpanded{\setupbackgrounds

[NTG-context] mutual color definition

2012-05-14 Thread Peter Rolf
Hi, while playing around with colors, I accidentally used two mutual color definitions. Stupid thing to do, but shit happens. :-D This example ends in an infinite loop. %-- \definecolor[foo][red] \definecolor[bar][foo] \starttext \definecolor[foo][bar] \color[foo] foo

Re: [NTG-context] multitone color problem

2012-05-07 Thread Hans Hagen
On 24-4-2012 18:03, Peter Rolf wrote: Hi, just playing around with spot colors and run into this problem. tested with 23.04.2012 and ??.11.2011, same result. the color definition leads to an invalid pdf. % multitone.tex \nopdfcompression \setuppagenumber[state=stop] \definemultitonecolor

Re: [NTG-context] multitone color problem

2012-05-07 Thread Peter Rolf
Am 07.05.2012 10:05, schrieb Hans Hagen: On 24-4-2012 18:03, Peter Rolf wrote: Hi, just playing around with spot colors and run into this problem. tested with 23.04.2012 and ??.11.2011, same result. the color definition leads to an invalid pdf. % multitone.tex \nopdfcompression

Re: [NTG-context] multitone color problem

2012-05-07 Thread Hans Hagen
On 7-5-2012 12:39, Peter Rolf wrote: OK. I simply used the multitone example (spot.tex) from the Wiki. I've added a catch and issue a warning when something is wrong. Hans - Hans Hagen

[NTG-context] multitone color problem

2012-04-24 Thread Peter Rolf
Hi, just playing around with spot colors and run into this problem. tested with 23.04.2012 and ??.11.2011, same result. the color definition leads to an invalid pdf. % multitone.tex \nopdfcompression \setuppagenumber[state=stop] \definemultitonecolor[combicolor] [blue=.12,yellow=.28] [c=.1

Re: [NTG-context] Font goodies color schemes by Unicode number

2012-03-25 Thread Hans Hagen
On 24-3-2012 21:23, Khaled Hosny wrote: On Sat, Mar 03, 2012 at 12:09:11AM +0100, Hans Hagen wrote: On 29-2-2012 14:57, Khaled Hosny wrote: Hi all, Was exploring font goodies and color schemes and so far works great, very nice feature, thanks Hans. Now I've to small questions/feature

Re: [NTG-context] Font goodies color schemes by Unicode number

2012-03-24 Thread Khaled Hosny
On Sat, Mar 03, 2012 at 12:09:11AM +0100, Hans Hagen wrote: On 29-2-2012 14:57, Khaled Hosny wrote: Hi all, Was exploring font goodies and color schemes and so far works great, very nice feature, thanks Hans. Now I've to small questions/feature requests: Can color schemes be defined

Re: [NTG-context] Color Lost when Using 'texexec' vs 'context'

2012-03-18 Thread Wolfgang Schuster
The reason I switched to texexec was this (from the Context Manual: During the processing of itemizations the number of items is counted. This is the case with all versions. The next pass this information is used to determine the optimal location to start a new page. So do not despair when

[NTG-context] Color Lost when Using 'texexec' vs 'context'

2012-03-17 Thread Malte Stien
Hi all, I am using some darkgray in my documents, as in \color[darkgray] foo... which was working out well as long as I was processing my documents with the 'context' command. I recently started using 'texexec' instead, as in texexec --pdf definitions-acronyms-and-abbreviations.tex

Re: [NTG-context] Color Lost when Using 'texexec' vs 'context'

2012-03-17 Thread Mojca Miklavec
On Sat, Mar 17, 2012 at 09:55, Malte Stien wrote: Hi all, I am using some darkgray in my documents, as in  \color[darkgray] foo... which was working out well as long as I was processing my documents with the 'context' command. I recently started using 'texexec' instead, as in  texexec

Re: [NTG-context] Color Lost when Using 'texexec' vs 'context'

2012-03-17 Thread Wolfgang Schuster
Am 17.03.2012 um 09:55 schrieb Malte Stien: Hi all, I am using some darkgray in my documents, as in \color[darkgray] foo... which was working out well as long as I was processing my documents with the 'context' command. I recently started using 'texexec' instead, as in texexec

Re: [NTG-context] Color Lost when Using 'texexec' vs 'context'

2012-03-17 Thread Malte Stien
...@ntg.nl wrote: Hi all, I am using some darkgray in my documents, as in ?\color[darkgray] foo... which was working out well as long as I was processing my documents with the 'context' command. I recently started using 'texexec' instead, as in ?texexec --pdf definitions-acronyms

Re: [NTG-context] Font goodies color schemes by Unicode number

2012-03-02 Thread Hans Hagen
On 29-2-2012 14:57, Khaled Hosny wrote: Hi all, Was exploring font goodies and color schemes and so far works great, very nice feature, thanks Hans. Now I've to small questions/feature requests: Can color schemes be defined using Unicode code points, e.g.: { 0x064E, 0x064F } instead of glyph

[NTG-context] Font goodies color schemes by Unicode number

2012-02-29 Thread Khaled Hosny
Hi all, Was exploring font goodies and color schemes and so far works great, very nice feature, thanks Hans. Now I've to small questions/feature requests: Can color schemes be defined using Unicode code points, e.g.: { 0x064E, 0x064F } instead of glyph names (e.g. I'd like to have a font

Re: [NTG-context] Font goodies color schemes by Unicode number

2012-02-29 Thread Wolfgang Schuster
Am 29.02.2012 um 14:57 schrieb Khaled Hosny: Hi all, Was exploring font goodies and color schemes and so far works great, very nice feature, thanks Hans. Now I've to small questions/feature requests: Can color schemes be defined using Unicode code points, e.g.: { 0x064E, 0x064F

Re: [NTG-context] Font goodies color schemes by Unicode number

2012-02-29 Thread Hans Hagen
On 29-2-2012 14:57, Khaled Hosny wrote: Hi all, Was exploring font goodies and color schemes and so far works great, very nice feature, thanks Hans. Now I've to small questions/feature requests: Can color schemes be defined using Unicode code points, e.g.: { 0x064E, 0x064F } instead of glyph

[NTG-context] groupedcommand with color

2012-02-14 Thread Steffen Wolfrum
Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch% {\groupedcommand{\language[de]\ss}{}} \define\ColorSwitch% {\groupedcommand{\language[de]\ss\color[darkred]}{}} \starttext English: \date {\PlainSwitch German \date} English: \date

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Hans Hagen
On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch% {\groupedcommand{\language[de]\ss}{}} \define\ColorSwitch% {\groupedcommand{\language[de]\ss\color[darkred]}{}} \starttext English: \date

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Steffen Wolfrum
Am 14.02.2012 um 13:21 schrieb Hans Hagen: On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch% {\groupedcommand{\language[de]\ss}{}} \define\ColorSwitch% {\groupedcommand{\language[de

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Hans Hagen
On 14-2-2012 13:37, Steffen Wolfrum wrote: Am 14.02.2012 um 13:21 schrieb Hans Hagen: On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch% {\groupedcommand{\language[de]\ss}{}} \define

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Philipp Gesang
On 2012-02-14 13:37, Steffen Wolfrum wrote: Am 14.02.2012 um 13:21 schrieb Hans Hagen: On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch% {\groupedcommand{\language[de]\ss

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Steffen Wolfrum
Am 14.02.2012 um 13:44 schrieb Hans Hagen: On 14-2-2012 13:37, Steffen Wolfrum wrote: Am 14.02.2012 um 13:21 schrieb Hans Hagen: On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Wolfgang Schuster
Am 14.02.2012 um 14:26 schrieb Steffen Wolfrum: Am 14.02.2012 um 13:44 schrieb Hans Hagen: On 14-2-2012 13:37, Steffen Wolfrum wrote: Am 14.02.2012 um 13:21 schrieb Hans Hagen: On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand

[NTG-context] convert color to black and white documents

2012-01-12 Thread Matthias Weber
Dear all, I am working on a text with plenty of figures, using modes to create both a screen and a print version. For the print version, which will be printed in black and white, I'd like to have all colors (including those of the figures) to be converted to grayscale so that I can softproof

Re: [NTG-context] convert color to black and white documents

2012-01-12 Thread Hans Hagen
) disable context color mechanism and use a different path for graphics (bw vs color) (2) postprocess the file with acrobat or ghostscript into bw Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-10 Thread Steffen Wolfrum
Am 10.01.2012 um 08:26 schrieb rvhassel: Hello Luigi, Stephen and Patrick, thanks for your reactions. At home I tried to process the example (08-01-2012) of Stephen with the TeXLive2011 version of context, but I got the same errors as the stable and the beta version of context. Thanks

Re: [NTG-context] color conversion causes error with MPgraphic

2012-01-10 Thread Jörg Hagmann
On Jan 10, 2012, at 8:26 AM, rvhassel wrote: almost 10 euro for each key. I like it to give my lectures at a blackboard with chalk. At the blackboard I design my own keys, infinitely many, Congratulations! I thought I was the only one left to do that. PPCHTeX is great, but drawing

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-10 Thread Hans Hagen
On 10-1-2012 08:39, luigi scarso wrote: On Tue, Jan 10, 2012 at 8:26 AM, rvhasselre...@win.tue.nl wrote: Hello Luigi, Stephen and Patrick, thanks for your reactions. At home I tried to process the example (08-01-2012) of Stephen with the TeXLive2011 version of context, but I got the same

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-10 Thread Hans Hagen
On 10-1-2012 08:26, rvhassel wrote: Hello Luigi, Stephen and Patrick, thanks for your reactions. At home I tried to process the example (08-01-2012) of Stephen with the TeXLive2011 version of context, but I got the same errors as the stable and the beta version of context. Thanks for the

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-10 Thread rvhassel
Hello schoolboard and keyboard members, such a thing like the microsoft table http://www.3noobs.com/microsoft-surface-2-0-as-samsung-sur40-specs-price/ I had always in mind, but than a little bit smaller. I did not know that they exist. It looks me nice that you can stay or sit before a public,

Re: [NTG-context] color conversion causes error with MPgraphic

2012-01-09 Thread rvhassel
Hello Steffen, have you ever tried the context version of TeXLive 2011 and than the updated version of it? There is made use of an updated version of luatex. With that version I have fewer problems with for instance TikZ. The stable version and the beta version of context both use an old

[NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread Steffen Wolfrum
@ Hans/Mojca: Is luatex in standalone suit outdated? Steffen Anfang der weitergeleiteten E-Mail: Von: rvhassel re...@win.tue.nl Datum: 9. Januar 2012 10:12:00 MEZ An: ntg-context@ntg.nl Betreff: Re: [NTG-context] color conversion causes error with MPgraphic Antwort an: mailing list

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread luigi scarso
On Mon, Jan 9, 2012 at 11:43 AM, Steffen Wolfrum cont...@st.estfiles.dewrote: @ Hans/Mojca: Is luatex in standalone suit outdated? Steffen It shouldn't, afaik: on my linux box the latest standalone says This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) But you can always compile

[NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread Steffen Wolfrum
of context both use an old version of luatex ( beta-0.70.1-2011052008). There is some luatex version beta-0.70.1-201106...?? Hans, does version beta-0.70.1-201106... fix the color conversion clash? As I do not now the background I can't decide wether it is recommended to compile this version

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread luigi scarso
problems with for instance TikZ. The stable version and the beta version of context both use an old version of luatex ( beta-0.70.1-2011052008). There is some luatex version beta-0.70.1-201106...?? Hans, does version beta-0.70.1-201106... fix the color conversion clash? As I do

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread rvhassel
Hello luigi, indeed the ConTeXt version 2011.05.18 18:04, with the LuaTeX version beta-0.70.1-201106141 is used in TeXLive2011. These versions give me fewer problems with TikZ than the version beta-0.70.1-2011052008 of LuaTeX, with the same ConTeXt version. For instance, frames are put over

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread luigi scarso
On Mon, Jan 9, 2012 at 12:41 PM, rvhassel re...@win.tue.nl wrote: Hello luigi, indeed the ConTeXt version 2011.05.18 18:04, with the LuaTeX version beta-0.70.1-201106141 is used in TeXLive2011. These versions give me fewer problems with TikZ than the version beta-0.70.1-2011052008 of

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread Steffen Wolfrum
Am 09.01.2012 um 12:41 schrieb rvhassel: Is there somewhere a howto, which describes how to compile something from svn? I have never done such a thing, There is a very nice howto written by Patrick. @Patrick: do you remember the URL? Steffen

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread Steffen Wolfrum
Am 09.01.2012 um 13:01 schrieb Steffen Wolfrum: Am 09.01.2012 um 12:41 schrieb rvhassel: Is there somewhere a howto, which describes how to compile something from svn? I have never done such a thing, There is a very nice howto written by Patrick.

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread Hans Hagen
. The stable version and the beta version of context both use an old version of luatex ( beta-0.70.1-2011052008). There is some luatex version beta-0.70.1-201106...?? Hans, does version beta-0.70.1-201106... fix the color conversion clash? As I do not now the background I can't decide wether

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread Patrick Gundlach
Hi Steffen, Is there somewhere a howto, which describes how to compile something from svn? I have never done such a thing, There is a very nice howto written by Patrick. @Patrick: do you remember the URL? No, I don't even remember writing something like that (but I don't deny it

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread Patrick Gundlach
No, I don't even remember writing something like that (but I don't deny it either). oh well, I have just seen your (Steffen's) answer. Sorry. Patrick ___ If your question is of interest to others as well,

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread rvhassel
Hello Luigi, Stephen and Patrick, thanks for your reactions. At home I tried to process the example (08-01-2012) of Stephen with the TeXLive2011 version of context, but I got the same errors as the stable and the beta version of context. Thanks for the report of how to compile something with

Re: [NTG-context] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread luigi scarso
On Tue, Jan 10, 2012 at 8:26 AM, rvhassel re...@win.tue.nl wrote: Hello Luigi, Stephen and Patrick, thanks for your reactions. At home I tried to process the example (08-01-2012) of Stephen with the TeXLive2011 version of context, but I got the same errors as the stable and the beta

[NTG-context] color conversion causes error with MPgraphic

2012-01-08 Thread Steffen Wolfrum
Hi, when I run this example ... \setupcolors[state=stop,conversion=never]%needed for specific reason in project \startuseMPgraphic{Test} z1 = (-233,0) ; z2 = (-220,22) ; fill z1 for i=2 upto 2: .. z[i] endfor .. z1 cycle ; \stopuseMPgraphic \defineoverlay[TTest] [\leftaligned

Re: [NTG-context] color conversion causes error with MPgraphic

2012-01-08 Thread Hans Hagen
On 8-1-2012 19:32, Steffen Wolfrum wrote: The problem is the usage of conversion=never ... but I need this for other reason in my project. a side effect of mp's color models not being to clever .. why exactly do you need the never Hans

Re: [NTG-context] color conversion causes error with MPgraphic

2012-01-08 Thread Steffen Wolfrum
Am 09.01.2012 um 00:36 schrieb Hans Hagen: a side effect of mp's color models not being to clever .. why exactly do you need the never For setting colors to black (better explained here): Anfang der weitergeleiteten E-Mail: Von: Hans Hagen pra...@wxs.nl Datum: 1. März 2010 16:56:09 MEZ

Re: [NTG-context] no color with interaction and reference format

2011-12-02 Thread Hans Hagen
and not the value of the key. I changed that attributes handler (I'd also like to change the name but that needs some coordination with modules that use it). I also added some more commandhandler usage (so now we have 4 todo's left). In the process related font and color switching has been de-mkii'd

[NTG-context] no color with interaction and reference format

2011-11-30 Thread Stefan Müller
Hi list, when I am using reference formats to put text in front of my text references, I get no color. Please see the following minimal example \setupinteraction[state=start] \definereferenceformat[insec][text=section~] \starttext \section[mylabel]{A Section} A Reference to \in{section

Re: [NTG-context] no color with interaction and reference format

2011-11-30 Thread Wolfgang Schuster
Am 30.11.2011 um 12:56 schrieb Stefan Müller: Hi list, when I am using reference formats to put text in front of my text references, I get no color. Please see the following minimal example \setupinteraction[state=start] \definereferenceformat[insec][text=section~] \starttext

[NTG-context] color and textext

2011-11-01 Thread Meer, H. van der
After some struggling with text colouring in metafun I finally encountered on the wiki: Another difference is the way text is handled in mkiv. In particular, color (withcolor) is not applied to metapost text. For example, draw thelabel(decimal i, (i, 0) scaled 1cm) withcolor red ; currently

Re: [NTG-context] Setting style and color attributes of label in metapost

2011-10-13 Thread Wolfgang Schuster
Am 25.09.2011 um 02:43 schrieb Aditya Mahajan: I am writing a module which uses metapost in the background for drawing. I wanted to create an interface for setting the style and color of metapost labels but using \doset...attributes is not working. Here is an example: \definenamespace

[NTG-context] Setting style and color attributes of label in metapost

2011-09-24 Thread Aditya Mahajan
I am writing a module which uses metapost in the background for drawing. I wanted to create an interface for setting the style and color of metapost labels but using \doset...attributes is not working. Here is an example: \definenamespace [test] [style=yes, name=test, command=yes

[NTG-context] Tikz and \color

2011-09-19 Thread Felix Ingram
version but I need to add text to my node. Am I using \color correctly? Does anyone know how I might go about debugging this? Is there a way to determine whether it's Context or Tikz that's misbehaving? \usemodule[tikz] \setuppapersize[A4][A4] \setupcolors[state=start] \setuphead[section] [ after

Re: [NTG-context] Tikz and \color

2011-09-19 Thread Hans Hagen
the black version to be the correct version but I need to add text to my node. Am I using \color correctly? Does anyone know how I might go about debugging this? Is there a way to determine whether it's Context or Tikz that's misbehaving? Tikz implements it own color handling

Re: [NTG-context] Tikz and \color

2011-09-19 Thread Felix Ingram
would expect the black version to be the correct version but I need to add text to my node. Am I using \color correctly? Does anyone know how I might go about debugging this? Is there a way to determine whether it's Context or Tikz that's misbehaving? Tikz implements it own color handling

<    1   2   3   4   5   6   7   >