>>>>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> The TocBackend as well as the different updateLabels() Abdelrazak> functions should disappear once we tracks labels correctly Abdelrazak> on paragraph creation/deletion. I have planned to do that Abdelrazak> when I get some time. I do not think it is a good idea. It is possible to rewrite the updateLabel code to be faster and more powerful (number footnotes, skip notes...), and I think this is the way to go. Such a brutal approach is always more robuest than a fine grained update on paragraph insertion/deletion. What should be possible to speed things up is to keep the values of labels for each paragraph/inset and stop renumbering when we have a coupling with old data (i.e. the counter have the values they used to have). But all in all, I think counter code, as crude as it may be, is almost fast enough for our needs. JMarc