[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
Subject: Re: How to get figure counter to reset by itself
From: Stefan Petrucha <petrucha@xxxxxxxx>
Date: Tue, 08 Jul 2003 19:53:11 +0200
References: <200307072051.h67KpkT05499@malawi.doe.carleton.ca>
Sender: owner-framers@xxxxxxxxx
Shing-Fat Fred Ma wrote: > I have a small smattering of experience with the Perl > language. I'm thinking of maybe writing a program to > do the consolidation. It sounds like it could get > quite complicated (for my level of experience with > Perl). At first glance, I'd have to add a > chapter-dependent numerical offset to each citation > number. I'd also have to check for references that are > duplicated across chapters. These duplicates could > complicate the program, because it means the numerical > offset can change within the same chapter. If you had small smattering of experience with Python, you could try fmPython (available from my site). With Python you can avoid the MIF-trip and work directly from within FM, process whole book at once etc. It should be sufficient to solve your problems with citations. Drawback: one does need to know a little bit how the FM internal structures are organized (documentation available in the FDK) in addition to Python programming. Regards Stefan Petrucha -- Publishing Automation & Technical Documentation http://www.isnet.sk/petrucha ** To unsubscribe, send a message to majordomo@omsys.com ** ** with "unsubscribe framers" (no quotes) in the body. **