Re: [NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Alan Braslau via ntg-context
Try: \completecontent [criterium=all] Alan On Tue, 18 Apr 2023 01:06:02 +0200 Kalouguine Andre via ntg-context wrote: > Hi, > > I was trying to have my "Acknowledgements" section/chapter before the > table of contents but be contained within it. > > Is it normal that the table of

[NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Kalouguine Andre via ntg-context
Hi, I was trying to have my "Acknowledgements" section/chapter before the table of contents but be contained within it. Is it normal that the table of contents is empty if there is a chapter that begins before it? ``` \starttext \chapter{Acknowledgements} Thank you \completecontent

Re: [NTG-context] \setupitemize[indentnext=auto] broken?

2023-04-17 Thread Hans Hagen via ntg-context
On 4/17/2023 7:06 AM, Aditya Mahajan via ntg-context wrote: On Sun, 16 Apr 2023, Aditya Mahajan via ntg-context wrote: On Sat, 15 Apr 2023, Jim via ntg-context wrote: % \setupindenting[medium,yes]

Re: [NTG-context] xmlsetentity on the fly?

2023-04-17 Thread Hans van der Meer via ntg-context
I tried \directlua{lxml.registerentity("DATE","NEWDATE")} and \directlua{lxml.registerentity("DATE","NEWDATE")} but neither does effect a change in the entity. Why is that entry not set in the Lua-table entities? (file xml-ent.lua) has as that function: function xml.registerentity(key,value)

Re: [NTG-context] xmlsetentity on the fly?

2023-04-17 Thread Hans van der Meer via ntg-context
> Use \xmltexentity Already tried this. But doesn't work. I guess it has more to do with the definition of the entity in the stsrem. met vriendelijke groet, dr. Hans van der Meer Burgemeester Rijnderslaan 244 1185 MC Amstelveen tel. 020 6452701 / 06 53743629 > On 17 Apr 2023, at 13:00, Thomas

Re: [NTG-context] xmlsetentity on the fly?

2023-04-17 Thread Thomas A. Schmitz via ntg-context
Use \xmltexentity Thomas > On 17. Apr 2023, at 12:32, Hans van der Meer via ntg-context > wrote: > > I would like to change an entity 'on the fly'. Example ___ If your question is of interest to others as well,

[NTG-context] xmlsetentity on the fly?

2023-04-17 Thread Hans van der Meer via ntg-context
I would like to change an entity 'on the fly'. Example \def\DATE{THEDATE}\expanded{\xmlsetentity{DATE}{\DATE}} \startxmlsetups typ:event \def\DATE{NEWDATE}\expanded{\xmlsetentity{DATE}{\DATE}} Using within the . \stopxmlsetups However, using inside an always results in THEDATE and

Re: [NTG-context] new uplaod

2023-04-17 Thread Alexandre Christe via ntg-context
Dear list, In case someone else stumbles upon this issue, the following code works. MWE: \autofences \starttext $\left]-\infty; a\right[$ \stoptext Best regards, Alex Le 22 sept. 2022 à 12:59 +0200, Alexandre Christe , a écrit : > Hi Hans, > > Thanks a lot for the example. It works great