[NTG-context] Re: endnote

2025-07-25 Thread Wolfgang Schuster
}     \input knuth     \input knuth \stopBook{\setupcolors[textcolor=darkred] ending the second one}     \input knuth     \input knuth \stoptext textcolor colored only the symbol in the text! \color[darkgreen] gives an error. \setupcolors...  works. 2. In the normal case I got a number (1) but

[NTG-context] Re: endnote

2025-07-25 Thread Thomas Meyer
}     \input knuth     \input knuth \stopBook{\setupcolors[textcolor=darkred] ending the second one}     \input knuth     \input knuth \stoptext textcolor colored only the symbol in the text! \color[darkgreen] gives an error. \setupcolors...  works. 2. In the normal case I got a number (1) but I do not

[NTG-context] Re: endnote

2025-07-25 Thread Thomas Meyer
{\setupcolors[textcolor=darkred] ending the second one}     \input knuth     \input knuth \stoptext textcolor colored only the symbol in the text! \color[darkgreen] gives an error. \setupcolors...  works. 2. In the normal case I got a number (1) but I do not want anything. And the third problem is: If

[NTG-context] Re: Margin text?

2025-07-24 Thread Ursula Hermann
there are several approaches possible. – The colored area must “bleed” over the edge of the paper (usually 2–3 mm), i.e. you must use the second parameter of \setuppaper for the sheet size. – It makes sense to use a layer for placement and a \framed for the box, i.e. \setlayerframed. – It makes sense

[NTG-context] Re: Margin text?

2025-07-24 Thread Henning Hraban Ramm
within that section. – Its setup should probably be triggered by \setuphead or maybe \setupheader, but there’s nothing ready-made and there are several approaches possible. – The colored area must “bleed” over the edge of the paper (usually 2–3 mm), i.e. you must use the second parameter of

[NTG-context] Re: comparing text with the new typo-dif.mkxl

2025-05-10 Thread Pablo Rodriguez via ntg-context
sure about variants and that's something we're still exploring > > also, right now i'm in a "context squid" mode (for the upcoming meeting) Many thanks for the reply, Hans. Good to know that you are in another mode. >> Colored background (with even white fore

[NTG-context] Re: comparing text with the new typo-dif.mkxl

2025-05-09 Thread Hans Hagen via ntg-context
), it is harder to notice. Colored background (with even white foreground color) is far easier to notice. but also quite ugly (and it will add runtime) Hans - Hans Hagen | PRAGMA ADE

[NTG-context] comparing text with the new typo-dif.mkxl

2025-05-09 Thread Pablo Rodriguez via ntg-context
ly one), it is harder to notice. Colored background (with even white foreground color) is far easier to notice. Many thanks for your help, Pablo ___ If your question is of interest to others as well, please add an entry

[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: Hiding a part of a path

2024-12-02 Thread Gavin via ntg-context
ant. Your original example made an image and colored white over part of the path. It doesn’t look great. It can be improved by making the white pen bigger: pic := image(draw p; draw q withpen pencircle scaled 0.6 withcolor white;); I’m not sure this gives what you want at the ends, but it certainly h

[NTG-context] Re: Deactivate (back)links of the bibliography

2024-10-06 Thread Alan Braslau via ntg-context
back to > > > > the > > > (first?) citation within the text. > > > A side effect is that the whole reference entry is colored in the > > > link color.> > > > Is there a possibility to deactivate the back linking or limit it > > > to the key?

[NTG-context] Re: Deactivate (back)links of the bibliography

2024-10-06 Thread Gerion Entrup
that the whole reference entry is colored in the > > link color.> > > Is there a possibility to deactivate the back linking or limit it to > > the key? > Hi Gerion, > > \setupbtx[interaction=stop] disables all interaction. > > Other values are: number text page a

[NTG-context] Re: Deactivate (back)links of the bibliography

2024-10-06 Thread Pablo Rodriguez via ntg-context
On 10/6/24 04:37, Gerion Entrup wrote: > Hi, > > when typesetting bibliographies, ConTeXt seems to link back to the > (first?) citation within the text. > A side effect is that the whole reference entry is colored in the > link color.> > Is there a possibility to deacti

[NTG-context] Deactivate (back)links of the bibliography

2024-10-05 Thread Gerion Entrup
Hi, when typesetting bibliographies, ConTeXt seems to link back to the (first?) citation within the text. A side effect is that the whole reference entry is colored in the link color. Is there a possibility to deactivate the back linking or limit it to the key? This is also relevant, when the

[NTG-context] Re: Quotation mark in drop caps

2024-07-11 Thread Thangalin
e quotation marks in the first place. > > e.g. There are always better/simpler ways to achieve the story to be > told. Trace back to the underlying idea as why these drop capitals were > invented in the first place. Most likely to visually separate blocs of > mono colored bread text

[NTG-context] Re: Quotation mark in drop caps

2024-07-10 Thread vm via ntg-context
first place. Most likely to visually separate blocs of mono colored bread text with the lead characters from the drawer below. These days there are (better) alternatives to solve the issue of separation text paragraphs. (avoiding a problem instead of trying to solve it afterwards) .F

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-17 Thread Hans Hagen
Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - \starttext \startTEXpage[offset=1pt] \colored[a=1,t=.5,r=

[NTG-context] Re: MetaPost lines in tables?

2024-02-22 Thread Hans Hagen via ntg-context
On 2/21/2024 7:47 PM, Henning Hraban Ramm wrote: Am 21.02.24 um 19:43 schrieb Wolfgang Schuster: … but it would be visible on a colored background. I’m sure you can show me a better way… \startuseMPgraphic{dottedborder}    draw bottomboundary OverlayBox withpen pencircle scaled 2 dashed

[NTG-context] Re: MetaPost lines in tables?

2024-02-21 Thread Henning Hraban Ramm
Am 21.02.24 um 19:43 schrieb Wolfgang Schuster: … but it would be visible on a colored background. I’m sure you can show me a better way… \startuseMPgraphic{dottedborder}   draw bottomboundary OverlayBox withpen pencircle scaled 2 dashed withdots withcolor "red";   setbounds curr

[NTG-context] Re: MetaPost lines in tables?

2024-02-21 Thread Wolfgang Schuster
d 2 dashed withdots withcolor "red"; \stopuseMPgraphic … but it would be visible on a colored background. I’m sure you can show me a better way… \startuseMPgraphic{dottedborder} draw bottomboundary OverlayBox withpen pencircle scaled 2 dashed withdots withcolor "red";

[NTG-context] Re: MetaPost lines in tables?

2024-02-21 Thread Henning Hraban Ramm
seMPgraphic … but it would be visible on a colored background. I’m sure you can show me a better way… My real life example (p.2 in https://yemaya.fiee.net/s/DEEHs5m49yftiqW) involves sketchy lines, and there it’s a bit annoying that the row is not its own frame that could get a continuous backg

[NTG-context] Re: [ \copypages ]

2024-01-17 Thread Henning Hraban Ramm
Am 17.01.24 um 22:20 schrieb vm via ntg-context: Is there a (hidden) option that allows for changing the font color of external included pdfs \copypages[file.pdf][color=blue] does not work as intended ;-) No, it can’t. You can try to use transparency: put a colored area on top of the PDF

[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

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hamid,Idris
ypeset text Hm, ok. Since almfixed is based on Knuth's mono, perhaps its visuals of the control characters can be extracted and used as fallback symbols. Yes: For typeset text/printing visualization is generally unnecessary (the point of this thread). 2. \enabletrackers[typesetters.nbsp]

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
so much typeset text 2. \enabletrackers[typesetters.nbsp] gives a colored box, which is at least something.. But how can we get the NBSP symbol that's alerady in the font? it's gone by that time ... the line break mmechanism uses glue, not characters 3. Ideally: a. we want all U

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hamid,Idris
fallback font one uses, as long as it has no control-character symbols. 1. Can this approach be generalized to get what we want, viz., a way to toggle the symbols? 2. \enabletrackers[typesetters.nbsp] gives a colored box, which is at least something.. But how can we get the NBSP symbol that'

Re: [NTG-context] Noto Emoji COLRv1

2023-05-24 Thread Hans Hagen via ntg-context
On 5/23/2023 11:31 PM, Max Chernoff via ntg-context wrote: Hi Hans, I tried using the code from [1] for Noto Emoji in COLRv1 format [2]: \startTEXpage \definefontfeature[colored][default][colr=9] \definedfont[Noto-COLRv1.ttf*colored] 🦆 % U+1F986 \stopTEXpage but

[NTG-context] Noto Emoji COLRv1

2023-05-23 Thread Max Chernoff via ntg-context
Hi Hans, I tried using the code from [1] for Noto Emoji in COLRv1 format [2]: \startTEXpage \definefontfeature[colored][default][colr=9] \definedfont[Noto-COLRv1.ttf*colored] 🦆 % U+1F986 \stopTEXpage but ConTeXt gives the following error: fonts > otf load

[NTG-context] lmtx upload

2022-12-01 Thread Hans Hagen via ntg-context
eeded for the rather nice: https://gitlab.com/smc/fonts/Nupuram/-/blob/master/docs/README.md which is used like: \startTEXpage[offset=1dk,align={normal,tolerant,stretch}] \definefontfeature[colored][default][colr=9] \definefontfeature[slanted][default][slant=.2] \definedfont[name:nu

Re: [NTG-context] PDF viewer

2022-09-23 Thread Henning Hraban Ramm via ntg-context
nce pdf.js can handle Tagged PDF (XML parser included). - show fonts metadata (inclusion etc.) No. Pity. Should also not be too difficult, since the viewer needs the data anyway. - show PDF Boxes (MediaBox, CropBox, TrimBox, BleedBox, ArtBox) as colored frames, switchable via

Re: [NTG-context] PDF viewer

2022-09-22 Thread Max Chernoff via ntg-context
idebar or dialog You can see all the "regular" metadata, but XMP doesn't work. > - show fonts metadata (inclusion etc.) No. > - show PDF Boxes (MediaBox, CropBox, TrimBox, BleedBox, ArtBox) as >colored frames, switchable via preferences and menu (bar) item No. > - c

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 wrot

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 context.color({&quo

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 context.color({&quo

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

[NTG-context] Problems with MetaFun Transparency Groups

2022-06-13 Thread Stefan Haller via ntg-context
of 50%. However, I want to draw the whole grid as one group and then blend it as a whole so that the whole grid is evenly colored when blended. According to the MetaFun manual we should be able to get the desired effect with the `asgroup` operator applied to a picture. (Actually, the manual says the

Re: [NTG-context] Harfbuzz plugin and colors

2022-02-14 Thread Hans Hagen via ntg-context
ult]   [script=deva] \definefontfeature[colored][harf]   [language=dflt,script=arab,    colr=yes] %doesn't do anything \startbuffer[hindi] i honestely have no clue if color will work (also because hb is in a sort of continuous flux wrt updates and so, and i tend not to update libraries without k

Re: [NTG-context] Harfbuzz plugin and colors

2022-02-13 Thread Aditya Mahajan via ntg-context
dflt, >script=deva] > \definefontfeature[devaB][default] > [script=deva] > \definefontfeature[colored][harf] > [language=dflt,script=arab, > colr=yes] %doesn't do anything Wouldn't you also have to enable the colored feature somewhere? > \starttext > {\ri

[NTG-context] Harfbuzz plugin and colors

2022-02-13 Thread Jairo A. del Rio via ntg-context
module[fonts-plugins] \definefontfeature[harf] [mode=plug, features=harfbuzz, shaper=native] %Just to test Harfbuzz is actually working \definefontfeature[devaA][harf] [language=dflt, script=deva] \definefontfeature[devaB][default] [script=deva] \definefontfeature[colored][harf] [language=dflt,scri

Re: [NTG-context] control cite - bibliographical references

2022-01-30 Thread Henning Hraban Ramm via ntg-context
\everybtxlistrendering. There the problem seems to relate to the use of \setupinteraction. Now, in my citations (\cite[Douma1979a]) the authornames are still colored. Douma, 1979a, 86 I examined the contextgarden site, read and tried the answers to previous questions, but could not find out how

[NTG-context] control cite - bibliographical references

2022-01-30 Thread Robert via ntg-context
to the use of \setupinteraction. Now, in my citations (\cite[Douma1979a]) the authornames are still colored. Douma, 1979a, 86 I examined the contextgarden site, read and tried the answers to previous questions, but could not find out how to do this. Is there a way to control the author names

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

Re: [NTG-context] randomize direction of arrow in metafun

2021-05-15 Thread Mikael Sundqvist
I want to draw colored arrows in a randomized > color (from a list of colors). This works (and the code is far too > clever for me, I must have copied it somewhere): > > save mycolor ; color mycolor[] ; > mycolor[1] := (0.2, 0.3, 0.4) ; > mycolor[2] := (0.6, 0.6, 0.4) ; > mycolor[

[NTG-context] randomize direction of arrow in metafun

2021-05-15 Thread Thomas A. Schmitz
Hi all, for a slide template, I want to draw colored arrows in a randomized color (from a list of colors). This works (and the code is far too clever for me, I must have copied it somewhere): save mycolor ; color mycolor[] ; mycolor[1] := (0.2, 0.3, 0.4) ; mycolor[2] := (0.6, 0.6, 0.4

Re: [NTG-context] NotoColorEmoji - loca table not found

2021-05-14 Thread Hans Hagen
\starttext \definedfont[file:NotoColorEmoji.ttf*color] \emoji{handshake} \char"1F91D \stoptext two handhakes ... (you need to use the color feature, this font doesn't have non colored ones btw) -

Re: [NTG-context] Issue with \handletokens\with and Lua-defined macros

2021-03-29 Thread Hans Hagen
userdata.myfunction()) end } \stopluacode \def\colorfulnumbers#1{\colored[h=\luaexpr{40*#1},s=1,v=1]{#1}\ }% \starttext %It doesn't work %\handletokens{\myfunction}\with\colorfulnumbers \expandafter\handletokens\expandafter{\myfunction}\with\colorfulnumbers \stoptext As readily s

[NTG-context] Issue with \handletokens\with and Lua-defined macros

2021-03-29 Thread Jairo A. del Rio
20323" .. "657838053757849835434002826851807933276" .. "324327913964298509889902373459201557839" .. "84828001486412574060553756854137069878601" end interfaces.implement{ name = "myfunction", public = true, actions = function () context(userdata.myfunction()) end } \stopluacode \def\

Re: [NTG-context] font fallback hook (alphabet suspects)

2021-02-01 Thread Jano Kula
t; I was thinking goodies could be the answer even for the font fallbacks hooks. Unicode blocks are colored and wikified <https://wiki.contextgarden.net/Font_Goodies> (simplified example) now, which definitely helps. I'm fine with logs and trackers, but the original idea was to search PDF b

Re: [NTG-context] Piecewise margin line

2020-11-20 Thread Johann Birnick
some fancy theorem style for my math notes. For this I > > > > want > > > > to > > > > have a colored margin line next to my theorems. It should look like > > > > this: > > > > > > > > https://i.ibb.co/F6L59pD/idea.png > >

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread mf
Il 20/11/20 02:06, Johann Birnick ha scritto: On Thu, 2020-11-19 at 11:25 +0100, mf wrote: Il 19/11/20 10:39, Johann Birnick ha scritto: Hello, I want to setup some fancy theorem style for my math notes. For this I want to have a colored margin line next to my theorems. It should look like

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread Otared Kavian
proclaim-leftbar.tex Best regards: Otared > On 20 Nov 2020, at 02:06, Johann Birnick wrote: > > On Thu, 2020-11-19 at 11:25 +0100, mf wrote: >> Il 19/11/20 10:39, Johann Birnick ha scritto: >>> Hello, >>> >>> I want to setup some fancy theorem style for

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread Johann Birnick
On Thu, 2020-11-19 at 11:25 +0100, mf wrote: > Il 19/11/20 10:39, Johann Birnick ha scritto: > > Hello, > > > > I want to setup some fancy theorem style for my math notes. For this I want > > to > > have a colored margin line next to my theorems. It shou

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread mf
Il 19/11/20 10:39, Johann Birnick ha scritto: Hello, I want to setup some fancy theorem style for my math notes. For this I want to have a colored margin line next to my theorems. It should look like this: https://i.ibb.co/F6L59pD/idea.png The line should stretch over the whole theorem, not

[NTG-context] Piecewise margin line

2020-11-19 Thread Johann Birnick
Hello, I want to setup some fancy theorem style for my math notes. For this I want to have a colored margin line next to my theorems. It should look like this: https://i.ibb.co/F6L59pD/idea.png The line should stretch over the whole theorem, not just the first line. (But the latter would be a

Re: [NTG-context] Hyphenation patterns

2020-10-09 Thread Hans Hagen
lpful. BTW \hyphenatedword works the same. I didn’t see anything colored. There are some more commands like this, even \hyphenatedfile, see https://source.contextgarden.net/tex/context/base/mkiv/supp-box.mkiv?search=hyphenated Usually Arthur’s (hail the emperor of hyphenation and protector of the pat

Re: [NTG-context] Hyphenation patterns

2020-10-09 Thread Henning Hraban Ramm
> Wow, that's super helpful. BTW \hyphenatedword works the same. I didn’t see anything colored. There are some more commands like this, even \hyphenatedfile, see https://source.contextgarden.net/tex/context/base/mkiv/supp-box.mkiv?search=hyphenated Usually Arthur’s (hail the emperor of

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, see example below

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] Text around a figure

2020-07-16 Thread Otared Kavian
] % change the value here Best regards: Otared > On 16 Jul 2020, at 11:10, Fabrice Couvreur > wrote: > > Hi Otared and Wolfgang, > Thanks for your help ; the result is almost what I want (the space between > the text and the figure is not colored) but it is likely that we coul

Re: [NTG-context] Text around a figure

2020-07-16 Thread Fabrice Couvreur
Hi Otared and Wolfgang, Thanks for your help ; the result is almost what I want (the space between the text and the figure is not colored) but it is likely that we could not do better. Fabrice Le mer. 15 juil. 2020 à 22:25, Otared Kavian a écrit : > Hi Fabrice, > > I think what

Re: [NTG-context] Text around a figure

2020-07-15 Thread Otared Kavian
;> \startitemize[n] >>\dorecurse{3}{\startitem \input ward \stopitem} >> \stopitemize >>\stopframedtext >> \stoptext > > > Side floats don't work in frames, use the textbackground environment to add a > colored box behind the text. > &g

Re: [NTG-context] Text around a figure

2020-07-15 Thread Wolfgang Schuster
round environment to add a colored box behind the text. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/lis

Re: [NTG-context] What does #+ do?

2020-07-13 Thread Wolfgang Schuster
)} So \TestA1{\red 2}3 \TestB1{\red 2}3 \TestC1{\red 2}3 \TestD1{\red 2}3 give (1)(2)(3) % red from "2" onward (1)()(3) (1)(2)(3) % only "2" is colored (1)(3) What I guess is that #+ pass an argument, grouping braces included (the report says an argument is passed "as

Re: [NTG-context] What does #+ do?

2020-07-13 Thread Jairo A. del Rio
; > (1)(2)(3) % red from "2" onward > (1)()(3) > (1)(2)(3) % only "2" is colored > (1)(3) > > What I guess is that #+ pass an argument, grouping braces included (the > report says an argument is passed "as-is"). I see it as really useful. But, >

[NTG-context] What does #+ do?

2020-07-13 Thread Jairo A. del Rio
2}3 \TestD1{\red 2}3 give (1)(2)(3) % red from "2" onward (1)()(3) (1)(2)(3) % only "2" is colored (1)(3) What I guess is that #+ pass an argument, grouping braces included (the report says an argument is passed "as-is"). I see it as really useful. But, apart from th

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

2020-05-20 Thread Jairo A. del Rio
; > > using latest ConTeXt with the following sample, I get these results: > > > >\definefontfamily[emoj][rm][Twemoji Mozilla][features={color}] > >\setupbodyfont[emoj] > >\starttext > >🤦🇬🇧 > >\stoptext > > > > MkIV (2020.01.30

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
es={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? Many thanks for your help, Pablo -- http://www

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

2020-05-20 Thread Jairo A. del Rio
containers xml > core > load error: invalid xml file - parsed text With LMTX it gives an error about mlib-svg. 2. \definefontfeature[overlay][default][ccmp=yes,colr=yes,dist=yes] \definefontfeature[svg] [default][svg=yes] \definefontfeature[bitmap] [default][sbix=yes] \definefontfeatu

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

2020-05-16 Thread Aditya Mahajan
is a bug. Could you provide a complete MWE. Please find a MWE at the bottom of this post. The expected behaviour is that the keyword `function` in the JavaScript snippet and `foobar` in the Ruby snippet should be colored and in italics, as comments are. The respective Vim highlight group

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

2020-05-16 Thread Aditya Mahajan
e MWE. Please find a MWE at the bottom of this post. The expected behaviour is that the keyword `function` in the JavaScript snippet and `foobar` in the Ruby snippet should be colored and in italics, as comments are. The respective Vim highlight groups are `javaScriptFunction` and `rubyMethodName`,

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

2020-05-16 Thread Nicola
ease find a MWE at the bottom of this post. The expected behaviour is that the keyword `function` in the JavaScript snippet and `foobar` in the Ruby snippet should be colored and in italics, as comments are. The respective Vim highlight groups are `javaScriptFunction` and `rubyMethodName`, which bot

[NTG-context] \goto works but links don't when passed via textext() in METAPOST

2020-05-10 Thread Gerben Wierda
"\definebodyfont[11pt][rm][default=Regular at 11pt]\switchtobodyfont[11pt]\setupinterlinespace[12.1pt]\framed[align=flushleft,frame=off,offset=none,width=170.000bp]{\colored[r=0.000, g=0.000, b=0.000]{\tf The elements are shown in colors where blue represents active structure, yellow behavio

[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] lmt_followtext crashes while standard followtext itself works

2020-05-04 Thread Hans Hagen
On 5/3/2020 11:47 PM, Gerben Wierda wrote: The following example has been extracted from my automatically generated MP code. \starttext \startMPpage string texstring; texstring := "{\colored [r=0.00, g=0.00, b=0.00]{\definebodyfont [9.0pt][rm][default=Regular at 9.0pt]\switchtobod

[NTG-context] lmt_followtext crashes while standard followtext itself works

2020-05-03 Thread Gerben Wierda
The following example has been extracted from my automatically generated MP code. \starttext \startMPpage string texstring; texstring := "{\colored [r=0.00, g=0.00, b=0.00]{\definebodyfont [9.0pt][rm][default=Regular at 9.0pt]\switchtobodyfont [9.0pt]\setupinterlinespace [9.9pt]\t

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-02 Thread Hans Hagen
t][rm][default=Regular at 14.9pt]\switchtobodyfont[14.9pt]\setupinterlinespace[16.9pt]\framed[align=center,frame=off,offset=none,width=335.350bp]{\colored[r=0.000, g=0.000, b=0.000]{\rm (Artifact)\\}}"); draw pic scaled 1.13; \stopMPpage \stoptext Produces nice Optima at 14.9pt without 

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Gerben Wierda
d problems. > >> \setupbodyfont [optima] >> \starttext >> \startMPpage[instance=doublefun] >> picture pic; >> pic := textext("\definebodyfont[14.9pt][rm][default=Regular at >> 14.9pt]\switchtobodyfont[14.9pt]\setupinterlinespace[16.9pt]\framed[align=cent

[NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Gerben Wierda
] [default] \setupbodyfont [optima] \starttext \startMPpage[instance=doublefun] picture pic; pic := textext("\definebodyfont[14.9pt][rm][default=Regular at 14.9pt]\switchtobodyfont[14.9pt]\setupinterlinespace[16.9pt]\framed[align=center,frame=off,offset=none,width=335.350bp]{\colored[r=0.00

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Wolfgang Schuster
4.9pt]\setupinterlinespace[16.9pt]\framed[align=center,frame=off,offset=none,width=335.350bp]{\colored[r=0.000, g=0.000, b=0.000]{\rm (Artifact)\\}}"); You use \rm here which is used to switch to the serif typeface. When your goal is to enforce the upright alternative you use the wrong command because yo

Re: [NTG-context] Solution: METAPOST textext() eats my \pars. Was: Setting vertical spacing of lines inside a \framed[align=]

2020-04-25 Thread Gerben Wierda
On a hunch, I found a solution. I added \\ instead of \par at the end and goit exactly what I wanted. \enabletrackers[context.trace] \starttext %\framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, g=0.000, %b=0.000]{\switchtobodyfont[11.0pt]\setupinterlinespace

[NTG-context] METAPOST textext() eats my \pars. Was: Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
> On 24 Apr 2020, at 18:40, Thomas A. Schmitz <mailto:thomas.schm...@uni-bonn.de>> wrote: > > > >> On 24. Apr 2020, at 18:19, Gerben Wierda > <mailto:gerben.wie...@rna.nl>> wrote: >> >> \starttext >> >> \framed[align=flushrigh

[NTG-context] METAPOST textext() eats my \pars. Was: Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
> On 24 Apr 2020, at 18:40, Thomas A. Schmitz <mailto:thomas.schm...@uni-bonn.de>> wrote: > > > >> On 24. Apr 2020, at 18:19, Gerben Wierda > <mailto:gerben.wie...@rna.nl>> wrote: >> >> \starttext >> >> \framed[align=flushrigh

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
On 24 Apr 2020, at 19:32, Wolfgang Schuster > wrote: > > Thomas A. Schmitz schrieb am 24.04.2020 um 18:40: >>>> On 24. Apr 2020, at 18:19, Gerben Wierda wrote: >>> >>> \starttext >>> >>> \framed[align=flushright,frame=on,offset=none,

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Wolfgang Schuster
Thomas A. Schmitz schrieb am 24.04.2020 um 18:40: On 24. Apr 2020, at 18:19, Gerben Wierda wrote: \starttext \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, g=0.000, b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm [My]\\Application

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Thomas A. Schmitz
> On 24. Apr 2020, at 18:19, Gerben Wierda wrote: > > \starttext > > \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, > g=0.000, > b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm > [My]\\Application\\(Component)}} &g

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
I want the lines in this frame packed more closely together: \starttext \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\setupinterlinespace[0.9]\colored[r=0.000, g=0.000, b=0.000]{\switchtobodyfont[11.0pt] \rm [My]\\Application\\(Component)}} \stoptext I tried a bit of

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] Background color of a framedtext that covers floats

2020-04-08 Thread Fabrice Couvreur
; I think not including the table in the framed text is the easiest way to > avoid the colored background. > > Or why do you need the table inside the framed text, which only adds the > background color (and disables the frame)? > > > In fact, my question is more general: if we in

  1   2   3   4   5   6   >