home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / textutil / dps11.zip / DPS.DPS < prev    next >
Text File  |  1993-10-17  |  72KB  |  1,754 lines

  1. .blcmd ,
  2. ,style plain
  3. ,lmar 6
  4. ,rmar 6
  5. ,fspace 6
  6. ,center
  7. D P S
  8. ,sp 1
  9. Document Processing System
  10. ,sp 3
  11. A Shareware Program
  12. ,sp 4
  13. Phillip H. Sherrod
  14. ,sp 1
  15. and
  16. ,sp 1
  17. Daniel J. Cappannari
  18. ,endcenter
  19. ,sp 6
  20. ,squeeze 5
  21. DPS reads a document source file which includes style, spacing, and formatting
  22. commands, and generates a formatted ASCII output file suitable for printing
  23. on any type of computer printer. DPS is well suited for preparing documentation
  24. for programs or other technical projects. DPS provides
  25. table of contents and index generation and cross references by section
  26. and page numbers. DPS also provides automatic section numbering and a
  27. variety of list types.
  28. ,squeeze 0
  29.  
  30. ,page
  31. ,style standard
  32. ,slmlop 1 10
  33. ,findent 5
  34. ,toc
  35.  
  36. ,chapter Introduction
  37. DPS (Document Processing System) is a program which formats text files
  38. for printing on any type of printer.  DPS can be used to format
  39. letters, articles, books, and documentation. It is particularly well
  40. suited for preparing documentation for programs and other technical projects
  41. because it has cross reference facilities that automatically fill in
  42. section and page numbers for referenced items, and it has built in
  43. facilities for producing an index. This document was prepared using
  44. DPS; the source file is provided for your examination in a file
  45. named DPS.DPS.
  46.  
  47. By design, DPS does not utilize any printer control functions other than
  48. carriage-return, line-feed, and form-feed. This allows the output of
  49. DPS to be printed on a wide variety of printers ranging from inexpensive
  50. dot matrix devices through fancy laser printers.
  51.  
  52. DPS is similar to word processing programs in that it helps you to
  53. produce a formatted document. However, DPS is different from programs
  54. like WordPerfect and Microsoft Word in the way that you specify formatting
  55. commands. With the typical word processing program you use function keys
  56. to specify formatting actions and with most of these programs you see the
  57. result on the screen immediately. With DPS you use
  58. an editor such as DOS EDIT or EDLIN to create a "source" document file
  59. that contains both the text of the document and embedded DPS commands
  60. that describe what formatting is to be done for each part of the
  61. document. You then use DPS to process this source file and produce
  62. a formatted output file.
  63.  
  64. ,hl1 Installing DPS
  65. The installation of DPS is very simple. Create a directory for the
  66. DPS files and use PKUNZIP to unpack the compressed file or copy in
  67. all of the files from your distribution disk. You should add the DPS
  68. directory to your PATH command so that DOS can find the DPS.EXE file
  69. if some other directory is your current directory.
  70.  
  71. The DPS distribution includes the following files:
  72. ,figure
  73. DPS.EXE      -- Executable program.
  74. DPS.DOC      -- Documentation file.
  75. DPS.DPS      -- Source file for DPS.DOC to use as an example.
  76. REGISTER.DOC -- Software registration form.
  77. VENDOR.DOC   -- Information for shareware vendors.
  78. README.DOC   -- Introduction file.
  79. FILE_ID.DIZ  -- Information for bulletin boards.
  80. ,endfigure
  81.  
  82. ,hl1 Using DPS
  83. ,X Input File
  84. ,X File;Input
  85. The first step in using DPS is to create a "source" document file
  86. containing your text and DPS commands. It is best to give this file
  87. the extension ".DPS".
  88.  
  89. The source file should be in "flat ASCII format", meaning
  90. that it simply consists of ASCII characters with carriage-return,
  91. line-feed sequences separating the records.  This is the type of file
  92. produced by various text editors such as the EDIT and EDLIN programs
  93. available with DOS.  You may use a word processor such as WordPerfect
  94. to produce the file, but you should be sure that the output is in
  95. "DOS text" format with no extra data inserted for the benefit of the
  96. word processor.
  97.  
  98. Once you have created a source file you can use DPS to format it.
  99. The form of the DPS command is:
  100. ,figure
  101. DPS source_file [output_file]
  102. ,endfigure
  103. Where "source_file" is the name of your source document file and
  104. "output_file" is the name of the file to which the formatted output is
  105. to be written. The default extension for the source file is ".DPS".
  106. The default extension for the output file is ".DOC".
  107. If no output file is specified DPS creates an output
  108. file with the same name as the source file but with the extension ".DOC".
  109.  
  110. For example, the following command would read a source file named MATHPLOT.DPS
  111. and produce a formatted document file named MATHPLOT.DOC:
  112. ,figure
  113. DPS MATHPLOT
  114. ,endfigure
  115. The following command would read a source file named NONLIN.DPS and produce a
  116. formatted output file named REGRESS.LST:
  117. ,figure
  118. DPS NONLIN REGRESS.LST
  119. ,endfigure
  120. ,x INCLUDE command
  121. You can also use the .INCLUDE command within a DPS source file to cause
  122. another file to be inserted as the file is processed.  This is useful for
  123. large documents that can be maintained as separate sections but combined
  124. into a single formatted listing.
  125.  
  126. ,chapter DPS Operation
  127. ,x Command syntax
  128. ,x Between line commands
  129. In addition to your text, the input file may contain two types of
  130. DPS commands: "between line" and
  131. "within line".  The between line type of commands are the most common.
  132. These commands begin with a period as the first character of the line
  133. and are terminated by the end of the line. For example,
  134. ,figure
  135. .CHAPTER Introduction
  136. ,endfigure
  137. marks the beginning of a new chapter named "Introduction".
  138.  
  139. If you have text lines that begin with a period, or you would just
  140. prefer some introducer character other than period, you can
  141. use the .BLCMD command to specify another introducer character.
  142. The form of this command is:
  143. ,x BLCMD command
  144. ,figure
  145.  .BLCMD character
  146. ,endfigure
  147. where 'character' is the character to be used as the command introducer.
  148. For example, the following command causes comma to be set as the
  149. introducer character:
  150. ,figure
  151.  .BLCMD ,
  152. ,endfigure
  153. After this command you would type comma as the first character of
  154. each between line command.
  155.  
  156. ,x Within line commands
  157. Within line commands can occur in the middle of a line of text. These
  158. commands are denoted with an introducer character which is normally
  159. backslash (\\).  An example of a within line command is "\\PAGEREF{name}"
  160. which might be used in a line of text such as follows:
  161. ,figure
  162. For a description of the process, see page \pageref{mrdesc}.
  163. ,endfigure
  164.  
  165. This command tells DPS to insert the page number for a section labeled
  166. "mrdesc".
  167.  
  168. If you need to use the '\\' character within the text of your document
  169. specify two '\\' characters in a row. For example, you would type the
  170. string "C:\\\\DPS\\\\DPS.EXE" to produce the string "C:\\DPS\\DPS.EXE".
  171.  
  172. To change the within line introducter character from backslash to
  173. something else, use the .WLCMD command whose syntax is
  174. ,x WLCMD command
  175. ,figure
  176. .WLCMD character
  177. ,endfigure
  178.  
  179. DPS commands are case insensitive so you can use either upper or
  180. lower case letters.
  181.  
  182. Chapter \ref{cmdref}, starting on page \pageref{cmdref}, provides a
  183. complete reference for the DPS commands. The remainder of this chapter
  184. discusses the commands from an operational point of view.
  185.  
  186. ,hl1 Text, Figures, and Verbatim
  187. ,X Mode;text
  188. ,X Text mode
  189. The bulk of your source document will consist of the text that DPS
  190. is to format. During its normal operation, DPS reads this text, combines
  191. words into lines and paragraphs, and outputs pages with headers and numbers
  192. if requested. While it is performing this formatting DPS is said
  193. to be in "text mode".
  194.  
  195. Two additional modes are used to temporarily disable formatting of
  196. input text.  These are "figure mode" and "verbatim mode". 
  197.  
  198. ,X Figure mode
  199. ,X Mode;figure
  200. ,X FIGURE command
  201. ,x CENTER command;centering figures
  202. A figure is a series of records in the input document which should
  203. not be formatted, and which should be kept together (not split
  204. across pages).  While in figure mode DPS does not rearrange words on
  205. lines. It maintains the same spacing as in the source file but may
  206. indent all of the lines a fixed amount which can be controlled by
  207. the .FINDENT command (by default, figures are not indented). You can also
  208. enclose a figure in .CENTER and .ENDCENTER commands to cause the entire
  209. figure to be centered on the page.
  210.  
  211. You cannot use within line commands within figures because all characters
  212. are taken "literally". This means it is not necessary to specify "\\\\"
  213. to produce a single "\\" within a figure.
  214. Use figure mode for figures, diagrams, and so forth.
  215. Place a .FIGURE command at the front of a figure and .ENDFIGURE at the end.
  216. The following example demonstrates how to use figure mode to produce a
  217. centered figure:
  218.  
  219. ,center
  220. ,figure
  221. .center
  222. .figure
  223. +-------+   +----------+   +--------+
  224. | TRAIN |-->| Conveyor |-->| Sorter |
  225. +-------+   +----------+   +--------+
  226.                              |    |
  227.                              V    V
  228.                     +---------+  +---------+
  229.                     | Cracker |  | Grinder |
  230.                     +---------+  +---------+
  231.                         |              |
  232.                         V              V
  233.                     +---------+  +---------+
  234.                     | Packer  |  | Packer  |
  235.                     +---------+  +---------+
  236.                         |              |
  237.                         V              V
  238.                    +----------+  +-----------+
  239.                    |Whole nuts|  |Ground nuts|
  240.                    +----------+  +-----------+
  241. .endfigure
  242. .endcenter
  243. ,endfigure
  244. ,endcenter
  245.  
  246. ,X Verbatim mode
  247. ,X Mode;verbatim
  248. ,X VERBATIM command
  249. Verbatim mode is very similar to figure mode.
  250. Like figure mode, verbatim mode preserves the source format of each
  251. line and does not move words from one line to another or adjust spacing.
  252. However, verbatim mode does not guarantee that all of the lines in the
  253. group will fit on a single page. Use the .VERBATIM command to begin
  254. verbatim mode and the .ENDVERBATIM command to return to normal text mode.
  255. The following example demonstrates the use of verbatim text:
  256.  
  257. ,need 15
  258. ,verbatim
  259. .verbatim
  260. /*-----------------------------------------------------------
  261.  * Function
  262.  *    Convert a year/month/day date into the corrsponding
  263.  *    day of the week.
  264.  */
  265. int dtu_weekday(int year,int month,int date)
  266. {
  267. /*
  268.  * Declarations
  269.  */
  270.       int j10,j14,value,w0to7;
  271. /*
  272.  * Code
  273.  */
  274.       j10 = month + 10;
  275.       j14 = year + (month-14)/12;
  276.       value = (13*(j10-j10/13*12)-1)/5+date+77
  277.                  +5*(j14-j14/100*100)/4
  278.                  +j14/400-j14/100*2;
  279.       w0to7 = value%7;
  280.       return w0to7+1;
  281. }
  282. .endverbatim
  283. ,endverbatim
  284.  
  285. ,hl1 Page Dimensions
  286. ,x Page Layout
  287. To properly format output text, DPS must know certain things about the
  288. capabilities of your printer.  These are the maximum number of lines
  289. which can be printed on the page, the maximum width of each line,
  290. and the margins to leave on the left and right edges of the paper.
  291.  
  292. The default page length is 58 lines, the default page width is 80 characters,
  293. and the default left and right margins are 6 characters. You can use the
  294. following commands to change these values:
  295. ,x LENGTH command
  296. ,X WIDTH command
  297. ,X LMARGIN command
  298. ,X RMARGIN command
  299. ,figure
  300. .LENGTH value    -- Specify number of lines per page.
  301. .WIDTH value     -- Specify number of characters per line.
  302. .LMARGIN value   -- Specify left margin spaces.
  303. .RMARGIN value   -- Specify right margin spaces.
  304. ,endfigure
  305. If you want to adjust these parameters it is best to place these commands
  306. at the front of your source document file before any text.
  307.  
  308. ,hl1 Chapters and Sections
  309. ,label sections
  310. ,x Chapters
  311. ,x Sections
  312. A simple document such as a letter does not need to be divided
  313. into sections.  An article may be divided into a number of sections
  314. such as the introduction, main body, and conclusions.  Longer documents,
  315. such as this one, are divided into chapters and sections.
  316.  
  317. DPS allows you to divide a document in a heirarchical manner, with
  318. chapters, main sections, sub-sections, sub-sub-sections, sub-sub-sub-sections,
  319. and so forth.  This allows you to organize your material using as
  320. much detail as it requires.  Up to nine levels of sections can be
  321. used. DPS automatically numbers the chapters and sections and uses this
  322. information in the table of contents.
  323.  
  324. ,x CHAPTER command
  325. Chapters, when used, are introduced with the .CHAPTER command, as with:
  326. ,figure
  327. .CHAPTER Technical Specification
  328. ,endfigure
  329. See Section \ref{foreign} for information about specifying a different
  330. word than "Chapter" for non-English documents.
  331.  
  332. ,X HLn command
  333. Sections are introduced with .HLn commands, where "n" denotes the
  334. depth of the section level.  .HL1 introduces the highest level section
  335. (within a chapter), HL2 introduces a sub-section, HL3 a sub-sub-section, etc.
  336. Take the following example:
  337. ,figure
  338. .CHAPTER Technical Specification
  339. .HL1 Scope of this document
  340. This document describes the use of the butterfly clamp.
  341. .HL1 Intended audience
  342. .HL2 Doctors
  343. Doctors need to know whether it works.
  344. .HL2 Nurses
  345. Nurses need to know how to use it.
  346. ,endfigure
  347.  
  348. The output would appear as follows:
  349. ,need 30
  350. ,center
  351.  
  352. Chapter 1
  353.  
  354. Technical Specification
  355.  
  356. ,endcenter
  357. 1.1 Scope of this document
  358.  
  359. This document describes the use of the butterfly clamp.
  360.  
  361. 1.2 Intended audience
  362.  
  363. 1.2.1 Doctors
  364.  
  365. Doctors need to know whether it works.
  366.  
  367. 1.2.2 Nurses
  368.  
  369. Nurses need to know how to use it.
  370.  
  371. If you are producing a document that does not have chapters but which
  372. does have sections, you can use .HL0 to produce the highest level
  373. section numbers (which would ordinarily correspond to chapter numbers),
  374. and .HL1, .HL2, etc. for subsections.
  375.  
  376. Each .CHAPTER or .HL directive in the file produces an entry in the
  377. table of contents.  DPS always begins chapters on a new page.
  378. If the .DSIDE (double side printing) command is in effect, blank pages
  379. are inserted if necessary to force chapters to begin on odd pages (which
  380. are printed on the right side).
  381.  
  382. The .NLAHL command is used to set the number of blank lines to be
  383. left above a section header. The .SLMLOP command sets the number of
  384. lines that must remain on a page for DPS to begin a new section on the
  385. current page.
  386.  
  387. ,hl1 Styles
  388. ,label styles
  389. ,x Styles
  390.  
  391. People have individual tastes and needs for the style of formatted
  392. text.  Furthermore, a single document may need some text formatted
  393. in one style and other text in a different style.
  394.  
  395. To deal with this situation DPS comes preloaded with a number of
  396. different styles and allows you to create additional styles as needed.
  397. This section describes styles, documents the preloaded styles,
  398. and shows you how to create and use custom styles.
  399.  
  400. DPS comes preloaded with styles named STANDARD, PLAIN, REPORT, and LETTER.
  401. The STANDARD style is the default that is used unless you select a different
  402. style using the .STYLE command.
  403.  
  404. A new style can be selected or created at any point in the document by
  405. using the .STYLE command, as shown in the following examples:
  406. ,figure
  407. .STYLE STANDARD
  408. This text will be formatted according to the standard style.
  409. .STYLE CUSTOM
  410. This text is formatted according to the style CUSTOM.
  411. ,endfigure
  412.  
  413. If the style you list in a .STYLE command does not exist
  414. it will be created for you.  New styles start out being the same as
  415. style STANDARD.
  416.  
  417. The current style can be customized at any point
  418. by the style commands listed in Section \ref{stylecmds} beginning
  419. on page \pageref{stylecmds}.
  420. Since style commands always
  421. modify the current style, you can use them to modify built in styles
  422. or to create a new style.  For example, simply stating
  423. ,x JUSTIFY command
  424. ,x LMEXTRA command
  425. ,figure
  426. .NOJUSTIFY
  427. .LMEXTRA 5
  428. ,endfigure
  429.  
  430. at the top of your document modifies the standard style, deactivating
  431. text justification and specifying that all lines of a paragraph except
  432. the first should be indented 5 spaces.  Alternatively you could
  433. specify
  434.  
  435. ,figure
  436. .STYLE DESCRIPTION
  437. .NOJUSTIFY
  438. .LMEXTRA 5
  439. ,endfigure
  440.  
  441. to create a new style called DESCRIPTION with these modifications.
  442. The new style would remain in effect until DPS encounters another
  443. style command such as
  444. ,figure
  445. .STYLE STANDARD
  446. ,endfigure
  447.  
  448. to return to the standard style.
  449.  
  450. You can switch between styles as often as you like. If you modify attributes
  451. for a style the modifications remain in effect when you switch back to
  452. the style.
  453.  
  454. ,figure
  455. The following table documents parameters for the four
  456. built-in styles.
  457.  
  458.  Parameter     STANDARD      REPORT      LETTER        PLAIN
  459. -----------  -----------  -----------  -----------  -----------
  460. BLBP               1           1            1            1
  461. MLOP               2           2            2            2
  462. LMFIRST            0           0            0            0
  463. LMEXTRA            0           0            0            0
  464. NLAH               0           0            0            0
  465. NLBH               2           2            2            2
  466. NLAF               2           2            2            2
  467. H1TEXT             0           0            0            0
  468. HXTEXT             2           0            0            0
  469. H1PN               0           0            0            0
  470. HXPN               1           0            0            0
  471. F1TEXT             0           0            0            0
  472. FXTEXT             0           0            0            0
  473. F1PN               2           2            0            0
  474. FXPN               0           2            0            0
  475. FINDENT            0           0            0            0
  476. CHAPHEAD           1           0            0            0
  477. JUSTIFY            1           1            0            1
  478. NLAHL        5,2,1,1,1,   5,2,1,1,1,   5,2,1,1,1,   5,2,1,1,1,
  479.                1,1,1,1      1,1,1,1      1,1,1,1     1,1,1,1 
  480. INDENT       0,0,0,0,0,   0,0,0,0,0,   0,0,0,0,0,   0,0,0,0,0,
  481.                0,0,0,0      0,0,0,0      0,0,0,0     0,0,0,0
  482. LIST_IN1     4,8,12,16,   4,8,12,16,   4,8,12,16,   4,8,12,16,
  483.              20,24,28,32  20,24,28,32  20,24,28,32  20,24,28,32
  484. LIST_INX     4,8,12,16,   4,8,12,16,   4,8,12,16,   4,8,12,16,
  485.              20,24,28,32  20,24,28,32  20,24,28,32  20,24,28,32
  486. LIST_BULCHR     period      period       period       period
  487. LIST_BULPOS  2,6,10,14,   2,6,10,14,   2,6,10,14,   2,6,10,14,
  488.              18,22,26,30  18,22,26,30  18,22,26,30  18,22,26,30
  489. SLMLOP        5,5,5,5,5    5,5,5,5,5    5,5,5,5,5    5,5,5,5,5
  490.                5,5,5,5      5,5,5,5      5,5,5,5      5,5,5,5
  491. ,endfigure
  492. Some style parameters are defined as lists of values instead
  493. of a single value.  Some, such as .NLAHL (Number of Lines Above Header
  494. at each Level) define a separate value for every chapter or section
  495. level.  Others, such as .LIST_IN1 (LIST INdentation for the first
  496. line of a list at each list nesting level) define a separate value
  497. for each depth to which lists can be nested.
  498.  
  499. To modify these parameters you must first specify the name of the
  500. parameter, then the section or nesting level which you are modifying,
  501. then finally the value you wish to specify.
  502.  
  503. ,x NLAHL command
  504. Take .NLAHL as an example. This parameter specifies the number of blank
  505. lines to leave above the header line for a specific section level.
  506. The level 1 value specifies what is used for .HL1, level 2
  507. for .HL2, and so forth.  Hence the style modification command
  508. ,figure
  509. .NLAHL 1 4
  510. ,endfigure
  511. means that you want 4 lines above the heading generated by a .HL1 command.
  512.  
  513. ,x Headers
  514. ,x Footer
  515. ,x H1TEXT command
  516. ,x HXTEXT command
  517. ,x H1PN command
  518. ,x HXPN command
  519. ,x F1TEXT command
  520. ,x FXTEXT command
  521. ,x F1PN command
  522. ,x FXPN command
  523. ,x NLAH command
  524. ,x NLAF command
  525. ,x NLBH command
  526. For the STANDARD style DPS places a page number at the bottom center of
  527. the first page of a chapter and places a page heading with a page number
  528. at the margin of subsequent pages of the chapter. The .H1TEXT and .HXTEXT
  529. style parameters determine the type of header printed. The .H1PN and
  530. .HXPN parameters determine the type of page number for the heading.
  531. The .F1TEXT and .FXTEXT parameters control the footer style and the
  532. .F1PN and .FXPN parameters control the style of page number in the footer.
  533. The .NLAH, .NLAF and .NLBH parameters control the spacing above and
  534. below the header and footer.
  535.  
  536. The following numeric codes are used to define header and footer styles:
  537. Headers are printed at the top of each page; footers are printed at
  538. the bottom.
  539. ,label exlist
  540. ,x Headers;style of
  541. ,x Footers;style of
  542. ,description
  543. ,item 0 -- No text at all in the header or footer.
  544. ,item 1 -- Standard style, showing current chapter and section.  The
  545. contents of the header or footer will vary depending on whether
  546. single or double page mode is being used.  In single page mode (the
  547. default), the current chapter name is always left justified in the
  548. header or footer.  In double page mode, the chapter name goes on the
  549. right end of the even pages and the section name goes on the left
  550. end of the odd pages.  Double sided mode is described in Section
  551. \ref{dside}.
  552. ,item 2 -- Restrict text to name of the current chapter, omitting
  553. the section name.  In single sided mode this places the chapter
  554. name on the left end.  In double sided mode the chapter name is
  555. on the right end of even pages and the left end of odd pages.
  556. ,endlist
  557.  
  558. The following numeric codes are used to define page numbering styles:
  559. ,x Page number;style codes
  560. ,description
  561. ,item 0 -- No page number at all.
  562. ,item 1 -- Decimal value at end of line.  For single side mode this is
  563. always the left end.  For double sided mode it alternates sides.
  564. ,item 2 -- Decimal value in the center of the line.
  565. ,item 3 -- Roman numeric at end of line.  For single side mode this is
  566. always the left end.  For double sided mode it alternates sides.
  567. ,item 4 -- Roman numeral in the center of the line.
  568. ,endlist
  569.  
  570. ,hl1 Centering Text
  571. ,x Centering text
  572. ,x SCENTER command
  573. Often you will want to center a single line of text in the midst of
  574. normally formatted text.  The .SCENTER command is used for this.  DPS
  575. will center the line which follows it, then return to normal processing
  576. of input.  For example, the input text file:
  577. ,figure
  578. He wandered on through the forest, checking his compass
  579. regularly to be sure that he was still heading toward
  580. the general's house.  About an hour after he stopped to
  581. eat his sack lunch, he encountered a tree into which
  582. a message had been carved:
  583. .SCENTER
  584. "The great man retains the childs mind"
  585. He wondered, as he neared the house of the fierce military
  586. leader, if the general had ever been exposed to Taoist
  587. principles.
  588. ,endfigure
  589. produces the output text:
  590.  
  591. ,need 12
  592. ,squeeze 5
  593. He wandered on through the forest, checking his compass
  594. regularly to be sure that he was still heading toward
  595. the general's house.  About an hour after he stopped to
  596. eat his sack lunch, he encountered a tree into which
  597. a message had been carved:
  598. ,scenter
  599. "The great man retains the childs mind"
  600. He wondered, as he neared the house of the fierce military
  601. leader, if the general had ever been exposed to Taoist
  602. principles.
  603. ,squeeze 0
  604.  
  605. ,X CENTER command
  606. ,X ENDCENTER command
  607. Sections of centered text can be begun with a .CENTER command
  608. and finished with a .ENDCENTER command.  Note that DPS does not
  609. fill paragraphs while in center mode.  Each line of the source
  610. file is taken as a single line figure which is centered.  Hence
  611. the input file:
  612. ,figure
  613. .CENTER
  614. He wandered on through the forest, checking his compass
  615. regularly to be sure that he was still heading toward
  616. the general's house.  About an hour after he stopped to
  617. eat his sack lunch, he encountered a tree into which
  618. a message had been carved:
  619. "The great man retains the childs mind"
  620. He wondered, as he neared the house of the fierce military
  621. leader, if the general had ever been exposed to
  622. Taoist principles.
  623. .ENDCENTER
  624. ,endfigure
  625. produces the following output file:
  626. ,need 10
  627. ,center
  628. He wandered on through the forest, checking his compass
  629. regularly to be sure that he was still heading toward
  630. the general's house.  About an hour after he stopped to
  631. eat his sack lunch, he encountered a tree into which
  632. a message had been carved:
  633. "The great man retains the childs mind"
  634. He wondered, as he neared the house of the fierce military
  635. leader, if the general had ever been exposed to
  636. Taoist principles.
  637. ,endcenter
  638.  
  639. ,hl1 Indentation
  640. ,x Page Layout
  641. ,x Margins
  642. The margins imposed by the printer's ability to print on a piece
  643. of paper has already been discussed.  This is covered by the .WIDTH,
  644. .LMARGIN, and .RMARGIN commands.  All text, including formatted text
  645. and figures, is placed within these boundaries. The default width is
  646. 80 characters. The default margins are 6 characters each. Thus the default
  647. area in which text can be printed is 68 columns.
  648.  
  649. The length of the paper can be specified using the .LENGTH command
  650. whose default value is 58 lines.
  651.  
  652. ,X LMFIRST command
  653. ,x LMEXTRA command
  654. ,x LIST_IN1 command
  655. ,x LIST_INX command
  656. Formatted text has left margins imposed by the style.  The
  657. .LMFIRST and .LMEXTRA commands specify the left margin for
  658. the first and each subsequent line of a paragraph.  Lists, which
  659. are described in chapter \ref{lists}, are given separate margins
  660. by the style commands .LIST_IN1 and .LIST_INX.
  661.  
  662. ,x HANG command
  663. The .HANG command can be used to create paragraphs with hanging indentation.
  664. When a non-zero value is specified for the hanging indentation DPS indents
  665. all lines of subsequents paragraphs by this amount but leaves the first
  666. line of each paragraph unindented so it is flush with the left margin.
  667. For example, the command
  668. ,figure
  669. .HANG 5
  670. ,endfigure
  671. causes all lines other than the first line of each subsequent paragraph
  672. to be indented 5 spaces. Specify "HANG 0" to turn off hanging indentation.
  673. See also the .DESCRIPTION command on page \pageref{description} for
  674. a similar facility for formatting lists with hanging indentation.
  675.  
  676. ,x SQUEEZE command
  677. A command which is similar to .HANG is .SQUEEZE.  This causes formatted
  678. text to be "squeezed" by the specified number of columns.  In other words,
  679. the command
  680. ,figure
  681. .SQUEEZE 5
  682. ,endfigure
  683. adds 5 to the left margin and subtracts 5 from the right margin. This is
  684. useful for quotations and other material that should be indented on both
  685. sides. Put the command ".SQUEEZE 0" at the end of the material to terminate
  686. the squeeze condition.
  687.  
  688. ,hl1 Double Sided Printing
  689. ,label dside
  690. ,x Double sided printing
  691. ,x DSIDED command
  692. ,x DOUBLESIDED command
  693. DPS has the ability to print double sided text.  This format
  694. is used when producing output which is to be bound.
  695. Double sided mode has the following effects on the formatted document:
  696. ,list
  697. ,item The left and right margin values (.LMARGIN and .RMARGIN) are
  698.     reversed for even pages which normally appear on the left side
  699.     of a bound document. This means that the left margin value is
  700.     always used on the side of the page nearest to the binding.
  701.     For a bound document you may want to use a larger value for the
  702.     left margin to allow room for the space used by the binding.
  703. ,item Blank pages are inserted as necessary to force chapters to start
  704.     on odd numbered pages.
  705. ,item The standard heading is changed so that the the chapter name goes on the
  706.     right end of the even pages and the section name goes on the left
  707.     end of the odd pages.
  708. ,endlist
  709.  
  710. Double sided printing mode is specified with either of these commands:
  711. ,figure
  712. .DSIDED
  713. .DOUBLESIDED
  714. ,endfigure
  715. If you wish to use double sided mode you should put one of these commands
  716. at the front of your source document.
  717.  
  718. ,hl1 Lists
  719. ,label lists
  720. ,X Lists
  721. ,X LIST command
  722. ,x ENDLIST command
  723. ,x LE command
  724. ,x ITEM command
  725. ,x DESCRIPTION command
  726. ,x ENDDESCRIPTION command
  727. Lists are a special paragraph style used when describing a set of things.
  728. Lists can contain sublists,
  729. and so forth, nested up to 9 levels deep.  The current style determines
  730. the indentation of the first and subsequent line of each list item, and also
  731. provides for a "bullet" character at a given position to visually mark
  732. the start of the next item.
  733.  
  734. There are three types of lists in DPS: regular lists, numbered lists,
  735. and description lists.  When you nest lists you can intermix these
  736. types but each list, regardless of its type, counts against the
  737. nesting limit of 9.
  738.  
  739. ,X Lists;Regular
  740. A regular list begins with the .LIST command and ends with the
  741. .ENDLIST command.
  742. Each new element of the list is denoted with a line that starts out
  743. with a .ITEM (or .LE) command, followed by the text of the item. The text may
  744. be continued to subsequent lines if it does not fit on a single line.
  745. (The .LE command is equivalent to .ITEM).
  746. DPS performs
  747. formatting and justification of the text of each list item.  The following
  748. is an example of a list:
  749. ,figure
  750. .LIST
  751. .ITEM Shareware programs are an excellent value because you can
  752. try a program to see if it suitable for your needs before you
  753. buy it.
  754. .ITEM Many shareware programs work as well as expensive
  755. commercial products but cost much less to register.
  756. .ITEM Shareware is very convenient because you can find
  757. programs of interest on many bulletin boards and
  758. download them without leaving your home.
  759. .ENDLIST
  760. ,endfigure
  761. This produces the following output:
  762. ,need 6
  763. ,LIST
  764. ,item Shareware programs are an excellent value because you can try a
  765. program to see if it suitable for your needs before you buy it.
  766. ,item Many shareware programs work as well as expensive commercial products
  767. but cost much less to register.
  768. ,item Shareware is very convenient because you can find programs of
  769. interest on many bulletin boards and download them without leaving
  770. your home.
  771. ,ENDLIST
  772.  
  773. ,x LIST_BULCHR command
  774. ,x LIST_INX command
  775. ,x LIST_BULPOS command
  776. ,x LIST_IN1 command
  777. ,x Bullet character
  778. ,x Bullet position
  779. Each element of a regular list begins with a line containing the
  780. "bullet" character. The default bullet character is a period but you can
  781. use the .LIST_BULCHR command to set any desired character as the
  782. bullet for any level of list nesting.  Style elements .LIST_IN1,
  783. .LIST_INX, and .LIST_BULPOS control the indentation of the first line,
  784. indentation of subsequent lines, and bullet position at each list
  785. nesting level.
  786.  
  787. ,X Lists;Numbered
  788. ,x NLIST_NUMPOS command
  789. ,x NLIST command
  790. ,x LIST_IN1 command
  791. ,x LIST_INX command
  792. ,X Numbered lists
  793. Numbered lists are like regular lists except that the elements are numbered
  794. instead of being marked with bullet characters.  The same style
  795. parameters, .LIST_IN1 and .LIST_INX control the indentation for NLISTS
  796. but a separate style attribute, .NLIST_NUMPOS, controls the column
  797. used for formatted the numbers.  Numbered lists are begun with the .NLIST
  798. command and ended with .ENDLIST. Each element in the list is
  799. introduced with a .ITEM command. The following is an example of a
  800. numeric list specification:
  801. ,figure
  802. .NLIST
  803. .ITEM Insert the disk in either drive A or B.
  804. .ITEM Type "MD \DPS"
  805. .ITEM Type "CD \DPS"
  806. .ITEM TYPE "COPY *.*"
  807. .ENDLIST
  808. ,endfigure
  809.  
  810. ,label description
  811. ,X Lists;Description
  812. ,x DESC_IN1 command
  813. ,x DESC_INX command
  814. ,x DESCRIPTION command
  815. Description lists are used when you want the indentation, not a bullet
  816. or number, to mark the beginning of the list element. With a
  817. description list the first line of each item is not indented but
  818. subsequent lines are. This causes the first line of each item stand out.
  819. Description lists are begun with the .DESCRIPTION command and ended
  820. with .ENDLIST. The indentation for the first line of a description
  821. list element is controlled by the style attribute .DESC_IN1, which is
  822. specified for each nesting level.  Indentation of subsequent lines is
  823. controlled by .DESC_INX.
  824.  
  825. List items may have multiple paragraphs. Only the first line of each
  826. item is marked or numbered.
  827.  
  828. The following is an example of a description list definiton:
  829. ,figure
  830. .DESCRIPTION
  831. .ITEM TSX-32 -- Multi-user operating system that is very
  832. powerful and runs on 386 and 486 computers. Some TSX
  833. sites support over 150 terminals on a single computer.
  834. .ITEM Mathplot -- Mathematical function plotting program.
  835. Excellent program for visualizing mathematical
  836. functions. Enter a function using normal algebraic
  837. notation and it is immediately graphed.
  838. .ITEM Nonlin -- Linear and nonlinear statistical
  839. regression analysis and curve fitting. Nonlin determines
  840. the values of parameters for a function that cause the
  841. function to best fit a set of data values.
  842. .ENDLIST
  843. ,endfigure
  844. The output produced by these commands is shown below:
  845. ,description
  846. ,item TSX-32 -- Multi-user operating system that is very powerful and
  847. runs on 386 and 486 computers.
  848. Some TSX sites support over 150 terminals on a single computer.
  849. ,item Mathplot -- Mathematical function plotting program. Excellent program
  850. for visualizing mathematical functions. Enter a function using
  851. normal algebraic notation and it is immediately graphed.
  852. ,item Nonlin -- Linear and nonlinear statistical regression analysis and
  853. curve fitting. Nonlin determines the values of parameters for
  854. a function that cause the function to best fit a set of data values.
  855. ,ENDLIST
  856.  
  857. ,hl1 Blank Lines and Page Ejects
  858. ,X Page Layout
  859. ,x Blank lines
  860. ,x Ejecting pages
  861. DPS advances to the next page of the document when the current page
  862. is filled up.  However, there are various circumstances when DPS
  863. checks to see if it should go ahead and start a new page before
  864. the current one is completely full.
  865.  
  866. ,X SLMLOP command
  867. ,x Sections;minimum lines remaining
  868. DPS will always start a new page at the beginning of a new chapter.
  869. The beginning of each section within the chapter forces DPS to consider
  870. whether enough space on the page remains to begin it.  This prevents
  871. a section header appearing by itself at the bottom of the page, or with
  872. very few lines of text.  Styles control the minimum number of 
  873. lines on a page for each nested section level, using the .SLMLOP
  874. command.
  875.  
  876. ,x MLOP command
  877. ,x BLBP command
  878. In addition to checking for a minimum number of available lines before
  879. starting a section, DPS also checks for a minimum number of lines before
  880. starting a new paragraph. The default number of lines that must be
  881. available for starting a new paragraph is 2, but you can change this
  882. value by use of the .MLOP command. The .BLBP style parameter controls
  883. the number of blank lines between paragraphs. The default value is 1.
  884.  
  885. Since figures must all fit on a page, DPS may also prematurely
  886. eject the page to fit the figure on the next page.
  887.  
  888. ,x NEED command
  889. You can force DPS to be sure that a certain number of lines
  890. appear on a page if you don't want certain text to be broken
  891. across pages by using the .NEED command.  For example,
  892. ,figure
  893. .NEED 12
  894. ,endfigure
  895.  
  896. asks DPS to be sure that at least 12 lines remain on the current
  897. output page.  If fewer than 12 lines remain, a new page is started.
  898.  
  899. ,x PAGE command
  900. A more forcible command is .PAGE, which tells DPS to begin a new
  901. page if there is any text at all on the current one.
  902.  
  903. ,X SPACE command
  904. To finish the subject of blank lines and page ejection we have
  905. the commands .SPACE and .FSPACE.  First consider the command:
  906. ,figure
  907. .SPACE 5
  908. ,endfigure
  909. In normal text mode, this command tells DPS to finish the current
  910. paragraph and check to see how close to the end of the page it is.
  911. The next paragraph will begin 5 lines down on the current page if
  912. there is enough room.  If there is not, it will begin at the top
  913. of the next page.
  914.  
  915. ,x FSPACE command
  916. A related command is .FSPACE.  The command
  917. ,figure
  918. .FSPACE 5
  919. ,endfigure
  920.  
  921. means that you want 5 blank lines to preceed the next paragraph,
  922. even if the space must be placed at the top of the next page.  This
  923. could be used to leave space for a figure or clip art.
  924.  
  925. Note that when in figure or centered mode, .SPACE acts like .FSPACE.
  926.  
  927. ,hl1 Page and Section References
  928. ,label xref
  929. ,x REF command
  930. ,x PAGEREF command
  931. ,X LABEL command
  932. ,X Labels
  933. ,X Cross references
  934. It is often necessary, especially in technical documentation, to
  935. refer the reader to other sections of the document for further information
  936. on a particular subject.  We have done this in this manual when
  937. we say things like "Lists are described in Section \ref{lists} on
  938. page \pageref{lists}".
  939. The
  940. author did not count sections and determine that Section \ref{lists}
  941. documents lists.  This would make a document tedious to maintain
  942. because insertion of new material would change all the
  943. numbers.  Instead, the text used the \\REF within line command:
  944. ,figure
  945. Lists are described in Section \ref{lists}.
  946. ,endfigure
  947.  
  948. When DPS encounters a \\REF{name} command it looks up the label name
  949. enclosed in braces and
  950. determines the chapter and section where the label was defined. It then replaces
  951. the \\REF command with the corresponding chapter or section number.
  952.  
  953. A similar command is \\PAGEREF.  This command causes the page number where
  954. a label was defined to be inserted in the text. For example, the
  955. text
  956. ,figure
  957. See page \pageref{lists} for more information about lists.
  958. ,endfigure
  959. produces the output:
  960. See page \pageref{lists} for more information about lists.
  961.  
  962. ,x LABEL command
  963. In order for DPS to be able to locate the page, chapter, or
  964. section to which you are referring,
  965. both \\REF and \\PAGEREF commands take a string argument, enclosed in
  966. braces.  This descriptive name must have a corresponding .LABEL
  967. command located near the text to which you are referring.
  968. .LABEL commands for chapters and sections should usually immediately
  969. follow the .CHAPTER or .HLn commands that start the chapter or section.
  970. However, you can place .LABEL commands deep within sections when you want
  971. to define a label to be used as a page reference. The following is an
  972. example .LABEL command that defines a label named 'intro':
  973. .figure
  974. .LABEL INTRO
  975. .endfigure
  976.  
  977. DPS is a multi-pass processor so you can use \\ref and \\pageref commands
  978. to refer to labels that are defined after the reference point.
  979.  
  980. ,hl1 Table of Contents
  981. ,x Table of contents
  982. ,x TOC command
  983. DPS will automatically produce a table of contents for your document
  984. showing chapter and section numbers and pages. This information is
  985. determined by DPS from the .CHAPTER and .HLn commands.
  986.  
  987. To allow you to have heading pages in front of the table of contents,
  988. you must insert a .TOC command in your source file at the point
  989. where you want the table of contents generated. If you do not use
  990. a .TOC command no table of contents will be generated.
  991.  
  992. See Section \ref{foreign} for information about specifying a different
  993. phrase than "Table of Contents" for non-English documents.
  994.  
  995. ,hl1 Index Entries
  996. ,x Index
  997. ,X X command
  998. An index is a valuable part of any large document.  If you write
  999. technical manuals, try to bear in mind that
  1000. your readers will not always read your document from cover to cover, or
  1001. even an entire chapter, when they are searching for a particular fact.
  1002. Having an index that can be used to rapidly locate topics greatly
  1003. enhances the value of a manual.
  1004.  
  1005. Index entries are generated by the .X command.  You should place
  1006. the .X command on a line immediately preceeding the text
  1007. you are referring to, as shown in the following example:
  1008. ,figure
  1009. .X Record length
  1010. The maximum record length is 256 characters,
  1011. but records are normally...
  1012. ,endfigure
  1013.  
  1014. Index entries can have both a main topic and a subtopic. To do this
  1015. separate the main topic entry from the subtopic by a semicolon as
  1016. shown by the following example:
  1017. ,figure
  1018. .X File;Input
  1019. .X File;Output
  1020. .X File;Opening
  1021. ,endfigure
  1022.  
  1023. See Section \ref{foreign} for information about specifying a different
  1024. word than "Index" for non-English documents.
  1025.  
  1026. ,hl1 Including External Files
  1027. ,x INCLUDE command
  1028. The .INCLUDE command causes a file to be inserted in the document at
  1029. the point where the .INCLUDE command occurs.  The form of the .INCLUDE
  1030. command is
  1031. ,figure
  1032.   .INCLUDE  filename
  1033. ,endfigure
  1034. where 'filename' is the name of the file to be inserted.  If no extension
  1035. is specified with the file name, ".DPS" is used by default.  For example,
  1036. the following command causes a file named "STDTERMS.DPS" to be inserted in
  1037. the document:
  1038. ,figure
  1039.   .INCLUDE STDTERMS
  1040. ,endfigure
  1041. The .INCLUDE command is especially useful for large documents which can
  1042. be maintained as separate section files and then combined when the document
  1043. is formatted. You can also use this command to insert standard "boiler plate"
  1044. material or style definitions. Include files may contain other .INCLUDE
  1045. commands (i.e., they may be nested).
  1046.  
  1047. ,hl1 Foreign Language Support
  1048. ,label foreign
  1049. ,x Foreign language support
  1050. ,x WORDCHAPTER command
  1051. ,x WORDTOC command
  1052. ,x WORDINDEX command
  1053. ,x Chapter keyword
  1054. Although DPS was written by programmers who speak English, it is suitable for
  1055. formatting documents written in other languages.  DPS accepts and processes
  1056. extended (8 bit) ASCII characters making it possible to write documents
  1057. with accented characters or characters that are not part of the standard 
  1058. Roman ASCII character set. In addition, three commands are provided to allow
  1059. you to specify the words or phrases that DPS is to print for the following
  1060. labels: (1) "Chapter"; (2) "Table of Contents"; and (3) "Index".  These
  1061. commands are
  1062.  
  1063. ,figure
  1064.  .WORDCHAPTER string    -- String for "Chapter" word.
  1065.  .WORDTOC string        -- String for "Table of Contents".
  1066.  .WORDINDEX string      -- String for "Index" word.
  1067. ,endfigure
  1068.  
  1069. ,chapter Command Reference
  1070. ,label cmdref
  1071. This chapter contains an alphabetical list of the DPS commands divided
  1072. into three sections: between line, within line, and style modification.
  1073.  
  1074. ,hl1 Between Line Commands
  1075. ,x Between line commands
  1076. ,description
  1077. ,x BLCMD command
  1078. ,item .BLCMD character -- Specifies a new introducer character for
  1079.     between line commands. The default character is period.
  1080. ,x CENTER command
  1081. ,item .CENTER -- Causes each line of text between this command and the
  1082.     corresponding .ENDCENTER command to be centered on the page.
  1083.     The contents of each line is preserved (i.e., words are not
  1084.     moved between lines).
  1085. ,x CHAPTER command
  1086. ,item .CHAPTER title -- Begins a new chapter.  The title string is
  1087.     printed as the chapter heading and used in the table of contents.
  1088.     DPS starts each chapter on a new page.
  1089.     If double sided printing is in effect (see the .DSIDE command)
  1090.     then a blank page is ejected if needed to start the chapter on
  1091.     an odd page number.
  1092. ,x DESCRIPTION command
  1093. ,item .DESCRIPTION -- Begins a description type list. The first line of
  1094.     each item in the list is not indented but other lines are indented.
  1095.     The list is terminated by a .ENDLIST command.
  1096. ,x DSIDE command
  1097. ,x Double sided printing
  1098. ,item .DSIDE -- Specifies that the document will be printed on both
  1099.     sides of the paper. If this is wanted the .DSIDE command should
  1100.     appear at the front of the document. Double sided mode has the
  1101.     following effects:
  1102. ,list
  1103. ,item The left and right margin values (.LMARGIN and .RMARGIN) are
  1104.     reversed for even pages which normally appear on the left side
  1105.     of a bound document. This means that the left margin value is
  1106.     always used on the side of the page nearest to the binding.
  1107.     For a bound document you may want to use a larger value for the
  1108.     left margin to allow room for the space used by the binding.
  1109. ,item Blank pages are inserted as necessary to force chapters to start
  1110.     on odd numbered pages.
  1111. ,item The standard heading is changed so that the the chapter name goes on the
  1112.     right end of the even pages and the section name goes on the left
  1113.     end of the odd pages.
  1114. ,endlist
  1115. ,x ENDCENTER command
  1116. ,item .ENDCENTER -- Ends centered mode that was started with a .CENTER
  1117.     command.
  1118. ,x ENDFIGURE command
  1119. ,item .ENDFIGURE -- Ends figure mode that was started with a .FIGURE command.
  1120. ,x ENDLIST command
  1121. ,item .ENDLIST -- Ends list mode that was started with a .LIST, .NLIST, or
  1122.     .DESCRIPTION command.
  1123. ,x ENDVERBATIM command
  1124. ,item .ENDVERBATIM -- Ends verbatim mode that was started with a .VERBATIM
  1125.     command.
  1126. ,x FIGURE command
  1127. ,item .FIGURE -- Begins figure mode.  Use the .ENDFIGURE command to terminate
  1128.     figure mode. No formatting takes place in figure mode and within
  1129.     line commands are not recognized. You may use the .FINDENT command
  1130.     to cause figures to be indented.
  1131. ,x FSPACE command
  1132. ,item .FSPACE number -- Forces the specified number of blank lines to be
  1133.     skipped over.
  1134. ,x HANG command
  1135. ,item .HANG number -- Specifies that the following paragraphs are to have
  1136.     hanging indentation. The first line of the paragraph is not indented
  1137.     but all other lines are indented the specified number of spaces.
  1138. ,label hln
  1139. ,x HLn command
  1140. ,item .HLn text -- Specify the heading for a section.  The 'n' character
  1141.     in .HLn should be replaced with a digit. .HL1 specifies the heading
  1142.     for the highest section level (below a chapter), .HL2 specifies the
  1143.     heading for a sub-section, .HL3 for a sub-sub-section, etc.
  1144.     The text string specified following .HLn is used as the heading
  1145.     for the section and also appears in the table of contents.
  1146. ,x INCLUDE command
  1147. ,item .INCLUDE file -- Causes the specified file to be inserted in the
  1148.     document at the location of the .INCLUDE command.
  1149.     This is useful for large documents that can be maintained as
  1150.     separate sections but combined into a single formatted listing.
  1151.     You can also use .INCLUDE to insert common style descriptions
  1152.     that you may want to use in multiple documents. If no extension
  1153.     is specified with the file name, ".DPS" is used by default.
  1154.     Include files may be nested.
  1155. ,x ITEM command
  1156. ,item .ITEM text -- Specifies an item of a list. This can be used in the range
  1157.     of .LIST, .NLIST, and .DESCRIPTION. The text that begins on the
  1158.     command line may be continued to subsequent lines.
  1159. ,x LABEL command
  1160. ,item .LABEL name -- Defines a label that may be referenced by the
  1161.     \\ref{name} and \\pageref{name} within line commands.
  1162. ,x LE command
  1163. ,item .LE text -- Equivalent to .ITEM. Specifies an item of a list.
  1164. ,x LENGTH command
  1165. ,item .LENGTH number -- Specifies the number of lines to be printed on
  1166.     each page.
  1167. ,x LIST command
  1168. ,item .LIST -- Begins a list whose items are marked by "bullet" characters.
  1169.     The default bullet character is the period but you may use the
  1170.     .LIST_BULCHR command to specify a different bullet character.
  1171.     The list is terminated by a .ENDLIST command.
  1172. ,x LMARGIN command
  1173. ,item .LMARGIN number -- Specifies the number of spaces to use for the
  1174.     left margin of the page.  The default value is 6.
  1175. ,x NEED command
  1176. ,item .NEED number -- Causes DPS to check to see if there are at least
  1177.     as many lines remaining on the page as the specified value.
  1178.     If there are not, the current page is ejected and the text that follows
  1179.     is printed at the top of the next page.
  1180. ,x NLIST command
  1181. ,item .NLIST -- Begins a numbered list. Each item in the list is numbered.
  1182.     The list is terminated by a .ENDLIST command.
  1183. ,x PAGE command
  1184. ,item .PAGE -- Forces a page eject at the current point.
  1185. ,x RMARGIN command
  1186. ,item .RMARGIN number -- Specifies the number of spaces to use for the
  1187.     right margin of the page. The default value is 6.
  1188. ,x SCENTER command
  1189. ,item .SCENTER -- Causes the next single line to be centered. Normal
  1190.     text formating mode resumes after the following line.
  1191. ,x SPACE command
  1192. ,item .SPACE number -- If at least the specified number of lines remain on
  1193.     the current page they are skipped over and left blank. If fewer
  1194.     than the specified number of lines remain, the current page is
  1195.     ejected and printing resumes at the top of the next page.
  1196.     See also the .FSPACE command.
  1197. ,x SQUEEZE command
  1198. ,item .SQUEEZE number -- Causes the following text to be indented the
  1199.     specified number of spaces on both the left and right sides.
  1200.     Specify ".SQUEEZE 0" to cancel squeeze mode.
  1201. ,x STYLE command
  1202. ,item .STYLE name -- Selects a specified style for the text that follows.
  1203.     If the name matches a style that has already been defined then that
  1204.     style is resumed and any style parameters that were specified for
  1205.     it continue in effect. If the style name has not been previously
  1206.     used then a new style definition is begun. New styles are initialized
  1207.     to the parameters for the STANDARD style.
  1208. ,x TOC command
  1209. ,item .TOC -- Causes the table of contents to be generated at this point
  1210.     in the document.
  1211. ,x VERBATIM command
  1212. ,item .VERBATIM -- Begins verbatim mode. In verbatim mode no formatting is
  1213.     done and words are not moved between lines. Verbatim mode is similar
  1214.     to figure mode but the text is not required to fit on a single
  1215.     page. Verbatim mode is terminated by a .ENDVERBATIM command.
  1216. ,x WIDTH command
  1217. ,item .WIDTH number -- Specifies the page width.  The actual area that the
  1218.     document text is printed in is equal to the page width minus the
  1219.     left and right margins. The default width is 80.
  1220. ,x WLCMD command
  1221. ,item .WLCMD character -- Specifies a new introducer character for
  1222.     within line commands. The default character is '\\'.
  1223. ,x WORDCHAPTER command
  1224. ,item .WORDCHAPTER string -- Specifies the string to be printed in
  1225.     a chapter heading where the word "Chapter" normally appears.
  1226. ,x WORDINDEX command
  1227. ,item .WORDINDEX string -- Specifies the string to be printed in the
  1228.     index heading where the word "Index" normally appears.
  1229. ,x WORDTOC command
  1230. ,item .WORDTOC string -- Specifies the string to be printed in the
  1231.     table of contents heading where "Table of Contents" normally appears.
  1232. ,x X command
  1233. ,item .X item1[;item2] -- Defines an entry to go in the index. If you
  1234.     want a two level entry specify the primary index phrase followed
  1235.     by a semicolon and the secondary phrase.
  1236. ,endlist
  1237.  
  1238. ,need 10
  1239. ,hl1 Within Line Commands
  1240. ,x Within line commands
  1241. The following commands may appear within the body of your text.
  1242. They are not recognized in figure or verbatim mode.
  1243. You can use the .WLCMD command to change the introducer character.
  1244.  
  1245. ,description
  1246. ,x PAGEREF command
  1247. ,item \\PAGEREF{name} -- When this command is encountered in your document
  1248.     it is replaced by the page number where the specified label name
  1249.     was defined. The "name" must be defined somewhere in your document
  1250.     by use of the .LABEL command (see Section \ref{xref} on
  1251.     page \pageref{xref}).
  1252. ,x REF command
  1253. ,item \\REF{name} -- When this command is encountered it is replaced by
  1254.     the chapter or section number where the label was defined by use
  1255.     of a .LABEL command. If the label was defined after a .CHAPTER
  1256.     command but before any .HLn command then the number will be
  1257.     an integer that corresponds to the chapter number. If the
  1258.     label was defined after a .HLn command then a section number
  1259.     of the form 'n.m.i' will be inserted.
  1260. ,endlist
  1261.  
  1262. ,need 12
  1263. ,hl1 Style Parameter Commands
  1264. ,label stylecmds
  1265. The following commands set parameters for the currently selected style.
  1266. You choose a style by using the .STYLE command. If you change some parameters
  1267. for a style, select another style, and then reselect the first style, the
  1268. changed parameters are remembered. See Section \ref{styles} starting
  1269. on page \pageref{styles} for additional information about styles.
  1270.  
  1271. ,description
  1272. ,x BLBP command
  1273. ,item .BLBP number -- Specifies the number of blank lines that DPS should
  1274.     insert between paragraphs. The default value is 1.
  1275. ,x CHAPHEAD command
  1276. ,item .CHAPHEAD number -- Specifies whether a chapter heading is to be
  1277.     printed on the first page of a chapter.
  1278.     A chapter heading consists of some blank lines, a
  1279.     line such as "Chapter nn", and the chapter title line.
  1280.     Specify 1 to enable chapter headings or 0 to disable them.
  1281.     The STANDARD style has chapter headings enabled, the REPORT,
  1282.     LETTER, and PLAIN styles default chapter headings off.
  1283. ,x DESC_IN1 command
  1284. ,item .DESC_IN1 level amt -- Amount to indent the text on the first line
  1285.     of each paragraph within a description type list.
  1286.     The 'level' number specifies
  1287.     the list nesting level; 0 corresponds to a list that is not
  1288.     within another list. The 'amt' number specifies the number of
  1289.     spaces to indent. By default, an unnested list (level 0)
  1290.     is indented 0 spaces and each deeper level of nesting is indented
  1291.     an additional 4 spaces.
  1292. ,x DESC_INX command
  1293. ,item .DESC_INX level amt -- Amount to indent the text on all lines other
  1294.     than the first line of each paragraph within a description type list.
  1295.     The 'level' number specifies
  1296.     the list nesting level; 0 corresponds to a list that is not
  1297.     within another list. The 'amt' number specifies the number of
  1298.     spaces to indent. By default, an unnested list (level 0)
  1299.     is indented 4 spaces and each deeper level of nesting is indented
  1300.     an additional 4 spaces.
  1301. ,x F1PN command
  1302. ,x Footers;page number
  1303. ,item .F1PN number -- Type of page number to print in the footer line of
  1304.     first page of a chapter.
  1305.     0 = no number, 1 = decimal page number at right end of line or
  1306.     alternating left/right for double sided, 2 = decimal number in
  1307.     center of line, 3 = decimal number at right end of line,
  1308.     4 = roman numberal centered in line. The default value is 2 for
  1309.     STANDARD and REPORT styles and 0 for the other styles.
  1310. ,x F1TEXT command
  1311. ,x Footers;style of
  1312. ,item .F1TEXT number -- Type of footer to be printed on the first page
  1313.     of a chapter. Specify 0 for no footer, 1 for the chapter name,
  1314.     or 2 for the section name. The default is 0.
  1315. ,x FINDENT command
  1316. ,item .FINDENT number -- Specifies the number of characters that
  1317.     figures are to be indented from the left margin.
  1318.     The default value is 0.
  1319. ,x FXPN command
  1320. ,x Footers;page number
  1321. ,x Page number;in footer
  1322. ,item .FXPN number -- Type of page number to print in footer lines of
  1323.     pages after the first page of a chapter.
  1324.     0 = no number, 1 = decimal page number at right end of line or
  1325.     alternating left/right for double sided, 2 = decimal number in
  1326.     center of line, 3 = decimal number at right end of line,
  1327.     4 = roman numberal centered in line. The default value is 2
  1328.     for REPORT style and 0 for all other styles.
  1329. ,x FXTEXT command
  1330. ,x Footers;style of
  1331. ,item .FXTEXT number -- Type of footer to be printed on pages after
  1332.     the first page of a chapter. Specify 0 for no footer, 1 for
  1333.     the chapter name, or 2 for the section name.
  1334.     The default is 0.
  1335. ,x H1PN command
  1336. ,x Page number;in header
  1337. ,x Headers;page number
  1338. ,item .H1PN number -- Type of page number to print in the heading line of
  1339.     the first page of a chapter.
  1340.     0 = no number, 1 = decimal page number at right end of line or
  1341.     alternating left/right for double sided, 2 = decimal number in
  1342.     center of line, 3 = decimal number at right end of line,
  1343.     4 = roman numberal centered in line. The default value is 0.
  1344. ,x H1TEXT command
  1345. ,x Headers;style of
  1346. ,item .H1TEXT number -- Type of header to be printed on the first page
  1347.     of a chapter. Specify 0 for no header, 1 for the chapter name,
  1348.     or 2 for the section name. The default is 0.
  1349. ,x HXPN command
  1350. ,x Page number;in header
  1351. ,x Headers;page number
  1352. ,item .HXPN number -- Type of page number to print in heading line of
  1353.     pages after the first page of a chapter.
  1354.     0 = no number, 1 = decimal page number at right end of line or
  1355.     alternating left/right for double sided, 2 = decimal number in
  1356.     center of line, 3 = decimal number at right end of line,
  1357.     4 = roman numberal centered in line. The default value is 1
  1358.     for STANDARD style and 0 for all other styles.
  1359. ,x HXTEXT command
  1360. ,x Headers;style of
  1361. ,item .HXTEXT number -- Type of header to be printed on pages after
  1362.     the first page of a chapter. Specify 0 for no header, 1 for
  1363.     the chapter name, or 2 for the section name.
  1364.     The default is 2 for STANDARD style and 0 for PLAIN, LETTER,
  1365.     and REPORT styles.
  1366. ,x INDENT command
  1367. ,item .INDENT level amt -- Amount to indent text based on the section
  1368.     level. The 'level' number is in the range 1 to 9 and corresponds
  1369.     to a section level as specified by the .HLn command
  1370.     (see Section \ref{sections} on page \pageref{sections}). All text at
  1371.     the specified section level is indented the number of spaces
  1372.     specified by the 'amt' number. The default value for all
  1373.     section levels is 0.
  1374. ,x JUSTIFY command
  1375. ,x NOJUSTIFY command
  1376. ,x Ragged right margin
  1377. ,x Flush right margin
  1378. ,item .JUSTIFY number -- Specify if DPS is to add spaces to lines to
  1379.     cause the right margin to be justified (flush). Specify 1
  1380.     to enable right margin justification; specify 0 for a ragged
  1381.     right margin. The .NOJUSTIFY command is equivalent to ".JUSTIFY 0".
  1382.     The default value is 0 for LETTER style and 1 for all other styles.
  1383. ,x LIST_BULCHR command
  1384. ,x Bullet character
  1385. ,item .LIST_BULCHR level char -- Specify the character that is to be used
  1386.     as the "bullet" marker character for each item of a list.
  1387.     The 'level' number specifies the list nesting level:
  1388.     0 corresponds to a list that is not within another list.
  1389.     The 'char' item must be a single character.
  1390.     The default bullet character is a period.
  1391. ,x LIST_BULPOS command
  1392. ,x Bullet character
  1393. ,item .LIST_BULPOS level amt -- Number of characters to indent the bullet
  1394.     character for each item of a list.
  1395.     The 'level' number specifies the list nesting level:
  1396.     0 corresponds to a list that is not within another list.
  1397.     The 'amt' number specifies the number of characters to indent
  1398.     the bullet for the specified level.
  1399.     The default value is 2 for an unnested list and 4 additional
  1400.     characters for each level of nesting.
  1401. ,x LIST_IN1 command
  1402. ,item .LIST_IN1 level amt -- Amount to indent the text on the first line
  1403.     of each item within a list. The bullet character, or
  1404.     number in the case of a .NLIST, is indented less so that it hangs
  1405.     out to the left of the text.
  1406.     The 'level' number specifies the list nesting level:
  1407.     0 corresponds to a list that is not within another list.
  1408.     The 'amt' number specifies the number of
  1409.     spaces to indent. By default, an unnested list (level 0)
  1410.     is indented 4 spaces and each deeper level of nesting is indented
  1411.     an additional 4 spaces.
  1412. ,x LIST_INX command
  1413. ,item .LIST_INX level amt -- Amount to indent the text on all lines other
  1414.     than the first line of each item within a list.
  1415.     The 'level' number specifies
  1416.     the list nesting level: 0 corresponds to a list that is not
  1417.     within another list. The 'amt' number specifies the number of
  1418.     spaces to indent. By default, an unnested list (level 0)
  1419.     is indented 4 spaces and each deeper level of nesting is indented
  1420.     an additional 4 spaces.
  1421. ,x LIST_NUMPOS command
  1422. ,item .LIST_NUMPOS level amt -- Number of characters to indent the number
  1423.     for each item of a .NLIST (numbered) type list.
  1424.     The 'level' number specifies the list nesting level:
  1425.     0 corresponds to a list that is not within another list.
  1426.     The 'amt' number specifies the number of characters to indent
  1427.     the number for the specified level.
  1428.     The default value is 0 for an unnested list and 4 additional
  1429.     characters for each level of nesting.
  1430. ,x LMEXTRA command
  1431. ,item .LMEXTRA number -- Specify the number of characters to indent all
  1432.     lines of a paragraph after the first line. See also the description
  1433.     of the .HANG command. If both .LMEXTRA and .HANG are specified, their
  1434.     values are added to determine the indentation amount.
  1435.     The default value for .LMEXTRA is 0.
  1436. ,x LMFIRST command
  1437. ,item .LMFIRST number -- Specify the number of characters to indent the
  1438.     first line of each paragraph. The default value is 0.
  1439. ,x MLOP command
  1440. ,item .MLOP number -- Specify the minimum number of lines that must remain
  1441.     on a page for a new paragraph to be started on the page. If fewer
  1442.     than this many lines remain on the page the page is ejected and
  1443.     the paragraph begins at the top of the next page. This prevents
  1444.     "orphan" lines where you have only the first line of a paragraph
  1445.     at the bottom of a page. The default value is 2.
  1446. ,x NLAF command
  1447. ,x Footers;lines above
  1448. ,item .NLAF number -- Number of blank lines to leave between the last text
  1449.     line on a page and the footer line. The default value is 2.
  1450. ,x NLAH command
  1451. ,x Headers;lines above
  1452. ,item .NLAH number -- Number of blank lines to leave above the header line
  1453.     at the top of each page. The default value is 0.
  1454. ,x NLAHL command
  1455. ,x Sections;blank lines between
  1456. ,item .NLAHL level lines -- Number of blank lines to leave above a section
  1457.     header. These blank lines separate a new section from the previous
  1458.     section. The 'level' number is in the range 0 to 9 and corresponds
  1459.     to the section heading level specified by the .HLn command
  1460.     (see page \pageref{hln}).
  1461.     The special section number 0 can be used to specify the number of
  1462.     blank lines to put before the chapter heading. The 'lines' number
  1463.     is the number of lines to be set for this section level number.
  1464.     The default value is 5 lines for section 0 (chapter header),
  1465.     2 lines for section 1, and 1 line for all other section levels.
  1466. ,x NLBH command
  1467. ,x Headers;lines below
  1468. ,item .NLBH number -- Number of blank lines to leave between the header
  1469.     line at the top of each page and the
  1470.     first line of text on the page. The default value is 2.
  1471. ,x SLMLOP command
  1472. ,x Sections;minimum lines remaining
  1473. ,item .SLMLOP level amt -- Minimum number of lines that must be available
  1474.     on a page for DPS to start the section on the page. If fewer lines
  1475.     are available DPS ejects the current page and starts the section at
  1476.     the top of the next page.
  1477.     The 'level' number is in the range 1 to 9 and corresponds
  1478.     to a section level as specified by the .HLn command
  1479.     (see Section \ref{sections} on page \pageref{sections}). 
  1480.     The 'amt' number is the minimum number of lines that must
  1481.     be available.
  1482. ,endlist
  1483.  
  1484. ,chapter Use And Distribution of DPS
  1485. You are welcome to make copies of this program and pass them on to friends
  1486. or post this program on bulletin boards or distribute it via disk catalog
  1487. services provided the entire DPS distribution is included in its
  1488. original, unmodified form.
  1489. A distribution fee may be charged for the cost of the
  1490. diskette, shipping and handling.
  1491. However, DPS may not be sold, or
  1492. incorporated in another product that is sold, without the permission of
  1493. the authors. However, permission is granted to include DPS as part of
  1494. "shareware collections" that are sold on CD ROM's.
  1495. Vendors are encouraged to contact the
  1496. authors to get the most recent version of DPS.
  1497.  
  1498. ,x Registering DPS
  1499. As a shareware product, you are granted a no-cost, trial period of 30 days
  1500. during which you may evaluate DPS. If you find DPS to be useful,
  1501. educational, and/or entertaining, and continue to use it beyond the 30
  1502. day trial period, you are required to compensate the authors by sending
  1503. the registration form printed at the end of this document (and in REGISTER.DOC)
  1504. with the appropriate registration fee
  1505. to help cover the development and support of DPS.
  1506.  
  1507. In return for registering, you will be authorized to continue using
  1508. DPS beyond the trial period and you will receive a registered version
  1509. of DPS which does not display the shareware message and pause.
  1510. You will also receive a laser-printed, bound manual, and
  1511. three months of support via telephone, mail, or CompuServe.  Your registration
  1512. fee will be refunded if you encounter a serious bug that cannot be corrected.
  1513.  
  1514. ,ne 7
  1515. You are welcome to contact the authors:
  1516. ,sp 1
  1517. ,center
  1518. ,x Sherrod, Phillip H.
  1519. Phillip H. Sherrod
  1520. 4410 Gerald Place
  1521. Nashville, TN  37205-3806  USA
  1522. 615-292-2881 (evenings)
  1523. CompuServe: 76166,2640
  1524. Internet: 76166.2640@compuserve.com
  1525.  
  1526. ,x Cappannari, Dan
  1527. Dan Cappannari
  1528. CCI Computing, Inc.
  1529. P.O. Box 210963
  1530. Nashville TN 37221
  1531. ,endcenter
  1532.  
  1533. ,x Copyright notice
  1534. Both the DPS program and documentation are copyright (c) 1993
  1535. by Phillip H. Sherrod and Daniel J. Cappannari.
  1536. You are not authorized to modify the program or documentation.
  1537.  
  1538. ,x ASP
  1539. This program is produced by a member of the Association of Shareware
  1540. Professionals (ASP). ASP wants to make sure that the
  1541. shareware principle works for you. If you are unable to resolve a
  1542. shareware-related problem with an ASP member by contacting
  1543. the member directly, ASP may be able to help.  The ASP Ombudsman can
  1544. help you resolve a dispute or problem with an ASP member, but does not
  1545. provide technical support for members' products. Please
  1546. write to the ASP Ombudsman at 545 Grover Road, Muskegon, MI 49442 or
  1547. send a CompuServe message via CompuServe Mail to ASP
  1548. Ombudsman 7007,3536.
  1549.  
  1550. ,ne 5
  1551. ,hl1 Disclaimer
  1552. ,x Disclaimer
  1553. ,x Warranty
  1554. DPS is provided "as is" without warranty of any kind,
  1555. either expressed or implied.
  1556. This program may contain "bugs".
  1557. The authors assume no responsibility
  1558. for the use of DPS and will not be responsible for any damage resulting
  1559. from its use.
  1560.  
  1561. ,chapter Other Software
  1562.  
  1563. If you like DPS, you should check out the following programs.
  1564.  
  1565. ,hl1 Mathplot -- Mathematical Function Plotting Program
  1566. ,label mathplot
  1567. ,x Mathplot
  1568.  
  1569. Mathplot allows you to specify complicated mathematical functions using
  1570. ordinary algebraic expressions and immediately plot them.
  1571. Four types of functions may be specified: cartesian (Y=f(X));
  1572. parametric cartesian (Y=f(T) and X=f(T)); polar (Radius=f(Angle));
  1573. and parametric polar (Radius=f(T) and Angle=f(T)). Up to four
  1574. functions may be plotted simultaneously. Scaling is automatic.
  1575. Options are available to control axis display and labeling as well
  1576. as grid lines. Hard copy output may be generated as well as screen display.
  1577. Mathplot is an ideal tool for engineers, scientists,
  1578. math and science teachers, and anyone else who needs to quickly
  1579. visualize mathematical functions.
  1580.  
  1581. ,ne 10
  1582. ,hl1 Nonlin -- Linear & Nonlinear Statistical Regression
  1583. ,label nonlin
  1584. ,x Nonlin
  1585. ,x Regression analysis
  1586. ,x Nonlinear regression
  1587. ,x Curve fitting
  1588. Nonlin performs linear and nonlinear statistical regression analysis.
  1589. What is regression analysis?  Regression analysis is a mathematical
  1590. technique for determining the best values of parameters to fit an
  1591. equation to a set of data points.  For example, you might want to
  1592. develop an equation of the form
  1593. ,figure
  1594. price = p0 + p1*age + p2*miles
  1595. ,endfigure
  1596. to predict the price of a used car based on its age and the number of
  1597. miles driven.  With Nonlin you can collect data from car ads and then
  1598. perform the analysis using the following set of commands:
  1599. ,figure
  1600. VARIABLES PRICE,AGE,MILES
  1601. PARAMETERS P0,P1,P2
  1602. FUNCTION  PRICE = P0 + P1*AGE + P2*MILES
  1603. DATA
  1604. ,endfigure
  1605. Nonlin will analyze the data and determine the best values of the
  1606. parameters P0, P1, and P2 to fit the data values.
  1607.  
  1608. Ordinary linear regression programs can only determine parameter values
  1609. for linear (straight line) equations.  Nonlin, on the other hand, can
  1610. handle multivariate, linear, polynomial, and general nonlinear equations.
  1611. For example, using Nonlin you can easily determine the best values
  1612. for the parameters Offset, Amplitude, and Frequency for an equation
  1613. of the form:
  1614. ,figure
  1615. Y = Offset + Amplitude * sin(Frequency * X)
  1616. ,endfigure
  1617. Nonlin uses the same expression evaluator as Mathplot so you can model
  1618. complicated equations using the full set of operators and library
  1619. functions available in Mathplot.
  1620.  
  1621. Nonlin comes with a 48 page manual that explains regression analysis
  1622. and gives many examples.  Nonlin is in use at many universities and
  1623. research labs around the world.
  1624.  
  1625. ,ne 15
  1626. ,hl1 TSX-32 -- Multi-User Operating System
  1627. ,label tsx32
  1628. ,x TSX-32
  1629. ,x Multi-user operating system
  1630.  
  1631. If you have a need for a multi-user, multi-tasking operating system,
  1632. you should look into TSX-32.  TSX-32 is a full-featured, high performance,
  1633. multi-user operating system for the 386 and 486 that provides both 32-bit
  1634. and 16-bit program support.  With facilities such as multitasking and
  1635. multisessions, networking, virtual memory, X-Windows, background batch queues,
  1636. data caching, file access control, real-time, and dial-in support,
  1637. TSX-32 provides a solid environment for a wide range of applications.
  1638.  
  1639. ,x TSX-Lite
  1640. A two user, shareware version of TSX-32 called TSX-Lite is also available.
  1641.  
  1642. TSX-32 is not a limited, 16-bit, multi-DOS add-on. Rather, it is a complete
  1643. 32-bit operating system which makes full use of the hardware's potential,
  1644. including protected mode execution, virtual memory, and demand paging.
  1645. TSX-32 sites range from small systems with 2-3 terminals to large
  1646. installations with more than 100 terminals on a single 486.
  1647.  
  1648. ,x DPMI support
  1649. In addition to supporting most popular 16-bit DOS programs, TSX-32 also
  1650. provides a 32-bit "flat" address space with both Phar Lap and DPMI
  1651. compatible modes of execution.
  1652.  
  1653. Since the DOS file structure is standard for TSX-32, you can directly
  1654. read and write DOS disks. And, you can run DOS part of the time and TSX-32
  1655. the rest of the time on the same computer.
  1656.  
  1657. TSX-32 allows each user to control up to 10 sessions.
  1658. Programs can also "fork" subtasks for multi-threaded
  1659. applications. The patented Adaptive Scheduling Algorithm provides consistently
  1660. good response time under varying conditions.
  1661.  
  1662. ,x Networking
  1663. ,x TCP/IP
  1664. The TSX-32 network option provides industry standard TCP/IP networking
  1665. through Ethernet and serial lines. Programs can access
  1666. files on remote machines as easily as on their own machine. 
  1667. The SET HOST command allows a user on one machine to log onto another computer
  1668. in the network. FTP, Telnet, and NFS are available for interoperability with
  1669. other systems.
  1670.  
  1671. System requirements: 386 or 486 system, 4MB memory, 12MB of free disk
  1672. space (Stacker and DoubleSpace are not supported).
  1673.  
  1674. TSX-32 is, quite simply, the best and most powerful operating system
  1675. available for the 386 and 486.  For additional information contact:
  1676. ,x S&H Computer Systems, Inc.
  1677. ,x CompuServe
  1678. ,x Internet
  1679. ,center
  1680. S&H Computer Systems, Inc.
  1681. 1027 17th Avenue South
  1682. Nashville, TN 37212 USA
  1683. 615-327-3670 (voice)
  1684. 615-321-5929 (fax)
  1685. CompuServe: 71333,27
  1686. Internet: 71333.27@compuserve.com
  1687. ,endcenter
  1688. ,page
  1689. ,style plain
  1690. ,chapter Software Order Form
  1691. ,label regform
  1692. ,x Order form
  1693. ,x Registration form
  1694. ,center
  1695. ===============================================================
  1696. Software Order Form
  1697. ===============================================================
  1698. ,endcenter
  1699. ,figure
  1700. Name ______________________________________________________
  1701.  
  1702. Address ___________________________________________________
  1703.  
  1704. City _______________________  State _______ Zip ___________
  1705.  
  1706. Country ____________________  Telephone ___________________
  1707.  
  1708. CompuServe account (optional) _____________________________
  1709.  
  1710. DPS version _______________________________________________
  1711.  
  1712. Bulletin board where you found DPS ________________________
  1713.  
  1714. Comments __________________________________________________
  1715.  
  1716. Check the boxes which indicate your order type:
  1717.  
  1718.     ___ I wish to register DPS ($25).
  1719.  
  1720.     ___ I wish to order Mathplot ($20).
  1721.  
  1722.     ___ I wish to order Nonlin ($25)
  1723. ,endfigure
  1724. Add $5 to the total amount of the order if the software is being shipped
  1725. out of the United States.  I cannot accept checks from
  1726. non-US banks.  Visa, MasterCard and American Express credit card
  1727. charges are accepted but a check, money order, or cash is preferred.
  1728. If you wish to use a credit card specify the billing name, address,
  1729. card number, and expiration date.
  1730.  
  1731. In return for registering, you will receive the most recent version of
  1732. the program, a laser-printed, bound copy of the manual, and three
  1733. months of telephone or CompuServe support.  Your registration fee will
  1734. be refunded if you find a serious bug that cannot be corrected.
  1735.  
  1736. Distribution disk choice (check one):
  1737. ,figure
  1738.       3.50" HD (1.4 MB)  ______
  1739.       5.25" HD (1.2 MB)  ______
  1740.       5.25" DD (360 KB)  ______
  1741. ,endfigure
  1742. Send this form with the amount indicated to the author:
  1743.  
  1744. ,center
  1745. Phillip H. Sherrod
  1746. 4410 Gerald Place
  1747. Nashville, TN  37205-3806 USA
  1748.  
  1749. 615-292-2881 (evenings)
  1750. CompuServe: 76166,2640
  1751. Internet: 76166.2640@compuserve.com
  1752. ,endcenter
  1753.  
  1754.