[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-10 Thread Hans Hagen
On 4/10/2024 5:22 AM, seyal zavira wrote: seams this code means to put a hidden text with same size behind metapost shape. but it does not work properly for me (current version: 2024.04.01 08:59) and produce empty page but with searchable hidden text. as mentioned kind = "outline" will be in

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-09 Thread seyal zavira
seams this code means to put a hidden text with same size behind metapost shape. but it does not work properly for me (current version: 2024.04.01 08:59) and produce empty page but with searchable hidden text. also when i edit the code and replace metapost part like this: \startMPcode draw

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-08 Thread Hans Hagen
On 4/8/2024 8:22 AM, seyal zavira wrote: thank you Harban and Keith McKay. \startMPpage       picture tt ; tt := lmt_outline [           kind = "path",           text = "\definedfont[name:texgyrepagellabold*default]foo f o o",       ] ;       fill          

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-08 Thread seyal zavira
thank you Harban and Keith McKay. \startMPpage > picture tt ; tt := lmt_outline [ > kind = "path", > text = "\definedfont[name:texgyrepagellabold*default]foo f o o", > ] ; > > fill > for i within tt : pathpart i && endfor cycle >

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Hans Hagen
On 4/7/2024 7:42 PM, Henning Hraban Ramm wrote: Am 07.04.24 um 19:05 schrieb Hans Hagen: \startMPpage picture tt ; tt := lmt_outline [ kind = "fillup", text = "\definedfont[name:texgyrepagellabold*default]foo f o o", ] xsized 12cm ; path bb ; bb := boundingbox

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Keith McKay
I've found my original file and the image is as Hraban says below. The code is the original in the post I quoted  and gives a green background with shaded colours in the text. Best Wishes Keith On 07/04/2024 18:42, Henning Hraban Ramm wrote: Am 07.04.24 um 19:05 schrieb Hans Hagen:

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 19:05 schrieb Hans Hagen: \startMPpage     picture tt ; tt := lmt_outline [     kind = "fillup",     text = "\definedfont[name:texgyrepagellabold*default]foo f o o",     ] xsized 12cm ;     path bb ; bb := boundingbox tt ;     path pp ; pp := bb enlarged 2cm ;    

[NTG-context] Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Hans Hagen
Forwarded Message Subject: Re: [NTG-context] Re: how to apply gradient color to a piece of text? Date: Sun, 7 Apr 2024 19:05:13 +0200 From: Hans Hagen To: Keith McKay On 4/7/2024 6:56 PM, Keith McKay wrote: Not for me either. I used it somewhere so I'll need to look

[NTG-context] Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Keith McKay
Not for me either. I used it somewhere so I'll need to look back in my files. Keith On 07/04/2024 17:41, Henning Hraban Ramm wrote: Am 07.04.24 um 15:51 schrieb Keith McKay: Have a look at the posts starting on the 2 March 2021 with the subject heading "Shaded Large Letters in LMTX". Hans

[NTG-context] Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 15:51 schrieb Keith McKay: Have a look at the posts starting on the 2 March 2021 with the subject heading "Shaded Large Letters in LMTX". Hans gave a great solution. Neither for the example in

[NTG-context] Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Keith McKay
Have a look at the posts starting on the 2 March 2021 with the subject heading "Shaded Large Letters in LMTX". Hans gave a great solution. Best Wishes Keith On 07/04/2024 11:48, seyal.zav...@gmail.com wrote: hi all, when i look at luametafun manual there are some intresting examples that

[NTG-context] how to apply gradient color to a piece of text?

2024-04-07 Thread seyal . zavira
hi all, when i look at luametafun manual there are some intresting examples that can apply gradient colors to metapost paths. how i can apply this cool feature to a piece of text? i tried the code below but it does not produce any result. \definecolor[Gleft] [h=9f9393] \definecolor[Gright]

[NTG-context] color profiles

2024-02-07 Thread Henning Hraban Ramm
Hi, I thought I could finally setup color management properly instead of converting all print PDFs with Acrobat Pro… On the wiki, there’s something in https://wiki.contextgarden.net/PDFX; I updated it a bit, but we (I?) should combine it with https://wiki.contextgarden.net/PDF/A … How can I

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread redspacecube
Thank You, It works great. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage :

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mikael Sundqvist
Hi, you can try contrastcolor: \setupinteraction[state=start,color=,contrastcolor=] /Mikael On Sat, Oct 28, 2023 at 1:54 PM Mia Bikey wrote: > > Ah, wrong attachment. > Here is the correct one. > > On Sat, Oct 28, 2023 at 5:18 PM Mia Bikey wrote: >> >> Hi, &g

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mia Bikey
software issue but it is > still the same. > > Here is a minimal working example: > > ConTeXt ver: 2023.09.26 18:19 LMTX > > \setupinteraction[state=start, color=black] > > \starttext > > \placeformula[eq:equation1] > \startformula > x > \stopformula

[NTG-context] Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mia Bikey
\setupinteraction[state=start, color=black] \starttext \placeformula[eq:equation1] \startformula x \stopformula References are red on the first page \in[eq:equation1] \at{page}[eq:equation1] \input tufte \input tufte \input tufte \input tufte \input tufte Now they become black \in[eq:equation1] \at{page

Re: [NTG-context] Color property of \setupurl

2022-08-20 Thread Wolfgang Schuster via ntg-context
Max Chernoff via ntg-context schrieb am 20.08.2022 um 08:41: Hi, Could someone clarify me in what kind of context the color of a hyperlink is controlled by the "color" property of \setupurl? This code: \show\setupurl \showthe\everysetupurl produces: > \se

Re: [NTG-context] Color property of \setupurl

2022-08-20 Thread Max Chernoff via ntg-context
Hi, > Could someone clarify me in what kind of context the color of a > hyperlink is controlled by the "color" property of \setupurl? This code: \show\setupurl \showthe\everysetupurl produces: > \setupurl=frozen protected macro:

[NTG-context] Color property of \setupurl

2022-08-19 Thread Joaquín Ataz López via ntg-context
Good morning everyone. I have been doing some tests on the "color" property of \setupinteraction and the "color" property of \setupurl and my feeling is that the color of the hyperlinks is always controlled by \setupinteraction. Could someone clarify me in what kind

Re: [NTG-context] return a labeltext with color...

2022-06-24 Thread Willi Egger via ntg-context
Hans, Wolfgang, I am so happy to receive your immediate answers. — Thanks a lot, the problem is solved and I get the colored labeltext! Thank you Willi > On 24 Jun 2022, at 19:19, Hans Hagen via ntg-context > wrote: > > On 6/24/2022 4:34 PM, Willi Egger via ntg-context wrote: >> Hi all, >>

Re: [NTG-context] return a labeltext with color...

2022-06-24 Thread Hans Hagen via ntg-context
On 6/24/2022 4:34 PM, Willi Egger via ntg-context wrote: Hi all, Sorry for bothering you again. I would like that lua is returning a colored string, which is a label-text. The following does not work, the labeltext remains black, there is no error though: return

Re: [NTG-context] return a labeltext with color...

2022-06-24 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 24.06.2022 um 16:34: Hi all, Sorry for bothering you again. I would like that lua is returning a colored string, which is a label-text. The following does not work, the labeltext remains black, there is no error though: return

[NTG-context] return a labeltext with color...

2022-06-24 Thread Willi Egger via ntg-context
Hi all, Sorry for bothering you again. I would like that lua is returning a colored string, which is a label-text. The following does not work, the labeltext remains black, there is no error though: return context.color({"red"},context.labeltext(s)) What is the correct approach? Thanks for

Re: [NTG-context] Color profiles (was: Bloody PDF boxes)

2021-11-01 Thread Henning Hraban Ramm via ntg-context
> Am 01.11.2021 um 08:58 schrieb Henning Hraban Ramm via ntg-context > : > > And it seems like GWG is in conflict with the PDF association, at least GWG’s > recommendations contradict PDF/X. GWG doesn’t want to contradict but has a quality focus, see

Re: [NTG-context] Color profiles (was: Bloody PDF boxes)

2021-11-01 Thread Henning Hraban Ramm via ntg-context
ion, at least GWG’s recommendations contradict PDF/X. I’ll try to reflect both... From my personal experience: – If you don’t exactly know what you’re doing, you should use sRGB as RGB working color space, because most cameras and scanners use it. Yes, parts of the color space are outside the p

Re: [NTG-context] changes of color

2021-09-21 Thread fv leung via ntg-context
\starttext It seems that the problem comes up when the same color as the surrounding text is used in MPcode.\par { \red text red\par \startMPcode drawoptions(withcolor blue); label("text blue in MPcode", origin); \stopMPcode \par text still red\par But\par te

[NTG-context] changes of color

2021-09-21 Thread Thierry Horsin via ntg-context
Hi everybody After some part of a tex file where there is some startMPcode section the color of the text (e.g. blue) changes to black up until the next page in the pdf. Is there something I am missing ? Thank you. Thierry

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread T. Kurt Bond
Thanks, this has been very helpful. On Fri, Jul 23, 2021 at 1:02 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > T. Kurt Bond schrieb am 23.07.2021 um 17:55: > > With natural tables I can define a color, tell the table to have to > > use color backgroun

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 23.07.2021 um 17:55: With natural tables I can define a color, tell the table to have to use color backgrounds and turn the frame off and get every odd row in all my tables will have that color for the background. == Example

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread Henning Hraban Ramm
> Am 23.07.2021 um 17:55 schrieb T. Kurt Bond : > > With natural tables I can define a color, tell the table to have to > use color backgrounds and turn the frame off and get every odd row in > all my tables will have that color for the background. > > Can I get this sam

[NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread T . Kurt Bond
With natural tables I can define a color, tell the table to have to use color backgrounds and turn the frame off and get every odd row in all my tables will have that color for the background. == Example \definecolor[grayback][r

Re: [NTG-context] another MetaPost question (this time on ConTeXt->MetaPost color transfer)

2021-07-22 Thread Rudd, Kevin
... fixed minor typo that actually produced new information! invalid color => black, valid color => transparent black!---it seems like the color disappears in the transfer but not the transparency. Hey--- There seems to be a change with color transfer from ConTeXt to MetaPost. Using

Re: [NTG-context] color conversion eats note

2021-06-27 Thread Wolfgang Schuster
Steffen Wolfrum schrieb am 27.06.2021 um 15:55: uncommenting the following \setupcolors changes magenta to black when running luatex. but when running luametatex the footnote is crippled to «error»: \starttext \definestartstop[UL][color=magenta] %\setupcolors[state=stop,conversion=never

[NTG-context] color conversion eats note

2021-06-27 Thread Steffen Wolfrum
uncommenting the following \setupcolors changes magenta to black when running luatex. but when running luametatex the footnote is crippled to «error»: \starttext \definestartstop[UL][color=magenta] %\setupcolors[state=stop,conversion=never]% <- bw with lualatex, but «error» with luameta

Re: [NTG-context] lmtx and defined placeinitial color

2021-05-25 Thread Eduardo Bohoyo
You are welcome. Obviously, it's a dirty trick. For example, it falls down if we have a non-white background on our page. Hopefully LMTX won't take long to update. Eduardo Bohoyo El 26/5/21 a las 0:01, jbf escribió: Thanks Eduardo. Hans had seen the problem and the latest upgrade solves it.

Re: [NTG-context] lmtx and defined placeinitial color

2021-05-25 Thread jbf
Thanks Eduardo. Hans had seen the problem and the latest upgrade solves it. But I'll keep your little trick in mind! Julian On 25/5/21 9:35 pm, Eduardo Bohoyo wrote: I have just seen that I also experience the same problem. I didn't realise it. I have provisionally "solved" it with an unfancy

Re: [NTG-context] lmtx and defined placeinitial color

2021-05-25 Thread Eduardo Bohoyo
I have just seen that I also experience the same problem. I didn't realise it. I have provisionally "solved" it with an unfancy workaround. For instance, in your case it could be something like this: \definecolor[dropcapitals][t=0.40,a=1] This is not ideal. I know. But for the moment I can't

Re: [NTG-context] lmtx and defined placeinitial color

2021-05-25 Thread Hans Hagen
On 5/25/2021 2:10 AM, jbf wrote: If I run the following in lmtx, the defined color is not recognized and I get black instead. If I run it as mkiv with --luatex, I get the darkgray I defined. Is there something else I need to do for lmtx? \definecolor[darkgray][s=.4] \setupinitial[color

[NTG-context] lmtx and defined placeinitial color

2021-05-24 Thread jbf
If I run the following in lmtx, the defined color is not recognized and I get black instead. If I run it as mkiv with --luatex, I get the darkgray I defined. Is there something else I need to do for lmtx? \definecolor[darkgray][s=.4] \setupinitial[color=darkgray,font=adellesemibold at 46pt

Re: [NTG-context] Color problem

2021-05-21 Thread Rik Kabel
On 5/21/2021 00:26, Wolfgang Schuster wrote: Aditya Mahajan schrieb am 21.05.2021 um 04:47: On Thu, 20 May 2021, Rik Kabel wrote: Consider the following example:     \define \HighlightColor {red} Why not just use: \definecolor[HighlightColor][red] and then use color=HighlightColor, etc

Re: [NTG-context] Color problem

2021-05-20 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 21.05.2021 um 04:47: On Thu, 20 May 2021, Rik Kabel wrote: Consider the following example: \define \HighlightColor {red} Why not just use: \definecolor[HighlightColor][red] and then use color=HighlightColor, etc. This is the better way to create unique color

Re: [NTG-context] Color problem

2021-05-20 Thread Aditya Mahajan
On Thu, 20 May 2021, Rik Kabel wrote: > Consider the following example: > >\define \HighlightColor {red} Why not just use: \definecolor[HighlightColor][red] and then use color=HighlightColor, etc. >\definehighlight[RED][color=\HighlightColor] >\definelabel[

[NTG-context] Color problem

2021-05-20 Thread Rik Kabel
Consider the following example: \define \HighlightColor {red} \definehighlight[RED][color=\HighlightColor] \definelabel[AA][alternative=inright,headcolor=\HighlightColor,text=] \definelabel[BB][alternative=inright,headcolor=red,text=] \noheaderandfooterlines \starttext

Re: [NTG-context] color epub reader

2020-11-09 Thread Taco Hoekwater
> On 6 Nov 2020, at 20:22, Hans Hagen wrote: > > Hi, > > Playing with a pocketbook color epub reader (I just put some manuals on it): > > - the colors are not bright enough, also not with lights on, why rgb and not > cmyk (i only tested pdf) If I understand

[NTG-context] color epub reader

2020-11-06 Thread Hans Hagen
Hi, Playing with a pocketbook color epub reader (I just put some manuals on it): - the colors are not bright enough, also not with lights on, why rgb and not cmyk (i only tested pdf) - the viewer is buggy and freezes, color demands more mem i think, but after an upodate it got a bit

Re: [NTG-context] color problem

2020-10-02 Thread Henri Menke
On 01/10/20, 20:55, Susanne G. Loeber wrote: > Dear Reader, > > I have a colored section, text in another color and a TikZ picture with a > differently colored node, following each other. However, either the node > gets the wrong color or the following paragraph, se

Re: [NTG-context] color problem

2020-10-02 Thread Taco Hoekwater
Hi, > On 1 Oct 2020, at 20:55, Susanne G. Loeber wrote: > > Dear Reader, > > I have a colored section, text in another color and a TikZ picture with a > differently colored node, following each other. However, either the node gets > the wrong color or the following p

[NTG-context] color problem

2020-10-01 Thread Susanne G. Loeber
Dear Reader, I have a colored section, text in another color and a TikZ picture with a differently colored node, following each other. However, either the node gets the wrong color or the following paragraph, see example below. Is there something wrong with the section settings? How do I get all

Re: [NTG-context] color question

2020-08-24 Thread Henning Hraban Ramm
> Am 24.08.2020 um 01:15 schrieb jbf : > > I have a very basic question about color use that someone will be able to > answer easily. The background to the question is that (i) I am completely new > to this scene of commercially[offset] print-ready material as distin

[NTG-context] color question

2020-08-23 Thread jbf
I have a very basic question about color use that someone will be able to answer easily. The background to the question is that (i) I am completely new to this scene of commercially[offset] print-ready material as distinct from what is required on screen (ii) I am using Mk IV (iii) I need spot

[NTG-context] Color specific cells in a table

2020-08-23 Thread Fabrice Couvreur
Hello, This table will be used to illustrate Pascal's triangle. I manage to color the cell (2,0) but I would also like to color the cells (2,1) and (3,1). Is it possible ? Thank you Fabrice \usecolors[X11] \starttext \startluacode local background_one = { align = "middle", sty

Re: [NTG-context] Two questions about color in MetaFun

2020-08-13 Thread Jairo A. del Rio
; > 1st: > > > > What is the correct way to pass a ConTeXt named color (e.g. xwi's > "maroon") > > to MetaFun. Using (with \usecolors[xwi] loaded in the preamble): > > > > withcolor maroon > > > > does not work. > > You need: > >

Re: [NTG-context] Two questions about color in MetaFun

2020-08-13 Thread Aditya Mahajan
On Thu, 13 Aug 2020, Jairo A. del Rio wrote: > Hi, list! I have two questions concerning MetaFun: > > 1st: > > What is the correct way to pass a ConTeXt named color (e.g. xwi's "maroon") > to MetaFun. Using (with \usecolors[xwi] loaded in the preamble): > > w

[NTG-context] Two questions about color in MetaFun

2020-08-13 Thread Jairo A. del Rio
Hi, list! I have two questions concerning MetaFun: 1st: What is the correct way to pass a ConTeXt named color (e.g. xwi's "maroon") to MetaFun. Using (with \usecolors[xwi] loaded in the preamble): withcolor maroon does not work. I could copy-paste definitions from ConTeXt sources

Re: [NTG-context] Alphabet & color

2020-08-01 Thread Hans Hagen
On 7/31/2020 10:10 PM, Marcus Vinicius Mesquita wrote: Ok, after changing the glyph names in colorfont.lfg things run smoothly but for six glyphs: uacute, ucircumflex, udieresis, Uacute, Ucircumflex, Udieresis Have I hit a bug? Some font oddness ... use "uhungarumlaut", "Uhungarumlaut",

Re: [NTG-context] Alphabet & color

2020-07-31 Thread Marcus Vinicius Mesquita
Ok, after changing the glyph names in colorfont.lfg things run smoothly but for six glyphs: uacute, ucircumflex, udieresis, Uacute, Ucircumflex, Udieresis Have I hit a bug? Regards, Marcus Vinicius On Fri, Jul 31, 2020 at 3:00 PM Marcus Vinicius Mesquita < marcusvinicius.mesqu...@gmail.com>

Re: [NTG-context] Alphabet & color

2020-07-31 Thread Marcus Vinicius Mesquita
Thank you, that was very helpful. Marcus Vinicius ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Alphabet & color

2020-07-31 Thread Hans Hagen
On 7/31/2020 5:06 PM, Marcus Vinicius Mesquita wrote: Hi, again With the suggestions you gave I managed to obtain the functionality I need, almost. Somehow letters with accents like á ã é ó õ and also ç don't get the same color of the base letters given in the colorfont.lfg below: return

Re: [NTG-context] Alphabet & color

2020-07-31 Thread Marcus Vinicius Mesquita
Hi, again With the suggestions you gave I managed to obtain the functionality I need, almost. Somehow letters with accents like á ã é ó õ and also ç don't get the same color of the base letters given in the colorfont.lfg below: return { name = "coloralphabet", co

Re: [NTG-context] Bug with lmtx and color in table

2020-07-22 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 22.07.2020 um 17:09: Hello, With the latest version of lmtx, the background color of cells does not work. Unrelated to tables. You can reduce xtable and natural table based examples very often to a simple \framed because both tables types inherit many features

[NTG-context] Bug with lmtx and color in table

2020-07-22 Thread Fabrice Couvreur
Hello, With the latest version of lmtx, the background color of cells does not work. Thank you. Fabrice \starttext \startxtable [align={middle,lohi}, offset=0.8ex,background=color, backgroundcolor=red,frame=off] \startxrow \startxcell \m{\displaystyle

Re: [NTG-context] Alphabet & color

2020-07-16 Thread Marcus Vinicius Mesquita
I got it. Thanks. Marcus Vinicius On Thu, Jul 16, 2020, 13:57 Hans Hagen wrote: > On 7/16/2020 6:41 PM, Marcus Vinicius Mesquita wrote > > > I tried your code and it works fine. But where do the color schemes > > default and whatever come from? How can they be changed? &g

Re: [NTG-context] Alphabet & color

2020-07-16 Thread Hans Hagen
On 7/16/2020 6:41 PM, Marcus Vinicius Mesquita wrote I tried your code and it works fine. But where do the color schemes default and whatever come from? How can they be changed? defauls is defined in the example .. colorshemes have numbers: \definecolor[colorscheme:1:1][s=.75] \definecolor

Re: [NTG-context] Alphabet & color

2020-07-16 Thread Marcus Vinicius Mesquita
Thank you, Hans for your answer. I tried your code and it works fine. But where do the color schemes default and whatever come from? How can they be changed? Best regards Marcus Vinicius On Thu, Jul 16, 2020, 04:19 Hans Hagen wrote: > On 7/16/2020 7:32 AM, Marcus Vinicius Mesquita wr

Re: [NTG-context] Alphabet & color

2020-07-16 Thread Hans Hagen
On 7/16/2020 7:32 AM, Marcus Vinicius Mesquita wrote: Dear list I need to typeset a book for kids wich contains texts where each letter is assigned a fixed color, for example: A - - > red; B - - > blue; ... Z - - > green. What would be the best way to do this? TIA. There's more w

[NTG-context] Alphabet & color

2020-07-15 Thread Marcus Vinicius Mesquita
Dear list I need to typeset a book for kids wich contains texts where each letter is assigned a fixed color, for example: A - - > red; B - - > blue; ... Z - - > green. What would be the best way to do this? TIA. Marcus

Re: [NTG-context] Iterate over color scheme in ConTeXt/Lua

2020-07-13 Thread Hans Hagen
On 7/12/2020 11:54 PM, Jairo A. del Rio wrote: El dom., 12 de jul. de 2020 a la(s) 16:20, Hans Hagen (j.ha...@xs4all.nl <mailto:j.ha...@xs4all.nl>) escribió: You get a list of defined color names in 'xwi' with:     attributes.colors.setlist("xwi") Nice, it works!

Re: [NTG-context] Iterate over color scheme in ConTeXt/Lua

2020-07-12 Thread Jairo A. del Rio
El dom., 12 de jul. de 2020 a la(s) 16:20, Hans Hagen (j.ha...@xs4all.nl) escribió: > You get a list of defined color names in 'xwi' with: > > attributes.colors.setlist("xwi") > Nice, it works! I note the first method only works when \usecolors[xwi] is present

Re: [NTG-context] Iterate over color scheme in ConTeXt/Lua

2020-07-12 Thread Hans Hagen
On 7/12/2020 9:58 PM, Jairo A. del Rio wrote: Hi, list. I've got a question about color schemes in ConTeXt What if want to access the entire list of, say, xwi: for k,v in pairs(xwi_list) do --Supposing xwi_list is contains xwi colors   (whatever action I want) end So far I'm manually setting

[NTG-context] Iterate over color scheme in ConTeXt/Lua

2020-07-12 Thread Jairo A. del Rio
Hi, list. I've got a question about color schemes in ConTeXt What if want to access the entire list of, say, xwi: for k,v in pairs(xwi_list) do --Supposing xwi_list is contains xwi colors (whatever action I want) end So far I'm manually setting colors from colo-imp-xwi.mkiv, but I suspect

Re: [NTG-context] [overstrike] with different color?

2020-06-05 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 03.06.2020 um 16:30: Am 03.06.2020 um 16:19 schrieb Floris van Manen : What is the preferred way to overstrike a text with a different color? This does not work: One \overstrike[color=red]{Two} Three \setupbar[color=red,rulethickness=1.4] % measurement in pt

Re: [NTG-context] [overstrike] with different color?

2020-06-05 Thread Henning Hraban Ramm
> Am 04.06.2020 um 20:00 schrieb Floris van Manen : > >> \setupbar[color=red,rulethickness=1.4] % measurement in pt > > the command also takes a parameter offset as well as dy. > I assume the offset will position the line higher / lower . > But I see no effect.

Re: [NTG-context] [overstrike] with different color?

2020-06-04 Thread Floris van Manen
On 03/06/2020 16:30, Henning Hraban Ramm wrote: > \setupbar[color=red,rulethickness=1.4] % measurement in pt the command also takes a parameter offset as well as dy. I assume the offset will position the line higher / lower . But I see no effect. \setupbar[color=red,rulethickness=.3,offset=

Re: [NTG-context] [overstrike] with different color?

2020-06-03 Thread Henning Hraban Ramm
> Am 03.06.2020 um 16:19 schrieb Floris van Manen : > > What is the preferred way to overstrike a text with a different color? > This does not work: > One \overstrike[color=red]{Two} Three \setupbar[color=red,rulethickness=1.4] % measurement in pt See also rules-m

[NTG-context] [overstrike] with different color?

2020-06-03 Thread Floris van Manen
What is the preferred way to overstrike a text with a different color? This does not work: One \overstrike[color=red]{Two} Three .F pEpkey.asc Description: application/pgp-keys ___ If your question is of interest

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-21 Thread Pablo Rodriguez
On 5/20/20 11:25 PM, Hans Hagen wrote: > On 5/20/2020 10:26 PM, Jairo A. del Rio wrote: >> I did. It turns out that installing graphicsmagick does the trick (pun >> intended) for Noto Color Emoji. However, the issue persists for SVG >> fonts and the same message appears, desp

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Jairo A. del Rio
Pablo pointed out the bug in Evince. Sorry too. I've used another PDF viewer and SVG color displays correctly. Thanks. El mié., 20 de may. de 2020 a la(s) 16:32, Jairo A. del Rio ( jairoadelr...@gmail.com) escribió: > Info from \luatexbanner > > For ConTeXt (LuaTeX): This is LuaTeX

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Jairo A. del Rio
gt; I did. It turns out that installing graphicsmagick does the trick (pun > > intended) for Noto Color Emoji. However, the issue persists for SVG > > fonts and the same message appears, despite of having cleaned the cache > > (I've used mtxrun --script cache --erase)

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Hans Hagen
are black and white, no color after wiping the cache. Made no difference with a brand-new install either. Just accidentally, I discovered this is an issue in Evince. LMTX should handle color in LMTX with other PDF code than in MkIV. won't happen ... actually, at some point mkiv will use a similar

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Hans Hagen
On 5/20/2020 10:26 PM, Jairo A. del Rio wrote: I did. It turns out that installing graphicsmagick does the trick (pun intended) for Noto Color Emoji. However, the issue persists for SVG fonts and the same message appears, despite of having cleaned the cache (I've used mtxrun --script cache

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Jairo A. del Rio
I did. It turns out that installing graphicsmagick does the trick (pun intended) for Noto Color Emoji. However, the issue persists for SVG fonts and the same message appears, despite of having cleaned the cache (I've used mtxrun --script cache --erase). Using the code Pablo sent, with EmojiOne

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Pablo Rodriguez
On 5/20/20 9:39 PM, Hans Hagen wrote: >> [...] >> LMTX (2020.05.18 16:50) displays only black and white icons. >> >> I think this might be a bug in LMTX. >> >> Could you confirm the issue? > what if you wipe the cache Many thanks for your reply, Hans. ic

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Hans Hagen
][Twemoji Mozilla][features={color}] \setupbodyfont[emoj] \starttext 臘 \stoptext MkIV (2020.01.30 14:13) displays colored icons. LMTX (2020.05.18 16:50) displays only black and white icons. I think this might be a bug in LMTX. Could you confirm the issue? what if you wipe the cache

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Pablo Rodriguez
On 5/20/20 12:26 PM, Jairo A. del Rio wrote: > [...] > Only Twemoji Mozilla and Segoe UI Emoji worked for me, so, what am I > doing wrong? Hi Jairo, using latest ConTeXt with the following sample, I get these results: \definefontfamily[emoj][rm][Twemoji Mozilla][featur

[NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Jairo A. del Rio
i has no color when compiled with LuaTeX. Furthermore, the log includes a lot of lines like the ones below: fonts > svg conversion > executing runner 'otfsvg': inkscape --export-area-drawing --shell > temp-otf-svg-shape.log fonts > svg conversion > processing 1829 svg containers xml

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

2020-05-17 Thread Aditya Mahajan
On Sun, 17 May 2020, Nicola wrote: 2. The wiki has no mention of \startcolorscheme... \stopcolorscheme or \setups. An example of two would be very welcome! Added documentation: https://github.com/adityam/filter/blob/dev/vim-README.md Aditya

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

2020-05-17 Thread Aditya Mahajan
On Sun, 17 May 2020, Nicola wrote: On 2020-05-17, Aditya Mahajan wrote: Since I already map the minor groups to preferred groups in `t-vim`, I think that a good compromise is to enable the minor groups by default. I can do that by adding statements similar to those above in `2context.vim`.

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

2020-05-17 Thread Nicola
On 2020-05-17, Nicola wrote: > On 2020-05-17, Aditya Mahajan wrote: >> Uploaded a new version with a fix. I have tried the latest beta and, indeed, it now seems to work as expected. Thanks! Nicola ___ If your

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

2020-05-17 Thread Nicola
On 2020-05-17, Aditya Mahajan wrote: >> Since I already map the minor groups to preferred groups in `t-vim`, I think >> that a good compromise is to enable the minor groups by default. I can do >> that by adding statements similar to those above in `2context.vim`. This will >> not have any visual

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

2020-05-17 Thread Aditya Mahajan
Since I already map the minor groups to preferred groups in `t-vim`, I think that a good compromise is to enable the minor groups by default. I can do that by adding statements similar to those above in `2context.vim`. This will not have any visual impact on any existing code, but will allow

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  1   2   3   4   5   6   7   >