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

Re: Getting text from footnotes

$
0
0

Thank You, Ric, that worked.

However, i had to add a 'stop', because an endless number of empty footnotes were found.

function processFootnote (fn, doc) {
// find citations in footnotes     var fnText = "";     var fnPara = fn.FirstPgf;          while (fn.ObjectValid()) {       fnText = (GetText(fnPara));       if (fnText == ""){ return; }       // <----------------- prevent runaway          alert (fnText);                    // the text of the footnote          var citations = GetTempCitations (fnText);          var nCitations = citations.length;          alert (nCitations + " Citations = " + citations);     fnPara = fnPara.NextPgfInFlow;     }
} //--------------------------------------------------------------------------

Viewing all articles
Browse latest Browse all 3715

Trending Articles



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