[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
; > On 25 Apr 2024, at 16:08, Fabrice Couvreur > wrote: > > > > Hi Taco, > > I knew I wouldn't be able to explain what was happening. > > The code works perfectly and the figure is clearly visible in the > component chapter-14 : > > It is probably

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

2024-04-25 Thread Fabrice Couvreur
by itself > renders fine: > > > > Best wishes, > Taco > (if all else fails, you can replace \startMPcode with \startMPpage and > generate a standalone graph that way) > > > On 25 Apr 2024, at 12:27, Fabrice Couvreur > wrote: > > > > Hi, > &g

[NTG-context] The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
Hi, I don't know if I can explain the problem I'm having. I made a project with 14 chapters. In each of them, there are graphics embedding metapost code. I proceed as follows : I compile each chapter alone with lmtx then I compile the project containing the 14 chapters. I didn't encounter any

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

[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: 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: > > Here

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

2023-11-21 Thread Fabrice Couvreur
draw r anglestriped (1,45,2) withcolor cyan; > > This will correct the problem, because each path is now drawn only once. > > Fabrice. > > Le 20 nov. 2023 à 14:47, Fabrice Couvreur a > écrit : > > Hi Otared, > It's true that the color seems identical. > Th

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

2023-11-20 Thread Fabrice Couvreur
t (the width > is larger in the lower rectangle). > > I attach the PDF created with your code. > > Best regards: Otared > > > > On 19 Nov 2023, at 18:56, Fabrice Couvreur > wrote: > > Hi, > I don't understand why the hatching of the two rectangles is not

[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
> > Best Wishes > > Keith > > > > On Thu, 5 Oct 2023, 20:52 Henning Hraban Ramm, > <mailto:te...@fiee.net>> wrote: > > > > Am 05.10.23 um 21:50 schrieb Fabrice Couvreur: > > > Hi, > > > I would like to obtain, if possi

[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: 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> wrote: > > […] > > > I

[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, backgroundcolor=lightgray"})

[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
; \ifmmode > \mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}% > \else% > \framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}% > \fi% > } > > Maybe something else is available nowadays. > > A. Christe > Le 22 août 2023 à 12

[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] 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 is of

[NTG-context] Userdata environment

2023-04-03 Thread Fabrice Couvreur via ntg-context
Hi, I have already created a thread on the subject and Wolgang, Marco and Taco have replied but the userdata environment is not yet clear to me. I would like, if possible, to write a definition, a property or a theorem on the left and illustrate it in the right margin with an example. In the code

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 AM, Gavin via ntg-context wrote:

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
11/13/22 11:32, Fabrice Couvreur via ntg-context wrote: > > Hi Pablo, > > Indeed but I posted these two files in a previous post. > > Hi Fabrice, > > the output from your ie_3.tex is too big for the list, so > https://pdf.ousia.tk/ie_3.pdf contains it. > > I see no

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
gt; On 10 Nov 2022, at 17:06, Fabrice Couvreur via ntg-context wrote: > >> > >> Hi, > >> Sorry to come back to you, but it seems to me that there is enough > space here. > >> Fabrice > > > > For some reason your PNG images came through in extr

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
; > > > On 11/9/22 17:51, Fabrice Couvreur via ntg-context wrote: > >> 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

[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

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
; On Sat, Oct 1, 2022 at 7:43 PM Fabrice Couvreur via ntg-context > wrote: > > > > Hi Hans, > > When the rectangles are not identical, how to have the same type of > hatching in both ? > > Thanks. > > Fabrice > > > > > > \starttext > > \st

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

2022-10-01 Thread Fabrice Couvreur via ntg-context
-context@ntg.nl> a écrit : > Am 28.09.22 um 15:29 schrieb Hans Hagen via ntg-context: > > On 9/28/2022 3:11 PM, Fabrice Couvreur via ntg-context wrote: > >> PS : What is the exact meaning of the word "blobs" because my English > >> is average ? > > in or

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

[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.north east);

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] 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

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

2021-12-28 Thread Fabrice Couvreur via ntg-context
Hi, In my file cours_premiere.tex if I indicate \startbodymatter \component[probabilites.tex] \stopbodymatter I get the following error message tex error > tex error on line 49 in file ./cours_premiere.tex: Undefined control sequence \pgfmath@settrigformat

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

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
.nl> a écrit : > Fabrice Couvreur via ntg-context schrieb am 11.09.2021 um 17:52: > > Hi Wolfgang, > The red frame is the print area ? > > > The *green* frame are the margins of the A4 paper which is positioned in > the middle of the A3 paper. > > The larger

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

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 PM, Aditya

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
Hi, I know I asked the question a few years ago, but I don't remember ! The idea is to test whether the document contains only one page or not. If it contains only one page, the header is enabled. If it contains several pages, the header is enabled only on the first page but not on the others.

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

[NTG-context] Adjustment for header and footer

2021-08-22 Thread Fabrice Couvreur via ntg-context
Hi, In the file below (not minimal, sorry!) I am using commands from Wolfgang in different threads. We can see that the top frame overflows into the text: how to correct this ? I would also like the top and bottom stroke to be adjusted to the width of the paper. Thanks Fabrice \useMPlibrary[dum]

[NTG-context] Strange behavior of a macro

2021-08-16 Thread Fabrice Couvreur via ntg-context
Hello, I don't understand why this macro works with this simple example but return the following error if I use it for chapters in my book. Thanks Fabrice \setupbodyfont [newcomputermodern-book,11pt] \unexpanded\def\N{\math{\mathbb{N}}\autoinsertnextspace} \defineenumeration [test]

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Fabrice Couvreur via ntg-context
Le dim. 15 août 2021 à 19:03, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Pablo Rodriguez via ntg-context schrieb am 15.08.2021 um 18:33: > > On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote: > >> A small note : this method works if I comp

[NTG-context] Adjustment in the table of contents

2021-08-16 Thread Fabrice Couvreur via ntg-context
Hi, I wish to have the table of contents as the attached image. The result is almost as expected except for the margin of the subsection. \setuplist [chapter,section,subsection] [width=fit,distance=\spaceamount] \setuplist [chapter] [alternative=b] \setuplist

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
Hi Pablo, The second solution works as I want it to Thanks Fabrice Le dim. 15 août 2021 à 18:33, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote: > > A small note : this method works if I compile the p

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
A small note : this method works if I compile the project but if I compile only one chapter, the header no longer appears. Le dim. 15 août 2021 à 17:01, Fabrice Couvreur a écrit : > Hi Pablo, > Thanks, it works. > Fabrice > > Le dim. 15 août 2021 à 16:20, Pablo Rodriguez via ntg-

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
Hi Pablo, Thanks, it works. Fabrice Le dim. 15 août 2021 à 16:20, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 8/15/21 12:49 PM, Fabrice Couvreur via ntg-context wrote: > > Hello, > > Wolfgang created a > > heading https://mailman.ntg.nl/piperm

[NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
Hello, Wolfgang created a heading https://mailman.ntg.nl/pipermail/ntg-context/2021/102870.html for the chapters of my book. How can I prevent this header from appearing on the page with the table of contents ? Thanks Fabrice

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Fabrice Couvreur via ntg-context
I forgot this : how to reduce the font size for the exponents "er", "e" ? Thanks Fabrice Le mer. 11 août 2021 à 12:41, Fabrice Couvreur a écrit : > Hi Wolfgang, > Many thanks > Fabrice > > Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context < > n

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Many thanks Fabrice Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context a écrit : > On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote: > > > > > >> On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context < > ntg-context@ntg.nl> wrote: > >> (…) > >> core-con.lua

[NTG-context] Create an enumeration style

2021-08-08 Thread Fabrice Couvreur via ntg-context
Hello, Is it possible to create an enumeration style to get this : 1 ^ {er} exemple 2 ^ {e} exemple 3 ^ {e} exemple Thanks Fabrice ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Question about \groupedcommand{}{}

2021-07-28 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Thank you for this nice solution. Fabrice Le mar. 27 juil. 2021 à 21:31, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Fabrice Couvreur via ntg-context schrieb am 27.07.2021 um 18:57: > > Hi, > > The name of the environment must alway

[NTG-context] Question about \groupedcommand{}{}

2021-07-27 Thread Fabrice Couvreur via ntg-context
Hi, The name of the environment must always end with a dot both with a title and without title. How to do ? Thanks Fabrice \setupenumerations [before={\blank}, after={\blank}, alternative=serried, title=yes, titleleft={(}, titleright={)}, titlestyle=normal,

[NTG-context] Macro that does not work in an environment

2021-07-27 Thread Fabrice Couvreur via ntg-context
Hello, How to make the macro work in the environment definition ? Thank you Fabrice \unexpanded\def\card#1{\math{\text{Card}\thinspace#1}} \defineenumeration [definition] [text=Définition, number=no, headcommand=\groupedcommand{}{.}, style=italic] \starttext

[NTG-context] Adjust the length of a frame

2021-07-27 Thread Fabrice Couvreur via ntg-context
-- Forwarded message - De : Fabrice Couvreur Date: lun. 26 juil. 2021 à 13:13 Subject: Texte source 30 / 5000 Résultats de traduction Adjust the length of a frame To: mailing list for ConTeXt users Hello, Following on from my previous questions for writing my book (thanks again

Re: [NTG-context] Adjust the length of a frame

2021-07-27 Thread Fabrice Couvreur via ntg-context
Le lun. 26 juil. 2021 à 13:13, Fabrice Couvreur a écrit : > Hello, > Following on from my previous questions for writing my book (thanks again > Wolfgang), I have to create a solution environment like the attached image. > My problem is adjusting the length of the frame. > Thank

[NTG-context] Texte source 30 / 5000 Résultats de traduction Adjust the length of a frame

2021-07-26 Thread Fabrice Couvreur via ntg-context
Hello, Following on from my previous questions for writing my book (thanks again Wolfgang), I have to create a solution environment like the attached image. My problem is adjusting the length of the frame. Thank you. Fabrice \setupbodyfont[newcomputermodern-book,11pt] \defineframed [ACFRAME]

Re: [NTG-context] Problem with chapter numbering

2021-07-15 Thread Fabrice Couvreur
Hi Bruce, Thanks for the suggestion, it works fine. Fabrice Le mer. 14 juil. 2021 à 22:54, Bruce Horrocks a écrit : > On 13 Jul 2021, at 18:47, Fabrice Couvreur > wrote: > > > > Hi, > > For my book, the header for each chapter should be like the attached > image.

[NTG-context] Problem with chapter numbering

2021-07-13 Thread Fabrice Couvreur
Hi, For my book, the header for each chapter should be like the attached image. I don't know if I am using the best method, but the result looks like what I want. Nevertheless, I am having a problem. I don't understand why the first chapter is not numbered while the second is with number 1 etc.

Re: [NTG-context] Header for a book

2021-07-13 Thread Fabrice Couvreur
}] \dorecurse{10}{\input knuth} \stopsection \stopchapter \startchapter [title=Combinatoire-Dénombrement] \dorecurse{10}{\input knuth} \stopchapter \stoptext Le lun. 12 juil. 2021 à 16:32, Fabrice Couvreur a écrit : > Hi, > For my book, the header for each chapter should be like the attached

[NTG-context] Header for a book

2021-07-12 Thread Fabrice Couvreur
Hi, For my book, the header for each chapter should be like the attached image. I don't know if I am using the best method, but the result looks like what I want. Nevertheless, I am having some problems : 1. the header appears on each page ; 2. the title of the chapter should not appear in the

Re: [NTG-context] Footer

2021-07-06 Thread Fabrice Couvreur
com> a écrit : > Fabrice Couvreur schrieb am 05.07.2021 um 19:49: > > Hi, > > I have to write a book : > > on the even pages at the bottom and on the left : the page number, a > > vertical line and the number of the chapter preceded by the text > > "C

[NTG-context] Footer

2021-07-05 Thread Fabrice Couvreur
Hi, I have to write a book : on the even pages at the bottom and on the left : the page number, a vertical line and the number of the chapter preceded by the text "Chapter" ; on the odd pages at the bottom and on the right : the title of the chapter, a line vertical and page number. Thanks for

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Fabrice Couvreur
Hi Hans, I am not a font specialist and I use pagella and modern. I'm curious so I installed this new font in /home/viserion/LMTX/tex/texmf/fonts/opentype/public/newcomputermodern I tested your file and I get the following message Thank you Fabrice Running `lmtx' on `hans-33' with

[NTG-context] mathscript in math mode

2021-05-13 Thread Fabrice Couvreur
Hi, Is it possible to run the macro in math mode ? Thank you Fabrice \usebodyfont [stix] \setupbodyfont[modern] \setupmathematics[stylealternative=calligraphic] \unexpanded\def\CScript#1#2{\start\switchtobodyfont[stixtwo] \m{{\mathscript{#1}}_{#2}}\stop}

Re: [NTG-context] Macro to write a letter with \ mathscript{}

2021-04-18 Thread Fabrice Couvreur
Hi Hans and Wolfgang, I have tried your suggestions and it seems to work. Thank you so much. Fabrice Le sam. 17 avr. 2021 à 19:04, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > Fabrice Couvreur schrieb am 17.04.2021 um 16:30: > > Hi, > This is goi

[NTG-context] Macro to write a letter with \ mathscript{}

2021-04-17 Thread Fabrice Couvreur
Hi, This is going to be difficult to explain because the code below works but in a project with many components does not. Actually the macro does not work in the definition environment in my project but in the same environment of this simple code yes. Thank you for your possible help. Fabrice

  1   2   3   4   5   6   7   8   >