I'm looking for a quick and easy way to do it. Since the conditions aren't used they're not causing any problems so I can't justify wasting much time getting rid of them. I think there used to be a utility that would do that.
The features that show which tags and conditions are used is in my experience buggy, they show false positives or negatives all the time. I already took inventory by searching for the conditions since I needed to figure out not only if they were used but for what purpose(s). On Tue, Mar 20, 2012 at 8:22 AM, Craig Ede <craig...@hotmail.com> wrote: > You can delete them manually in each file by the usual method. The nice > thing about that is that if they *ARE* used they will flag you with a > message asking if you want to delete the text that uses that condition tag > or convert it to unconditional text. > > A perl, python, et. al. script could be used to delete the definitions for > the unused condition tags from any selection of files if they are saved to > MIF. To find out what needs to be deleted, save the file as mif, then save > it again to mif under a different name. A Unix diff on the resulting files > will show the relevant text that needs to be deleted and you script can hunt > for that and replace it with nothing. My recollection is that there is very > little to a Conditional Definition in a MIF. (Using an empty portrait doc > that you've imported your conditional definition into might simplify this > process.) Such scripts are pretty easy to write (and instructive). > > Best of luck. > > Craig > > -----Original Message----- > From: framers-boun...@lists.frameusers.com > [mailto:framers-boun...@lists.frameusers.com] On Behalf Of Robert Lauriston > Sent: Monday, March 19, 2012 4:39 PM > To: framers@lists.frameusers.com > Subject: removing condition tags across book? > > Is there an easy way to remove an unused condition tag from all files in a > book? > _______________________________________________ > > > You are currently subscribed to framers as craig...@hotmail.com. > > Send list messages to framers@lists.frameusers.com. > > To unsubscribe send a blank email to > framers-unsubscr...@lists.frameusers.com > or visit > http://lists.frameusers.com/mailman/options/framers/craigede%40hotmail.com > > Send administrative questions to listad...@frameusers.com. Visit > http://www.frameusers.com/ for more resources and info. > _______________________________________________ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.