Rick,
The first method would be my favour (it is elegant), but it continues after the last table-footnote with the first normal footnote - thus creating a 'loop'.
I have not yet found a method to stop that loop. My first attempt fails:
function ProcessFootnote (doc) { // find citations in footnotes var fnText = ""; var fn = doc.FirstFnInDoc; while (fn.ObjectValid()) { fnText = (GetText(fn)); alert (fnText); // the text of the footnote
var citations = GetTempCitations (fnText); fn = fn.NextFnInDoc; if (fn == doc.FirstFnInDoc) { return; // ------- Does not stop the loop, === doesn't it either } } } //--------------------------------------------------------------------------
PS will be absent for some days from this project.
Klaus