[NTG-context] Re: chronological TOC

2024-01-29 Thread jbf
And indeed this is the best solution I could find, though it obviously meant that something like '29 April 2017' was no good for sorting on... it has to be the US date format YY-MM-DD Julian On 30/1/24 06:15, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 27.01.2024 um 10:05: Am

[NTG-context] Re: chronological TOC

2024-01-29 Thread Bruce Horrocks
On 29 Jan 2024, at 19:15, Wolfgang Schuster wrote: > > Henning Hraban Ramm schrieb am 27.01.2024 um 10:05: >> Am 26.01.24 um 23:46 schrieb jbf: >>> I wonder if someone can point me in the right direction for a separate TOC >>> which needs to be in chronological order at the back of the book

[NTG-context] Re: chronological TOC

2024-01-29 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 27.01.2024 um 10:05: Am 26.01.24 um 23:46 schrieb jbf: I wonder if someone can point me in the right direction for a separate TOC which needs to be in chronological order at the back of the book (i.e. not in page number order, although I need the page numbers to

[NTG-context] Re: Own command definition breaks with interaction: Use of \do_my_command doesn't match its definition

2024-01-29 Thread Wolfgang Schuster
Gerion Entrup schrieb am 25.01.2024 um 09:18: Hi, I want to make a proper definition of a new command to be able to process it in Lua. I found something on StackOverflow [1] but that breaks in enumeration _and_ when interaction is enabled and I do not understand why? Can you give me some help

[NTG-context] Re: mtxrun.lua:10080: bad argument #9 to 'format'

2024-01-29 Thread Hans Hagen
On 1/29/2024 12:08 PM, Taco Hoekwater wrote: Hi, I changed line 10066 in mtxrun.lua to templates[i]="%-"..w.."s"..between from templates[i]=“% "..w..”i"..between and that fixed it. thanks, I also changed util-fmt.lua line 79 Hans

[NTG-context] Re: mtxrun.lua:10080: bad argument #9 to 'format'

2024-01-29 Thread Taco Hoekwater
> On 29 Jan 2024, at 01:36, vm via ntg-context wrote: > > while also on linux platform: > > > mtxrun --script font --list --spec --filter="fontname=ibm*" > mtxrun --script font --list --spec --filter="fontname=ple*" > > give correct result (as in listing the available installed ibmplex

[NTG-context] Re: Own command definition breaks with interaction: Use of \do_my_command doesn't match its definition

2024-01-29 Thread Taco Hoekwater
Hi, You can try: > \unexpanded\def\do_my_command[#1]#2{% But there is probably a cleaner way to implement optional arguments with lua? Best wishes, Taco > On 25 Jan 2024, at 09:18, Gerion Entrup wrote: > > Hi, > > I want to make a proper definition of a new command to be able to > process