home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / p / rnf13.lbr / RNF.DZC / RNF.DOC
Encoding:
Text File  |  1993-10-25  |  2.9 KB  |  80 lines

  1. .REM   ***** TO LIST THIS FILE ENTER THE FOLLOWING ******
  2. .REM   ***** B>runpcd rnf (rnf.doc, lst)           ******
  3. .REM   *****              and stand back for a bit ******
  4. .REM   ***** ensure the RNFxx.DIN files are online ******
  5. .rem Version PP-1.2 take 5.5 minutes to finish chapter 1.
  6. .rem run by B>runpcd rnf (rnf.doc,con) [on Kaypro 4]
  7. .rem timing starts with CR in above command
  8. .rem to change the formatting alter the arguments below to
  9. .rem     $HALFWIDTH      (1/2 right margin)
  10. .rem     $HALFPAGE       (1/2 pagesize, total lines available)
  11. .rem which are 33 and 33 respectively as issued.
  12. .rem For an Epson RX80 at 12 cpi, 8 lpi I use 42, 44
  13. .rem Another set (for 140 lines, using the Epson Subscript mode)
  14. .rem is 58, 72. This mode is setup by the following macros
  15. .rem output some blanks so initial paging/paragraphing works
  16. ##########
  17. .rem .macro subscr = .fmt 5 27 .x .fmt 5 83 .x .fmt 5 1
  18. .rem .macro lines144 = .fmt 5 27 .x .fmt 5 51 .x .fmt 5 16
  19. .rem .lines144 .subscr .fmt 5 13
  20. .rem where the above line executes to configure the printer.
  21. .rem The argument to .RIGHT (5) specifies an indent.
  22. .rem most of the manual is in old fashioned upper case only format
  23. .CASEFLAG
  24. .rem set an offset for printing
  25. .RIGHT 6
  26. .rem set up the page header format, left/right different
  27. .MACRO INPAG   = .SAV .RESPAG .S 3
  28. .MACRO OUTPAG  = .S 2 .RES
  29. .MACRO LPAG    = .IF $LP ^Page# .X $$PAGE=$$PAGE+1 .T <RNF .RT .CHTTL
  30. .MACRO RPAG    = .IF #$LP .CHTTL .T <RNF .RT ^Page# .X $$PAGE=$$PAGE+1
  31. .rem set up the chapter header format
  32. .MACRO CH *    = .PAGE .RESPAG .BR # .BR .S 4 .CHA .B .CHB .S 3 $$HL=0;
  33. .MACRO CHA     = .C <CHAPTER $$CH=$$CH+1 .BR
  34. .MACRO CHB     = .C .CH1 .BR
  35. .rem utilities for dotting
  36. .MACRO BDOT = .SAV .P -2 1 5 .LM +5
  37. .MACRO DOTit = .PP _.# .X
  38. .MACRO EDOT = .RES .S 1
  39. .rem keep track of left/right pages for headers
  40. .VAR $LP
  41. .rem for header centering
  42. .var $halfwidth
  43. .var $halfpage
  44. .rem 1/2 page width set here. MASTER width control.
  45. $halfwidth=33;
  46. .rem 1/2 page height (lines) set here. MASTER height control
  47. $halfpage=33;
  48. .rem right margin from halfwidth
  49. .RM $halfwidth+$halfwidth
  50. .rem set header line fields
  51. .TABS $halfwidth-2 $$RM-2 .SP 1 .SAVPAG
  52. .rem printed lines & total lines/page
  53. .PAGESIZE $halfpage+$halfpage-8 $$RM .LINES $halfpage+$halfpage
  54. .rem do not number pages at start
  55. .NONMP
  56. .rem automatic paragraphing
  57. .AP .P +0 1 4
  58. .rem .PAGE
  59. .rem make a cover page
  60. .FIG $halfpage-12;
  61. .C .U <RNF
  62. .B
  63. .C ^TEXT ^PROCESSOR .NOU
  64. .B .B
  65. .C ^REFERENCE ^GUIDE
  66. .b .b
  67. .c (^Last revised 87/01/24)
  68. $$PAGE=0;
  69. .rem redefine paging to use headers above, control left/right pages
  70. .MACRO FRCPAGE = .TOP .INPAG .LPAG .RPAG .OUTPAG .MID $LP=#$LP;
  71. .rem now the body of the manual
  72. .INCLUDE RNFINTRO.DIN
  73. .INCLUDE RNFCMNDS.DIN
  74. .INCLUDE RNFMACRO.DIN
  75. .INCLUDE RNFVARS.DIN
  76. .INCLUDE RNFEXMPL.DIN
  77. .INCLUDE RNFRUN.DIN
  78. .INCLUDE RNFINDEX.DIN
  79. .REM THE END OF THE MANUAL
  80. '╧