[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
=off] \setupnarrower[left=0.80cm, right=0.80cm] \definehspace[oneem][0.5em] \setupinteraction [state=start, color=blue] \usecolors[svg] \setupinteraction [state=start, contrastcolor=cornflowerblue] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
genden Aussagen: \startitemize[n,packed,broad] \item Alle Rosen sind verwelkt oder teuer. \item Alle rosen sind entweder verwelkt oder teuer. \stopitemize \par \usecolors[svg] \setupinteraction [state=start, contrastcolor=cornflowerblue] \reference[Abschnitt:1]{3.2.1.1} {\it Hinweis: Beachten S

[NTG-context] Re: multipage metapost output from ConTeXt

2024-01-06 Thread Emanuel Han via ntg-context
>> [mode=node,language=dflt,script=arab, > > >> init=yes, > > >> medi=yes, > > >> fina=yes, > > >> isol=yes, > > >> calt=yes, > > >> rlig=yes, > > >> tlig=yes, > > >> trep=yes, > > >> curs=yes, > >

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-04 Thread Fabrice L
ym [notonaskharabic-Bold] [name:notonaskharabic] > >> [features=fea] > >> \definefontsynonym [notonaskharabic-Italic] [name:notonaskharabic] > >> [features=fea] > >> \definefontsynonym [notonaskharabic-Bold-Italic] [name:notonaskharabic] > >> [features=fea] > >>

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
t; isol=yes, > > >> calt=yes, > > >> rlig=yes, > > >> tlig=yes, > > >> trep=yes, > > >> curs=yes, > > >> kern=yes, > > >> mark=yes > > >> ] > > >> > > >> \starttypescript [serif] [notonaskhara

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Mikael Sundqvist
> >> [features=fea] > >> \definefontsynonym [notonaskharabic-Bold] [name:notonaskharabic] > >> [features=fea] > >> \definefontsynonym [notonaskharabic-Italic] [name:notonaskharabic] > >> [features=fea] > >> \definefontsynonym [notonaskharabic-Bold

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
abic-Italic] [name:notonaskharabic] > >> [features=fea] > >> \definefontsynonym [notonaskharabic-Bold-Italic] [name:notonaskharabic] > >> [features=fea] > >> \stoptypescript > >> > >> \starttypescript [serif] [notonaskharabic] > >> \usety

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Mikael Sundqvist
serif][fallback] >> \definefontsynonym [Serif] [notonaskharabic-Light] >>[features=fea] >> \definefontsynonym [SerifItalic] [notonaskharabic-Italic] >> [features=fea] >> \definefontsynonym [SerifBold]

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread fv leung
=fea] > \definefontsynonym [SerifItalic] > [notonaskharabic-Italic] [features=fea] > \definefontsynonym [SerifBold] > [notonaskharabic-Bold][features=fea] > \definefontsynonym [SerifBoldItalic] > [notonaskharabic-Bold-Italic] [features=fea] > \stoptypescri

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
notonaskharabic-Italic] [features=fea] > \definefontsynonym [SerifBold] [notonaskharabic-Bold] [features=fea] > \definefontsynonym [SerifBoldItalic] [notonaskharabic-Bold-Italic] > [features=fea] > \stoptypescript > > \starttypescript [notonaskharabic] > \definetypeface [notona

[NTG-context] Re: multipage metapost output from ConTeXt

2023-11-29 Thread Emanuel Han via ntg-context
fea] \stoptypescript \starttypescript [notonaskharabic] \definetypeface [notonaskharabic] [rm] [serif] [notonaskharabic] [default] \stoptypescript \usetypescript[notonaskharabic] \setupbodyfont [RomanFont] \usecolors[crayola] \startMPinclusions picture p[]; path TheFrame ; TheFrame := fullsquare scaled 5

[NTG-context] Re: multipage metapost output from ConTeXt

2023-11-27 Thread Fabrice L
Hi, It is fun fact very easy to do. You just use \startMPpage (…) \stopMPpage multiple times. Here is an example which build an animation of a particle moving according to a Brownian motion. Fabrice. % 8< --- \usecolors[crayola] \setupMPinsta

Re: [NTG-context] Problem with latest version ?

2023-01-04 Thread Fabrice Couvreur via ntg-context
el 7, order 59, name 'pgfmoduleshapes.code.tex' > close source> level 7, order 59, name 'pgfmoduleshapes.code.tex' > close source> level 6, order 59, name 'pgfmodulematrix.code.tex' > open source > level 6, order 60, name 'tikzlibrarytopaths.code.tex' > close source

[NTG-context] Problem with latest version ?

2023-01-04 Thread Fabrice Couvreur via ntg-context
s.code.tex' close source> level 5, order 62, name 'pgfmoduledecorations.code.tex' close source> level 4, order 62, name '/home/fabrice/LMTX/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' modules > 'pgfplots' is not found tex error > tex error on line 8 in fi

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-12 Thread Fabrice Couvreur via ntg-context
ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > ___ > \starten

[NTG-context] Graded Transparency in MetaFun

2022-06-30 Thread Keith McKay via ntg-context
. I'm guessing the way lmt_shade areas are drawn is the way to go. Is this likely to be easy to code for what I want to do? Best Wishes Keith McKay %%%MWE%% \setuppapersize[A4,portrait] \usecolors[crayola] \starttext \startMPpage %page 1 StartPage; numeric maxTransp;% Must be between 0 and 1

Re: [NTG-context] Problem with a defined colour in MetaFun

2022-04-29 Thread Keith McKay via ntg-context
I use a predefined colour, in this case BurntSienna from the crayola collection, it works as expected.  I have tried a number of ways to get this to work as shown in the code but without success. I would be grateful for any suggestions. Best Wishes Keith McKay MWE%%%%%

Re: [NTG-context] Problem with a defined colour in MetaFun

2022-04-29 Thread Keith McKay via ntg-context
,portrait] \usecolors[crayola] \starttext \dorecurse{10}{ \startMPpage StartPage; \definecolor[name="myColor1", r = uniformdeviate(1), g = uniformdeviate(1), b = uniformdeviate(1) ] ; fill unitsquare xscaled PaperWidth yscaled PaperHeight withcolor "myColor1"; for i =2 step 2

Re: [NTG-context] Problem with a defined colour in MetaFun

2022-04-28 Thread Wolfgang Schuster via ntg-context
as expected.  I have tried a number of ways to get this to work as shown in the code but without success. I would be grateful for any suggestions. Best Wishes Keith McKay MWE% \setuppapersize[A4,portrait] \usecolors[crayola] \starttext \dorecurse{10

Re: [NTG-context] Problem with a defined colour in MetaFun

2022-04-28 Thread Fabrice L via ntg-context
xpected. I have tried a number of ways to get this to work as >> shown in the code but without success. I would be grateful for any >> suggestions. >> >> Best Wishes >> >> Keith McKay >> >> MWE% >>

Re: [NTG-context] Problem with a defined colour in MetaFun

2022-04-28 Thread Fabrice L via ntg-context
%%MWE% > \setuppapersize[A4,portrait] > \usecolors[crayola] > \starttext > \dorecurse{10}{ > \startMPpage > StartPage; > \definecolor[name="myColor1", r = uniformdeviate(1), g = uniformdeviate(1), > b = uniformdeviate(1) ] ; > fill unitsqu

[NTG-context] Problem with a defined colour in MetaFun

2022-04-28 Thread Keith McKay via ntg-context
this to work as shown in the code but without success. I would be grateful for any suggestions. Best Wishes Keith McKay MWE% \setuppapersize[A4,portrait] \usecolors[crayola] \starttext \dorecurse{10}{ \startMPpage StartPage; \definecolor[name="myColor

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-12 Thread fv leung via ntg-context
You can also consider using viewerlayer: \setupinteraction[state=start] \defineviewerlayer[solution] \setupcolors[state=start] \usecolors[xwi] \definecolor[keyColor][1.0(maroon)] \starttext \startitemize[n] \but[ToggleLayer{solution}] \samplefile{tufte} \blank[big] \startviewerlayer

Re: [NTG-context] Sum and mathalignment

2021-11-30 Thread Bruce Horrocks via ntg-context
NC S_6 \NC= \NC 6 \NC+ \NC 5 \NC+ \NC\dots \NC+ \NC 2\NC+ \NC 1 \NR > \NC\NC 2S_6 \NC= \NC 7 \NC+ \NC 7 \NC+ \NC\dots \NC+ \NC 7 \NC+ \NC 7 \NR > \stopmathalignment > \stopformula} > \stoptext > > Is there a simpler way to typeset something like this? How about: \usecolors

Re: [NTG-context] Framedtext : text out of frame

2021-09-26 Thread Hans Hagen via ntg-context
On 9/26/2021 5:07 PM, Fabrice Couvreur via ntg-context wrote: Hi, How to fix the small problem in the code below where the text goes out of the frame ? Thanks Fabrice \usecolors[x11] \starttext   \startframedtext[frame=off,width=\textwidth, align={broad,right},indenting={yes},background

[NTG-context] Framedtext : text out of frame

2021-09-26 Thread Fabrice Couvreur via ntg-context
Hi, How to fix the small problem in the code below where the text goes out of the frame ? Thanks Fabrice \usecolors[x11] \starttext \startframedtext[frame=off,width=\textwidth, align={broad,right},indenting={yes},background=color,backgroundcolor=navajowhite1] \startitemize[columns,three

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
I have the following document, but I want a different \setuplayout[backspace] for the titlepage and copyright space. What is the best way to achieve this? \setupcolors [state=start] \usecolors [xwi] \usetypescriptfile [euler] \definetypeface [mainface][rm][serif][pagella

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
I have the following document, but I want a different \setuplayout[backspace] for the titlepage and copyright space. What is the best way to achieve this? \setupcolors [state=start] \usecolors [xwi] \usetypescriptfile [euler] \definetypeface [mainface][rm][serif][pagella

[NTG-context] Possible problem with context using the ARM 64bit download for Apple Silicon M1

2021-02-23 Thread Keith McKay
64bit tree but not in the manual in the X86 64bits tree. Best Wishes Keith McKay Hamilton, Scotland. % \setuppapersize [A4, portrait] \usecolors[crayola] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; definecolor

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Keith McKay
same units? The MWE belows shows what I have been doing. Thanks Keith McKay %%% MWE %%% \setuppapersize [A5, landscape][A4, portrait] \usecolors[crayola] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; numeric squig; pair a[]; a0 = (2cm,11cm); a1 =

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Keith McKay
thin MetaFun which takes account of the units in a pair and outputs the result of x and ypart in the same units? The MWE belows shows what I have been doing. Thanks Keith McKay %%% MWE %%% \setuppapersize [A5, landscape][A4, portrait] \usecolors[crayola] \starttext \startMPpage Star

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Fabrice L
ade >>> the assumption that since the x and ypart in the pair was in cm that the >>> result would be in cm, but I see now that this is not the case. Will I have >>> to continue doing this or is there some magic within MetaFun which takes >>> account of

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Hans Hagen
tuppapersize [A5, landscape][A4, portrait] \usecolors[crayola] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; numeric squig; pair a[]; a0 = (2cm,11cm); a1 = (4cm,10cm); a2 = (6cm,9cm); a3 = (8cm,8cm); show xpart a[0], ypart a[0]; %Example of result from

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Keith McKay
to continue doing this or is there some magic within MetaFun which takes account of the units in a pair and outputs the result of x and ypart in the same units? The MWE belows shows what I have been doing. Thanks Keith McKay %%% MWE %%% \setuppapersize [A5, landscape][A4, portrait] \useco

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Hans Hagen
uts the result of x and ypart in the same units? The MWE belows shows what I have been doing. cm is not really a unit but a multiplier cf := 72/2.54; %Converts points/in to points/cm% message(cm); message(cf); Thanks Keith McKay %%% MWE %%% \setuppapersize [A5, landscape][A4, portrait] \usecol

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Fabrice L
continue doing this or is there some magic within MetaFun which takes account > of the units in a pair and outputs the result of x and ypart in the same > units? > > The MWE belows shows what I have been doing. > > Thanks > > Keith McKay > > %%% MWE %%% >

[NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Keith McKay
its? The MWE belows shows what I have been doing. Thanks Keith McKay %%% MWE %%% \setuppapersize [A5, landscape][A4, portrait] \usecolors[crayola] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; numeric squig; pair a[]; a0 = (2cm,11cm); a1 = (4cm,1

[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] Missing graphic in MPpage when viewing in Apple MAC Preview or GIMP 2.10 but not Adobe

2020-08-16 Thread Keith McKay
hanks Keith %% system > system > ConTeXt ver: 2020.07.29 18:36 LMTX fmt: 2020.7.29 int: english/english system > %%% \setuppapersize [A5, portrait] \usecolors[crayola] \starttext \startMPpage StartPage; width

Re: [NTG-context] Missing graphic in MPpage when viewing in Apple MAC Preview or GIMP 2.10 but not Adobe

2020-08-15 Thread Taco Hoekwater
nd this? Here is the code. > > Thanks > > Keith > > %% > system > > > system > ConTeXt ver: 2020.07.29 18:36 LMTX fmt: 2020.7.29 int: > english/english > system > > > %%% > > > \setuppapersize [

[NTG-context] Missing graphic in MPpage when viewing in Apple MAC Preview or GIMP 2.10 but not Adobe

2020-08-15 Thread Keith McKay
this?  Here is the code. Thanks Keith %% system > system > ConTeXt ver: 2020.07.29 18:36 LMTX fmt: 2020.7.29 int: english/english system > %%% \setuppapersize [A5, portrait] \usecolors[crayola] \starttext \startMPpage StartPag

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] Code lua in a table

2020-07-21 Thread Fabrice Couvreur
Thank you Fabrice \usecolors[X11] \startuseMPgraphic{DiagonalRule} rulethickness := \frameddimension{rulethickness}; drawoptions( withpen pencircle scaled rulethickness withcolor \MPcolor{\framedparameter{framecolor}}); pair leftcorner, rightcorner; leftcorner := (rulethickness

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

2020-07-13 Thread Hans Hagen
I note the first method only works when \usecolors[xwi] is present; otherwise, it prints an interesting "themaintextcolor". Here is a nostalgic mkii accessor for such a list (color support is a real old feature and conceptually hasn't changed that much):    \def\Wh

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

[NTG-context] Text size with lmt_text [ ]

2020-04-22 Thread Fabrice Couvreur
and color parameters while I did not succeed using textext (). My problem is the size of the letters which is too small. Thank you. Fabrice \usecolors[xwi] \definecolor [prune] [r=1.29,g=.20,b=.83] \starttext \startMPcode vardef card(expr s, c) = image( draw fullsquare xyscaled (2cm,4cm

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Fabrice Couvreur
ibility, performance ...), this is only possible with > \startframed. > >> > >> 3. ConTeXt uses different mechanism to draw rectangular (unless you > draw a > >> closed frame) and rounded frame and the mechanism for rounded frames > doesn't > >> work with o

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
a) use MetaPost to draw the complete card (letter plus frame) or b) use only TeX to put the letter in a frame and rotate it. begin tex example \usecolors[svg] \defineframed [frameletter] [width=1.25em, height=1.75em, foregroundstyle=\ssbfc, corner=round, radius=0.1

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Rudolf Bahr
t; work with outlinetext. > > 4. To achieve the desired result you can now a) use MetaPost to draw the > complete card (letter plus frame) or b) use only TeX to put the letter in a > frame and rotate it. > > begin tex example > \usecolors[svg] > > \defineframed &

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
in a frame and rotate it. begin tex example \usecolors[svg] \defineframed [frameletter] [width=1.25em, height=1.75em, foregroundstyle=\ssbfc, corner=round, radius=0.1\bodyfontsize, rulethickness=1pt] \starttext \startTEXpage[offset=\linewidth] \dontleavehmode \rotate

[NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-19 Thread Fabrice Couvreur
Hi, I try to reproduce the figure as faithfully as possible. I tried for the rounded corners to put the key corner = round, but it does not work. Thanks for your help. Fabrice \usecolors[xwi] \definecolor [prune] [r=1.29,g=.20,b=.83] \starttext \setupframed[frameletter][corner=round,align=normal

[NTG-context] Hatch color in a table cell

2020-03-12 Thread Fabrice Couvreur
Hi, I would like to hatch the cell green. Thank you. Fabrice \usecolors[xwi] \startuniqueMPgraphic{meta:hash}{linewidth,linecolor,angle,gap} if unknown context_back : input mp-back ; fi ; some_hash ( OverlayWidth, OverlayHeight , \MPvar{linewidth}, \MPvar{linecolor} , \MPvar{angle}, \MPvar{gap

Re: [NTG-context] A question about whatever (Metapost)

2020-01-26 Thread Alan Braslau
line (CM) is perpendicular to the line (NP). > I do not understand the error of this code. > Thank you > Fabrice > > \usecolors[xwi] > \starttext > \startMPcode > path carre, p; > carre = unitsquare scaled 138; > > pair a, b, c, d, N, P, M; > a = point

[NTG-context] A question about whatever (Metapost)

2020-01-25 Thread Fabrice Couvreur
Hi, The point M is such that the line (CM) is perpendicular to the line (NP). I do not understand the error of this code. Thank you Fabrice \usecolors[xwi] \starttext \startMPcode path carre, p; carre = unitsquare scaled 138; pair a, b, c, d, N, P, M; a = point 0 of carre; b = point 1

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
space[]. Nevertheless, it does not work with this : > > \usecolors[xwi] > \starttext > \startframedtext[width=fit,frame=off, > > background=color,backgroundcolor=paleturquoise] > > {\it lancers}\unknown > > {\it dé}\unknown > > Tant que {\it dé}\unknown Faire &

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 03.11.2019 um 22:46: Hi Wolfgang, I know it takes a predefined argument, but I wanted to quote the name of the command as such  \hspace[]. Nevertheless, it does not work with this : \usecolors[xwi] \starttext \startframedtext[width=fit,frame=off,  background=color

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
Hi Wolfgang, I know it takes a predefined argument, but I wanted to quote the name of the command as such \hspace[]. Nevertheless, it does not work with this : \usecolors[xwi] \starttext \startframedtext[width=fit,frame=off, background=color,backgroundcolor=paleturquoise] {\it lancers

[NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
Hello, The \hspace [ ] command has no effect in an environment framedtext. Why ? Thank you. Fabrice \usecolors[xwi] \starttext \startframedtext[width=fit,frame=off, background=color,backgroundcolor=paleturquoise] {\it lancers}\unknown {\it dé}\unknown Tant que {\it dé}\unknown Faire \hspace

Re: [NTG-context] Size of the font (Metapost + xtable)

2019-09-23 Thread Thomas A. Schmitz
On 9/23/19 4:12 PM, Fabrice Couvreur wrote: Hello, I can not change the font size of my figures in the table. Thank you Fabrice Does changing \usecolors [xwi] to \usecolors [ema] help? All best Thomas

[NTG-context] Size of the font (Metapost + xtable)

2019-09-23 Thread Fabrice Couvreur
Hello, I can not change the font size of my figures in the table. Thank you Fabrice \usecolors[xwi] \startbuffer[myfigure] \dontleavehmode \startMPcode defaultfont := "texgyrepagella-regular*default" ; defaults

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
] prevent \blank[-0.5em] from working after a \framed? (Ok. I better sleep before I pollute the mailing list further.) Apparent Solution: \usecolors[xwi] \setupwhitespace[line] \starttext \definetextbackground[secondary][ location=always, background=color, backgroundcolor=lightgray

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Ok, last message in this topic, I promise. I’ve crafted a MWE. If I \setupwhitespace[line], the \blank[-0.5em] stops working. I’m sure I need to revise my TeX notes. For now, can somebody give me a little encouragement and tell me the answer? :-P \usecolors[xwi] % \setupwhitespace

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-13 Thread Hans Hagen
On 7/12/2016 11:17 PM, Henri Menke wrote: Adding \usecolors[xwi] to the example does not change anything. Looking at base/colo-imp-xwi.mkiv revealed, that it does not alter the way colors are defined, but just defines a huge bunch of additional ones. afaiks it has the same 'gray' as tikz

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Henri Menke
probably used for tracing) colors are > defined in such a way that they don't go via the context resolver. As > these (few) colors are basically x windows colors, you can start your > document with: > > \usecolors[xwi] > > which will set the context colors differently. Adding \

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Hans Hagen
resolver. As these (few) colors are basically x windows colors, you can start your document with: \usecolors[xwi] which will set the context colors differently. \usemodule[tikz] \starttext % Original gray \blackrule[color=gray,width=1cm,height=1pt] \starttikzpicture \draw[gray,line width=1pt