Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 3715

Re: Table footnotes

$
0
0

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


Viewing all articles
Browse latest Browse all 3715

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>