Re: [NTG-context] still struggling with footnotes

2011-01-07 Thread Hans Hagen
On 6-1-2011 4:58, Achim Jander wrote: I changed pages[number] = range to local order = v.references.order pages[order] = range and accordingly depends on the situation i guess one you have it working ok you can wikify this trickery (the lua interface is unlikely to change much) which

Re: [NTG-context] still struggling with footnotes

2011-01-06 Thread Hans Hagen
something like this \enabletrackers[structures.notes] \setupnotedefinition[footnote][location=left,distance=1em,hang=4,headalign=flushright] \startluacode local n, ranges, pages = 0, { }, { } for k, v in ipairs(structures.lists.collected) do if v.metadata.kind == description

Re: [NTG-context] still struggling with footnotes

2011-01-06 Thread Achim Jander
Hi Hans, your're a genious, thats so great! Thank you very very much! While testing and adapting the code, there are two questions still: I changed pages[number] = range to local order = v.references.order pages[order] = range and accordingly function

Re: [NTG-context] still struggling with footnotes

2011-01-05 Thread Achim Jander
Am 03.01.2011 16:51, schrieb Achim Jander: Hi all, I am still trying to get the footnote numbers aligned in a special way: flushright, but the width depends on the width of the max footnote-number on page, so to get 1 2 and ~9 10 After reading the manuals and the source given in

[NTG-context] still struggling with footnotes

2011-01-03 Thread Achim Jander
Hi all, I am still trying to get the footnote numbers aligned in a special way: flushright, but the width depends on the width of the max footnote-number on page, so to get 1 2 and ~9 10 After reading the manuals and the source given in strc-not.lua thats how far i am at the moment: