[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Word Count in XYWdos4.017
- Subject: Re: Word Count in XYWdos4.017
- From: Harry Binswanger hb@xxxxxxxx
- Date: Fri, 18 Oct 1996 06:39:34 -0400 (EDT)
>As far as I know, it's a bug (feature). Getting rid of the footnotes (and
>reinstating automatically?) seems one way. Doing a tys, with the footnotes
>as endnotes(i.e., with NF stuck at the beginning--you don't actually have
>to format and dump them), and then counting in the review window is
>another(oops, have to strip the running headers, etal). Writing a program
>that did this would work: select a footnote, WC it, add to total, select
>next footnote, WC it, add to total, ... Then WC the whole document and
>substract the footnote count. (alternatively, select successively text
>between footnotes and do a WC and cumulative count on those.)
If you bury the footnotes inside a they become nonprinting notes
and WC won't count them. So just do:
ci //>/
then do the count, then reverse the change. Actually, easier than reversing
the change might be just saving before the change, doing the change and
count, then aborting and re-calling the unchanged version.
This assumes you have either Xy4 or Annie Fisher's just-posted wildcard
search and replace pgm.
In the above "ci" command, the "<" here stands for the guillemet character
and the "WW " stands for the wild-string wildcard. The reason for having 3
of them (and you may need more) is that each WW is limited to 80 (if memory
serves) characters and your footnotes might well be longer than that.
Harry Binswanger
hb@xxxxxxxx