[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 = fu

[NTG-context] Re: start/stopregister

2024-04-25 Thread Thomas A. Schmitz
On 4/25/24 18:16, Hans Hagen wrote: Let's seen if we can make Thomas more of an expert as he's zooming in on the issue:     extendregister {     metadata   = { name =  name },     references = { abel =  label },     } Let me know if you't see it. A

[NTG-context] Re: start/stopregister

2024-04-25 Thread Hans Hagen
On 4/25/2024 4:51 PM, Taco Hoekwater wrote: On 25 Apr 2024, at 16:45, Thomas A. Schmitz wrote: On 4/25/24 16:13, Henning Hraban Ramm wrote: I’m using it like \startregister[index][bibliografie]{Bibliografie} … \stopregister[index][bibliografie] i.e. very similar to your example, and can con

[NTG-context] Re: Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-25 Thread Gerion Entrup
I solved it, although it's kinda hacky. I'm pretty sure that publications.citevariants.short is not meant to be called directly. Do you know why `context.getdetail(dataset, tag, "author")` does not work in render_cite? It always returns nil. ``` \setupinteraction[state=start] \startbuffer[test

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

[NTG-context] Re: start/stopregister

2024-04-25 Thread Taco Hoekwater
> On 25 Apr 2024, at 16:45, Thomas A. Schmitz > wrote: > > On 4/25/24 16:13, Henning Hraban Ramm wrote: >> I’m using it like >> \startregister[index][bibliografie]{Bibliografie} >> … >> \stopregister[index][bibliografie] >> i.e. very similar to your example, and can confirm it doesn’t result i

[NTG-context] Re: start/stopregister

2024-04-25 Thread Thomas A. Schmitz
On 4/25/24 16:13, Henning Hraban Ramm wrote: I’m using it like \startregister[index][bibliografie]{Bibliografie} … \stopregister[index][bibliografie] i.e. very similar to your example, and can confirm it doesn’t result in a page range in the index. Also gives no error. Since I've become an e

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

[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: start/stopregister

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 15:44 schrieb Thomas A. Schmitz: Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv but not in mkxl

[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 !! \startproduct[terminale

[NTG-context] start/stopregister

2024-04-25 Thread Thomas A. Schmitz
Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv but not in mkxl. All best Thomas \setuppapersize [A6] \star

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

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

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread hf
You are right. I shall change the parameter `inbetween` in `\setupitemize`. Regards, Hong April 25, 2024 at 4:54 PM, "Henning Hraban Ramm" wrote: > Am 25.04.24 um 10:46 schrieb h...@hongfeng.ch: > >> thank you. >> >> just tried, not worked out yet. >> >> Here it is my text: >> >> ``` >> >

[NTG-context] Re: utiliydata

2024-04-25 Thread Hans Hagen
On 4/25/2024 9:25 AM, Thomas A. Schmitz wrote: Nope, very sorry, can’t figure it out… I see job.register, I see I can access structures.refrences.collected, but what about the next level utilitydata.structures.references.collected={ [""]={ [“REF"]={ What does the empty key do? And how do

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 10:46 schrieb h...@hongfeng.ch: thank you. just tried, not worked out yet. Here it is my text: ``` setuplist[height=0] \startitemize[n] \item It's impossible --- don't waste my time. \item It's possible, but not worth doing. \item I said it was a good ideal all along. \stopitemi

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread hf
thank you. just tried, not worked out yet. Here it is my text: ``` setuplist[height=0] \startitemize[n] \item It's impossible --- don't waste my time. \item It's possible, but not worth doing. \item I said it was a good ideal all along. \stopitemize ``` Now the distance between the items is equ

[NTG-context] Define a new command that inherits from multiple other command options

2024-04-25 Thread ai2472206007
hi! I'm new to ConTeXt. I want to define a command with sidenote function. This [setupsidenote] command inherits the options of [setupmargindata], [setupcounter] and [setupframed]. just like [setupenumeration] inherits the option of [setupcounter]. I've defined the following sidenote command b

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 10:20 schrieb h...@hongfeng.ch: which parameter in `\setuplist` is used for adjusting the distance between the items of a list? Usually it’s the general line height. You can use "inbetween=\blank[3pt]" to insert extra space. (Untested) Hraban

[NTG-context] which parameter is for adjust the distance between items in a list?

2024-04-25 Thread hf
which parameter in `\setuplist` is used for adjusting the distance between the items of a list? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Re: utiliydata

2024-04-25 Thread Thomas A. Schmitz
> > Nope, very sorry, can’t figure it out… I see job.register, I see I can access > structures.refrences.collected, but what about the next level > > utilitydata.structures.references.collected={ > [""]={ > [“REF"]={ > > What does the empty key do? And how do I retrieve the value of > > REF.