From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id A0735250F5 for ; Thu, 25 Apr 2024 23:15:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id EB6FE4841C9 for ; Thu, 25 Apr 2024 23:14:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0EYQxuX8SmDC for ; Thu, 25 Apr 2024 23:14:26 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7EC98483A8C for ; Thu, 25 Apr 2024 23:13:24 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 40513483A77 for ; Thu, 25 Apr 2024 23:12:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZFbl5CViQlyc for ; Thu, 25 Apr 2024 23:12:55 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.171; helo=mail-lj1-f171.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id B6EEA483A6D for ; Thu, 25 Apr 2024 23:12:55 +0200 (CEST) Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2de232989aaso16617201fa.1 for ; Thu, 25 Apr 2024 14:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714079574; x=1714684374; darn=ntg.nl; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=1+8VaskAD6bBYtvlJXo66V6jU4PUz2fk/Xy71eajJCE=; b=BA1EXKPEOGtx04+Sgp18g1EB6AmHeu83YUpV27s8Bix3TBKMwLkeZdAyzTb1WWVAeq 5wS2re+H39SdbkhZoqeQsUkq96petvZsuIkUDvTkbT5OWQwVuVEe3kyNuqiCAHfGM/vS q26eURkgXhTAHWV2hOGnFomoiW8K/ZmD/l7k9OLys+ffAHd0axa4QXbZpf3byJNP8rvW RY/XAytlhhnuXiSSNzrzM1pPmcdC3hQ0FBR/epehk2yyrHyw3GJiAMOue81EfuOvqGiu UMaNb+rV3fcp9ZHi9Ug4TmWhj3s9BFrOcNBXM4lfW98Ml2fGoB5bk/2U32wrr/VTNl8F Sc4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714079574; x=1714684374; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1+8VaskAD6bBYtvlJXo66V6jU4PUz2fk/Xy71eajJCE=; b=wbX4nauePhxc9uD0iQdrU4yP2YCgyQLu8619f/H80c6SyYAxme12rUC7wL4m1YXPb+ Yf9jZ8EDU6VamkrG5wE/C6F5Vvp4p3FqY/esbpzpo6NGmuOId364e2rdJetWFd2mXU9p 2EMZUByxBjRLD/0NJbl65TUsGdp294fl/6gcJ/GKez89g2mRZScNzris5PoLlBZ4jBbn IBNT2oy/1Fyfk8Ri00QARQLSgeHpccJn7mbUn8Uhef+Symp0aliC8zHOCmdWIP1zRnkr 7ypopgkV/hDC7TaOyBSlEBmOOix8lXfYiCOS7sKw6P1fimwwM+EfBzJXKUtEA7y5KCpV EygQ== X-Gm-Message-State: AOJu0YzCJn9XXekFjl5qvo9VL3NhbJARMygL62iqQPy/NVPkn8RXflsY OXJlXwgwMqKbamCFEdMWDg3buhWBMaZXZ2mVV4ATR7tRWDi4/kggy9yA+CpoEctvyRnGcRCoDks rhrcz+/2bVw72uUFmUJFTQYqs14e84v4K X-Google-Smtp-Source: AGHT+IHMe56kMx62HzR0IL/BXiDx/yLiW9DcjfV81RX4X+GQSIW1dGahJD11YaFXSxziZ2YMDXe1l/2Fl80DVnbOczk= X-Received: by 2002:a2e:a7cc:0:b0:2d4:2b05:a671 with SMTP id x12-20020a2ea7cc000000b002d42b05a671mr265070ljp.32.1714079574183; Thu, 25 Apr 2024 14:12:54 -0700 (PDT) MIME-Version: 1.0 References: <2A3CD2A2-62AE-4A5D-B8F3-5B622CF465C5@bittext.nl> In-Reply-To: From: Fabrice Couvreur Date: Thu, 25 Apr 2024 23:12:49 +0200 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: BVGGT5G4YPU6OWUFGR6U2JBP6MER7MO6 X-Message-ID-Hash: BVGGT5G4YPU6OWUFGR6U2JBP6MER7MO6 X-MailFrom: fabrice1.couvreur@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: The graph is not visible. List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============2625789362596684889==" --===============2625789362596684889== Content-Type: multipart/alternative; boundary="00000000000022db4a0616f24060" --00000000000022db4a0616f24060 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Here is the code that interferes with the graph from the last chapter but why ? \startMPcode pickup pencircle xscaled 1; defaultfont :=3D "texgyrepagella-regular*default" ; defaultscale :=3D 0.8 ; path circle, p, q, b; circle =3D fullcircle xscaled 5cm yscaled 3.5cm; p =3D (point 2 of circle .. (-0.15cm,1.5cm) ..(0,0)..(0.15cm,-1.5cm).. point 6 of circle); q =3D (subpath(0,2) of circle -- p -- subpath(6,8) of circle --cycle); b =3D (reverse p -- subpath(2,6) of circle -- cycle); definecolor [ name =3D "mp:red", r =3D 1 ]; definecolor [ name =3D "mp:blue", r =3D 0.54, g =3D 0.17, b = =3D 0.89 ]; fill q withcolor "mp:red" withtransparency(1,0.4) ; fill b withcolor "mp:blue" withtransparency(1,0.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 =C3=A0 16:55, Fabrice Couvreur a =C3=A9crit : > 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 =C3=A0 16:40, Taco Hoekwater a =C3= =A9crit : > >> >> >> > 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 not related to the figure itself. Something may be >> different in this component compared to the other ones. I cannot really >> say, of course. Still, using external image instead of inline metapost m= ay >> be fix it. Not elegant, but if it works it works! >> >> Good luck, >> Taco >> >> >> > >> > \startcomponent[chapter-14] >> > \startMPpage >> > ... >> > \stopMPpage >> > \stopcomponent >> > >> > But if I compile my project, it disappears !! >> > >> > \startproduct[terminale-manual] >> > \startbodymatter >> > \component[chapter-1] >> > \component[chapter-2] >> > \component[chapter-3] >> > \component[chapter-4] >> > \component[chapter-5] >> > \component[chapter-6] >> > \component[chapter-7] >> > \component[chapter-8] >> > \component[chapter-9] >> > \component[chapter-10] >> > \component[chapter-11] >> > \component[chapter-12] >> > \component[chapter-13] >> > \component[chapter-14] >> > \stopbodymatter >> > \stopproduct >> >> =E2=80=94 >> Taco Hoekwater E: taco@bittext.nl >> genderfluid (all pronouns) >> >> >> >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o >> the Wiki! >> >> maillist : ntg-context@ntg.nl / >> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl >> webpage : https://www.pragma-ade.nl / https://context.aanhet.net >> (mirror) >> archive : https://github.com/contextgarden/context >> wiki : https://wiki.contextgarden.net >> >> ________________________________________________________________________= ___________ >> > --00000000000022db4a0616f24060 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
Here is the code that interferes with the graph from the= last chapter but why ?

=C2=A0\startMPcode
=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0pickup pencircle xscaled 1; =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0defaul= tfont =C2=A0:=3D "texgyrepagella-regular*default" ;
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0defaultscale :=3D 0.8 ; =C2=A0 =C2=A0= =C2=A0 =C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0path cir= cle, p, q, b;
=C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0circle =3D fullcircle xscaled 5cm yscaled 3.5cm;
=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0p =3D (point 2 of circle .. (-0.15cm,1.5cm) ..(= 0,0)..(0.15cm,-1.5cm).. point 6 of circle);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0q =3D (subpath(0,2) of circle -- p -- subpath(6,8) of c= ircle --cycle);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0b =3D (r= everse p -- subpath(2,6) of circle -- cycle);

=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0definecolor [ name =3D "mp:red", r =3D= 1 ];
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0definecolor [ name= =3D "mp:blue", r =3D 0.54, g =3D 0.17, b =3D 0.89 ];

=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fill q withcolor "mp:red&= quot; withtransparency(1,0.4) ;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0fill b withcolor "mp:blue" withtransparency(1,0.4) ;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0draw circle;
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0draw p;

=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0label("$\overline{\text{A}}$",( 1.5cm,= 0));
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0label("$\text{= A}$",(-1.5cm,0));
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0l= abel.top("E",(0,1.85cm));
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0\stopMPcode

Le=C2=A0jeu. 25 avr. 2024 =C3=A0=C2=A016:55, Fab= rice Couvreur <fabrice1.c= ouvreur@gmail.com> a =C3=A9crit=C2=A0:
Hi Hans and Taco,
@Hans, I com= piled by commenting and uncommenting one component at a time; it is compone= nt 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=C2=A0jeu. 25 avr.= 2024 =C3=A0=C2=A016:40, Taco Hoekwater <taco@bittext.nl> a =C3=A9crit=C2=A0:
=


> On 25 Apr 2024, at 16:08, Fabrice Couvreur <fabrice1.couvreur@gmail.com&g= t; 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 comp= onent chapter-14 :

It is probably not related to the figure itself. Something may be different= in this component compared to the other ones. I cannot really say, of cour= se. Still, using external image instead of inline metapost may be fix it. N= ot elegant, but if it works it works!

Good luck,
Taco


>
> \startcomponent[chapter-14]
> \startMPpage
> ...
> \stopMPpage
> \stopcomponent
>
> But if I compile my project, it disappears !!
>
> \startproduct[terminale-manual]
>=C2=A0 \startbodymatter
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-1]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-2]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-3]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-4]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-5]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-6]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-7]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-8]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-9]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-10]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-11]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-12]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-13]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\component[chapter-14]
>=C2=A0 =C2=A0 =C2=A0\stopbodymatter
> \stopproduct

=E2=80=94
Taco Hoekwater=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 E: taco@bittext.nl
genderfluid (all pronouns)


___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / https://mailman.ntg.nl/mail= man3/lists/ntg-context.ntg.nl
webpage=C2=A0 : https://www.pragma-ade.nl / https://context.aanhet.net= (mirror)
archive=C2=A0 : https://github.com/contextgarden/context=
wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net
___________________________________________________________________________= ________
--00000000000022db4a0616f24060-- --===============2625789362596684889== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============2625789362596684889==--