[NTG-context] Re: The graph is not visible.

2024-04-26 Thread Fabrice Couvreur
of the graph in composant 5. @Taco The solution that works is to add component 14 to the code numeric a, b; Fabrice Le ven. 26 avr. 2024 à 10:45, Aditya Mahajan a écrit : > On Fri, 26 Apr 2024, Taco Hoekwater wrote: > > > > > > > > On 25 Apr 2024, at 23:12, Fabrice

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
4) ; draw circle; draw p; label("$\overline{\text{A}}$",( 1.5cm,0)); label("$\text{A}$",(-1.5cm,0)); label.top("E",(0,1.85cm)); \stopMPcode Le jeu. 25 avr. 2024 à 16:55, Fabrice Couvreur a écr

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
Hi Hans and Taco, @Hans, I compiled by commenting and uncommenting one component at a time; it is component 5 which interferes with the metapost code of component 14 All I have to do now is find out what the cause is. Fabrice Le jeu. 25 avr. 2024 à 16:40, Taco Hoekwater a écrit : > > >

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
[chapter-10] \component[chapter-11] \component[chapter-12] \component[chapter-13] \component[chapter-14] \stopbodymatter \stopproduct Le jeu. 25 avr. 2024 à 13:36, Taco Hoekwater a écrit : > H Fabrice, > > You did not provide a good minimum test because the graph

[NTG-context] The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
problems except with a graphic from the last chapter. It is indeed in chapter 14 but not in the project ! I give the code for this graph. Thanks. Fabrice \startMPcode interim linejoin := mitered; interim ahangle := 30; numeric u, pi; pi

[NTG-context] Re: lmt_shade fails

2024-02-19 Thread Fabrice L
= "linear", > colors = { "red", "green" }, > ]; > \stopMPpage > \stoptext > I'm using: > > system > ConTeXt ver: 2024.02.14 13:38 LMTX fmt: 2024.2.15 int: > english/english >

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-11 Thread Fabrice L
a coherent way. Perhaps this angle is that Context is a real Swiss Army knife: not only can it do lots of different things, it can do them very very well! You can take (and or I can provide in PDF of) any artwork from

[NTG-context] Re: 2024

2024-01-02 Thread Fabrice L
.nl/ctx-group-2023.pdf > > Hans This is very beautiful, and inspiring ! Seems like a coded message from the past, or the future ! Fabrice. > > - > Hans Hagen | PRAGMA AD

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
ood then. (Or?) > > /Mikael > > On Fri, Dec 29, 2023 at 5:07 PM Fabrice Couvreur < > fabrice1.couvr...@gmail.com> wrote: > >> Well, actually I get the same thing . >> [image: test.png] >> >> Le ven. 29 déc. 2023 à 16:00, Mikael Sundqvist a >> é

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
Well, actually I get the same thing . [image: test.png] Le ven. 29 déc. 2023 à 16:00, Mikael Sundqvist a écrit : > Hi, > > On Fri, Dec 29, 2023 at 4:49 PM Fabrice Couvreur > wrote: > > > > Thank you for your suggestion but in the following example the > operationa

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
14:47, Mikael Sundqvist a écrit : > Hi, > > On Fri, Dec 29, 2023 at 3:17 PM Fabrice Couvreur > wrote: > > > > Hi, > > To type my lessons or other, I use the Modern font in 12 pt or 11 pt. I > find that the subscript notations are a little too big : how

[NTG-context] Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
Hi, To type my lessons or other, I use the Modern font in 12 pt or 11 pt. I find that the subscript notations are a little too big : how can I improve this ? Thanks Fabrice \m{ \forall n \in N, z_{n+1}=\frac{i}{3}z_n

[NTG-context] About framedtext

2023-12-13 Thread Fabrice Couvreur
Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice \definecolor[MyColorC][s=0.8784] \definecolor[MyColorD][m=0.27,y=1] \definecolor[ColorA][0.8(white)] \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00] \definecolor

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Fabrice Couvreur
Hi Wolfgang, I'm reading this thread and I'm interested because I type a lot of text with mathematical formulas. In fact, I find that \dfrac{} creates unsightly leading space and that \frac{} is too small. What is the difference between \frac{} and \tfrac{} ? Fabrice Le sam. 9 déc. 2023 à 14:00

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

2023-12-04 Thread Fabrice L
cify the color of path A in p2 and p4. So it's drawn in black. > > The other issue, I can't help. > > > > Emanuel Han via ntg-context 於 2023年12月2日 週六 下午7:23寫道: > >> > >> So is there a way to circumvent these issues? Or an explanation for this > >> behavior, so

[NTG-context] Re: externalfigure crashed

2023-12-03 Thread Fabrice Couvreur
Hi Hans, It works, thank you very much. Le sam. 2 déc. 2023 à 16:24, Hans Hagen a écrit : > On 12/2/2023 4:57 PM, Fabrice Couvreur wrote: > > Hi Hans, > > I have the same problem and definitely need to use \externalfigure[] > > this weekend. In which file should this patch

[NTG-context] Re: externalfigure crashed

2023-12-02 Thread Fabrice Couvreur
Hi Hans, I have the same problem and definitely need to use \externalfigure[] this weekend. In which file should this patch be added ? Thanks. Fabrice Le ven. 24 nov. 2023 à 17:16, Hans Hagen via ntg-context a écrit : > On 11/22/2023 10:02 PM, Hans van der Meer via ntg-context wrote: >

[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

[NTG-context] Re: Strange behavior with anglestriped()

2023-11-21 Thread Fabrice Couvreur
Hi Fabrice, Exactly, thanks for the correction. Fabrice Le lun. 20 nov. 2023 à 19:43, Fabrice L a écrit : > Hi, > > Fabrice, you have a problem with the definition of the path b: this path > include q and b. To see this, replace your lines with : > >draw q an

[NTG-context] Re: Strange behavior with anglestriped()

2023-11-20 Thread Fabrice L
Hi, Fabrice, you have a problem with the definition of the path b: this path include q and b. To see this, replace your lines with : draw q anglestriped (1,45,2) withcolor cyan; draw b anglestriped (1,45,2) withcolor red; And you will see that the path b is drawn twice

[NTG-context] Re: Strange behavior with anglestriped()

2023-11-20 Thread Fabrice Couvreur
Hi Otared, It's true that the color seems identical. Thanks. Fabrice Le dim. 19 nov. 2023 à 21:55, Otared Kavian a écrit : > Hi Fabrice, > > It seems to me the colors are the same, although they may appear different > at first sight because the « with » of the lines are differen

[NTG-context] Strange behavior with anglestriped()

2023-11-19 Thread Fabrice Couvreur
Hi, I don't understand why the hatching of the two rectangles is not the same color. Thanks for your help. Fabrice \starttext \setupbodyfont[8pt] \startMPcode path p, q, r, b ; z[0] = (2cm,0cm) ; z[1] = (2cm,2cm) ; z[2] = (0cm,2cm

[NTG-context] Re: Large unwanted white space

2023-10-22 Thread Fabrice Couvreur
Hi, Thanks, it works perfectly. Fabrice Le sam. 21 oct. 2023 à 20:33, Hans Hagen a écrit : > On 10/21/2023 9:43 PM, Fabrice Couvreur wrote: > > Hi, > > I don't know if I will explain my problem clearly but I will try. For my > > students' tests, I use a master file. I

[NTG-context] Large unwanted white space

2023-10-21 Thread Fabrice Couvreur
Hi, I don't know if I will explain my problem clearly but I will try. For my students' tests, I use a master file. If I insert this piece of code, there is a large white space that is created between the horizontal line of the header and the first exercise. Thanks for your help. Fabrice

[NTG-context] Re: Gray gradient with Metapost

2023-10-07 Thread Fabrice Couvreur
Hi, Sorry for the late response. Thanks for the help. So I read the documents and managed to get a gradient even if it's not exactly like the figure. Fabrice draw lmt_shade [ path = (z0--z4--z5--z1--cycle), direction = "left", alternative

[NTG-context] Gray gradient with Metapost

2023-10-05 Thread Fabrice Couvreur
Hi, I would like to obtain, if possible, a gray gradient like in the image. My code uses Metapost but maybe this is possible with Metafun. Thanks. Fabrice \starttext \startMPcode u=1.2cm; interim ahangle := 30; z0=(0,0); z1=(3u,0

[NTG-context] Re: Tikz calendar problem.

2023-09-05 Thread Fabrice L
Dear Aditya, > Le 5 sept. 2023 à 04:21, Aditya Mahajan a écrit : > > On Mon, 4 Sep 2023, Fabrice L wrote: > >> Dear list, >> >> I have a problem with tikzCalendar on a recent installation. This minimal >> example : >> >> 8<

[NTG-context] Tikz calendar problem.

2023-09-04 Thread Fabrice L
lendar.code.tex » is read, but the file « pgfcalendar » seems missing. I have reinstall a new standalone version of ConTeXt, with all the modules (with the new script from ConTeXt Garden), but nothing works. Thanks for an

[NTG-context] Re: Question about building an array of values with Lua

2023-08-25 Thread Fabrice Couvreur
Hi Wolfgang, Thank you so much Fabrice Le jeu. 24 août 2023 à 19:46, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > Otared Kavian schrieb am 24.08.2023 um 12:50: > > > On 24 Aug 2023, at 06:03, Wolfgang Schuster < > wolfgang.schuster.li...@gmail.com

[NTG-context] Re: Question about building an array of values with Lua

2023-08-24 Thread Fabrice Couvreur
Hi Otared and Wolgang, Thanks for the answers. In fact, being familiar with Python and not at all with Lua, I didn't have the reflex to think of using a mathematical function which gives the remainder in the Euclidean division by 10, it's strange !! Fabrice Le jeu. 24 août 2023 à 04:06, Wolfgang

[NTG-context] Question about building an array of values with Lua

2023-08-23 Thread Fabrice Couvreur
Hi, I'm trying to fill an array using lua. So far it works but then I don't know if it's possible. Thanks Fabrice \startluacode context.startxtable({"align={middle,lohi},bodyfont=9pt,framecolor=black"}) context.startxrow({"background=color, background

[NTG-context] Re: Equivalent of the \cancel command with conTeXt

2023-08-22 Thread Fabrice Couvreur
Hi Mikael, Thank you for this command ; there must be many others that I don't know how they work. Fabrice Le mar. 22 août 2023 à 10:54, Mikael Sundqvist a écrit : > Hi, > > On Tue, Aug 22, 2023 at 12:25 PM Fabrice Couvreur > wrote: > > > > Hi, > > In an algebra

[NTG-context] Re: Equivalent of the \cancel command with conTeXt

2023-08-22 Thread Fabrice Couvreur
Hi Alexander, Thank you for this suggestion which will do the trick. Fabrice Le mar. 22 août 2023 à 10:26, Alexandre Christe a écrit : > Hi Fabrice, > > I have this from former exchanges > > % Cancel command for use in equations. > \startuniqueMPgraphic{cross out} > pi

[NTG-context] Equivalent of the \cancel command with conTeXt

2023-08-22 Thread Fabrice Couvreur
Hi, In an algebraic expression, it is sometimes interesting to cross out terms. With LaTeX, there is the \cancel command from the package cancel. Is there an equivalent with conTeXt ? Thanks Fabrice ___ If your

[NTG-context] Key distance with enumeration

2023-07-27 Thread Fabrice Couvreur
Hi, I don't understand why the distance between the dot and the first letter of the text is not always the same (see with theorem). Thanks Fabrice \setupenumerations [before={\blank}, after={\blank}, alternative=serried, distance=1cm, title=yes, titleleft=, titleright

[NTG-context] Re: context-on-web broken

2023-07-04 Thread Fabrice L
is a way to work in a collaborative way in ConTeXt (and Metafun of course !). > > Aditya Tanks agin for the tip ! Fabrice. ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Problem with exponent

2023-04-28 Thread Fabrice Couvreur via ntg-context
Hi, I want to write x'² . Only, I get x²'. Thanks Fabrice \starttext \m{{x'}²+{y'}²} \stoptext ___ 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] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
An extra parenthesis in a section title seems to be the problem but I'm not sure. I compiled the file line by line and it works now. Thanks Fabrice Le ven. 21 avr. 2023 à 14:37, Hans Hagen via ntg-context a écrit : > On 4/21/2023 5:05 PM, Fabrice Couvreur via ntg-context wrote: >

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
It's chapter_5 that's the problem, but how do you know what's causing the table of contents not to appear ? Le ven. 21 avr. 2023 à 14:42, Fabrice Couvreur a écrit : > Hi Hans, > Alright, I'll compile by integrating one component at a time to figure out > which one is causing th

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
Hi Hans, Alright, I'll compile by integrating one component at a time to figure out which one is causing the problem. Thanks. Fabrice Le jeu. 20 avr. 2023 à 15:52, Hans Hagen via ntg-context a écrit : > On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote: > > Hi, > >

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
Hi, I don't see why the table of contents does not appear. On the other hand, the 12 chapters are present. Thanks Fabrice \startproduct[terminale-manual] \project[terminale-environment] \startfrontmatter \setuppagenumbering [location=] \definefont [ChapterTextStyle

Re: [NTG-context] About \blackrule

2023-04-20 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Thanks a lot. Fabrice Le mer. 19 avr. 2023 à 15:05, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Fabrice Couvreur via ntg-context schrieb am 19.04.2023 um 17:01: > > Hi, > The idea is to have a black square whose height is that of the

[NTG-context] About \blackrule

2023-04-19 Thread Fabrice Couvreur via ntg-context
Hi, The idea is to have a black square whose height is that of the number 3. Thanks Fabrice \setupbodyfont[12pt,pagella] \starttext \blackrule[width=0.71em,height=0.71em]37254H \stoptext ___ If your question

[NTG-context] Userdata environment

2023-04-03 Thread Fabrice Couvreur via ntg-context
below, the second example is on the second page and not next to the second definition. Thanks. Fabrice \ useMPlibrary[dum] \setuppapersize[A4] \mainlanguage [fr] \setuppagenumbering [alternative=doublesided

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

2023-01-06 Thread Fabrice Couvreur via ntg-context
Hi, >From my side, after the last update, it works. Thank you Hans. Fabrice Le ven. 6 janv. 2023 à 14:17, Gavin via ntg-context a écrit : > Hi Hans, > > > On Jan 5, 2023, at 5:49 AM, Hans Hagen via ntg-context < > ntg-context@ntg.nl> wrote: > > On 1/5/2023 11:40 A

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

2023-01-04 Thread Fabrice Couvreur via ntg-context
The problem seems to come from pgfplots ... Le mer. 4 janv. 2023 à 17:35, Fabrice Couvreur a écrit : > > Hi, > I just installed the latest version of LMTX and also updated to texlive > 2022 and I get this error message which was not the case before. > Thank you. > Fabrice &

[NTG-context] Problem with latest version ?

2023-01-04 Thread Fabrice Couvreur via ntg-context
Hi, I just installed the latest version of LMTX and also updated to texlive 2022 and I get this error message which was not the case before. Thank you. Fabrice Running `lmtX' on `complexes_2' with ``/home/fabrice/LMTX/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf

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

2022-11-17 Thread Fabrice Couvreur via ntg-context
Hi Bruce and Pablo, I'm sorry for the late reply but I'm running out of time right now. Thanks for trying to solve the problem. I think the problem comes from the pyramid.png file. Fabrice Le dim. 13 nov. 2022 à 14:37, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On

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

2022-11-16 Thread Fabrice Couvreur via ntg-context
Hi Bruce and Pablo, I'm sorry for the late reply but I'm running out of time right now. Thanks for trying to solve the problem. I think the problem comes from the pyramid.png file. Fabrice Le mer. 16 nov. 2022 à 14:55, Fabrice Couvreur a écrit : > Hi Bruce and Pablo, > I'm sorry for th

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

2022-11-13 Thread Fabrice Couvreur via ntg-context
Hi Pablo, Indeed but I posted these two files in a previous post. Fabrice Le dim. 13 nov. 2022 à 09:24, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 11/12/22 15:09, Fabrice Couvreur via ntg-context wrote: > > Hi Pablo and Bruce, > > Please t

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
Hi Pablo and Bruce, Please try to figure out what is not working. I'm sorry but I forgot in my previous post files. Fabrice Le sam. 12 nov. 2022 à 12:28, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 11/11/22 21:58, Bruce Horrocks via ntg-context wrote: > >&

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

2022-11-10 Thread Fabrice Couvreur via ntg-context
Hi, Sorry to come back to you, but it seems to me that there is enough space here. Fabrice Le jeu. 10 nov. 2022 à 18:04, Fabrice Couvreur a écrit : > Hi, > Sorry to come back to you, but it seems to me that there is enough space > here. > Fabrice > > Le jeu. 10 nov. 202

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

2022-11-10 Thread Fabrice Couvreur via ntg-context
Hi Bruce and Pablo, Thank you very much, your explanations are very clear. Cordially Fabrice Le mer. 9 nov. 2022 à 19:39, Bruce Horrocks via ntg-context < ntg-context@ntg.nl> a écrit : > On 9 Nov 2022, at 18:22, Pablo Rodriguez via ntg-context < > ntg-context@ntg.nl> wrote: >

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

2022-11-09 Thread Fabrice Couvreur via ntg-context
Hi, I find that for some time (but maybe the problem comes from me !), the placement of a figure at the bottom of the page causes a page break when it seems to me that there is enough space, which poses some problems in the pagination of my documents. Thanks. Fabrice \useMPlibrary[dum

[NTG-context] Create the values of a sequence with Lua

2022-10-31 Thread Fabrice Couvreur via ntg-context
Hi, The idea is to fill the array with the sequence defined by p(0) = 0.3 and p(n + 1) = 0.3 + 0.7*p(n) The problem is that I don't really master Lua but I will learn when I have some time! Thanks for your help. Fabrice \starttext \startluacode context.startxtable({"align={middle,lohi},widt

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Hi Mikael, Great job ! Thanks Fabrice Le dim. 2 oct. 2022 à 15:37, Mikael Sundqvist via ntg-context < ntg-context@ntg.nl> a écrit : > Hi, > > On Sun, Oct 2, 2022 at 3:26 PM Hans Hagen via ntg-context > wrote: > > > > On 10/2/2022 3:13 PM, Fabrice Couvreur v

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Ok, it works very well. Without wanting to insist, how to have the same hatching with two different figures ? Thanks. Fabrice Le dim. 2 oct. 2022 à 13:38, Hans Hagen via ntg-context a écrit : > On 10/2/2022 1:02 PM, Fabrice Couvreur via ntg-context wrote: > > I just tried but I got

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Hans Hagen via ntg-context a écrit : > On 10/2/2022 11:20 AM, Floris van Manen via ntg-context wrote: > > > > > > On 02/10/2022 10:55, Fabrice Couvreur via ntg-context wrote: > >> Initially, there was a bug with maro numberstriped() and Hans > >> suggested anot

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
p) ; label.ulft("A", p) ; label.urt("D", p) ; label.urt("F", lrcorner r) ; label.lft("E", llcorner r) ; label.top("G", urcorner r) ; \stopMPcode Le dim. 2 oct. 2022 à 11:21, Floris van Manen via ntg-context < ntg-conte

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
: the first ? the second represents the angle in degrees that the segments make the third represents the gap between two segments Thanks Fabrice Le sam. 1 oct. 2022 à 21:46, Mikael Sundqvist via ntg-context < ntg-context@ntg.nl> a écrit : > Hi, > > Is this what you are looking for? > >

Re: [NTG-context] About macro numberstriped ()

2022-10-01 Thread Fabrice Couvreur via ntg-context
Hi Hans, When the rectangles are not identical, how to have the same type of hatching in both ? Thanks. Fabrice \starttext \startlinecorrection[blank] \startmidaligned \switchtobodyfont[9pt] \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0

Re: [NTG-context] About macro numberstriped ()

2022-09-28 Thread Fabrice Couvreur via ntg-context
Hi Hans, Thank you for this solution which is an approach that I did not know. Fabrice PS : What is the exact meaning of the word "blobs" because my English is average ? Le mar. 27 sept. 2022 à 22:04, Hans Hagen via ntg-context < ntg-context@ntg.nl> a écrit : > On 9/27/20

[NTG-context] About macro numberstriped ()

2022-09-27 Thread Fabrice Couvreur via ntg-context
Hello, I notice a strange behavior of the macro numberstriped ( ). Thanks. Fabrice \starttext \switchtobodyfont[9pt] \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0] = (2cm,0cm) ; z[1] = (2cm,4cm) ; z[2] = (0cm,2cm) ; q := llcorner p--z[0]--z[1]--z[2

Re: [NTG-context] metafun paralleled does not give a parallel path

2022-08-25 Thread Fabrice L via ntg-context
Hi,Le 24 août 2022 à 22:50, fv leung via ntg-context a écrit :The following used to produce three parallel lines.Now it produces one straight line and two arcs.\starttext\startMPcode  z0 = origin;  z1 = 72dir(45);  dotlabel.bot("z0", z0);  draw z0--z1;  draw (z0--z1)

[NTG-context] Size of all subscripts

2022-08-22 Thread Fabrice Couvreur via ntg-context
Hello How to reduce the size of all subscripts in math mode ? Thanks Fabrice \usemodule[tikz] \protected\def\vector#1{% \starttikzpicture[baseline=(arg.base),>=stealth] \node[inner xsep=0pt] (arg) {\m{#1}}; \draw[thick,->,shorten >=-1pt] (arg.north west) -- (arg.n

Re: [NTG-context] Special numbering

2022-08-17 Thread Fabrice Couvreur via ntg-context
Hi Aditya, Thanks for your help, it works perfectly. Fabrice Le mer. 17 août 2022 à 17:48, Aditya Mahajan via ntg-context < ntg-context@ntg.nl> a écrit : > On Wed, 17 Aug 2022, Fabrice Couvreur via ntg-context wrote: > > > Hello, > > how to get this > > Défin

[NTG-context] Special numbering

2022-08-17 Thread Fabrice Couvreur via ntg-context
Hello, how to get this Définition 1.1. Proposition 1.2. Définition 1.3. Proposition 1.4. Thanks Fabrice \setupenumerations [before={\blank}, after={\blank}, alternative=serried, distance=0.5em, title=yes, titleleft=, titleright=, titlestyle=normal, prefix=yes

[NTG-context] Numbercommand and title

2022-08-12 Thread Fabrice Couvreur via ntg-context
Hello, How to make the period after the number be after the second parenthesis when there is a title like this Définition 1.1 (Title). ? Thanks Fabrice \definestructureconversionset [structure] [n, R, n, n, n] [n] \defineconversionset [digit

Re: [NTG-context] Metafun : save memory content ?

2022-07-19 Thread Fabrice L via ntg-context
Dear Bruce, dear list, > Le 19 juill. 2022 à 07:42, Bruce Horrocks a écrit : > >> On 19 Jul 2022, at 04:28, Fabrice L via ntg-context >> wrote: >> >> Complementary question : I saw that the « pos_a » « pos_b » of the example >> could not take numerical v

Re: [NTG-context] Metafun : save memory content ?

2022-07-18 Thread Fabrice L via ntg-context
> Le 18 juill. 2022 à 12:31, Hans Hagen via ntg-context a > écrit : > > On 7/18/2022 3:20 PM, Fabrice L via ntg-context wrote: >> Dear list, >> I’m doing animations in MetaFun, by simply using \startMPpage (…) >> \stopMPpage for each frame of the animation.

[NTG-context] Metafun : save memory content ?

2022-07-18 Thread Fabrice L via ntg-context
(…) \stopMPinclusions, but I did not find a way to write information from MetaFun to a text file. Is Lua the solution ? Thanks for any help ! Fabrice. ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] MetaPost label font size

2022-07-06 Thread Fabrice L via ntg-context
aled 0.5 shifted (-10,0) ; draw textext.top("normal label") scaled 1 shifted (50,5) ; draw textext.top("second normal label") scaled 1 shifted (50,-5) ; draw textext.top("Huge label") scaled 2 shifted (10,-25) ; \stopMPpage \st

Re: [NTG-context] Importing pdf into MPpage

2022-06-11 Thread Fabrice L via ntg-context
draw externalfigure "cow.pdf"; ); TheImage := TheImage shifted -center(TheImage); draw TheImage ; draw (0,0) withpen pencircle scaled .2in withcolor magenta ; \stopMPpage Fabrice. > > On Sat, Jun 11, 2022 at 4:46 PM Fabrice L <ma

Re: [NTG-context] Importing pdf into MPpage

2022-06-11 Thread Fabrice L via ntg-context
d I approach this? Like this ? \startMPpage draw externalfigure "thefile.pdf"; (… other commands…) \stopMPpage > > Sincerely, > Stefan Fabrice. > ___ > If your question is o

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

2022-04-28 Thread Fabrice L via ntg-context
Sorry, I was a little too enthusiastic, here here is the code : > Le 28 avr. 2022 à 08:41, Fabrice L a écrit : > > Hi Keith, > >> Le 28 avr. 2022 à 06:05, Keith McKay via ntg-context > <mailto:ntg-context@ntg.nl>> a écrit : >> >> Hi, >> >

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

2022-04-28 Thread Fabrice L via ntg-context
urntSienna},white]); fill unitsquare xscaled 5cm yscaled .5cm shifted (7cm,i*cm) withcolor(r[\MPcolor{myColor1}, white]); fill unitsquare xscaled 5cm yscaled .5cm shifted (13cm,i*cm) withcolor(r[\MPcolor{"myColor1"}, wh

Re: [NTG-context] Font too small with a macro

2022-04-23 Thread Fabrice Couvreur via ntg-context
Hi, I didn't know that \exp was already defined. Thanks Fabrice Le sam. 23 avr. 2022 à 15:28, Mikael Sundqvist via ntg-context < ntg-context@ntg.nl> a écrit : > On Sat, Apr 23, 2022 at 12:11 PM Fabrice Couvreur via ntg-context > wrote: > > > > Hello, > > If I com

[NTG-context] Font too small with a macro

2022-04-23 Thread Fabrice Couvreur via ntg-context
Hello, If I compile with context the expected result is correct but with lmtx the font under the square root is smaller. Thank you Fabrice \protected\def\exp{\text{\normal exp}} \starttext \startformula \sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). \stopformula \stoptext

[NTG-context] the resolver databases are not present or outdated

2022-03-05 Thread Fabrice Couvreur via ntg-context
Hello, Some files no longer compile, I tried updating lmtx but I get this. Thank you Fabrice viserion@archlinux LMTX]$ install install.sh install: opérande de fichier cible manquant après 'install.sh' Saisissez « install --help » pour plus d'informations. [viserion@archlinux LMTX]$ sh install.sh

Re: [NTG-context] new upload

2022-01-15 Thread Fabrice Couvreur via ntg-context
Hi Hans I just updated lmtx and this macro does not work although it did before. On the other hand, no problem with context. Thanks. Fabrice \protected\def\e#1{\math{{\rm e}^{#1}}\autoinsertnextspace} \starttext \startformula \e{a+b} \stopformula \stoptext Le sam. 15 janv. 2022 à 16:14, Hans

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

2022-01-11 Thread Fabrice L via ntg-context
ground is really deleted. You can try to select the text in any pdf view/editor, the text is gone ! Fabrice. > > > % \enablemode[solution] > > % Define "mysolution” for use independent of solution mode. > \definenarrower[mysolution] > [before=\blank\it, > after

Re: [NTG-context] Documentation about CTX installation on MacOS X

2022-01-02 Thread Fabrice L via ntg-context
etafun editor, and if you need some help to set it up, I can describe my setup in details. Fabrice. > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! &g

[NTG-context] Strange behavior with \startbodymatter ... \stopbodymatter

2021-12-28 Thread Fabrice Couvreur via ntg-context
ut exited abnormally with code 1 at Tue Dec 28 15:31:31 On the other hand, if I indicate \component[probabilites.tex] the file compiles without error. Thanks Fabrice ___ If your question is of interest to others as well, p

Re: [NTG-context] MP: problem connecting paths.

2021-12-20 Thread Fabrice L via ntg-context
ic ! I spent hours to find a solution… but here is a solution ! Thanks a lot ! > > /Mikael Fabrice. > > > On Mon, Dec 20, 2021 at 3:45 PM Fabrice L wrote: >> >> Thanks Mikael, >> >> Le 20 déc. 2021 à 02:21, Mikael Sundqvist via ntg-context &

Re: [NTG-context] MP: problem connecting paths.

2021-12-20 Thread Fabrice L via ntg-context
& cycle; newcircleA := newcircleA shifted(2in,-1.5in) ;draw newcircleA  withcolor magenta ;drawpoints newcircleA ; drawpointlabels newcircleA ;\stopMPpage% ———Thanks for any help ! Fabrice./MikaelOn Mon, Dec 20, 2021 at 5:30 AM Fabrice L via ntg-context<ntg-context@ntg.nl>

[NTG-context] MP: problem connecting paths.

2021-12-19 Thread Fabrice L via ntg-context
rcleA xshifted 2in ; draw newcircleA withcolor darkgreen ; newcircleB := (circleB cutafter P1) -- (P1 -- P2) -- (circleB cutbefore P2 ) & cycle ; newcircleB := newcircleB xshifted 2in ; draw newcircleB withcolor black ; drawpoints newcircleA ; drawpointlabels newcircleA ; \stopMPpag

Re: [NTG-context] Status of Asymptote

2021-12-06 Thread Fabrice L via ntg-context
computational work. This is not easy, but the diagrams are super fast, > and I think they will always work. I would be very interested to see an example of a Metafun drawing made with the help of LuaTeX to speed up some calculations. Thanks

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-29 Thread Fabrice L via ntg-context
Dear Hans, > Le 29 nov. 2021 à 03:54, Hans Hagen a écrit : > > On 11/29/2021 2:54 AM, Fabrice L via ntg-context wrote: > >> The only inconvenient of this solution if that I have to define 15 blocks >> (one for each week of the term): ComplementOne, ComplementTwo,

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
Thanks Hraban for your answer, > Le 28 nov. 2021 à 15:42, Henning Hraban Ramm via ntg-context > a écrit : > > Am 28.11.21 um 19:39 schrieb Fabrice L via ntg-context: >> I have an error when I try to insert a block inside a conditional mode (but >> there is two

[NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
MWE — Blocks and modes usually works fine for me, but here, I do not understand my error. Thanks for any help ! Fabrice. Note : in case this way of doing things seems a bit silly, here are more explanations. I do use mode « CourseOne » here because in the real life, the cont

[NTG-context] Compilation error with the new version of lmtx

2021-10-16 Thread Fabrice Couvreur via ntg-context
Hi, The latest version of lmtx does not allow me to compile the following file although there was no problem before. Thank you Fabrice \startproduct[expertes-manual] \startfrontmatter \setuppagenumbering [location=] \definefont [ChapterTextStyle] [SansBold*default

[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

Re: [NTG-context] Image cropped

2021-09-13 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, I had done the same thing but I thought this solution was not the most elegant, and I wanted to know what the specialists were going to do. Thank you. Fabrice Le dim. 12 sept. 2021 à 16:50, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Fabrice Couvreu

Re: [NTG-context] Image cropped

2021-09-12 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, That's what I understood but the problem is that if I reduce the margin, the logo is too small in my opinion : what would you do ? Indeed the line is green but you will have understood: =) Fabrice Le sam. 11 sept. 2021 à 19:17, Wolfgang Schuster via ntg-context < ntg-context@ntg

Re: [NTG-context] Image cropped

2021-09-11 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, The red frame is the print area ? Le sam. 11 sept. 2021 à 16:43, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Fabrice Couvreur via ntg-context schrieb am 11.09.2021 um 16:32: > > Hello, > I like to put a logo on my statements but I noti

[NTG-context] Image cropped

2021-09-11 Thread Fabrice Couvreur via ntg-context
Hello, I like to put a logo on my statements but I noticed that the image is cropped on the edge. I tried to change the printer's print settings but was unsuccessful. Thanks Fabrice \setuplayout[width=middle,height=middle] \setupfootertexts [margin] [] [{\offset[y=\strutdp

Re: [NTG-context] getting line numbers

2021-09-05 Thread Fabrice Couvreur via ntg-context
Hi, I am trying to test this file but without success. I just do context test.tex but I suspect that is not it. When you say > We compile and run: > Which command is it with ? Thanks Fabrice Le ven. 3 sept. 2021 à 18:26, Hans Hagen via ntg-context a écrit : > On 9/3/2021 3:53 P

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Fabrice Couvreur via ntg-context
}{\samplefile[lorem]r} \stoptext %%% Fabrice Le jeu. 26 août 2021 à 17:56, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Taco Hoekwater via ntg-context schrieb am 26.08.2021 um 16:34: > > > > Hi, > > > >> On 26 Aug 2021, at 16:

[NTG-context] Test for displaying a header

2021-08-26 Thread Fabrice Couvreur via ntg-context
. Thanks Fabrice ___ 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/listinfo/ntg-context webpage : http://www.pragma-ade.nl

[NTG-context] Place a logo at the bottom of the page with a layer

2021-08-24 Thread Fabrice Couvreur via ntg-context
Hi, I want to insert a logo at the bottom of the page on the right on the first page, on the left on the second, on the right on the third ... With the key repeat=yes, the logo is always at the bottom right Thanks Fabrice \useMPlibrary[dum] \definelayer [MyLogo] [x=0mm, y=0mm, width

  1   2   3   4   5   6   7   8   9   10   >