On Mar 29, 2006, at 10:28, anand kumar wrote:

Sorry for not posting the question clearly, Please find the attachment of the sample file. The matter enclosed in <f1>….</ f1=c>, <f1=c>…..</f1=c>….<f1=c>……</f1> are all the foot notes that are spanning on various pages, now what I am trying to do is that to combine all the related footnotes that are spanned in various pages and place them at on place. Here <f1> indicates the starting of the footnotes, <f1=c> indicates that the footnote continues from previous page, the </f1=c> indicates that the foot notes continues in next page and </f1> indicates the end of the footnotes

Looks like the code I sent before is a good starting point. The only new relevant stuff I see are the "<fn>" tags, but you could adapt the script easily to deal with that correctly and to do what's needed with empty lines. If you understand the flip-flop operator you've got the script.

-- fxn



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to