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

2024-04-26 Thread Fabrice Couvreur
Hi, Thanks for your help. I did several tests playing only with the code of component 5 which interferes with that of component 14. @Aditya begingroup; . endgroup; does not work. @Hans save defaultfont, defaultscale; maybe also: save circle, p, q, b ; I get an empty rectangle in place of

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

2024-04-26 Thread Aditya Mahajan
On Fri, 26 Apr 2024, Taco Hoekwater wrote: > > > > On 25 Apr 2024, at 23:12, Fabrice Couvreur > > wrote: > > > > Hi, > > Here is the code that interferes with the graph from the last chapter but > > why ? > > Because of this “path b”: > > > path circle, p, q, b; > >

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

2024-04-26 Thread Taco Hoekwater
> On 25 Apr 2024, at 23:12, Fabrice Couvreur > wrote: > > Hi, > Here is the code that interferes with the graph from the last chapter but why > ? Because of this “path b”: > path circle, p, q, b; which interferes with the assignment line from the other graphic code: >

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

2024-04-25 Thread Fabrice Couvreur
Hi, Here is the code that interferes with the graph from the last chapter but why ? \startMPcode pickup pencircle xscaled 1; defaultfont := "texgyrepagella-regular*default" ; defaultscale := 0.8 ; path circle, p, q, b; circle =

[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 : > > > > On 25

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

2024-04-25 Thread Taco Hoekwater
> 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

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

2024-04-25 Thread Hans Hagen
On 4/25/2024 4:08 PM, 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 : \startcomponent[chapter-14] \startMPpage ... \stopMPpage \stopcomponent But if I compile my

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

2024-04-25 Thread Fabrice Couvreur
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 : \startcomponent[chapter-14] \startMPpage ... \stopMPpage \stopcomponent But if I compile my project, it disappears !!

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

2024-04-25 Thread Taco Hoekwater
H Fabrice, You did not provide a good minimum test because the graph by itself renders fine: fabr.pdf Description: Adobe PDF document 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,