Re: [NTG-context] synonyms with MKIV

2007-12-06 Thread Aditya Mahajan
On Thu, 6 Dec 2007, Hans Hagen wrote: > Wolfgang Schuster wrote: > >> The order of key and entry is, the same as in the mkii macro >> >> { { v[2], v[3] } }, -- key, entry >> >> but you wrote >> >> { { v[3], v[2] } }, -- entry, key > > ok, fixed > > just wondering ... now we move to a mix of tex an

Re: [NTG-context] synonyms with MKIV

2007-12-06 Thread Hans Hagen
Wolfgang Schuster wrote: > The order of key and entry is, the same as in the mkii macro > > { { v[2], v[3] } }, -- key, entry > > but you wrote > > { { v[3], v[2] } }, -- entry, key ok, fixed just wondering ... now we move to a mix of tex and lua code, how complex is it to piece together wha

Re: [NTG-context] synonyms with MKIV

2007-12-06 Thread Wolfgang Schuster
2007/12/5, Hans Hagen <[EMAIL PROTECTED]>: > Peter Münster wrote: > > On Wed, Dec 05, 2007 at 09:29:08AM +0100, Wolfgang Schuster wrote: > this line should be > > \def\mksavesortedlistentry#1#2#3#4% class key entry meaning > > {\immediatewriteutilitytua{table.insert(js['

Re: [NTG-context] synonyms with MKIV

2007-12-05 Thread Hans Hagen
Peter Münster wrote: > On Wed, Dec 05, 2007 at 09:29:08AM +0100, Wolfgang Schuster wrote: this line should be \def\mksavesortedlistentry#1#2#3#4% class key entry meaning {\immediatewriteutilitytua{table.insert(js['#1'],{'e','#1',\!!bs#2\!!es,\!!bs#3\!!es})}} >>> Both ver

Re: [NTG-context] synonyms with MKIV

2007-12-05 Thread Peter Münster
On Wed, Dec 05, 2007 at 09:29:08AM +0100, Wolfgang Schuster wrote: > > > > > > this line should be > > > > > > \def\mksavesortedlistentry#1#2#3#4% class key entry meaning > > > > > > {\immediatewriteutilitytua{table.insert(js['#1'],{'e','#1',\!!bs#2\!!es,\!!bs#3\!!es})}} > > > > Both versions gi

Re: [NTG-context] synonyms with MKIV

2007-12-05 Thread Wolfgang Schuster
2007/12/4, Peter Münster <[EMAIL PROTECTED]>: > On Tue, Dec 04, 2007 at 04:57:51PM +0100, Wolfgang Schuster wrote: > > > > > this is a bug in the mkiv sorting macros, I posted a similiar message > > > > a few days ago but got no answer. > > Hello Wolfgang, > > Indeed, now I remember... > (But one l

Re: [NTG-context] synonyms with MKIV

2007-12-04 Thread Peter Münster
On Tue, Dec 04, 2007 at 04:57:51PM +0100, Wolfgang Schuster wrote: > > > this is a bug in the mkiv sorting macros, I posted a similiar message > > > a few days ago but got no answer. Hello Wolfgang, Indeed, now I remember... (But one long week was time enough for me to forget it.) > > \def\mksa

Re: [NTG-context] synonyms with MKIV

2007-12-04 Thread Wolfgang Schuster
2007/12/3, Hans Hagen <[EMAIL PROTECTED]>: > Wolfgang Schuster wrote: > > 2007/12/3, Peter Münster <[EMAIL PROTECTED]>: > >> Hello, > >> > >> I get unexpected output with this test-file: > >> > >> % engine=luatex > >> \definesynonyms[test][tests] > >> \test{testOne}{first test} > >> \test{testTwo}{

Re: [NTG-context] synonyms with MKIV

2007-12-03 Thread Hans Hagen
Wolfgang Schuster wrote: > 2007/12/3, Peter Münster <[EMAIL PROTECTED]>: >> Hello, >> >> I get unexpected output with this test-file: >> >> % engine=luatex >> \definesynonyms[test][tests] >> \test{testOne}{first test} >> \test{testTwo}{second test} >> \starttext >> \testOne >> \placelistoftests >>

Re: [NTG-context] synonyms with MKIV

2007-12-03 Thread Hans Hagen
Wolfgang Schuster wrote: > this is a bug in the mkiv sorting macros, I posted a similiar message > a few days ago but got no answer. > > http://archive.contextgarden.net/message/20071125.084213.6c34633f.en.html no time yet -) Hans ---

Re: [NTG-context] synonyms with MKIV

2007-12-03 Thread Wolfgang Schuster
2007/12/3, Peter Münster <[EMAIL PROTECTED]>: > Hello, > > I get unexpected output with this test-file: > > % engine=luatex > \definesynonyms[test][tests] > \test{testOne}{first test} > \test{testTwo}{second test} > \starttext > \testOne > \placelistoftests > \stoptext > > I would expect: > > testO