[NTG-context] Index making

2011-05-04 Thread Willi Egger
Hi all, Could some one tell me, why the index making in the following example does not come out as expected (as shown in the examplelines at the end)? \startluacode function Indexing(text) local data = text data = (string.gsub(data, ",", "+")) data = (string.gsub(data, "+ ", "+")) re

Re: [NTG-context] Index making

2011-05-05 Thread Hans Hagen
On 4-5-2011 8:25, Willi Egger wrote: Hi all, Could some one tell me, why the index making in the following example does not come out as expected (as shown in the examplelines at the end)? \startluacode function Indexing(text) local data = text data = (string.gsub(data, ",", "+")) d

Re: [NTG-context] Index making

2011-05-05 Thread Willi Egger
Hi Hans, thanks for your reply. E test-index.pdf Description: Adobe PDF document test-index.tex Description: Binary data scaping the + does not solve the underlaying problem. i.e. \index{\cldcontext{Indexing("bulb, fitting")}}} results in the typeset index as: bulb+fitting There is no page

Re: [NTG-context] Index making

2011-05-05 Thread Wolfgang Schuster
Am 05.05.2011 um 11:14 schrieb Willi Egger: > Hi Hans, > > thanks for your reply. Escaping the + does > not solve the underlaying problem. i.e. > > \index{\cldcontext{Indexing("bulb, fitting")}}} > > results in the typeset index as: > > bulb+fitting You have to expand the result from Lua be

Re: [NTG-context] Index making

2011-05-05 Thread Willi Egger
Hi Wolfgang THANK YOU! Willi On 5 May 2011, at 11:26, Wolfgang Schuster wrote: > > Am 05.05.2011 um 11:14 schrieb Willi Egger: > >> Hi Hans, >> >> thanks for your reply. Escaping the + does >> not solve the underlaying problem. i.e. >> >> \index{\cldcontext{Indexing("bulb, fitting")}}} >>