[NTG-context] Re: \setupdelimitedtext and color parameter: only the second delimiter is colored

2025-01-27 Thread Wolfgang Schuster
Am 27.01.2025 um 20:50 schrieb garu...@azules.eu: Is this the expected behaviour? I don't think so because not all methods show this behaviour. begin example \starttext \setupdelimitedtext [quote] [color=red] \quote{Some text} \setupdelimitedtext [quote] [location=paragraph] \quote{So

[NTG-context] \setupdelimitedtext and color parameter: only the second delimiter is colored

2025-01-27 Thread garulfo
Is this the expected behaviour? >From an observation from >https://wiki.contextgarden.net/Text_blocks/Environments/Quotes#Directly \starttext \quote{Some text} \setupdelimitedtext [quote] [color=red] \quote{Some text} \setupdelimitedtext [quote] [symcolor=red] \quote{Some text} \stopt

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Ursula Hermann
Dear Hraban, It was \startnarrower \stopnarrower, I put it out, now it is perfekt. I also send the pdf. Many thanks. Uschi -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Dienstag, 05. Dezember 2023 15:47 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: Colored

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Henning Hraban Ramm
, forgot my name Uschi -Ursprüngliche Nachricht- Von: Ursula Hermann Gesendet: Dienstag, 05. Dezember 2023 15:27 An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] Re: Colored Paragraph Dear Hraban, I have tried it now, I have sent you the pdf. This works. But the

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Ursula Hermann
Dear Hraban, Sorry, forgot my name Uschi -Ursprüngliche Nachricht- Von: Ursula Hermann Gesendet: Dienstag, 05. Dezember 2023 15:27 An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] Re: Colored Paragraph Dear Hraban, I have tried it now, I have sent you the

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Ursula Hermann
: Colored Paragraph Am 05.12.23 um 14:16 schrieb Ursula Hermann: > The paragraph should have a color in the background. How can I get an > colored paragraph? Did you try \definetextbackground? https://wiki.contextgarden.net/TextBackground https://wiki.contextgarden.net/Command/definetextback

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Henning Hraban Ramm
Am 05.12.23 um 14:16 schrieb Ursula Hermann: The paragraph should have a color in the background. How can I get an colored paragraph? Did you try \definetextbackground? https://wiki.contextgarden.net/TextBackground https://wiki.contextgarden.net/Command/definetextbackground Hraban

[NTG-context] Colored Paragraph

2023-12-05 Thread Ursula Hermann
Hasselt his consent in 1486. \blank Other cities in the neighbourhood of Hasselt were afraid of the toll money to be paid when crossing this bridge so they prevented the construction for many years. \stopparagraph \stoptext The paragraph should have a color in the background. How can I get an colored

Re: [NTG-context] Problem with colored font

2021-08-07 Thread Marcus Vinicius Mesquita via ntg-context
> > > On Sat, Aug 7, 2021 at 10:14 AM Hans Hagen wrote: > >> On 8/7/2021 1:09 PM, Marcus Vinicius Mesquita via ntg-context wrote: >> > Dear list, >> > >> > I'm trying to use the BabelStone Flags font, with colored flags of many >&g

Re: [NTG-context] Problem with colored font

2021-08-07 Thread Marcus Vinicius Mesquita via ntg-context
Thank you, Hans. I'll wait then for the next upload. Have a nice weekend. Marcus Vinicius On Sat, Aug 7, 2021 at 10:14 AM Hans Hagen wrote: > On 8/7/2021 1:09 PM, Marcus Vinicius Mesquita via ntg-context wrote: > > Dear list, > > > > I'm trying to use the Babe

Re: [NTG-context] Problem with colored font

2021-08-07 Thread Hans Hagen via ntg-context
On 8/7/2021 1:09 PM, Marcus Vinicius Mesquita via ntg-context wrote: Dear list, I'm trying to use the BabelStone Flags font, with colored flags of many countries,available freely under the SIL Open Font License 1.1 at: https://babelstone.co.uk/Fonts/Download/BabelStoneFlagsDual.ttf &

[NTG-context] Problem with colored font

2021-08-07 Thread Marcus Vinicius Mesquita via ntg-context
Dear list, I'm trying to use the BabelStone Flags font, with colored flags of many countries, available freely under the SIL Open Font License 1.1 at: https://babelstone.co.uk/Fonts/Download/BabelStoneFlagsDual.ttf In the MWE below, there is a spurious “at” in the first time that the defin

[NTG-context] conflict between colored emoji and save/restore

2020-05-06 Thread Ulrike Fischer
When using a colored emoji font directly after a save/restore pair in context mkiv following text gets lost: \pdfvariable compresslevel=0 \font\fontB={file:seguiemj.ttf:mode=node;+colr;} \starttext \pdfextension save\relax \pdfextension restore\relax {\fontB \char"2603} % is not

Re: [NTG-context] Is there a 'sized' command equivalent to \colored?

2020-04-23 Thread Gerben Wierda
Answering my own question: \switchtobodyfont > On 23 Apr 2020, at 16:45, Gerben Wierda wrote: > > I can directly colour a text in rgb by doing > \colored[r=0.8,b=0.6,c=0.4]{Text}. Suppose I want to hard code a piece of > text as 12.8pt, is there a simple way to do that dir

[NTG-context] Is there a 'sized' command equivalent to \colored?

2020-04-23 Thread Gerben Wierda
I can directly colour a text in rgb by doing \colored[r=0.8,b=0.6,c=0.4]{Text}. Suppose I want to hard code a piece of text as 12.8pt, is there a simple way to do that directly like with \colored for colour? G

Re: [NTG-context] Colored rule using MPgraphic

2017-05-17 Thread Hans Hagen
On 5/17/2017 9:25 AM, Jan Willem Flamma wrote: Dear list members, I’m trying to make certain text standout from the surrounding text by adding a colored rule to the side. See below MWE. The colored rule is not shown over the area where the picture is displaced. Does anybody know how can I

[NTG-context] Colored rule using MPgraphic

2017-05-17 Thread Jan Willem Flamma
Dear list members, I’m trying to make certain text standout from the surrounding text by adding a colored rule to the side. See below MWE. The colored rule is not shown over the area where the picture is displaced. Does anybody know how can I fix this? Kind regards, Jan Willem

Re: [NTG-context] space before/after colored framed text

2016-08-18 Thread Pablo Rodriguez
On 08/17/2016 11:59 PM, Jean-Pierre Delange wrote: > Thank you very much Pablo ! > > As a beginner I don't understand very well the complete meaning of > "minimal" working sample, perhaps because my own code is full of > mistakes and compiles sometimes with somes issues. Hi Jean-Pierre, a mini

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Jean-Pierre Delange
/2016 05:57 PM, Jean-Pierre Delange wrote: Hi Thomas, I am very sorry. As a beginner with ConTeXt, I surely make mistakes, even in the way to show which issues I am confronting to. Maybe I ought to give the whole code where some errors occured, but I thought that the code was too long to be mailed

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Pablo Rodriguez
issues I am confronting to. Maybe I ought > to give the whole code where some errors occured, but I thought that the > code was too long to be mailed to this list. That's why I have mailed a > piece of the code concerning a colored framed but not the whole stuff. > Thinking the is

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Jean-Pierre Delange
have mailed a piece of the code concerning a colored framed but not the whole stuff. Thinking the issue occured with this special frame (and not with any other kind of frame), I have given this particular code. BTW, in order to make understandable what kind of issue occured by this particular fra

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Thomas A. Schmitz
> On 17 Aug 2016, at 16:36, Jean-Pierre Delange wrote: > > Dear list, > > I use for one of my own projects some code given by Wolfgang to Fabrice (see > below), which is working fine : at the end of each chapter, I've placed a > framed text as a summary (25 lines with few footnotes). I have 2

[NTG-context] space before/after colored framed text

2016-08-17 Thread Jean-Pierre Delange
Dear list, I use for one of my own projects some code given by Wolfgang to Fabrice (see below), which is working fine : at the end of each chapter, I've placed a framed text as a summary (25 lines with few footnotes). I have 2 questions : 1. What are the keys to manage the space before and a

Re: [NTG-context] Colored descriptions

2015-08-03 Thread Hans Hagen
On 8/3/2015 3:31 PM, Eric Détrez wrote: I wish to write a text where there are definitions, theorems, ... I wish to get a table of definitions at the end so I think the right tool is description. But I want the head or/and the main text have colored background. Is it possible ? I tried

Re: [NTG-context] Colored descriptions

2015-08-03 Thread Eric Détrez
. But I want the head or/and the main text have colored background. Is it possible ? there was a similar discussion - see http://www.ntg.nl/pipermail/ntg-context/2015/081528.html Best regards, Lukas Thank you, I didn't fint it before. So I can't put a startxxx in inbetween,

Re: [NTG-context] Colored descriptions

2015-08-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Mon, 03 Aug 2015 15:31:49 +0200, Eric Détrez wrote: I wish to write a text where there are definitions, theorems, ... I wish to get a table of definitions at the end so I think the right tool is description. But I want the head or/and the main text have colored background. Is it

[NTG-context] Colored descriptions

2015-08-03 Thread Eric Détrez
I wish to write a text where there are definitions, theorems, ... I wish to get a table of definitions at the end so I think the right tool is description. But I want the head or/and the main text have colored background. Is it possible ? I tried inbetween=\startframedtext,after

Re: [NTG-context] TikZ is colored despite having \setupcolors[state=stop]

2015-03-10 Thread Hans Hagen
How can I convince TikZ to use ConTeXts colorhandling? One of the relevant status variables is: \c_colo_enabled \ifcase\c_colo_enabled yes \else no \fi assuming that _ is a character I don't understand what you exactly want to tell me with this. I assu

Re: [NTG-context] TikZ is colored despite having \setupcolors[state=stop]

2015-03-10 Thread Norbert Melzer
2015-03-10 12:24 GMT+01:00 Hans Hagen : > On 3/10/2015 12:10 PM, Norbert Melzer wrote: > >> I've posted the same question on TE already: >> http://tex.stackexchange.com/questions/232158/tikz-is- >> colored-despite-having-setupcolorsstate-stop >> >> Text of

Re: [NTG-context] TikZ is colored despite having \setupcolors[state=stop]

2015-03-10 Thread Hans Hagen
On 3/10/2015 12:10 PM, Norbert Melzer wrote: I've posted the same question on TE already: http://tex.stackexchange.com/questions/232158/tikz-is-colored-despite-having-setupcolorsstate-stop Text of the question: In the following MWE I get a red square, but I want it to be gray, as in the

[NTG-context] TikZ is colored despite having \setupcolors[state=stop]

2015-03-10 Thread Norbert Melzer
I've posted the same question on TE already: http://tex.stackexchange.com/questions/232158/tikz-is-colored-despite-having-setupcolorsstate-stop Text of the question: In the following MWE I get a red square, but I want it to be gray, as in the also provided LaTeX-document: ```tex % ConTeX

Re: [NTG-context] Colored cell background in Table

2014-02-23 Thread Wolfgang Schuster
Am 24.02.2014 um 08:40 schrieb Flavien Lambert : > Hi all, following the piece of advice, I tried to use tabulate but got an > error message with the following code: > \starttext > \startcombination[1]{ > \starttabulate[|r|l|] > \NC c \NC centered \NC \AR > \NC l \NC left aligned \

Re: [NTG-context] Colored cell background in Table

2014-02-23 Thread Flavien Lambert
Hi all, following the piece of advice, I tried to use tabulate but got an error message with the following code: \starttext \startcombination[1]{ \starttabulate[|r|l|] \NC c \NC centered \NC \AR \NC l \NC left aligned \NC \AR \NC r \NC right aligned \NC \AR \stoptabulate }{a} \sto

Re: [NTG-context] Colored cell background in Table

2014-02-21 Thread Thangalin
Hi Flavlen, See these threads: https://www.mail-archive.com/ntg-context@ntg.nl/msg51252.html http://www.ntg.nl/pipermail/ntg-context/2010/054614.html Looks like the wiki is out of date and the CL command has been deprecated. Hans wrote, "ok, thanks for testing it ... I'm stripping that old code

[NTG-context] Colored cell background in Table

2014-02-21 Thread Flavien Lambert
Dear All, using the documentation, I tried to use CL as in the following example but I did not get any color. Is there a trick? Best regards, Flavien. \setupcolors[state=start]\starttable[|l|l|]\HL\BL[1]\SR\NC Command \NC Meaning \NC\SR\HL\NC \tex{NC} \NC next column \NC\FR\NC \tex{NR}

Re: [NTG-context] Colored text's background, which the more "lcd-mkiv"?

2014-01-17 Thread Elspeth McGullicuddy
On Fri, Jan 17, 2014 at 6:16 PM, Aditya Mahajan wrote: > On Fri, 17 Jan 2014, Elspeth McGullicuddy wrote: > >> [Colored text's background, which the more "lcd-mkiv"?; >> plus: Metapost variable "text" with "\definetextbackground"; >>

Re: [NTG-context] Colored text's background, which the more "lcd-mkiv"?

2014-01-17 Thread Aditya Mahajan
On Fri, 17 Jan 2014, Elspeth McGullicuddy wrote: [Colored text's background, which the more "lcd-mkiv"?; plus: Metapost variable "text" with "\definetextbackground"; plus: {\input ward}] Hi list, What would be the best, also the more up to date, way to put c

[NTG-context] Colored text's background, which the more "lcd-mkiv"?

2014-01-17 Thread Elspeth McGullicuddy
[Colored text's background, which the more "lcd-mkiv"?; plus: Metapost variable "text" with "\definetextbackground"; plus: {\input ward}] Hi list, What would be the best, also the more up to date, way to put colored background behind text, that could cross p

Re: [NTG-context] Colored horizontal line

2013-07-15 Thread Wolfgang Schuster
Am 15.07.2013 um 17:33 schrieb Hans Hagen : > On 7/15/2013 2:53 PM, Marco Patzer wrote: >> On 2013–07–15 "H. Özoguz" wrote: >> >>> \color[r=0.4,g=0.4,b=0.4]{\hrule} fails. >> >> This syntax is wrong. You want \colored[r=0.4,g=0.4,b=0.4],

Re: [NTG-context] Colored horizontal line

2013-07-15 Thread Hans Hagen
On 7/15/2013 2:53 PM, Marco Patzer wrote: On 2013–07–15 "H. Özoguz" wrote: \color[r=0.4,g=0.4,b=0.4]{\hrule} fails. This syntax is wrong. You want \colored[r=0.4,g=0.4,b=0.4], \color expects a previously defined colour. \blackrule[width=10cm,height=1mm

Re: [NTG-context] Colored horizontal line

2013-07-15 Thread Marco Patzer
On 2013–07–15 "H. Özoguz" wrote: > \color[r=0.4,g=0.4,b=0.4]{\hrule} fails. This syntax is wrong. You want \colored[r=0.4,g=0.4,b=0.4], \color expects a previously defined colour. Marco signature.asc Description: Digi

Re: [NTG-context] Colored horizontal line

2013-07-15 Thread Peter Münster
On Mon, Jul 15 2013, H. Özoguz wrote: > The direct attempt \color[r=0.4,g=0.4,b=0.4]{\hrule} fails. \definecolor[my hrule color][r=0.4,g=0.4,b=0.4] \starttext bla \color[my hrule color]{\hrule} bla \stoptext -- Peter ___

Re: [NTG-context] Colored horizontal line

2013-07-15 Thread Marco Patzer
On 2013–07–15 "H. Özoguz" wrote: > \setupheader[text][after=\hrule] \setupheader[text][after=\blue\hrule] Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, pl

[NTG-context] Colored horizontal line

2013-07-15 Thread H. Özoguz
Hello there, after long time I have a question again :) I use \setupheader[text][after=\hrule] to get a horizontal line below the header. How can I color this line? The direct attempt \color[r=0.4,g=0.4,b=0.4]{\hrule} fails. Thank you. Huseyin ___

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Zenlima
> 2. You didn’t test numbercolor. You are correct: after my mistyped try'n'error I did not checked it any further as the documentation in the wiki. I updated it with that missing attribute. thanks signature.asc Description: PGP signature _

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Zenlima
Am Tue, 9 Jul 2013 12:20:18 -0400 (EDT) schrieb Aditya Mahajan : > numbercolor=bordeaux I am so sorry.. I tried that too but I must have mistyped it then.. now it works :) Thanks ___ If your question is of interest

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Wolfgang Schuster
Am 09.07.2013 um 18:08 schrieb Zenlima : > Hi, > > I want to color the chapter number in the table of content. The > attribute "numbercolor" does not exist in setuplist. So I tried to > color the chapter number via "numberstlye" ("numbercommand" is also not > working): > > ---8<

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Aditya Mahajan
On Tue, 9 Jul 2013, Zenlima wrote: Hi, I want to color the chapter number in the table of content. The attribute "numbercolor" does not exist in setuplist. So I tried to color the chapter number via "numberstlye" ("numbercommand" is also not working): ---8< \define

[NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Zenlima
Hi, I want to color the chapter number in the table of content. The attribute "numbercolor" does not exist in setuplist. So I tried to color the chapter number via "numberstlye" ("numbercommand" is also not working): ---8< \define[1]\listChapterColor{\color[bordeaux]{

Re: [NTG-context] [tabulate] colored background

2012-09-28 Thread Philipp Gesang
· > On Fri, 28 Sep 2012, Philipp Gesang wrote: > > >Hi all, > > > >the background mechanism of tabulations is quite simplistic: it > >extends only to the first line of a cell irrespective of its > >length. Example: > > > >···

Re: [NTG-context] [tabulate] colored background

2012-09-27 Thread Aditya Mahajan
On Fri, 28 Sep 2012, Philipp Gesang wrote: Hi all, the background mechanism of tabulations is quite simplistic: it extends only to the first line of a cell irrespective of its length. Example: ··· \starttext \starttabulate[|p|

[NTG-context] [tabulate] colored background

2012-09-27 Thread Philipp Gesang
Hi all, the background mechanism of tabulations is quite simplistic: it extends only to the first line of a cell irrespective of its length. Example: ··· \starttext \starttabulate[|p|r|] \CM [red] \input knuth \NC was said by T

Re: [NTG-context] underbar not colored

2012-07-04 Thread luigi scarso
On Wed, Jul 4, 2012 at 10:02 AM, Meer, H. van der wrote: > I wonder. Shouldn't the underbar show up colored too? > > Hans van der Meer > > Example: > \starttext > \underbar{color this}: > \startcolor[red]\underbar{but the underbar isn't!}\stopcolor > \st

[NTG-context] underbar not colored

2012-07-04 Thread Meer, H. van der
I wonder. Shouldn't the underbar show up colored too? Hans van der Meer Example: \starttext \underbar{color this}: \startcolor[red]\underbar{but the underbar isn't!}\stopcolor \stoptext underbar.pdf Description: un

Re: [NTG-context] Colored text in \type?

2011-09-02 Thread luigi scarso
On Fri, Sep 2, 2011 at 4:24 PM, Alasdair McAndrew wrote: > I'm using MkII - are there any particular advantages to using MkIV? > It seems that you like math... :-) http://www.gust.org.pl/bachotex/2011-en/presentations/Scarso_2_2011/view -- luigi _

Re: [NTG-context] Colored text in \type?

2011-09-02 Thread Alasdair McAndrew
I'm using MkII - are there any particular advantages to using MkIV? -Alasdair On Fri, Sep 2, 2011 at 10:34 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > Am 02.09.2011 um 09:47 schrieb Peter Münster: > > > On Fri, Sep 02 2011, Alasdair McAndrew wrote: > > > >> > >> \color[b

Re: [NTG-context] Colored text in \type?

2011-09-02 Thread Wolfgang Schuster
Am 02.09.2011 um 09:47 schrieb Peter Münster: > On Fri, Sep 02 2011, Alasdair McAndrew wrote: > >> >> \color[blue]{\type{%t^y_8*&}} >> >> doesn't seem to work; nor does >> >> {\blue \type{%t^y_8*&}} > > No problem with mkiv. You don’t even need \type in mkiv: \asciimode \starttext \defin

Re: [NTG-context] Colored text in \type?

2011-09-02 Thread Peter Münster
On Fri, Sep 02 2011, Alasdair McAndrew wrote: > > \color[blue]{\type{%t^y_8*&}} > > doesn't seem to work; nor does > > {\blue \type{%t^y_8*&}} No problem with mkiv. -- Peter ___ If your question is of int

Re: [NTG-context] Colored text in \type?

2011-09-01 Thread Alasdair McAndrew
computer notes for my students, and I have examples of >> variables and other commands which involve characters like % and underscore. >> These are typeset with >> >> \type{%t^y_8*&} >> >> for example. What I would like to do is to color these as well. However &g

Re: [NTG-context] Making all bold faced text colored?

2011-03-11 Thread Alasdair McAndrew
Thank you very much - that makes sense! I'm moving slowly to ConTeXt after many years of LaTeX - so expect lots of elementary questions from me, at least initially! Thanks again, Alasdair On Fri, Mar 11, 2011 at 10:30 PM, Hans Hagen wrote: > On 11-3-2011 12:03, Alasdair McAndrew wrote: > >> In

Re: [NTG-context] Making all bold faced text colored?

2011-03-11 Thread Hans Hagen
On 11-3-2011 12:03, Alasdair McAndrew wrote: In some overheads, I'd like all bold-faced font to appear in a given color, say red. How do I set this up, so that {\bf some text} will display "some text" in red? Fonts and colors are unrelated properties (and always will be in context). The way t

[NTG-context] Making all bold faced text colored?

2011-03-11 Thread Alasdair McAndrew
In some overheads, I'd like all bold-faced font to appear in a given color, say red. How do I set this up, so that {\bf some text} will display "some text" in red? Thanks, Alasdair ___ If your question is of interest

Re: [NTG-context] Shaded frame with colored text

2010-07-03 Thread Mojca Miklavec
On Fri, Jul 2, 2010 at 14:07, Tom wrote: > Now, How do I insert multi-page PDFs created > elsewhere in an appendix. http://wiki.contextgarden.net/Including_pages_from_PDF_document Mojca ___ If your question is of inte

Re: [NTG-context] Shaded frame with colored text

2010-07-02 Thread Tom
Sent: Thursday, July 01, 2010 6:49 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Shaded frame with colored text Am 02.07.10 00:42, schrieb Tom: > I haven't had any luck filling in the background of a frame with any color > other than black and with changing the color

Re: [NTG-context] Shaded frame with colored text

2010-07-01 Thread Wolfgang Schuster
Am 02.07.10 00:42, schrieb Tom: I haven't had any luck filling in the background of a frame with any color other than black and with changing the color of the text in the frame to white or gray. What needs to be added to this mkii code? Colors are disabled in MkII, to enable them include \

[NTG-context] Shaded frame with colored text

2010-07-01 Thread Tom
I haven't had any luck filling in the background of a frame with any color other than black and with changing the color of the text in the frame to white or gray. What needs to be added to this mkii code? \def\MyChapterCommand#1#2% #1 is number, #2 is text {\framed[frame=on,align=middle] {\

Re: [NTG-context] colored column

2010-03-13 Thread Wolfgang Schuster
Am 13.03.10 18:51, schrieb Wolfgang Werners-Lucchini: So, how can I do the job? Natural tables? \setupTABLE[offset=0pt,loffset=0.25ex,roffset=0.25ex] % l|roffset requires MKIV \setupTABLE[frame=off,leftframe=on,rightframe=on] \starttext \startTABLE[color=red] \NC red \NC\NR \stopTABLE \s

[NTG-context] colored column

2010-03-13 Thread Wolfgang Werners-Lucchini
Hallo, can someone explain how to write a table column in color, please? The following example worked in 2006 but is not working anymore: \starttext \starttable[o1|\{C{red}|] \VL red \VL\SR \stoptable \stoptext Wolfgang Schuster posted last year the following example: \NewFormatKey W#1% {\Read

Re: [NTG-context] colored backgrounds in displayed math

2009-04-14 Thread luigi scarso
On Mon, Apr 13, 2009 at 8:53 PM, Sanjoy Mahajan wrote: > Wolfgang Schuster wrote: > > > Hi Sanjoy, welcome back > > Thanks! It's absurdly enjoyable but exhausting raising a small child > (22 months old)...and we have only one so I don't know how people with > two or more children manage even to

Re: [NTG-context] colored backgrounds in displayed math

2009-04-13 Thread Sanjoy Mahajan
Wolfgang Schuster wrote: > Hi Sanjoy, welcome back Thanks! It's absurdly enjoyable but exhausting raising a small child (22 months old)...and we have only one so I don't know how people with two or more children manage even to tie their shoes. >> In displayed math I was trying to highlight a p

Re: [NTG-context] colored backgrounds in displayed math

2009-04-09 Thread Wolfgang Schuster
Hi Sanjoy, welcome back In displayed math I was trying to highlight a piece of a formula using a gray background. After a few spacing failures with \framed, I discovered \mframed in the core-rul.tex source file. The comments there say: Use backgroundoffset, not frameoffset. Wolfgang

[NTG-context] colored backgrounds in displayed math

2009-04-09 Thread Sanjoy Mahajan
In displayed math I was trying to highlight a piece of a formula using a gray background. After a few spacing failures with \framed, I discovered \mframed in the core-rul.tex source file. The comments there say: %D As usual, one can specify in what way the text should be %D framed. One should be

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Hans Hagen
Eythan Weg wrote: Wolfgang Schuster Fri, 27 Mar 2009 13:45:42 +0100 Am 27.03.2009 um 13:37 schrieb Eythan Weg: > Hi, the following does not seem to use color. Am > I missing something? Never used this feature > before... > > I use mkiv with luatex 0.36. > > \start

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Wolfgang Schuster
Am 27.03.2009 um 17:43 schrieb Eythan Weg: Basically, you moved it to TeX to do the coloring, which is ok. Metapost in MkIV is different from MkII and all labels are typeset and colored in TeX, if you want a label use textext(...). My \textext{...} (which is only defined in MkII) is just a

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Eythan Weg
Wolfgang Schuster Fri, 27 Mar 2009 13:45:42 +0100 Am 27.03.2009 um 13:37 schrieb Eythan Weg: > Hi, the following does not seem to use color. Am > I missing something? Never used this feature > before... > > I use mkiv with luatex 0.36. > > \startMPcode > draw th

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Wolfgang Schuster
Am 27.03.2009 um 13:58 schrieb Lutz Haseloff: label(\sometxt{\blue RED},origin) ; works here label(textext("\blue RED"),origin) ; Wolfgang ___ If your question is of interest to others as well, please add an en

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Thomas A. Schmitz
On Mar 27, 2009, at 1:58 PM, Lutz Haseloff wrote: 2009/3/27 Wolfgang Schuster Am 27.03.2009 um 13:37 schrieb Eythan Weg: Hi, the following does not seem to use color. Am I missing something? Never used this feature before... I use mkiv with luatex 0.36. \startMPcode draw thelabel(bte

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Lutz Haseloff
2009/3/27 Wolfgang Schuster > > Am 27.03.2009 um 13:37 schrieb Eythan Weg: > > Hi, the following does not seem to use color. Am >> I missing something? Never used this feature >> before... >> >> I use mkiv with luatex 0.36. >> >> \startMPcode >> draw thelabel(btex RED etex, (0,0)) withcolor

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Wolfgang Schuster
Am 27.03.2009 um 13:37 schrieb Eythan Weg: Hi, the following does not seem to use color. Am I missing something? Never used this feature before... I use mkiv with luatex 0.36. \startMPcode draw thelabel(btex RED etex, (0,0)) withcolor blue; label(\textext{\red RED},origin) ; Wolfgang

[NTG-context] colored labels in mp

2009-03-27 Thread Eythan Weg
Hi, the following does not seem to use color. Am I missing something? Never used this feature before... I use mkiv with luatex 0.36. \startMPcode draw thelabel(btex RED etex, (0,0)) withcolor blue; \stopMPcode \stoptext Thanks, Eythan __

Re: [NTG-context] colored column

2009-02-04 Thread Wolfgang Werners-Lucchini
On 21 Jan 2009 at 10:47, ntg-context-requ...@ntg.nl wrote: Von:ntg-context-requ...@ntg.nl Betreff:ntg-context Digest, Vol 55, Issue 64 An: ntg-context@ntg.nl Antwort an: ntg-context@ntg.nl Datum: Wed, 21 Jan 2009 10:47:43

Re: [NTG-context] colored column

2009-01-20 Thread Wolfgang Schuster
Am 18.01.2009 um 17:09 schrieb Wolfgang Werners-Lucchini: This doesn't work! Try \letvalue{!tk<\string C>}=\undefined \NewFormatKey C#1% {\ReadFormatKeys b{\localstartcolor[#1]\bgroup} a{\egroup \localstopcolor}} \starttable[o1|C{red}|c|] \VL red \VL should be black \VL\SR \stoptable

Re: [NTG-context] colored column

2009-01-20 Thread Wolfgang Werners-Lucchini
Hallo Hans, > > > What is the problem here? > > > > maybe a typo? \{C{red} looks weird > > > > See: > --- > % Key "\{": Enclose template in braces. > \NewFormatKey \{{% > \!taDataColumnTemplate=\!thx{\!thx{\the\!taDataColumnTempla

Re: [NTG-context] colored column

2009-01-18 Thread Wolfgang Werners-Lucchini
Hallo Hans, > > What is the problem here? > > maybe a typo? \{C{red} looks weird > See: --- % Key "\{": Enclose template in braces. \NewFormatKey \{{% \!taDataColumnTemplate=\!thx{\!thx{\the\!taDataColumnTemplate}}% \ReadFormatK

Re: [NTG-context] colored column

2009-01-18 Thread Wolfgang Werners-Lucchini
Hallo Wolf[gang], > > \setupcolors[state=start] > > \starttext > > \starttable[ o1 | \{C{red} |] > > \VL red \VL\SR > > \stoptable > > \stoptext > > > > This was an older example which worked some years ago (see: > > http://www.ntg.nl/pipermail/ntg-context/2006/020803.html), but is > not > > worki

Re: [NTG-context] colored column

2009-01-18 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote: Hallo! \setupcolors[state=start] \starttext \starttable[ o1 | \{C{red} |] \VL red \VL\SR \stoptable \stoptext This was an older example which worked some years ago (see: http://www.ntg.nl/pipermail/ntg-context/2006/020803.html), but is not working anymore. W

Re: [NTG-context] colored column

2009-01-18 Thread Wolfgang Schuster
Am 18.01.2009 um 00:59 schrieb Wolfgang Werners-Lucchini: Hallo! \setupcolors[state=start] \starttext \starttable[ o1 | \{C{red} |] \VL red \VL\SR \stoptable \stoptext This was an older example which worked some years ago (see: http://www.ntg.nl/pipermail/ntg-context/2006/020803.html), but is

[NTG-context] colored column

2009-01-17 Thread Wolfgang Werners-Lucchini
Hallo! \setupcolors[state=start] \starttext \starttable[ o1 | \{C{red} |] \VL red \VL\SR \stoptable \stoptext This was an older example which worked some years ago (see: http://www.ntg.nl/pipermail/ntg-context/2006/020803.html), but is not working anymore. What is the problem here? Wolfgang _

Re: [NTG-context] Colored labels with MetaPost in MkII

2008-10-29 Thread Wolfgang Schuster
On Tue, Oct 28, 2008 at 3:47 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Mon, 27 Oct 2008, Wolfgang Schuster wrote: > >> On Fri, Oct 24, 2008 at 2:15 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote: >>> On Fri, 24 Oct 2008, Wolfgang Schuster wrote: >>> Hi all, what is the best me

Re: [NTG-context] Colored labels with MetaPost in MkII

2008-10-28 Thread Aditya Mahajan
On Mon, 27 Oct 2008, Wolfgang Schuster wrote: > On Fri, Oct 24, 2008 at 2:15 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote: >> On Fri, 24 Oct 2008, Wolfgang Schuster wrote: >> >>> Hi all, >>> >>> what is the best method to format MetaPost labels in MkII with >>> \doattributes. >> >> \startMPenviro

Re: [NTG-context] Colored labels with MetaPost in MkII

2008-10-27 Thread Wolfgang Schuster
On Fri, Oct 24, 2008 at 2:15 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Fri, 24 Oct 2008, Wolfgang Schuster wrote: > >> Hi all, >> >> what is the best method to format MetaPost labels in MkII with \doattributes. > > \startMPenvironment[global] >> \setupcolors[state=start] >> >> \def\labelst

Re: [NTG-context] Colored labels with MetaPost in MkII

2008-10-24 Thread Wolfgang Schuster
On Fri, Oct 24, 2008 at 3:15 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Fri, 24 Oct 2008, Wolfgang Schuster wrote: > >> Hi all, >> >> what is the best method to format MetaPost labels in MkII with \doattributes. > > \startMPenvironment[global] >> \setupcolors[state=start] >> >> \def\labelst

Re: [NTG-context] Colored labels with MetaPost in MkII

2008-10-24 Thread Aditya Mahajan
On Fri, 24 Oct 2008, Wolfgang Schuster wrote: > Hi all, > > what is the best method to format MetaPost labels in MkII with \doattributes. \startMPenvironment[global] > \setupcolors[state=start] > > \def\labelstyle{bold} > \def\labelcolor{red} \stopMPenvironment This gives you only bold label. >

[NTG-context] Colored labels with MetaPost in MkII

2008-10-24 Thread Wolfgang Schuster
Hi all, what is the best method to format MetaPost labels in MkII with \doattributes. \setupcolors[state=start] \def\labelstyle{bold} \def\labelcolor{red} \starttext \startMPcode label(textext("\doattributes{label}{style}{color}{Label}"),origin) ; \stopMPcode \stoptext Wolfgang ___

Re: [NTG-context] colored footnode numbers

2007-04-19 Thread Thomas A. Schmitz
t > und the > ref-number at the bottom. > > I got the bottom-number colored with > > \setupfootnotes[color=hauptfarbe] > > but how can I color the footnote-number inside the text? > > Thanks, H. > ___ > ntg-con

[NTG-context] colored footnode numbers

2007-04-19 Thread Henning Haeske
Hi, I want to color the footnote-numbers: the ref-number in the text und the ref-number at the bottom. I got the bottom-number colored with \setupfootnotes[color=hauptfarbe] but how can I color the footnote-number inside the text? Thanks, H

Re: [NTG-context] gray scale conversion of colored text

2007-03-27 Thread Peter Rolf
Taco Hoekwater wrote: > Peter Rolf wrote: >> Something like >> >> \setupcolors[conversion=always] > > Is there is a reason why you can not use >\setupcolors[state=start] > as well? > Mh, you mean beside from my too little brain? No. ;) This works with the simple example, but sadly not with m

Re: [NTG-context] gray scale conversion of colored text

2007-03-26 Thread Taco Hoekwater
Peter Rolf wrote: > > Something like > > \setupcolors[conversion=always] Is there is a reason why you can not use \setupcolors[state=start] as well? That works fine in combination with conversion, and you will end up with greyscale color. Best, Taco

Re: [NTG-context] gray scale conversion of colored text

2007-03-26 Thread Peter Rolf
istake. The text that is used inside MP has the correct gray value. Only the ConTeXt part always uses black as textcolor. So my problem is, that want to use colored text in a non colored document. Something like \setupcolors[conversion=always] \starttext \setbox\scratchbox\hbox{An example text

[NTG-context] gray scale conversion of colored text

2007-03-26 Thread Peter Rolf
Hi, I currently have a problem with the conversion of some mp graphics into gray scale. The mp graphics themself look great, but *text is always converted to black*, regardless of its real color. Is there a way to fix this? Peter ___ ntg-context mailing

  1   2   >