home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / PROGRAMS / WSTAR / PAGEFIND.TZT / PAGEFIND.TXT
Text File  |  2000-06-30  |  3KB  |  56 lines

  1. FINDING PAGES
  2. by Richard S. Williams, PAKUP, June 1987
  3.  
  4. (Tricks on how to mark text for finding pages)
  5.  
  6. One of the irritants encountered in editing WordStar is its lack
  7. of a page finding command.  When editing short texts like this
  8. newsletter, there isn't much of a problem, but when doing
  9. material approaching 10 pages, a "go to page" command would sure
  10. be handy (that, and the unerase function, are the primary reasons
  11. I use NewWord).  You can use "markers" in the text (^K0,^K1, etc.
  12. to ^K9) for a single editing session but they are temporary and
  13. are lost whenever you exit the file.  Well, there is a way to
  14. deal with the problem.  Like most "fixes" this is a compromise
  15. which means that it is a good deal more work than simply having a
  16. page finding function.  But it does work after a fashion, and
  17. that is the whole point of the exercise.
  18.  
  19. Page numbers can be inserted in the text with the double dot
  20. comment command.  Any line that begins with a period (dot) is a
  21. command line to WordStar.  Two dots beginning a line are used for
  22. comments, meaning that the line is totally ignored:  it won't
  23. print, won't cause any changes, and doesn't exist as far as
  24. WordStar is concerned.  What you have to do is to insert the page
  25. number by hand in a comment line.  That is, type ..page# X and
  26. hit a carriage return.  You can use anything at all there, but
  27. "page#" is easily recognizable to me and can easily be found with
  28. a search command.  Because of the idiosyncrasies of paragraph
  29. reforming and such, it is best to place this number in between
  30. paragraphs.  Otherwise when you reform, you might get the dot
  31. command in the middle of a line where it will no longer be
  32. ignored but printed in all of its stupidity.  Murphy's Law will
  33. insure that you will then forget about the existence of two of
  34. these comments until 5 minutes after you have sent the paper in
  35. to a publisher or handed it in for class.  The insertion process
  36. can be eased a bit by using a program such as Xtrakey or Smartkey
  37. to set up two macro commands:  the first being three ^C's, the
  38. second ..page#.  The first moves you from page to page quickly. 
  39. I am assuming here that you have graduated from dependency on the
  40. menu and use help level 2 or lower to give you a full screen. 
  41. Three Control-C's equals a page.  You can always check the status
  42. line to confirm you are where you expect to be.  You then find
  43. the appropriate blank line and hit the second, then fill in the
  44. page number and hit a <cr>.  Then on to the next page.
  45.  
  46. You can find the page you want with a ^QF command, telling it to
  47. look for page# 6 or some such.  The major drawback of this whole
  48. scheme is that there is no way to automatically renumber the
  49. pages to correspond with reality.  As long as your editing
  50. doesn't insert lots of pages or move things around tremendously,
  51. you have useful markers.  But if you do a lot of moving, then you
  52. will have to change the numbers to correspond to the pages.  You
  53. don't have to remove these lines because they won't print.  But
  54. you can do so by using the find command  and hitting a ^Y when
  55. you get to the lines.
  56.