home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 104.lha / wp-ps.doc < prev    next >
Text File  |  1980-07-10  |  4KB  |  89 lines

  1. WP-PS version 2
  2. Enhancements added 12/3/87
  3.  
  4. WP-PS is copyright -,1987 by John Steiner
  5. You may distribute the program freely, as long as any doc files
  6. are also included.  If you use this program regularly, any
  7. contribution you may make would be appreciated.
  8.  
  9. Improvements to this version include program requesters that warn
  10. of errors, and provide a more Amiga-tized interface.  In
  11. addition, several additional Word Perfect commands are trapped. 
  12. Page centering, margin set commands, and other special Word
  13. Perfect codes are trapped, so that fewer changes have to be made
  14. to Word Perfect files, once they are transferred into PageSetter.
  15.  
  16. WP-PS is a file conversion program that enables Word Perfect
  17. users to transfer files more easily into PageSetter textfile
  18. format. Since PageSetter does not read W-P files, they must be
  19. saved in ASCII format, which loses all special text markings, and
  20. puts a carriage return at the end of each line.
  21.  
  22. WP-PS reads a standard W-P file, converts bold, italic and
  23. underline text to the proper PageSetter textfile code (\b, \i,
  24. \u), and converts W-P end of line characters to a space.  End of
  25. paragraph markers are preserved for inclusion into the PageSetter
  26. textfile.
  27.  
  28. To use, first copy all files to be converted into RAM:.  WP-PS
  29. only works with files in ram: to make the conversion process as
  30. fast as possible.  Once files are in ram:, execute WP-PS from the
  31. workbench with its icon, or from the CLI by typing WP-PS.  A
  32. program requester will let you know your files must be in RAM:,
  33. and let you exit, if you forgot to copy the files to ram:.  If
  34. you elect to continue, a RAM directory will be displayed.  Type
  35. the filename of the file to be converted at the prompt.  The
  36. screen will clear and processing will begin.  The numbers on the
  37. screen represent each character being processed.  If you know the
  38. file size, you will have an indication of how long processing
  39. will take by watching the numbers.
  40.  
  41. If the file is not a Word Perfect document, you will be warned
  42. before processing starts.  Since I am not sure if the routine
  43. that checks for document type is valid for all possible Word
  44. Perfect files, the program will let you convert the file anyway,
  45. if you wish.  If you experience the program telling you a valid
  46. W-P file is not valid, let me know.
  47.  
  48. Once the program has completed processing, the RAM: directory
  49. will reappear.  Converted files retain the same filename and a
  50. .ps suffix. (e.g. A WP file called filename will convert to
  51. filename.ps).  To continue converting files, just enter the new
  52. filename.  Entering a non-existant filename will bring up an
  53. error requester, and let you reenter.
  54.  
  55. To use the converted PageSetter files, transfer them to a
  56. PageSetter data disk, and they may then be loaded into the
  57. PageSetter text editor.
  58.  
  59. PROGRAM LIMITATIONS
  60. In addition to working only from RAM:, there are two other
  61. limitations.  
  62.  
  63. 1. Be careful about using any other than the W-P character set,
  64. WP-PS has not been tested with any but the default character set.
  65.  
  66. 2. Some extended characters have had to be modified, due to the
  67. way that WP handles them.  For example,  Character value 225 is
  68. ignored by WP- PS, as Word Perfect uses it to surround all Amiga
  69. extended characters.  The copyright symbol, - (Alt-E or character
  70. value 169) is the value WP uses to store a soft hyphen, therefore
  71. Alt-E characters are replaced with a hyphen.  If your document
  72. uses these characters, you will have to mark them differently and
  73. convert them from within PageSetter.  Extended characters not
  74. specifically trapped in WP-PS are passed to PageSetter without
  75. modification.
  76.  
  77. WP-PS was written in Amiga BASIC and compiled with AC-BASIC.  I
  78. would like to eventually incorporate a standard mouse requester
  79. to select files to convert from any directory.  Anyone who has an
  80. example file requester written in Amiga BASIC is requested to
  81. share the code so I might improve the user interface of WP-PS.
  82.  
  83. Publisher
  84.  
  85. John Steiner
  86. Box 683
  87. West Fargo, ND 58078
  88.  
  89.