Re: [NTG-context] left bracket in string.format()

2013-08-26 Thread Peter Rolf
Am 26.08.2013 17:40, schrieb Wolfgang Schuster: > > Am 26.08.2013 um 17:01 schrieb Peter Rolf : > >> Hi, >> >> Not sure if this is a bug or intended behaviour. I want to fill a TABLE >> row with "[]", but the leading left bracket causes some problems >> here. I tried the syntax 'print(string.form

Re: [NTG-context] left bracket in string.format()

2013-08-26 Thread Wolfgang Schuster
Am 26.08.2013 um 17:01 schrieb Peter Rolf : > Hi, > > Not sure if this is a bug or intended behaviour. I want to fill a TABLE > row with "[]", but the leading left bracket causes some problems > here. I tried the syntax 'print(string.format("[%d]",10)' in pure lua > and the result is as desired.

[NTG-context] left bracket in string.format()

2013-08-26 Thread Peter Rolf
Hi, Not sure if this is a bug or intended behaviour. I want to fill a TABLE row with "[]", but the leading left bracket causes some problems here. I tried the syntax 'print(string.format("[%d]",10)' in pure lua and the result is as desired. %% -- \starttext \startluacode context.bTAB