home *** CD-ROM | disk | FTP | other *** search
/ ftp.robelle3000.ai 2014 / 2014.06.ftp.robelle3000.ai.tar / ftp.robelle3000.ai / manuals / text / prose.txt < prev    next >
Text File  |  2007-12-20  |  339KB  |  8,235 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                                             _____ _______ ___
  19.                                                             PROSE Version 4.3
  20.  
  21.  
  22.  
  23.  
  24.                                                                ____ _________
  25.                                                                Text Formatter
  26.                                                              ___ ___ __ _____
  27.                                                              for the HP e3000
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.                                                             _____ ____ ______
  38.                                                             Prose User Manual
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.                                             _______ _________ __________ ____
  50.                                             Robelle Solutions Technology Inc.
  51.                                                    ____ ___ _______ _____ ___
  52.                                                    7360 137 Street, Suite 372
  53.                                                  _______ ____  ______ ___ ___
  54.                                                  Surrey, B.C.  Canada V3R 7K1
  55.  
  56.                                                     __________  _____________
  57.                                                     Toll-free:  1-888-ROBELLE
  58.                                                              ________________
  59.                                                              (1-888-762-3553)
  60.                                                        ______  _____ ________
  61.                                                        Phone:  (604) 501-2001
  62.                                                          ____  _____ ________
  63.                                                          Fax:  (604) 501-2003
  64.  
  65.                                                               _______________
  66.                                                               www.robelle.com
  67.                                                           ___________________
  68.                                                           support@robelle.com
  69.  
  70.  
  71.                                                                  _______ ____
  72.                                                                  January 2000
  73.  
  74.  
  75.  
  76.            Program and Manual Copyright  Robelle  Solutions  Technology  Inc.
  77.            1982-2007 Original CDC Version, Copyright John Strait 1978.
  78.  
  79.  
  80.                                                                       ___
  81.            Permission  is  granted  to  reprint  this  document  (but not for
  82.            profit), provided that copyright notice is given.
  83.  
  84.  
  85.  
  86.  
  87.            QEDIT and SUPRTOOL are trademarks of Robelle Solutions  Technology
  88.            Inc.   Other product and company names mentioned herein may be the
  89.            trademarks of their respective owners.
  90.  
  91.                                                                             1
  92.  
  93.  
  94.  
  95.  
  96.     _______ _   _______ __ _____
  97.     Chapter 1   Welcome to Prose
  98.  
  99.  
  100.                 _  ____ ___________ _______
  101.                 ⁿ  QLIB Contributed Library
  102.                 _  _____________
  103.                 ⁿ  Documentation
  104.                 _  _____ _______
  105.                 ⁿ  Prose Support
  106.                 _  ___ ________ __ _____
  107.                 ⁿ  New Features of Prose
  108.  
  109.  
  110.            Welcome to Prose -- a powerful text formatter for MPE  and  HP-UX.
  111.            With Prose, you can format both user manuals and on-line Help.  We
  112.            use Prose for everything and find it flexible and reliable.  Prose
  113.            works  somewhat  like TDP and nroff; it reads a file that contains
  114.            both text and commands, and produces an  output  document.   Prose
  115.            will  justify,  underline, hyphenate, number pages and paragraphs,
  116.            format the page the way you want, and  produce  an  index.   Prose
  117.            will  print  on the line printer or on an HP LaserJet.  Prose does
  118.            not have everything; it cannot do graphics, format  into  multiple
  119.            columns, or do footnotes, superscripts, and subscripts.
  120.  
  121.  
  122.     ____ ___________ _______
  123.     QLIB Contributed Library
  124.  
  125.            Prose is part of the QLIB, a small library of contributed software
  126.            and other aids,  for  Robelle  users.   Any  Robelle  customer  is
  127.            authorized to use Prose at no extra charge.
  128.  
  129.            To  browse  through  the  other  bonus  tools in the QLIB, use our
  130.            Select "menu" program:
  131.  
  132.                 :run select.pub.robelle,qlib
  133.  
  134.  
  135.     _____________
  136.     Documentation
  137.  
  138.            The Prose user manual describes how to access and apply Prose  and
  139.            has  a  reference chapter that describes each command.  At the end
  140.            of the manual, you will find an index and  an  appendix  detailing
  141.            common Prose errors.
  142.  
  143.            To print extra copies of this manual, use the Printdoc program:
  144.  
  145.                 :run printdoc.pub.robelle;info="prose.qlibdoc.robelle"
  146.  
  147.            To view the on-line help, use the Qhelp program:
  148.  
  149.                 :run qhelp.qlib.robelle
  150.                 prose.qlibhelp.robelle
  151.  
  152.            _______ _   _______ __ _____
  153.     2      Chapter 1   Welcome to Prose
  154.  
  155.  
  156.  
  157.     _________ ___ ____
  158.     Variables and JCWs
  159.  
  160.                                                      ___________ ________
  161.            In  this manual, we use the general term "environment variable" or
  162.                            ________
  163.            sometimes just "variable" to refer to  JCWs.   If  you  are  using
  164.            MPE/iX,  you  must  still  use  JCWs  instead of MPE/iX variables,
  165.            unless we specify otherwise.  In general,  numeric  variables  are
  166.            set   as  JCWs,  and  non-numeric  variables  are  set  as  MPE/iX
  167.            variables.  For example, if we told  you  to  set  the  "outlaser"
  168.            variable to 1, you would use :setjcw, not :setvar.
  169.  
  170.                 :setjcw outlaser 1      {correct}
  171.  
  172.                 :setvar outlaser 1      {incorrect!}
  173.  
  174.            However,  if we told you to set the "proseincludepath" variable to
  175.            ".PUB.SYS",  you  would  use  :setvar.   Note   that   non-numeric
  176.            variables are only available on MPE/iX.
  177.  
  178.                 :setvar proseincludepath ".PUB.SYS"
  179.  
  180.  
  181.     _____ _______
  182.     Prose Support
  183.  
  184.            We  developed Prose in order to have a good tool for producing our
  185.            documentation and to allow us to interface to  our  Qhelp  on-line
  186.            help  subsystem.   Internally we use LaserJet IIs, IIDs, IIIs, and
  187.            4Ps spooled and attached  to  our  terminals  and  PCs,  with  the
  188.            F92286F  and  F92290S2 font cartridges.  We do not plan to support
  189.            all possible LaserJet fonts or all varieties of LaserJet printers.
  190.            For  example, Prose has no built-in capabilities for scaling fonts
  191.            on the LaserJet III.
  192.  
  193.            Our technical support  department  is  happy  to  answer  specific
  194.            questions  about  Prose,  but  doesn't  have time to give in-depth
  195.            training over  the  telephone.   Before  you  call  for  technical
  196.            support,  you  should  print  a  copy  of  the manual and read the
  197.            ________ _____
  198.            Applying Prose chapter.
  199.  
  200.  
  201.     ___ ________ __ _______ ____
  202.     New Features in Version 4.3:
  203.  
  204.            ⁿ  Prose formats dates with a 20xx year by truncating the century;
  205.               for example, use "00" for 2000.
  206.  
  207.  
  208.     ___ ________ __ _______ ____
  209.     New Features in Version 4.2:
  210.  
  211.            ⁿ  Prose  no  longer  misses  the  last few lines of certain Jumbo
  212.               Qedit files.
  213.  
  214.                                           _______ _   _______ __ _____
  215.                                           Chapter 1   Welcome to Prose      3
  216.  
  217.  
  218.  
  219.     ___ ________ __ _______ ____
  220.     New Features in Version 4.1:
  221.  
  222.            ⁿ  RTF files  with  index  entries  that  begin  with  a  "K"  are
  223.               correctly generated.
  224.  
  225.  
  226.     ___ ________ __ _______ ____
  227.     New Features in Version 4.0:
  228.  
  229.            ⁿ  Prose  can  read  Jumbo  text files greater than 256 characters
  230.               wide.
  231.  
  232.  
  233.     ___ ________ __ _______ ____
  234.     New Features in Version 3.9:
  235.  
  236.            ⁿ  The  new  Tab  command  allows  you  to  format   tables   more
  237.               conveniently.
  238.  
  239.            ⁿ  Prose  tries  to  reduce  the number of unnecessary font-change
  240.               escape sequences.
  241.  
  242.            ⁿ  The new RTF option in the  Output  command  creates  Rich  Text
  243.               Format output.
  244.  
  245.  
  246.     ___ ________ __ _______ ____
  247.     New Features in Version 3.8:
  248.  
  249.            ⁿ  Prose  can  read  Qedit's new Jumbo files, although the maximum
  250.               line length is still limited to 256 characters.
  251.  
  252.     4
  253.  
  254.  
  255.  
  256.  
  257.     _______ _   _________ _____
  258.     Chapter 2   Accessing Prose
  259.  
  260.  
  261.                 _  _____ _____
  262.                 ⁿ  Prose Files
  263.                 _  ______ _______
  264.                 ⁿ  Output Devices
  265.                 _  _____ _____ _____
  266.                 ⁿ  Extra Blank Pages
  267.                 _  ____ _______ _______
  268.                 ⁿ  User Defined Command
  269.                 _  _____ __ _ ____ ____
  270.                 ⁿ  Prose to a Disc File
  271.                 _  _____ _______ ______
  272.                 ⁿ  Prose Version Number
  273.                 _  ______
  274.                 ⁿ  MPE/iX
  275.  
  276.  
  277.            Accessing Prose is a simple matter of two  :File  commands  and  a
  278.            :Run command.
  279.  
  280.                              _____ ____
  281.                 :file infile=input file
  282.                 :file output=$stdlist
  283.                 :run prose.qlib.robelle
  284.  
  285.  
  286.     _____ _____
  287.     Prose Files
  288.  
  289.            Prose accesses the following files:
  290.  
  291.            Infile:     File  containing  text  in  Prose  form (Qedit file or
  292.                        unnumbered EDIT/3000 file).
  293.  
  294.  
  295.            Output:     File to receive the formatted results (an  ASCII  file
  296.                        with CCTL; defaults to $Stdlist; can be sent to disc).
  297.  
  298.  
  299.            Input:      File used for the pause option of the  Output  command
  300.                        (defaults to $Stdinx).
  301.  
  302.  
  303.            Perrfile:   File  where  error  messages  are printed (defaults to
  304.                        $Stdlist); we recommend that this file  be  redirected
  305.                        to a temporary file (see the Prose UDC below).
  306.  
  307.            Prose requires the user to enter the following :File equations:
  308.  
  309.                              _____ ____
  310.                 :FILE INFILE=input file
  311.                              ______ ____
  312.                 :FILE OUTPUT=output file
  313.  
  314.  
  315.     ______ _______
  316.     Output Devices
  317.  
  318.            If your output device is a standard HP printer or a disc file (see
  319.            below), your Infile needs an Output command that specifies the LPT
  320.            option .output(lpt s4).
  321.  
  322.                                            _______ _   _________ _____
  323.                                            Chapter 2   Accessing Prose      5
  324.  
  325.  
  326.  
  327.     ________
  328.     Terminal
  329.  
  330.            If  you  wish  to  format  a  document and print it on your screen
  331.            (i.e., $stdlist), you merely leave off the File  command  for  the
  332.            Output  file.   This  file defaults to $stdlist.  You should still
  333.            use the LPT option of the Output command.
  334.  
  335.  
  336.     ________ ____
  337.     Terminal Port
  338.  
  339.            You may use Prose to write to a specific port, but a special :File
  340.            equation  must  be  used.   If you have a printer on device 40 you
  341.            would use the following File command:
  342.  
  343.                 :FILE OUTPUT=OUTPUT,NEW;DEV=40
  344.  
  345.            If you do not specify "new" on the :File equation,  a  prompt  may
  346.            appear on the operator console asking if device 40 is "ready".
  347.  
  348.  
  349.     ________
  350.     LaserJet
  351.  
  352.            If  your output device is a LaserJet, you will need to specify the
  353.            LAS option in the Output command of your  Infile  document.   This
  354.            option  gives  you  the  ability  to  print  on a LaserJet that is
  355.            connected as a system printer.  If the  LaserJet  is  an  attached
  356.            (i.e.,  slave)  printer  of  your  logon terminal, add (r+) to the
  357.            command options: .out (las s5 r+).
  358.  
  359.  
  360.     _____ _____ _____
  361.     Extra Blank Pages
  362.  
  363.            Depending on the type of printer you have and how it is  connected
  364.            to  your  system,  Prose  may  generate an extra blank page at the
  365.            start or at the end of your document.  These blank pages  are  the
  366.            result of Prose doing the safest possible thing.  You can instruct
  367.            Prose to omit  these  extra  pages  by  setting  the  OutSavePaper
  368.            environment variable.  to a non-zero value.
  369.  
  370.                 :setjcw OutSavePaper 1
  371.  
  372.            If  you  have a "standard" setup with your spooled line printer or
  373.            LaserJet, you can try setting this variable to reduce  the  amount
  374.            of  wasted blank pages.  However, setting this variable can result
  375.            in the printer not being reset correctly for subsequent printouts.
  376.            The  following  section  explains  the  various  reasons why Prose
  377.            produces an extra blank page.
  378.  
  379.            _______ _   _________ _____
  380.     6      Chapter 2   Accessing Prose
  381.  
  382.  
  383.  
  384.     ___ ______
  385.     LPT Output
  386.  
  387.            Prose does a page eject at the beginning  of  LPT  output.   Prose
  388.            does   not   assume   that  your  spooler  or  line  printer  will
  389.            automatically eject a page at the  start  of  each  Prose  output.
  390.            Therefore,  this  initial page eject ensures that new Prose output
  391.            starts at the beginning of a new page.   For  line  printers  that
  392.            eject  all  output automatically, this results in an extra leading
  393.            blank page.  The OutSavePaper variable can  be  used  to  suppress
  394.            this extra blank page.
  395.  
  396.  
  397.     _______ ________
  398.     Spooled LaserJet
  399.  
  400.            Prose sends a form feed and a printer reset escape sequence at the
  401.            end of LaserJet output.  This ensures that the printer is properly
  402.            reset  to  the  default  print  behavior  (e.g., default fonts and
  403.            margins).   For  spooled   LaserJets   that   eject   all   output
  404.            automatically,  this results in an extra trailing blank page.  The
  405.            OutSavePaper variable can be used to  suppress  this  extra  blank
  406.            page provided that the following are true:
  407.  
  408.            1. The spooler automatically ejects the last page of output.
  409.  
  410.            2. The  spooler  sends  an escape sequence to reset the printer at
  411.               the start of every print job.
  412.  
  413.            The second requirement  is  particularly  important  if  you  have
  414.            software  that  uses  the LaserJet as a line printer (e.g., :store
  415.            listings).  If OutSavePaper has a non-zero value, and the  spooler
  416.            doesn't  send  the  escape sequence to reset the printer, then the
  417.            subsequent line printer output will be in the incorrect font.
  418.  
  419.            If you are using double-sided printing and you  want  to  use  the
  420.            paper saving option, you need to use a ".align" command at the end
  421.            of your document to ensure that the final page is printed.
  422.  
  423.  
  424.     _____ ________ _________
  425.     Older Attached LaserJets
  426.  
  427.            Prose uses Record Mode to print to your attached printer.  To  end
  428.            Record  Mode,  Prose  has to send a final blank line after sending
  429.            Record Mode Off.   This  blank  line  remains  in  your  printer's
  430.            internal  buffer.   If  your  attached printer is a LaserJet II or
  431.            older,  Prose's  initial  LaserJet  printer   reset   will   cause
  432.            subsequent  output  to  have  an  extra  leading  blank page.  For
  433.            LaserJets IIP and up, there is no extra leading blank  page.   The
  434.            OutSavePaper variable cannot eliminate this blank page.
  435.  
  436.                                            _______ _   _________ _____
  437.                                            Chapter 2   Accessing Prose      7
  438.  
  439.  
  440.  
  441.     ____ _______ _______
  442.     User Defined Command
  443.  
  444.            We  suggest  that  you use the following UDC to invoke Prose.  The
  445.            UDC writes all Prose error messages to a temporary file.  If there
  446.            are any error messages, they are displayed on $Stdlist after Prose
  447.            finishes formatting.
  448.  
  449.                prose parmin, parmout="$STDLIST"
  450.                purge perrfile,temp
  451.                build perrfile;rec=-255,8,f,ascii;cctl;&
  452.                  disc=2500,32,1;temp
  453.                file infile=!parmin
  454.                file output=!parmout
  455.                file perrfile=perrfile,oldtemp
  456.                setjcw jcw = 0
  457.                continue
  458.                run prose.qlib.robelle
  459.                if jcw <> 0 then
  460.                   file pstdlist=$stdlist;rec=-255;cctl
  461.                   fcopy from=perrfile;to=*pstdlist
  462.                   reset pstdlist
  463.                endif
  464.                reset infile
  465.                reset output
  466.                reset perrfile
  467.                setmsg on
  468.                ****
  469.  
  470.            To invoke this UDC, you merely specify the UDC name and  the  name
  471.            of the Infile document.  The Output file parameter is optional and
  472.            defaults to $Stdlist:
  473.  
  474.                :prose qcommand.doc,*lp
  475.  
  476.            To invoke this UDC from within Qedit, use these commands:
  477.  
  478.                /set udc udc.catalog.robelle
  479.                /prose qcommand.doc,*lp
  480.  
  481.  
  482.     _____ __ _ ____ ____
  483.     Prose to a Disc File
  484.  
  485.            Here is a UDC to run Prose to a disc file.  With  Qedit,  you  can
  486.            then examine the disc file (e.g., /lq plist) or examine any errors
  487.            (e.g., /lq perrfile).
  488.  
  489.                pdisc parmin
  490.                purge plist,temp
  491.                build plist;rec=-256,8,f,ascii;cctl;disc=20000,32,1;temp
  492.                purge perrfile,temp
  493.                build perrfile;rec=-255,8,f,ascii;cctl;&
  494.                  disc=2500,32,1;temp
  495.                file infile=!parmin
  496.                file output=plist,oldtemp;dev=disc
  497.  
  498.            _______ _   _________ _____
  499.     8      Chapter 2   Accessing Prose
  500.  
  501.  
  502.  
  503.                file perrfile=perrfile,oldtemp
  504.                setjcw jcw = 0
  505.                continue
  506.                run prose.qlib.robelle
  507.                if jcw <> 0 then
  508.                   file pstdlist=$stdlist;rec=-255;cctl
  509.                   fcopy from=perrfile;to=*pstdlist
  510.                   reset pstdlist
  511.                endif
  512.                reset infile
  513.                reset output
  514.                reset perrfile
  515.                setmsg on
  516.                ****
  517.  
  518.  
  519.     _____ _______ ______
  520.     Prose Version Number
  521.  
  522.            Normally, Prose does not print a version number.  You  can  verify
  523.            which version of Prose you are using by doing the following:
  524.  
  525.                 :reset output
  526.                 :run prose.qlib.robelle;info="v"
  527.                                 {if no output, then 2.4 or earlier}
  528.                 Prose/Robelle Solutions Technology Inc.
  529.                 (Version 4.3)
  530.  
  531.  
  532.     ______
  533.     MPE/iX
  534.  
  535.            We distribute a native-mode version, Prosenm, and a compatibility-
  536.            mode version, Prosecm.  We no longer distribute an OCT version  of
  537.            Prose.   By default, the Prose.Qlib.Robelle program file is the CM
  538.            version.  To install the native-mode version, do the following:
  539.  
  540.                 :hello mgr.robelle
  541.                 :file    robtape;dev=tape
  542.                 :restore *robtape;prose@.qlib
  543.                 :purge   prose.qlib
  544.                 :copy    prosenm.qlib,prose.qlib
  545.  
  546.                                                                             9
  547.  
  548.  
  549.  
  550.  
  551.     _______ _   ________ _____
  552.     Chapter 3   Applying Prose
  553.  
  554.  
  555.                 _  _____
  556.                 ⁿ  Words
  557.                 _  _____ ________
  558.                 ⁿ  Prose Commands
  559.                 _  _______ __________
  560.                 ⁿ  Filling Paragraphs
  561.                 _  _____________ ______
  562.                 ⁿ  Justification Breaks
  563.                 _  _____ _____
  564.                 ⁿ  Blank Lines
  565.                 _  ______ _______
  566.                 ⁿ  Option Command
  567.                 _  _________ ___ _____ _____
  568.                 ⁿ  Templates for Prose Users
  569.                 _  _____ ______ ___ __________
  570.                 ⁿ  Using Styles for Formatting
  571.                 _  ________ ___ _________ _________
  572.                 ⁿ  Defining the Paragraph Character
  573.                 _  ___ __ ___ ______
  574.                 ⁿ  How to Use Undent
  575.                 _  _____ _____ _______ _____
  576.                 ⁿ  White Space Between Words
  577.                 _  ________ _______ __________
  578.                 ⁿ  Defining Special Characters
  579.                 _  _____ _____ ___ ____ ______
  580.                 ⁿ  Prose Forms for Page Layout
  581.                 _  ____ __ _____
  582.                 ⁿ  Make an Index
  583.                 _  ____ _ _____ __ ________
  584.                 ⁿ  Make a Table of Contents
  585.                 _  ________ ____ ________
  586.                 ⁿ  Checking Your Commands
  587.  
  588.  
  589.     _____
  590.     Words
  591.  
  592.                             _____  _____      __________
  593.            Prose works with words, lines, and paragraphs.   Prose  defines  a
  594.            word as any non-blank string of characters, with a blank on either
  595.            side.  For the purposes of formatting, a punctuation character  is
  596.            part of the word it adjoins.  These are words:
  597.  
  598.                 A
  599.                 word
  600.                 character,
  601.                 adjoins.
  602.  
  603.  
  604.     _____ ________
  605.     Prose Commands
  606.  
  607.            Prose  is  always  looking  for  words  to  turn  into  lines  and
  608.            paragraphs.   You  control  and  direct  Prose  in  this  work  by
  609.            inserting  commands  into  your text.  A command is indicated by a
  610.            period character in column one, followed by a command name:
  611.  
  612.                 .output(lpt s4)
  613.  
  614.            You use the commands to control  the  format  of  your  pages,  to
  615.            center  lines,  to  right-justify  lines,  to print with even left
  616.            margin but ragged right margin, or  to  print  tables  and  charts
  617.            "as-is".
  618.  
  619.            _______ _   ________ _____
  620.     10     Chapter 3   Applying Prose
  621.  
  622.  
  623.  
  624.     _______ __________
  625.     Filling Paragraphs
  626.  
  627.            Normally,  Prose  reformats its input by filling words into lines,
  628.            adding blanks to justify the lines to left and right margins,  and
  629.            printing  lines  together  to  make paragraphs.  In filling lines,
  630.            Prose ignores the original positions of the  words.   Instead,  it
  631.            fills  as many words as possible into the output lines, preserving
  632.                                                         _________
  633.            the original order.  The resulting lines are justified: they  have
  634.            a straight left and right margin.
  635.  
  636.            For  example,  if you typed the following text into a file and fed
  637.            that file into Prose as the Infile, you would get the output shown
  638.            further below.
  639.  
  640.            _____ __ ______
  641.            Input to Prose:
  642.  
  643.                What is the status of the Q-Mit directory-expansion
  644.            problem?  There
  645.            are several site-specific patches available, but no
  646.            general solution has been found yet.  Therefore, do not
  647.            expand your directory without talking to your SE first.
  648.  
  649.                What about Business Basic?  Third quarter
  650.            next year, compiler and interpreter,
  651.            only on the HP e3000 (not the 9000 or 1000).
  652.            Basic/3000 will be maintained for
  653.            a long time, but not enhanced.
  654.  
  655.            ______ ____ ______
  656.            Output from Prose:
  657.  
  658.                                                               20 Mar 94
  659.  
  660.                What is the  status  of  the  Q-Mit  directory-expansion
  661.            problem?  There are several site-specific patches available,
  662.            but no general solution has been found yet.   Therefore,  do
  663.            not expand your directory without talking to your SE first.
  664.  
  665.                What  about  Business  Basic?   Third quarter next year,
  666.            compiler and interpreter, only on the HP e3000 (not the  9000
  667.            or  1000).   Basic/3000  will be maintained for a long time,
  668.            but not enhanced.
  669.  
  670.                                      - 1 -
  671.  
  672.            The  example  above  has  two  paragraphs.  When Prose detects the
  673.            start of a new paragraph, it prints  out  the  last  line  of  the
  674.            current  paragraph and starts gathering words for a new paragraph.
  675.            There are several ways to indicate the start of a  new  paragraph.
  676.            The  example  above  uses two of them: indenting the first line of
  677.            the paragraph and inserting a blank line between the paragraphs.
  678.  
  679.            The page number (-1-) at the end of the output and the date at the
  680.            top  are part of the "default" Prose Form.  You can easily replace
  681.            the date with your own Title or print the page number on the  left
  682.  
  683.                                             _______ _   ________ _____
  684.                                             Chapter 3   Applying Prose     11
  685.  
  686.  
  687.  
  688.            if you like.  We will suggest some useful Forms shortly.
  689.  
  690.  
  691.     _______ ___ ______ ___ ___ _____
  692.     Warning for Galley and TDP Users
  693.  
  694.                                             ______
  695.            Since  indenting a line in Prose always indicates a new paragraph,
  696.            you cannot indent an entire paragraph by indenting the  first  two
  697.            lines  of the paragraph.  You must use the Margin command to shift
  698.            the margin left temporarily and then  reset  it  again  after  the
  699.            paragraph.
  700.  
  701.  
  702.     _____________ ______
  703.     Justification Breaks
  704.  
  705.            The  break  between  one  paragraph  and  the  next  is  called  a
  706.            _____________ _____
  707.            justification break.  It causes Prose to stop filling the  current
  708.                                                                      _____
  709.            output  line, and print it without justifying.  Since the break is
  710.            one of the most frequently used instructions, as well  as  one  of
  711.            the simplest, it can be indicated in many ways.
  712.  
  713.            As  shown  above,  you can indicate paragraphs by inserting one or
  714.            more blank lines or by indenting the first  line  of  a  paragraph
  715.            with  blanks.   If  you don't want a blank line and you don't want
  716.            the first line indented, you can  insert  a  Prose  Break  command
  717.            instead.   If  you have many paragraphs to enter, you can define a
  718.            special paragraph character that indicates a  new  paragraph  when
  719.            used  in  column one.  You also get a justification break when you
  720.            use any command that affects filling and justifying (e.g., Output,
  721.            Margin, Form, etc.).
  722.  
  723.            The  following  example  demonstrates  the first three methods for
  724.            specifying a justification break.
  725.  
  726.            _____ __ ______
  727.            Input to Prose:
  728.  
  729.            Why is the price of disc-caching upgrades so high?  The
  730.            price is for "value received", not for the cost of the.
  731.            product.  Disc caching plus extra memory doubles the speed
  732.            of the machine, so it is worth more money.
  733.  
  734.            When will Mighty Mouse roar and how will he sound?  HP has
  735.            stopped pre-announcing products.
  736.            Mighty Mouse, the low-end
  737.            HP e3000, will not be announced until the field has been
  738.            trained on it, the demo units have been built and shipped to
  739.            the offices, and some
  740.            working inventory is in stock.
  741.            .break.skip 1
  742.            When will we see improvements in
  743.            spooling?  A new "office"
  744.            spooler will be released soon and it will support plotters.
  745.                Can I add a third IMB to my Series 64 without waiting
  746.            for MPE V?  Yes, in some cases.  It depends upon your
  747.            configuration.
  748.  
  749.            _______ _   ________ _____
  750.     12     Chapter 3   Applying Prose
  751.  
  752.  
  753.  
  754.            ______ ____ ______
  755.            Output from Prose:
  756.  
  757.            Why is the price of  disc-caching  upgrades  so  high?   The
  758.            price  is  for  "value  received",  not  for the cost of the
  759.            product.  Disc caching plus extra memory doubles  the  speed
  760.            of the machine, so it is worth more money.
  761.  
  762.            When  will  Mighty Mouse roar and how will he sound?  HP has
  763.            stopped pre-announcing products.  Mighty Mouse, the  low-end
  764.            HP e3000,  will  not  be  announced until the field has been
  765.            trained on it, the demo units have been built and shipped to
  766.            the offices, and some working inventory is in stock.
  767.  
  768.            When  will  we see improvements in spooling?  A new "office"
  769.            spooler will be released soon and it will support  plotters.
  770.                Can  I  add  a third IMB to my Series 64 without waiting
  771.            for MPE V?  Yes,  in  some  cases.   It  depends  upon  your
  772.            configuration.
  773.  
  774.            When you use one of these methods to  create  a  paragraph,  Prose
  775.                  ____
  776.            does  only  a  justification  break.  Prose does not skip lines or
  777.            indent unless blank lines or indentation explicitly appear on  the
  778.            input  file.   There  is  a  way to do fancier things by using the
  779.            Paragraph command, but that will be introduced later.
  780.  
  781.  
  782.     _____ _____
  783.     Blank Lines
  784.  
  785.            There are two common ways to explicitly generate a blank  line  in
  786.            Prose.   The  first  is to use a blank line in the input file, and
  787.            the second is to use the Skip command.  The difference between the
  788.            two  is  that  a Skip command does not result in a blank line when
  789.            you are at the top of a page.  We call the  first  type  of  blank
  790.            line a "hard" blank line, and the second type a "soft" blank line.
  791.  
  792.            To make a file readable, you usually separate  paragraphs  with  a
  793.            blank line instead of using .skip 1 or the paragraph character.
  794.  
  795.                 This is a short paragraph.
  796.  
  797.                 A blank line separates these paragraphs.
  798.                 .skip 1
  799.                 A Skip command separates these paragraphs.
  800.                 `A paragraph character separates these paragraphs.
  801.  
  802.            Of  course, the paragraphs separated by a blank line have the best
  803.            visual appearance.  However, when the first paragraph ends at  the
  804.            bottom  of a page, the following blank line will appear at the top
  805.            of the next page.  You can overcome this  by  using  the  .opt(b+)
  806.            command,  which  tells  Prose  to treat every blank line as a soft
  807.            blank line (i.e., like a .skip 1).
  808.  
  809.                 .opt(b+)
  810.                 This is a short paragraph.
  811.  
  812.                                             _______ _   ________ _____
  813.                                             Chapter 3   Applying Prose     13
  814.  
  815.  
  816.  
  817.                 The blank line above will not appear at the top
  818.                 of the next page.
  819.  
  820.            Once this option is in effect, you need to use  the  Jump  command
  821.            when  you  do  want  blank  lines  at the top of a page.  The Jump
  822.            command is like the Skip command except that it  always  generates
  823.            hard blank lines.
  824.  
  825.                 .page
  826.                 .jump 3
  827.                 This Heading is three lines down from the top of the page.
  828.  
  829.  
  830.     ______ _______
  831.     Option Command
  832.  
  833.            By default, Prose makes both margins even.  This formatting option
  834.            is explicitly selected by inserting an Option command in the  text
  835.            at  the  point where you want to start having paragraphs with even
  836.            left and right margins.
  837.  
  838.                 .option (l+ r+ f+)
  839.  
  840.            L+ means "left margin even", R+ means "right margin even"  and  F+
  841.            means  "fill words to make complete lines".  By using combinations
  842.            of L, R, and F,  you  can  achieve  different  line  justification
  843.            styles.
  844.  
  845.  
  846.     ______ _____ _______
  847.     Ragged Right Margins
  848.  
  849.            One  common  formatting style is to have the left margin even, but
  850.            the right margin uneven.  This is commonly called a  ragged  right
  851.            margin.   To  format  lines  this way, insert this command in your
  852.            text:
  853.  
  854.                 .option (l+ r- f+)
  855.  
  856.            You can interpret this as "justify the left margin, don't  justify
  857.            the  right  margin,  and  move  words  from  line  to line to make
  858.            complete lines".
  859.  
  860.                 .option (l+ r- f+)
  861.                 This is an example of filling lines but
  862.                 the right margin will be ragged.
  863.  
  864.  
  865.     _________ _____
  866.     Centering Lines
  867.  
  868.            To begin centering lines, you insert this command in your text:
  869.  
  870.                 .option (l- r- f-)
  871.  
  872.            You can interpret this as "do not justify  the  left  margin,  and
  873.            don't  justify  the right margin either, and don't even move words
  874.  
  875.            _______ _   ________ _____
  876.     14     Chapter 3   Applying Prose
  877.  
  878.  
  879.  
  880.            from line to line  to  make  complete  lines".   In  other  words,
  881.            "center each line that follows".
  882.  
  883.            You revert to formatting paragraphs by inserting an Option command
  884.            _______ ___ __________
  885.            without any parameters:
  886.  
  887.                 .option (l- r- f-)
  888.                 The Decline and Fall of the Stand-Alone Word Processor
  889.                 By Ralph Micropro
  890.                 .option
  891.  
  892.  
  893.     ________________ _____
  894.     Right-Justifying Lines
  895.  
  896.            A slightly different Option command (L-  R+  F-)  tells  Prose  to
  897.            right-justify  some  lines.  This is useful for putting an address
  898.            at the  right-hand  side  of  a  page.   After  the  lines  to  be
  899.            right-justified,  switch  back  to  formatting  paragraphs  with a
  900.            parameterless Option command.
  901.  
  902.                 .option (l- r+ f-)
  903.                 Robelle Solutions Technology Inc.
  904.                 15399-102A Ave.
  905.                 Surrey, B.C.
  906.                 .option
  907.  
  908.            The three lines above will be printed flush to the right margin.
  909.  
  910.  
  911.     ________ ______ ___ ______
  912.     Printing Charts and Tables
  913.  
  914.            When you insert a chart or a table in a document, you do not  want
  915.            it  formatted into a paragraph.  You have inserted just the number
  916.            of blanks necessary to make the columns line up nicely.  There are
  917.            two  ways  you  can  tell Prose to stop making paragraphs and just
  918.            print what it reads.
  919.  
  920.            The first way is to indent every line of the table by at least one
  921.            space.  The second way is to use the Option command (F-):
  922.  
  923.                 .option (f-)
  924.                 Product   Function    Price    Service
  925.  
  926.                 ZLABEL    printer     $600     $120/year
  927.                 ZPOSTAGE  compute     $500     $100/year
  928.                 ZSTUFF    manipulate  $900     $180/year
  929.                 .option
  930.  
  931.                                             _______ _   ________ _____
  932.                                             Chapter 3   Applying Prose     15
  933.  
  934.  
  935.  
  936.     _________ ___ _____ _____
  937.     Templates for Prose Users
  938.  
  939.            At  Robelle,  we  use  Prose  for  all of our documents, including
  940.            manuals, help files, letters, articles, news  memos,  and  papers.
  941.            Although  we  find  Prose  powerful and easy to use, we understand
  942.            that the flexibility and options of Prose may be daunting to  many
  943.                                                         ________
  944.            new  users.   Therefore, we have created two template files to get
  945.            you started.  These templates make all the choices for you and set
  946.            up an environment.
  947.  
  948.            The two templates are:
  949.  
  950.                 Manuals.Qlibdata.Robelle   {for printing manuals}
  951.  
  952.                 Letters.Qlibdata.Robelle   {for business letters}
  953.  
  954.  
  955.     ________ ___ _______
  956.     Template for Manuals
  957.  
  958.            If you go into Qedit and list the MANUALS template, you should see
  959.            the following lines of text:
  960.  
  961.                 :run qedit.pub.robelle
  962.                 /lq manuals.qlibdata.robelle
  963.  
  964.            .comment  Filename:___________________ Revision:_________
  965.            .comment
  966.            .comment  Purpose:_______________________________________
  967.            .comment
  968.            .comment  To print this document, use these commands:
  969.            .comment
  970.            .comment       :file infile=filename
  971.            .comment       :file output;dev=lp
  972.            .comment       :run prose.qlib.robelle
  973.            .comment
  974.            .if outlpt
  975.            .  if outrecord
  976.            .    out(lpt s7 r+).mar(r65).com For attached printer
  977.            .  else
  978.            .    out(lpt s7 r-).mar(r65).com For LP, $stdlist, disc.
  979.            .  endif
  980.            .elseif outhelpcomp
  981.            .  out(lpt q+).mar(r78).com For helpcomp;parm=1
  982.            .elseif outlaser
  983.            .  if outrecord
  984.            .    if outdouble
  985.            .      out(las 30 s8 r+ d+).mar(r65).com attach-LJ duplex
  986.            .    else
  987.            .      out(las 30 s8 r+).mar(r65).com attached LaserJet
  988.            .    endif
  989.            .  else
  990.            .    if outdouble
  991.            .      out(las 30 s8 r- d+).mar(r65).com LaserJet, duplex
  992.            .    else
  993.  
  994.            _______ _   ________ _____
  995.     16     Chapter 3   Applying Prose
  996.  
  997.  
  998.  
  999.            .      out(las 30 s8 r-).mar(r65).com LaserJet
  1000.            .    endif
  1001.            .  endif
  1002.            .else.com no outxxx jcws specified
  1003.            .  out(lpt s7 r-).mar(r65).com generic: LP/stdlist/disc
  1004.            .endif
  1005.            .include <f92286f>
  1006.            .include <styles>
  1007.            .com If this document has an index, entries are created
  1008.            .com via .inx <string>.  The printing of the index occurs
  1009.            .com when you insert this command:
  1010.            .com    sortindex (c+ f.  m14 p48 l0 r0)
  1011.            .par(f` p5 s1 u3).comment Automatic .skip 1.page 5.undent 3
  1012.            .opt(j4).comment Okay to insert 3 spaces between words.
  1013.            .inp(u~ b@ h\ e& f| t#).com Special chars in the text.
  1014.            .com The FORM that follows is for the Title page:
  1015.            .for([ // l55 //]).comment Unnumbered pages
  1016.            .com The FORM that follows is for Contents/Preface:
  1017.            .page.for([ // l55 / #33 pr:3 /]).com roman numerals
  1018.            .com The FORM that follows is for the body of the manual:
  1019.            .for([ T #26 S:40 // l55 / #33 "-" pn:1 "-" /]
  1020.            +    [ S #26 T:40 // l55 / #33 "-" pn:1 "-" /])
  1021.            .page.count 1.com Start page numbering over again.
  1022.            .com
  1023.            .com The last line in a manual should be .check, which
  1024.            .com catches any dangling commands.  If you don't have
  1025.            .com a table of contents, use C0 instead of C1.
  1026.            .com
  1027.            .com If you include the Styles file, do not use .check
  1028.            .com
  1029.            .com.check(c1 f0 i1 m1 o1 p1 j0)
  1030.  
  1031.  
  1032.     _____ _________
  1033.     Using Templates
  1034.  
  1035.            To use this template, you Text a copy of it into Qedit,  add  your
  1036.            text and Prose commands, and then print the results using Prose.
  1037.  
  1038.            For  example,  let's add in the same two paragraphs that we did at
  1039.            the start of this chapter and see what the results look like:
  1040.  
  1041.                :run qedit.pub.robelle
  1042.                /text manuals.qlibdata.robelle
  1043.                /aq last
  1044.                    What is the status of the Q-Mit directory-expansion
  1045.                problem?  There
  1046.                are several site-specific patches available, but no
  1047.                general solution has been found yet.  Therefore, do not
  1048.                expand your directory without talking to your SE first.
  1049.  
  1050.                    What about Business Basic?  Third quarter
  1051.                next year, compiler and interpreter,
  1052.                only on the HP e3000 (not the 9000 or 1000).
  1053.                Basic/3000 will be maintained for
  1054.  
  1055.                                             _______ _   ________ _____
  1056.                                             Chapter 3   Applying Prose     17
  1057.  
  1058.  
  1059.  
  1060.                a long time, but not enhanced.
  1061.                //     {this stops the ADD command}
  1062.                /set udc udc.catalog.robelle
  1063.                /prose *
  1064.  
  1065.  
  1066.                What  is  the  status  of  the  Q-Mit   directory-expansion
  1067.            problem? There are several site-specific patches available, but
  1068.            no general solution has been found  yet.   Therefore,  do   not
  1069.            expand your directory without talking to your SE first.
  1070.  
  1071.                What  about  Business  Basic?   Third  quarter  next  year,
  1072.            compiler and interpreter, only on the HP e3000  (not  the   9000
  1073.            or   1000).  Basic/3000 will be maintained for a long time, but
  1074.            not enhanced.
  1075.  
  1076.  
  1077.                                        - 1 -
  1078.  
  1079.            The main difference between these results and the ones we obtained
  1080.            without the template is the lack of the date at  the  top  of  the
  1081.            page.   That  is  because we have used the Form command to replace
  1082.            the date with running Titles  and  Subtitles  on  each  page.   To
  1083.            invoke them, we add two commands before our text:
  1084.  
  1085.                /add 50.1
  1086.                  50.1   .SUBTITLE Management Roundtable
  1087.                  50.2   .TITLE Edinburgh, Scotland
  1088.                  50.3   //
  1089.                /prose *
  1090.  
  1091.  
  1092.            Edinburgh, Scotland                       Management Roundtable
  1093.  
  1094.                What  is  the  status  of  the  Q-Mit   directory-expansion
  1095.            problem? There are several site-specific patches available, but
  1096.            no general solution has been found  yet.   Therefore,  do   not
  1097.            expand  your directory without taking to your SE first.
  1098.  
  1099.                What  about  Business  Basic?   Third  quarter  next  year,
  1100.            compiler and interpreter, only on the HP e3000  (not  the
  1101.            9000
  1102.            or   1000).  Basic/3000 will be maintained for a long time, but
  1103.            not enhanced.
  1104.  
  1105.  
  1106.                                          -1-
  1107.  
  1108.  
  1109.            Each  of  the  Prose  features  used  in  the  MANUALS template is
  1110.            described below.
  1111.  
  1112.            _______ _   ________ _____
  1113.     18     Chapter 3   Applying Prose
  1114.  
  1115.  
  1116.  
  1117.     _____ ________ __ _______ ________
  1118.     Using Comments to Explain Document
  1119.  
  1120.            Text in the template and list the first ten lines:
  1121.  
  1122.            /text manuals.qlibdata.robelle
  1123.            /list 1/10
  1124.             1   .comment  Filename:___________________ Revision:_______
  1125.             2   .comment
  1126.             3   .comment  Purpose:_____________________________________
  1127.             4   .comment
  1128.             5   .comment  To print this document, use these commands:
  1129.             6   .comment
  1130.             7   .comment       :file infile=filename
  1131.             8   .comment       :file output;dev=lp
  1132.             9   .comment       :run prose.qlib.robelle
  1133.             10  .comment
  1134.  
  1135.            These lines are just comments.  They are  ignored  by  Prose,  but
  1136.            identify  the  document  and  give instructions on how to obtain a
  1137.            copy of the manual.  Anyone listing the first  few  lines  of  the
  1138.            file knows what the file is for and how to print it out.
  1139.  
  1140.            You should Modify 1/3 to identify your document:
  1141.  
  1142.            .comment  Filename: Newplant.kathy____ Revision:_25 Mar94
  1143.            .comment
  1144.            .comment  Purpose:_____Feasibility study for Ohio Plant
  1145.  
  1146.  
  1147.     ________ ____ ______ ______
  1148.     Defining Your Output Device
  1149.  
  1150.            Lines 11 through 36 of the  MANUALS  template  contain  a  set  of
  1151.            commands to define the type of output device you plan to send your
  1152.            document to.
  1153.  
  1154.            .if outlpt
  1155.            .  if outrecord
  1156.            .    out(lpt s7 r+).mar(r65).com For attached printer
  1157.            .  else
  1158.            .    out(lpt s7 r-).mar(r65).com For LP/stdlist/disc file.
  1159.            .  endif
  1160.            .elseif outhelpcomp
  1161.            .  out(lpt q+).mar(r78).opt(j4).com For helpcomp;parm=1
  1162.            .elseif outlaser
  1163.            .  if outrecord
  1164.            .    if outdouble
  1165.            .      out(las 30 s8 r+ d+).mar(r65).com attach-Laser-duplex
  1166.            .    else
  1167.            .      out(las 30 s8 r+).mar(r65).com For attached LaserJet
  1168.            .    endif
  1169.            .  else
  1170.            .    if outdouble
  1171.            .      out(las 30 s8 r- d+).mar(r65).com LaserJet, duplex
  1172.            .    else
  1173.  
  1174.                                             _______ _   ________ _____
  1175.                                             Chapter 3   Applying Prose     19
  1176.  
  1177.  
  1178.  
  1179.            .      out(las 30 s8 r-).mar(r65).com For LaserJet
  1180.            .    endif
  1181.            .  endif
  1182.            .else.com no outxxx jcws specified
  1183.            .  out(lpt s7 r-).mar(r65).com generic: LP/stdlist/disc file
  1184.            .endif
  1185.            .include <f92286f>
  1186.  
  1187.            Although there seem to be very many  commands,  there  are  really
  1188.            only  two types of commands:  Out commands and If-related commands
  1189.            (If, Elseif, Else, Endif).  The If commands are used to select the
  1190.            one  Out  command  that  is right for your output.  You tell Prose
  1191.            what sort of output you need by setting some standard  environment
  1192.            variables.   These  variables  are  either  true  (set to non-zero
  1193.            values) or false (set to zero, or the variable doesn't exist).
  1194.  
  1195.            The very last Out command,  Out(LPT  s7  r-),  is  the  one  Prose
  1196.            chooses  if  all  the  device-type  variables  are  false (outlpt,
  1197.            outlaser, outhelpcomp).  This sets the output device to LPT, which
  1198.            is  the  most  common selection for the Output command.  LPT works
  1199.            for output to most HP printers, most HP terminals, and for  output
  1200.            to  a  disc  file.  You can also specify LPT output by setting the
  1201.            ______
  1202.            outlpt variable to 1.
  1203.  
  1204.            If you are generating output for a Qhelp help file, you would  set
  1205.                 ___________
  1206.            the  outhelpcomp  variable  to 1, which will cause Prose to select
  1207.            the Out(LPT Q+) command.
  1208.  
  1209.            If your final destination is an HP LaserJet printer, you would set
  1210.                 ________
  1211.            the  outlaser  variable to 1, which will cause Prose to select one
  1212.            of the Out(LAS) commands.  If your  LaserJet  can  produce  duplex
  1213.            (doubled-sided)  output, you can have your output doubled-sided by
  1214.                        _________
  1215.            setting the outdouble variable to 1.  This  will  cause  Prose  to
  1216.            select one of the Out(LAS) commands with a D+ option.  If you plan
  1217.            to use one of the optional plug-in font cartridges, you would edit
  1218.            the Include command to include the proper font description file:
  1219.  
  1220.                 .include f92286a.qlibdata.robelle
  1221.  
  1222.            See  the  Qlibdata  group  of  the  ROBELLE  account  for the font
  1223.            cartridges that we support (each file describes itself if you List
  1224.            it with Qedit).
  1225.  
  1226.            If your printer is connected directly to your terminal, you should
  1227.                    _________
  1228.            set the outrecord variable to  1.   This  tells  Prose  to  select
  1229.            Record Mode to access your printer, using the R+ option of the Out
  1230.            command.
  1231.  
  1232.            If you are switching between your  screen  and  the  LaserJet  for
  1233.            output,  you  will  need to switch between the LPT and LAS output.
  1234.            You do this by first setting outlaser=1.   When  you  want  screen
  1235.            output, you would set outlpt=1; when you want LaserJet output, you
  1236.            would set outlpt=0.  However, you will not need to comment out the
  1237.            Include  command each time you switch to LPT; Prose will translate
  1238.  
  1239.            _______ _   ________ _____
  1240.     20     Chapter 3   Applying Prose
  1241.  
  1242.  
  1243.  
  1244.            the special fonts into underlines when it prints to LPT.
  1245.  
  1246.            Notice that each of the  Output  commands  also  selects  a  right
  1247.            margin,  ".mar(r65)."   The  default  right  margin in Prose is at
  1248.            column 70, but we change it to column 65  for  two  reasons.   The
  1249.            first  reason  is  to  make the output look better when printed on
  1250.            international A4 paper (which is narrower than 8-1/2 by 11 paper).
  1251.  
  1252.            The  second  and  more  compelling  reason is that when you switch
  1253.            between the LaserJet and the line  printer,  you  will  find  that
  1254.            65-column  output is easier to read with the proportional fonts of
  1255.            the LaserJet.
  1256.  
  1257.  
  1258.     _____ ________ _________
  1259.     Prose Template Variables
  1260.  
  1261.            Printing your documents with Prose will be easier if you use  UDCs
  1262.            or command files to define our standard variables.  Before running
  1263.            Prose, set up several command files for your various  printers  or
  1264.            Prose  tasks.   The  following  table  lists  the  meanings of the
  1265.            variables used by our templates.
  1266.  
  1267.                 Variable      Meaning
  1268.  
  1269.                 outlpt        device: non-LaserJet printer, disc file
  1270.                 outhelpcomp   device: disc file for Qhelp
  1271.                 outlaser      device: LaserJet printer
  1272.                 outrecord     attached printer
  1273.                 outdouble     doubled-sided pages on LaserJet
  1274.  
  1275.            Note  that  the  device  type  variables   (outlpt,   outhelpcomp,
  1276.            outlaser) are treated as being mutually exclusive in the template.
  1277.            That is, only one of them should be true at a time.  If more  than
  1278.            one  are  true,  then they have the following order of precedence:
  1279.            outlpt, outhelpcomp, outlaser.  For example, if  both  outlpt  and
  1280.            outlaser  are true, then outlpt will be used.  If you have several
  1281.            types of output, it is important to reset some of those  variables
  1282.            when you change output devices.
  1283.  
  1284.            The  outdouble variable applies only to LaserJet output; it has no
  1285.            effect on line printer or helpcomp output.  The outrecord variable
  1286.            applies only to LaserJet and line printer output.
  1287.  
  1288.            In  addition  to  these  five  variables,  you can define your own
  1289.            variables and use them in Prose to control the formatting  or  the
  1290.            text used in your document.
  1291.  
  1292.  
  1293.     ________ ___ ________ _______
  1294.     Template for Business Letters
  1295.  
  1296.            In  addition  to  the  MANUALS template, we also provide a LETTERS
  1297.            template for writing business  letters.   To  use  this  template,
  1298.            first  make  a  customized copy of the template in your own group.
  1299.            Then, whenever you need to write a letter, Text  a  copy  of  your
  1300.  
  1301.                                             _______ _   ________ _____
  1302.                                             Chapter 3   Applying Prose     21
  1303.  
  1304.  
  1305.  
  1306.            custom  template  and  insert  the  salutation  and message.  This
  1307.                                              _____ ______ ___ __________
  1308.            template uses Style commands (see Using Styles for Formatting).
  1309.  
  1310.              .comment Template for writing 1 or 2 page business letters
  1311.              .comment /t letters.qlibdata.robelle
  1312.              .comment /Modify %
  1313.              .comment /Delete 8  {for a one-page letter}
  1314.              .comment /prose *,*lp {with a UDC}
  1315.              .comment
  1316.              .form ([// l55 /
  1317.              + #61 ".../2"
  1318.              + /]).comment Format of page one
  1319.              .comment
  1320.              .if outlpt
  1321.              .  if outrecord
  1322.              .    out(lpt s7 r+).mar(r65).com For attached printer
  1323.              .  else
  1324.              .    out(lpt s7 r-).mar(r65).com For LP, $stdlist, disc
  1325.              .  endif
  1326.              .elseif outhelpcomp
  1327.              .  out(lpt q+).mar(r78).com For helpcomp;parm=1
  1328.              .elseif outlaser
  1329.              .  if outrecord
  1330.              .    if outdouble
  1331.              .      out(las 30 s8 r+ d+ c1).mar(r65).com attach Las-dup
  1332.              .    else
  1333.              .      out(las 30 s8 r+ c1).mar(r65).com attached Laser
  1334.              .    endif
  1335.              .  else
  1336.              .    if outdouble
  1337.              .      out(las 30 s8 r- d+ c1).mar(r65).com Laser duplex
  1338.              .    else
  1339.              .      out(las 30 s8 r- c1).mar(r65).com For LaserJet
  1340.              .    endif
  1341.              .  endif
  1342.              .else.com no outxxx jcws specified
  1343.              .  out(lpt s7 r-).mar(r65).com generic: LP/stdlist/disc
  1344.              .endif
  1345.              .include <f92286f>
  1346.              .include <styles>
  1347.  
  1348.              .style right
  1349.              Acme Consulting Co.
  1350.              9999 Main Street
  1351.              Midvale, Ohio
  1352.              33333
  1353.              Phone:  (301) 908-6633
  1354.  
  1355.              %month xx, 1994
  1356.              .subtitle  %month xx, 1994
  1357.  
  1358.  
  1359.              .style left
  1360.              .title %who this letter is to
  1361.  
  1362.            _______ _   ________ _____
  1363.     22     Chapter 3   Applying Prose
  1364.  
  1365.  
  1366.  
  1367.              %Company name
  1368.              Attention:  %who this letter is to
  1369.              %Street address
  1370.              %City, state address
  1371.              %postal or zip code
  1372.  
  1373.              .form ([t #33 "-" pn:1 "-" #36 s:30 // l55 //])
  1374.  
  1375.  
  1376.              .style body
  1377.              Dear %Sir:
  1378.              `Enter %paragraph one here
  1379.              `Enter %paragraph two here
  1380.              `Enter %paragraph three here
  1381.              .comment and so on....
  1382.  
  1383.  
  1384.              .margin(l+26).style left
  1385.              Sincerely yours,
  1386.              .skip 4
  1387.              Kathy Marshall
  1388.              Sales Manager
  1389.              .margin
  1390.  
  1391.  
  1392.     ___________ ___ ________
  1393.     Customizing the Template
  1394.  
  1395.            To customize our template letter for yourself, change the name and
  1396.            address to your own:
  1397.  
  1398.                :run qedit.pub.robelle
  1399.                /text letters.qlibdata.robelle
  1400.                /modify 40/44        {replace with your company address}
  1401.                /modify last-2/      {replace with your name and title}
  1402.                /keep letters        {save in your group}
  1403.                /exit
  1404.  
  1405.  
  1406.     _______ _ ______
  1407.     Writing a Letter
  1408.  
  1409.            You are now ready to write a letter.  The  idea  is  very  simple.
  1410.            You Text a copy of your customized LETTERS template into Qeditscr.
  1411.            You modify all of the lines containing a percent sign  (%).   This
  1412.            includes  the  person  to  whom you are writing, the date, and the
  1413.            first line of each of three paragraphs (your outline).  Be sure to
  1414.            remove  the % signs and the "prompting" hints that come after them
  1415.            -- they don't belong in your final letter!
  1416.  
  1417.            Use the Add and Modify commands to flesh out your  paragraphs,  or
  1418.            add  or  delete text.  There is no need to separate the paragraphs
  1419.            with a blank line  -  just  start  each  one  with  the  paragraph
  1420.                            ________ ___ _________ _________
  1421.            indicator.  See Defining the Paragraph Character in this chapter.
  1422.  
  1423.            Then,  print  a  copy  on your screen with Prose.  If you like the
  1424.  
  1425.                                             _______ _   ________ _____
  1426.                                             Chapter 3   Applying Prose     23
  1427.  
  1428.  
  1429.  
  1430.            results, check to see if your letter fits on  one  page.   If  so,
  1431.            delete  line  8  - this removes the ".../2" from the bottom of the
  1432.            first page.  Now print your final copy on the line printer.
  1433.  
  1434.                :run qedit.pub.robelle
  1435.                /text letters       {your copy, not the master}
  1436.                /modify "%"         {all lines needing changes}
  1437.                /add                {add paragraph text...    }
  1438.                /set udc udc.catalog.robelle
  1439.                /prose *            {print on the screen}
  1440.                /delete 8           {if only one page}
  1441.                /:file print;dev=lp
  1442.                /prose *,*print     {print final copy}
  1443.  
  1444.            Below is a completed letter, both the input and the output:
  1445.  
  1446.            _____ __ ______
  1447.            Input to Prose:
  1448.  
  1449.            .comment Template for writing 1 or 2 page business letters
  1450.            .comment /t letters.qlibdata.robelle
  1451.            .comment /Modify %
  1452.            .comment /Delete 8  {for a one-page letter}
  1453.            .comment /prose *,*lp {with a UDC}
  1454.            .comment
  1455.            .form([// l55 /
  1456.            + #61 ".../2"
  1457.            + /]).comment Format of page one
  1458.            .comment
  1459.            .if outlpt
  1460.            .  if outrecord
  1461.            .    out(lpt s7 r+).mar(r65).com For attached printer
  1462.            .  else
  1463.            .    out(lpt s7 r-).mar(r65).com LP, $stdlist, disc file.
  1464.            .  endif
  1465.            .elseif outhelpcomp
  1466.            .  out(lpt q+).mar(r78).opt(j4).com For helpcomp;parm=1
  1467.            .elseif outlaser
  1468.            .  if outrecord
  1469.            .    if outdouble
  1470.            .      out(las 30 s8 r+ d+).mar(r65).com attach-Las-duplex
  1471.            .    else
  1472.            .      out(las 30 s8 r+).mar(r65).com attached LaserJet
  1473.            .    endif
  1474.            .  else
  1475.            .    if outdouble
  1476.            .      out(las 30 s8 r- d+).mar(r65).com LaserJet, duplex
  1477.            .    else
  1478.            .      out(las 30 s8 r-).mar(r65).com For LaserJet
  1479.            .    endif
  1480.            .  endif
  1481.            .else.com no outxxx jcws specified
  1482.            .  out(lpt s7 r-).mar(r65).com generic: LP/stdlist/disc
  1483.            .endif
  1484.            .com.include <f92286f>
  1485.  
  1486.            _______ _   ________ _____
  1487.     24     Chapter 3   Applying Prose
  1488.  
  1489.  
  1490.  
  1491.            .margin(r65)
  1492.            .paragraph(f` p5 s1).com ` starts new paragraph
  1493.            .inp(u~ b@ h\ e& f| t#).com Spec chars in the text.
  1494.            &
  1495.            .option(l- r+ f-).comment right-justify
  1496.            Robelle Solutions Technology Inc.
  1497.            7360 137 Street, Suite 372
  1498.            Surrey, B.C. Canada V3R 7K1
  1499.            Phone:  (604) 501-2001
  1500.            Fax:  (604) 501-2003
  1501.            &
  1502.            August 20, 1994
  1503.            .subtitle  August 20, 1994
  1504.            .option.comment turn off right-justify
  1505.            &
  1506.            &
  1507.            .option(l+ r- f-).com do not format address into paragraph
  1508.            .title Jim Abercromby
  1509.            Tidewater Tool and Die
  1510.            Attention:  Jim Abercromby
  1511.            100 East Main Street
  1512.            Somewhere, California
  1513.            91003
  1514.            .option.com reset to formatting
  1515.            .form([t #33 "-" pn:1 "-" #36 s:30 // l55 //])
  1516.            &
  1517.            &
  1518.            Dear Sir:
  1519.            `Thank you for inquiring about our Qedit product.
  1520.            I am sending you a user manual and a Quick Reference Guide,
  1521.            as well as a description of our text formatter, Prose.
  1522.            `If you would like a demonstration tape, without charge,
  1523.            simply call our office.  One will be sent to you by
  1524.            air mail, special delivery.  If you have the time to
  1525.            evaluate
  1526.            the software, the least we can do is provide a tape.
  1527.            .comment and so on....
  1528.            &
  1529.            .margin(l+26).option(l+ r- f-)
  1530.            Sincerely yours,
  1531.            .skip 4
  1532.            Robert Green
  1533.            C.E.O.
  1534.            .margin.option.com reset
  1535.  
  1536.            ______ ____ ______
  1537.            Output from Prose:
  1538.  
  1539.                                          Robelle Solutions Technology Inc.
  1540.                                                  7360 137 Street, Suite 372
  1541.                                                Surrey, B.C. Canada V3A 4P9
  1542.                                                     Phone:  (604) 501-2001
  1543.                                                       Fax:  (604) 501-2003
  1544.  
  1545.                                                            August 20, 1994
  1546.  
  1547.                                             _______ _   ________ _____
  1548.                                             Chapter 3   Applying Prose     25
  1549.  
  1550.  
  1551.  
  1552.            Tidewater Tool and Die
  1553.            Attention:  Jim Abercromby
  1554.            100 East Main Street
  1555.            Somewhere, California
  1556.            91003
  1557.  
  1558.  
  1559.            Dear Sir:
  1560.  
  1561.            Thank you for inquiring about our Qedit product.  I am  sending
  1562.            you  a  user  manual  and a Quick Reference Guide, as well as a
  1563.            description of our text formatter, Prose.
  1564.  
  1565.            If  you would like a demonstration tape, without charge, simply
  1566.            call our office.  One will be sent to you by air mail,  special
  1567.            delivery.   If  you have the time to evaluate the software, the
  1568.            least we can do is provide a tape.
  1569.  
  1570.                                      Sincerely yours,
  1571.  
  1572.  
  1573.  
  1574.  
  1575.                                      Robert Green
  1576.                                      C.E.O.
  1577.  
  1578.     _____ ______ ___ __________
  1579.     Using Styles for Formatting
  1580.  
  1581.            There are two ways of specifying format options in Prose.  One way
  1582.            is  to  use  Prose commands such as Margin, Option, and Paragraph.
  1583.            Another way, introduced in Prose 3.5, is to use the Style command.
  1584.  
  1585.                 .include styles.qlibdata.robelle
  1586.  
  1587.            A  style is a collection of format settings that have been given a
  1588.            name.  For example, you can define a style called  "chapter"  that
  1589.            puts text in a bold font and centers them.  Styles provide an easy
  1590.            way to specify frequently used formats in your document.
  1591.  
  1592.                 .inc styles.qlibdata.robelle
  1593.                 .style head1
  1594.                 `New Chapter Heading
  1595.  
  1596.                 .style head3
  1597.                 `First Topic
  1598.  
  1599.                 .style body
  1600.                 The lazy dogs over the brown quick fox jumped.
  1601.  
  1602.                 .style bullet1
  1603.                 `*This is a bullet list
  1604.  
  1605.            We provide some predefined styles  in  the  file  Styles.Qlibdata.
  1606.            Robelle.  Use the Include command to access this file, which is in
  1607.  
  1608.            _______ _   ________ _____
  1609.     26     Chapter 3   Applying Prose
  1610.  
  1611.  
  1612.  
  1613.                                                                 ________  ___
  1614.            the Qlibdata group  of  the  Robelle  account  (see  Template  for
  1615.            _______
  1616.            Manuals  in  this chapter).  The following is a description of the
  1617.            styles available in that file.
  1618.  
  1619.                 _____     ___________
  1620.                 Style     Description
  1621.  
  1622.                 body      Justified and filled Times Roman.  This is for body
  1623.                           text,  and  is the style most of your document will
  1624.                           be in.
  1625.                 body2     Similar  to  Body  style,  but  the  text  is   not
  1626.                           justified  nor  filled.  This is useful for tables,
  1627.                           addresses, and simple lists.
  1628.  
  1629.                 head1     Centered, Helvetica heading.
  1630.                 head2     Left-justified, Helvetica heading.
  1631.                 head3     Left-justified, bold Times Roman heading.
  1632.                 head4     Left-justified, italic Times Roman heading.
  1633.  
  1634.                 bullet1   Bullet  lists  that  do  not  have  automatic  skip
  1635.                           between entries.
  1636.                 bullet2   Bullet  lists  that  have an automatic skip between
  1637.                           entries.
  1638.                 bullet3   Numbered bullet lists with automatic skip.
  1639.  
  1640.                 example   Courier font examples in manuals.  Need to manually
  1641.                           indent.
  1642.                 address   For right-justified addresses.
  1643.  
  1644.            Styles are less flexible than other Prose formatting commands, but
  1645.            they are more readable.  To get started with styles, you  can  use
  1646.            styles  in  your  documents  whenever you can, and use other Prose
  1647.            commands when you need more specific formatting.
  1648.  
  1649.  
  1650.     ________ ___ _________ _________
  1651.     Defining the Paragraph Character
  1652.  
  1653.                 .par(f` p5 s1 u3).com Automatic .skip 1.page 5.undent 3
  1654.  
  1655.            The ".par" in this line is short for the Paragraph command.   With
  1656.            this  command  you can define a single keystroke (f` defines the `
  1657.            key as your special key) to mean an entire cluster of actions  (p5
  1658.            s1  u3).   This  is  the  open single quote key (`), not the close
  1659.            single quote key ('), although they may print the  same!  Whenever
  1660.            Prose  sees  the  ` key in column one of a line, it will do "p5 s1
  1661.            u3".  How do you decode "p5 s1 u3"?
  1662.  
  1663.                 p5  skip to a new page if there is not room for 5 lines
  1664.  
  1665.                 s1  skip one line
  1666.  
  1667.                           ____ ___ ____
  1668.                 u3  shift this one line left 3 columns
  1669.                           _______
  1670.                     (does nothing if you are already in column one)
  1671.  
  1672.            By putting the ` key at the  start  of  each  paragraph,  you  can
  1673.  
  1674.                                             _______ _   ________ _____
  1675.                                             Chapter 3   Applying Prose     27
  1676.  
  1677.  
  1678.  
  1679.            ensure that each paragraph is preceded by a blank line and that it
  1680.            does not start too close to the bottom of the page.
  1681.  
  1682.                 `The proposal to build a new catalytic cracking
  1683.                 plant in Ohio has been extensively studied.
  1684.  
  1685.            At Robelle, we tend to use the  Paragraph  key  to  mark  headings
  1686.            within  the  text, rather than paragraphs, but the choice is up to
  1687.            you.  For example,
  1688.  
  1689.                 `Using the Paragraph Command
  1690.  
  1691.                 The Paragraph command is one of the most useful
  1692.                 functions of Prose.
  1693.  
  1694.            The "u3" code means "Undent 3".
  1695.  
  1696.            Undent is easy to use, but difficult to explain.   This  paragraph
  1697.               that  you  are  reading appears with the left margin moved in 3
  1698.               spaces, because it is preceded by a ".margin (l+3)" command and
  1699.               followed  by a ".margin" command to reset the margin.  However,
  1700.                                                  ___
  1701.               the first line of the paragraph is not indented three spaces  -
  1702.                              ________
  1703.               it  has  been  undented  3  spaces  from the left margin by the
  1704.               paragraph indicator.
  1705.  
  1706.  
  1707.     ___ __ ___ ______
  1708.     How to Use Undent
  1709.  
  1710.            Undent is also called hanging indent.  The place  where  you  will
  1711.            find auto-undent most useful is in presenting a list of points:
  1712.  
  1713.            Reasons for Selecting Ohio:
  1714.            .margin (l+3)
  1715.            `1.@Cheap land.  Prime industrial sites are
  1716.            available at one-half to one-tenth the rate in our
  1717.            present location.
  1718.            `2.@Well-trained workforce.  There are many high school
  1719.            and University graduates to draw upon in staffing the plant.
  1720.            `3.@Proximity to markets.  The new plant would be
  1721.            closer to our prime customers in the midwest.
  1722.            .margin
  1723.  
  1724.            We  start  a  hanging  indent by increasing the left margin by the
  1725.            same amount as the undent.  In the text  above,  each  reason  for
  1726.            selecting  Ohio  begins  with  the  ` key and a point number (1.),
  1727.            followed by an at-sign (@).  The @ is  defined  elsewhere  in  the
  1728.                                      _____
  1729.            template  file  to  be  a blank and will be described in a moment.
  1730.            The results would be:
  1731.  
  1732.            _______ _   ________ _____
  1733.     28     Chapter 3   Applying Prose
  1734.  
  1735.  
  1736.  
  1737.            Reasons for Selecting Ohio:
  1738.  
  1739.            1. Cheap  land.   Prime   industrial   sites   are   available  at
  1740.               one-half to one-tenth the rate in our present location.
  1741.  
  1742.            2. Well-trained  workforce.   There  are  many  high   school  and
  1743.               University graduates to draw upon in staffing the plant.
  1744.  
  1745.            3. Proximity  to  markets.  The new plant would be closer  to  our
  1746.               prime customers in the midwest.
  1747.  
  1748.            Notice  that  there  is  a blank line to set off each point.  Also
  1749.            note how the indented margins of the points line up and the  point
  1750.                        ________
  1751.            numbers are undented to the left.
  1752.  
  1753.  
  1754.     _____ _____ _______ _____
  1755.     White Space Between Words
  1756.  
  1757.            When  Prose  justifies lines to make the right margin straight, it
  1758.            does so by inserting spaces between words.  The more spaces  Prose
  1759.            inserts, the less readable the results.  The fewer spaces Prose is
  1760.            allowed to insert, the more times you  have  to  tell  it  how  to
  1761.            hyphenate words.
  1762.  
  1763.                 .opt(j4).com Okay to insert 3 spaces between words.
  1764.  
  1765.            This  line  from  the  template file is an Option command.  The J4
  1766.            option tells Prose how much white space it may insert  to  achieve
  1767.            justification.    The   default  setting  is  Option  (J3),  which
  1768.            authorizes Prose to insert 2 spaces between every word in a  line,
  1769.            but not 3.  We suggest J4, especially for rough drafts, because it
  1770.            reduces drastically  the  number  of  "hyphenation  needed"  error
  1771.                          ________ _
  1772.            messages (see Appendix A).
  1773.  
  1774.  
  1775.     ________ _______ __________
  1776.     Defining Special Characters
  1777.  
  1778.            To  tell  Prose  when  to  do  special  things  to  words, such as
  1779.            underlining them, you first define some  characters  with  special
  1780.            meanings via the Input command:
  1781.  
  1782.                 .inp(u~ b@ h\ e& f| t#).com Special chars in text
  1783.  
  1784.            This  Input  command  defines the following special characters for
  1785.            Prose:
  1786.  
  1787.                 ~   tilde          underline
  1788.                 @   at-sign        explicit blank
  1789.                 \   back slash     hyphenation point
  1790.                 &   ampersand      escape character
  1791.                 |   up bars        font change
  1792.                 #   cross hatch    tab character
  1793.  
  1794.            After you have defined these characters with  the  Input  command,
  1795.  
  1796.                                             _______ _   ________ _____
  1797.                                             Chapter 3   Applying Prose     29
  1798.  
  1799.  
  1800.  
  1801.            placing them in your text triggers Prose to process your text in a
  1802.                                                  ______
  1803.            special way.  Although the characters appear in  the  input  text,
  1804.            you  won't  see them in the output document (unless you use "&" to
  1805.            force one of them to appear).  Instead, you will see  the  special
  1806.            effects  these  characters  provide.   You  can  define  different
  1807.            special characters for these effects if you like, but try to stick
  1808.            to a consistent set of choices.
  1809.  
  1810.  
  1811.     ___________ _____
  1812.     Underlining Words
  1813.  
  1814.            The  easiest  of  these  to understand is the tilde "~" character.
  1815.            Any phrase surrounded by tilde characters will be underlined.  For
  1816.            example, if the following is input to Prose
  1817.  
  1818.                 ~Prose Tips~
  1819.  
  1820.            the output will be
  1821.  
  1822.                 _____ ____
  1823.                 Prose Tips
  1824.  
  1825.            Notice  that  the  tilde  characters  have disappeared, making the
  1826.            output line look as if it has been shifted one space to  the  left
  1827.            relative to the input line.
  1828.  
  1829.  
  1830.     ________ ______
  1831.     Explicit Blanks
  1832.  
  1833.            The  "at-sign"  (@)  character  specifies an "explicit" blank.  By
  1834.                                    ___
  1835.            default, Prose converts one space after a period into two  spaces.
  1836.            This  is usually desirable, but when specifying a person's name we
  1837.            want only one space between the initials.  Consider the  following
  1838.            input to Prose:
  1839.  
  1840.                 Mr. David J. Greer
  1841.                 Mr.@David J.@Greer
  1842.  
  1843.            and the resulting output:
  1844.  
  1845.                 Mr.  David J.  Greer
  1846.                 Mr. David J. Greer
  1847.  
  1848.            The  second  example has only one space between "Mr." and "David",
  1849.            and one space between "J." and "Greer", rather  than  two  spaces.
  1850.            _____
  1851.            Hint:  you  can  also  disable  the "two spaces" option using this
  1852.            command: .option (p-).  You can also have no space after a  period
  1853.            (e.g., D.J.Greer).
  1854.  
  1855.            Another  use  for  @  is  in setting up a list of points.  See the
  1856.            example shown above in discussing Undent.
  1857.  
  1858.            _______ _   ________ _____
  1859.     30     Chapter 3   Applying Prose
  1860.  
  1861.  
  1862.  
  1863.     ___________ _____
  1864.     Hyphenating Words
  1865.  
  1866.            The "back-slash"  character  is  used  to  tell  Prose  where  the
  1867.            syllables  of  a  word  occur.   Normally,  you  do  not  use this
  1868.            character until Prose gives you a "hyphenation error".  When  this
  1869.            occurs,  Prose  is trying to insert too many spaces in a line.  If
  1870.            you indicate the syllables of the specified word  by  inserting  a
  1871.            back  slash  into  your input text, Prose will produce output with
  1872.            fewer spaces between each word.
  1873.  
  1874.                 The "backslash" character is used to tell Prose where
  1875.                 the syl\lables of a word occur.  Normally, you do not
  1876.                 use this char\acter until Prose gives you a
  1877.                 hyphena\tion error When this occurs, Prose is trying
  1878.                 to insert too many spaces in a line.
  1879.  
  1880.            In the example input above, hyphenation points have been specified
  1881.            in  the  words 'syllables', 'character', and 'hyphenation'.  It is
  1882.            okay to specify hyphenation points that Prose does not need; Prose
  1883.                        ___
  1884.            will remove all of the back slashes from the final output.
  1885.  
  1886.  
  1887.     ______ _________
  1888.     Escape Character
  1889.  
  1890.            Since  Prose removes all hyphenation characters "\" from the final
  1891.            document, how did we print a back slash in this sentence?
  1892.  
  1893.            The secret is the escape character, &.   Whenever  this  character
  1894.                                                                          ____
  1895.            occurs  in  the  input  text,  it  tells  Prose  to treat the next
  1896.            character as a regular  text  character,  rather  than  a  special
  1897.            command character.  So, to print a back slash, you type "&\".  And
  1898.            to print an ampersand, you type "&&".
  1899.  
  1900.  
  1901.     _________ _____ ___________
  1902.     Different Fonts (Typefaces)
  1903.  
  1904.            If your printer is able to print special fonts, such as italics or
  1905.                                               _
  1906.            bold,  you use the font character, |, to enclose the text which is
  1907.            to be printed in them.  This topic is discussed in greater  detail
  1908.                            ___ __ ________                ____ _______
  1909.            in  the chapter The HP LaserJet.  Also see the Font Command in the
  1910.            _____ ________
  1911.            Prose Commands chapter.
  1912.  
  1913.  
  1914.     ______ __ ______ ____ ____
  1915.     Lining Up Tables With Tabs
  1916.  
  1917.            With all of these special characters that Prose removes from  your
  1918.            final  document, it can be difficult to make information in tables
  1919.            line up in the correct columns.  For example,
  1920.  
  1921.                 ~command~   any MPE command
  1922.                 :PDISC      user defined command
  1923.                 =5*812      calculator command
  1924.  
  1925.                                             _______ _   ________ _____
  1926.                                             Chapter 3   Applying Prose     31
  1927.  
  1928.  
  1929.  
  1930.            This input would be printed as:
  1931.  
  1932.                _______
  1933.                command    any MPE command
  1934.                :PDISC       user defined command
  1935.                =5*812       calculator command
  1936.  
  1937.            Again, the Robelle template file for Prose comes to  your  rescue.
  1938.            We  have defined # (cross hatch) as a tab character.  You can line
  1939.            up text in columns by inserting tab jumps in your input text:
  1940.  
  1941.                 ~command~   #13any MPE command
  1942.                 :PDISC      #13user defined command
  1943.                 =5*812      #13calculator command
  1944.  
  1945.            If you use the Tab command, you can define the tab  position  just
  1946.            once.
  1947.  
  1948.                 .tab(13)
  1949.                 ~command~   #any MPE command
  1950.                 :PDISC      #user defined command
  1951.                 =5*812      #calculator command
  1952.                 .tab
  1953.  
  1954.  
  1955.     ________ ____
  1956.     Relative Tabs
  1957.  
  1958.            The  number  used  after  the tab character specifies the absolute
  1959.            column where the text will start.  There are  instances,  however,
  1960.            where  you  will want to specify the column number relative to the
  1961.            left margin.
  1962.  
  1963.            In the previous example, the data in the second column  starts  at
  1964.            column 13.  To indent the entire table to the right by 15 columns,
  1965.            you might think that you could simply  surround  the  table  by  a
  1966.            ".mar(l+15)"  at the beginning, and a ".mar" at the end.  However,
  1967.            you can never tab to a column that you are already past.  In  this
  1968.            case,  since  the  left margin is now at 15, you cannot tab to any
  1969.            column that is less than 15 (i.e., 13).   You  can  overcome  this
  1970.            problem by using relative tabs.
  1971.  
  1972.                 .mar(l+15)
  1973.                 ~command~    #+13any MPE command
  1974.                 :PDISC       #+13user defined command
  1975.                 =5*812       #+13calculator command
  1976.                 .mar
  1977.  
  1978.            The  tab "+13" now tabs to absolute column 28 (left margin 15 plus
  1979.            relative tab 13).  If you  decide  to  increase  or  decrease  the
  1980.            indentation  of the table by adjusting the Margin command, the tab
  1981.            alignments within the table will still remain the same.
  1982.  
  1983.            _______ _   ________ _____
  1984.     32     Chapter 3   Applying Prose
  1985.  
  1986.  
  1987.  
  1988.     _______ _______ ___ ____
  1989.     Hanging Indents and Tabs
  1990.  
  1991.            Relative  tabs  can  also  make  hanging  indents  more  flexible.
  1992.            Consider the following example:
  1993.  
  1994.                 .mar(l+3).par(u3)
  1995.                 `*#4This is absolute point one.
  1996.                 .mar.par
  1997.  
  1998.                 .mar(l+10).par(u10)
  1999.                 `*#11This is absolute point two.
  2000.                 .mar.par
  2001.  
  2002.            To change the amount of the hanging indent, you have to change the
  2003.            Margin and Paragraph commands, and  the  values  of  the  absolute
  2004.            tabs.   Note  that  the  absolute  tabs  have  a value that is one
  2005.            greater than the margin setting in the hanging indents.  To change
  2006.            the  indent  when using relative tabs, you only have to change the
  2007.            Margin and Paragraph commands.
  2008.  
  2009.                 .mar(l+3).par(u3)
  2010.                 `*#+1This is relative point one.
  2011.                 `*#This uses # instead of #+1
  2012.                 .mar.par
  2013.  
  2014.                 .mar(l+10).par(u10)
  2015.                 `*#+1This is relative point two.
  2016.                 `*#This uses # instead of #+1
  2017.                 .mar.par
  2018.  
  2019.  
  2020.     _____ _____ ___ ____ ______
  2021.     Prose Forms for Page Layout
  2022.  
  2023.            One of the nicest features of Prose is the  ability  to  customize
  2024.            your  page  layout  through  the Form command.  If you look at the
  2025.            template  file  MANUALS  carefully,  you  will  find  three   Form
  2026.            commands:
  2027.  
  2028.                 .com The next FORM is for the Title page:
  2029.                 .for([ // l55 //]).comment Unnumbered pages
  2030.                 .com The next FORM is for Contents/Preface:
  2031.                 .page.for([ // l55 / #33 pr:3 /]).com roman numerals
  2032.                 .com The next FORM is for the body of the manual:
  2033.                 .for([ T #26 S:40 // l55 / #33 "-" pn:1 "-" /]
  2034.                 +    [ S #26 T:40 // l55 / #33 "-" pn:1 "-" /])
  2035.  
  2036.            The  last  Form  seen defines a two-page Form with the page number
  2037.            centered at the bottom of the page  and  the  Title  and  Subtitle
  2038.            alternating left and right sides at the top.
  2039.  
  2040.                                             _______ _   ________ _____
  2041.                                             Chapter 3   Applying Prose     33
  2042.  
  2043.  
  2044.  
  2045.     _________ _ _____ ____
  2046.     Inserting a Title Page
  2047.  
  2048.            If  we  wanted  our  report to have a title page, we would add the
  2049.            text for it after the first Form command of  the  template.   This
  2050.            Form,  .for([ // l55 // ]), defines a page with 55 lines for text,
  2051.            no headings, and no footings (i.e., no page numbers).
  2052.  
  2053.                 /add 24.10
  2054.                   24.10  .opt(l-r-f-)
  2055.                   24.11  ~Feasibility Study~
  2056.                   24.12  Ohio Plant Site
  2057.                   24.13
  2058.                   24.14  By Kathy Marshall
  2059.                   24.15
  2060.                   24.16  March 25, 1994
  2061.                   24.17  .opt
  2062.                   24.18  //
  2063.  
  2064.            The Option commands tell Prose to center the lines  of  the  title
  2065.            page.
  2066.  
  2067.  
  2068.     _____ ____ __ ___ ______ ____
  2069.     First Page of the Report Body
  2070.  
  2071.            We  switch  from the title page and contents page to the main body
  2072.            of the report in lines 27 through 30 of the template file:
  2073.  
  2074.                 .com The next FORM is for the body of the manual:
  2075.                 .for([ T #26 S:40 // l55 / #33 "-" pn:1 "-" /]
  2076.                 +    [ S #26 T:40 // l55 / #33 "-" pn:1 "-" /])
  2077.                 .page.count 1.com Start page numbering over again.
  2078.  
  2079.            This defines an alternating left and right form with  arabic  page
  2080.            numbers centered at the bottom.
  2081.  
  2082.            We  use the Page command to force our text to start on a different
  2083.            page from the title page.  We use the Count command to  reset  the
  2084.            page number counter to 1 again.
  2085.  
  2086.  
  2087.     _____ ____ __ _ _______
  2088.     First Page of a Section
  2089.  
  2090.            Usually  we  want the first page of chapters and major sections to
  2091.            start on the odd-numbered, right-hand-side pages.  The hard way to
  2092.            do  this  is to print the document once, then insert Page commands
  2093.            before all sections that started on the wrong side  of  the  page.
  2094.            Instead, try the Align command:
  2095.  
  2096.                 .align
  2097.  
  2098.            Use  this command at the start of a new page.  If the current page
  2099.            is even-numbered, Prose ejects it so that your section  starts  on
  2100.            the  next,  odd-numbered  page.  For example, suppose a section of
  2101.            your text ends on page 5.  You have just issued a Page command  to
  2102.  
  2103.            _______ _   ________ _____
  2104.     34     Chapter 3   Applying Prose
  2105.  
  2106.  
  2107.  
  2108.            finish  the page, so you are on the start of page 6.  Now enter an
  2109.            Align command.  Because the current page  number  is  even,  Prose
  2110.            ejects  page  6  as  a  blank page.  The following page is page 7,
  2111.            which is an odd number and aesthetically acceptable as  the  start
  2112.            of  a  new  section.   Prose  starts printing the text of your new
  2113.            section on page 7.
  2114.  
  2115.            This command considerably smooths the path if you like  to  insert
  2116.            cardboard  tabs  between  sections.   This  is also useful if your
  2117.            printer can print  double-sided  pages,  as  you  don't  want  the
  2118.            table-of-contents  (which  always prints last in the print run) to
  2119.            start on the back of another page.
  2120.  
  2121.  
  2122.     ____ __ _____
  2123.     Make an Index
  2124.  
  2125.            There are two steps in producing an index  in  a  Prose  document.
  2126.            The  first  step is to add Inx commands to the text wherever there
  2127.            is a topic that you want indexed.  The second step  is  to  add  a
  2128.            Sortindex  command at the place where you want the actual index to
  2129.            appear.  The item above on the Paragraph command  was  indexed  by
  2130.            adding this line to the Prose manual:
  2131.  
  2132.                 .inx Paragraph command
  2133.  
  2134.            Prose  automatically  saves  the  text "Paragraph command" and the
  2135.            page number where the ".inx" was encountered.  If another entry is
  2136.            added  for  "Paragraph command" on a different page, this new page
  2137.            number will also be remembered.  To avoid showing the page  number
  2138.            in  certain  index  entries,  include  the  (p-) option in the Inx
  2139.            command, as shown in the following example:
  2140.  
  2141.                 .inx(p-) Paragraph command
  2142.  
  2143.            You can include a section name in the page  number  of  any  index
  2144.            entry.  For example, the page number for an entry in Section 2 and
  2145.            on page 3 would appear in the index as 2-3.  In  order  to  number
  2146.            each  section independently, you must reset the page number with a
  2147.            Count command at the start of each section.  Then, add the section
  2148.            name to each Inx command:
  2149.  
  2150.                 .count 1
  2151.                 Section 2.
  2152.                 .inx('2-') {first index entry in Section Two}
  2153.                 .inx('2-') {second index entry in Section Two}
  2154.  
  2155.                 .count 1
  2156.                 Section 3.
  2157.                 .inx('3-') {first index entry in Section Three}
  2158.  
  2159.            To produce the final index, we append these commands to the end of
  2160.            our document:
  2161.  
  2162.                 .page.sub Index
  2163.  
  2164.                                             _______ _   ________ _____
  2165.                                             Chapter 3   Applying Prose     35
  2166.  
  2167.  
  2168.  
  2169.                 .option(l-r-f-).com Center Page Title
  2170.                 ~INDEX~
  2171.                 .option
  2172.  
  2173.                 .sortindex(c+ f. m14 p48 l3 r0)
  2174.  
  2175.            These commands will  start  a  new  page,  define  a  new  running
  2176.            Subtitle,  print  the  word "INDEX" centered and underlined at the
  2177.            top of the first page of the index, and  print  the  rest  of  the
  2178.            index in a form similar to that at the end of this manual.
  2179.  
  2180.            The  Sortindex  command requests several things: that entries with
  2181.            the same text be combined into one  entry  (c+);  that  the  space
  2182.            between  the text and the page number be filled with periods (f.);
  2183.            that the whole index be indented fourteen columns (m14); that  the
  2184.            page  number  appear  in  column 48 (p48); that the page number be
  2185.                                                                __
  2186.            written in a width of three spaces (l3); and  that  no  spaces  be
  2187.            written after the page number (r0).
  2188.  
  2189.            If  all  of  this sounds confusing, just start by entering the Inx
  2190.            lines throughout your document.  At the  end,  add  the  Sortindex
  2191.            command  exactly  as it is presented above.  If you want the index
  2192.            printed in a different style, look up  the  Sortindex  command  in
  2193.            this manual.
  2194.  
  2195.  
  2196.     _____ ________
  2197.     Index Headings
  2198.  
  2199.            If  you  have  a  long  index,  you  can  make it more readable by
  2200.            subdividing the entries.  The Headindex  command  enables  you  to
  2201.            insert  a  heading  before each set of entries that start with the
  2202.            same letter.  You can define the characteristics of  the  heading.
  2203.            For  example, to use the initial letter of a set of entries as the
  2204.            heading, surrounded by a blank line before and  after,  enter  the
  2205.            following command immediately before the Sortindex command:
  2206.  
  2207.                 .headindex
  2208.  
  2209.            If you prefer a blank line as the heading, use
  2210.  
  2211.                 .headindex(h- s0 a0 p0)
  2212.  
  2213.            The option (h-) turns off the initial letter, leaving just a blank
  2214.            line.  The S and A options turn off the  blank  lines  before  and
  2215.            after  the  heading.   The  option  (p0)  turns  off the automatic
  2216.            paragraph skip.  If you want a fancier heading, try
  2217.  
  2218.                 .headindex(h+ c+ f3 s2 a1 p6)
  2219.  
  2220.            This prints the initial letter (h+) centered on the line  (c+)  in
  2221.            the  font Helvetica Bold on the LaserJet (f3) with two extra blank
  2222.            lines before the letter (s2) and one extra blank line after  (a1).
  2223.            The  option (p6) tells Prose to start the heading on a new page if
  2224.            there are less than six lines left  on  the  current  page.   This
  2225.  
  2226.            _______ _   ________ _____
  2227.     36     Chapter 3   Applying Prose
  2228.  
  2229.  
  2230.  
  2231.            ensures  that  the  heading (which, in the above example, requires
  2232.            four lines to print) will have at least two  index  entries  after
  2233.            it.   This  prevents the awkward circumstance of a heading printed
  2234.            on the bottom of a page with no index entries until the next page.
  2235.  
  2236.  
  2237.     ____ _ _____ __ ________
  2238.     Make a Table of Contents
  2239.  
  2240.            Prose  can  automatically produce a table of contents page.  There
  2241.            are two steps in creating a table of contents.  The first step  is
  2242.            adding  Entry  commands to the text wherever there is a topic that
  2243.            you want to appear in the table of contents.  The second  step  is
  2244.            adding  a  Contents  command at the end of the document to produce
  2245.            the actual table of contents.  The title  of  the  chapter  you're
  2246.            reading  right  now  was added to the Prose table of contents with
  2247.            this Prose command:
  2248.  
  2249.                 .entry `|1Chapter 3   Applying Prose|
  2250.  
  2251.            Prose automatically saves the entry text and the page number where
  2252.            the ".entry" was encountered.
  2253.  
  2254.            Because  we  don't want the page number to appear in the "Chapter"
  2255.            entries in our table of contents,  we  add  one  more  command  to
  2256.            them:
  2257.  
  2258.                 .entry(p-) `|1Chapter 3   Applying Prose|
  2259.  
  2260.            You  can include a section name in the page number of any entry in
  2261.            the table of contents.  For example, the page number for an  entry
  2262.            in  Section  III and on page 4 can appear in the table of contents
  2263.            as III-4.  In order to number each section independently, you must
  2264.            reset  the  page  number with a Count command at the start of each
  2265.            section.  Then, add the section name to each Entry command:
  2266.  
  2267.                 .count 1
  2268.                 Section 2.
  2269.                 .entry('2-') {first T-of-C entry in Section Two}
  2270.                 .entry('2-') {second T-of-C entry in Section Two}
  2271.  
  2272.                 .count 1
  2273.                 Section 3.
  2274.                 .entry('3-') {first T-of-C entry in Section Three}
  2275.  
  2276.            To produce the table of contents, append these commands to the end
  2277.            of  the  file.   The  table  of  contents  will  be the last thing
  2278.            printed.  You have to insert it manually behind the title page.
  2279.  
  2280.                 .page.count 2
  2281.                 .for([ // l55 / #33 pr:3 /]).Com Roman Numerals
  2282.  
  2283.                 .option(l- r- f-).Com Center the following lines
  2284.                 Prose
  2285.  
  2286.                                             _______ _   ________ _____
  2287.                                             Chapter 3   Applying Prose     37
  2288.  
  2289.  
  2290.  
  2291.                 User Manual
  2292.  
  2293.                 Table of Contents
  2294.                 .option
  2295.  
  2296.                 .contents(p+)
  2297.  
  2298.            These commands will start a new page and define  a  form  with  no
  2299.            headings.   The  page  number will be printed in the center of the
  2300.            last line in lowercase Roman numerals.  We consider the title page
  2301.            to be page one, even though we did not print the page number.  The
  2302.            table of contents will start on page two, so  we  force  the  page
  2303.            number  using  ".count 2".  In this example, the lines between the
  2304.            ".option" command would be centered at the top of the  first  page
  2305.            of the table of contents.
  2306.  
  2307.            Instead  of using the ".contents" command above, you could print a
  2308.            table of contents with page numbers on the  right,  and  with  the
  2309.            space  between  the  text  entries and the page number filled with
  2310.            dots, using this command:
  2311.  
  2312.                 .contents(p+ f. c48 l0 r0)
  2313.  
  2314.  
  2315.     ________ ____ ________
  2316.     Checking Your Commands
  2317.  
  2318.            Some Prose commands use "keep buffers" to store the most  recently
  2319.            used  settings.   For  instance, in previous examples we have used
  2320.            ".mar(l+3)" to start a new left margin, and a ".mar" to return  to
  2321.            the  previous  left  margin.   With  the  setting ".mar(l+3)", the
  2322.            Margin command's keep buffer number increases by  one.   When  you
  2323.            return to the previous setting with ".mar", the keep buffer number
  2324.            decreases by one.
  2325.  
  2326.            The Check command will examine keep buffer numbers to see  if  the
  2327.            keep buffers have the specified value.  If any of them do not, you
  2328.            will see an error message.
  2329.  
  2330.                 .check(c1 f0 i1 m1 o1 p1 j0)
  2331.  
  2332.            When you use keep buffers as a stack, you may forget to return  to
  2333.            the  previous  setting.   For  example, if you indent some text by
  2334.            increasing the size of  the  left  margin,  but  forget  a  ".mar"
  2335.            command  to  return  you  to the previous margin setting, then the
  2336.            rest of your document will  remain  overly  indented.   The  Check
  2337.            command  can  tell  you  if this has happened.  However, it cannot
  2338.            tell you where it has happened.
  2339.  
  2340.            If you Included the  Styles  file,  you  can  not  use  the  Check
  2341.            command.   However,  when  you  are  using  styles  to format your
  2342.            document, the problem with forgetting to reset keep buffer  stacks
  2343.            is  minimized  because changing styles will usually reset the keep
  2344.            buffers.
  2345.  
  2346.     38
  2347.  
  2348.  
  2349.  
  2350.  
  2351.     _______ _    ___ __ ________
  2352.     Chapter 4    The HP LaserJet
  2353.  
  2354.  
  2355.                 _  _______ _______
  2356.                 ⁿ  Getting Started
  2357.                 _  _________ ____
  2358.                 ⁿ  Landscape Mode
  2359.                 _  ____________ _____
  2360.                 ⁿ  Proportional Fonts
  2361.                 _  _____ ______ __________
  2362.                 ⁿ  Finer Column Resolution
  2363.  
  2364.  
  2365.            The LaserJet is a high quality  printer  that  is  offered  at  an
  2366.            affordable price.  The LaserJet provides for different type styles
  2367.            by the use of font cartridges.  Prose has been  modified  to  take
  2368.            advantage of the features of some of these font cartridges.
  2369.  
  2370.                                          ____     ______
  2371.            You  can  use  Prose to print bold and italic text.  You can print
  2372.            documents using the proportional type fonts.   Using  proportional
  2373.            type fonts generally results in better looking documents.
  2374.  
  2375.  
  2376.     _______ _______
  2377.     Getting Started
  2378.  
  2379.            This  chapter assumes that you are already generally familiar with
  2380.            Prose.  The following steps will show  how  to  take  an  existing
  2381.            Prose document and modify it to use the LaserJet.
  2382.  
  2383.  
  2384.     ____ ____  ______ ____ ________
  2385.     Step One:  Define Your LaserJet
  2386.  
  2387.            We  assume  that your existing documents are designed for standard
  2388.            writing paper (i.e., 8 1/2" by 11"), with seventy columns of  text
  2389.            across  the  page  and 60 lines of text down the page.  To quickly
  2390.            print this document on your LaserJet, you would add a  new  Output
  2391.            command:
  2392.  
  2393.                 .output(las).comment LAS means LaserJet
  2394.  
  2395.            If  you  use the shift option of the Output command, you will need
  2396.            to add a shift to your laser Output command.  This shift value  is
  2397.            one greater than the value used for the line printer.
  2398.  
  2399.                 .output(las s5).comment Instead of s4 and LPT
  2400.  
  2401.            If  you  wish  to use "Record Mode" on your terminal to print your
  2402.            document (i.e., the LaserJet is attached to  your  terminal),  you
  2403.            can use the record option of the Output command.
  2404.  
  2405.                 .output(las s5 r+)
  2406.  
  2407.            Remember  to  delete  or  comment  out  your standard line printer
  2408.            Output command, since only one Output command can be active  at  a
  2409.            time.
  2410.  
  2411.                 .comment.output(lpt s4)
  2412.  
  2413.                                            _______ _   ___ __ ________
  2414.                                            Chapter 4   The HP LaserJet     39
  2415.  
  2416.  
  2417.  
  2418.            You  can  request multiple copies of your document with the Output
  2419.            command.  This will only work with the LaserJet.
  2420.  
  2421.                 .output(las s5 c2).comment print two copies
  2422.  
  2423.            You can print on both sides of a page on some LaserJets,  such  as
  2424.            the  LaserJet  IID.   To  activate  this  feature,  called  duplex
  2425.            printing, you need to add the duplex option to the Output command.
  2426.  
  2427.                 .output(las d+).comment duplex printing (both sides)
  2428.  
  2429.  
  2430.     ____ ____  _____ _____
  2431.     Step Two:  Using Fonts
  2432.  
  2433.            Your  document  will  be  formatted  using  the  standard  Courier
  2434.            10-pitch characters.  Underlines will appear just as they  did  on
  2435.            the  line  printer.  The next step is take advantage of the A or L
  2436.                                             ____       ______
  2437.            font cartridge which provide for bold  and  italic  characters  in
  2438.            your document.  You must do the following:
  2439.  
  2440.            1. Include the correct font description file.
  2441.  
  2442.            2. Define  a  font  character using the Input command.  We suggest
  2443.               that you use the up-bar "|" as the font character.
  2444.  
  2445.            3. Use the font character to  change  the  font-type  of  specific
  2446.               words.
  2447.  
  2448.            4. When  printing  your  document, make sure that the correct font
  2449.               cartridge is inserted in your LaserJet.  If you have a LaserJet
  2450.               II,  the  front panel should be configured to FONT SOURCE=I and
  2451.               FONT NUMBER=00 (factory default setting).
  2452.  
  2453.            If you have the A font cartridge, you would use:
  2454.  
  2455.                 .output(las s5)
  2456.                 .include F92286A.qlibdata.robelle
  2457.                 .input(f|)
  2458.  
  2459.            If you have the L font cartridge, you would use:
  2460.  
  2461.                 .output(las s5)
  2462.                 .include F92286L.qlibdata.robelle
  2463.                 .input(f|)
  2464.  
  2465.            Fonts are identified by a number which corresponds to  the  "keep"
  2466.            buffer  for  the  font.  The F92286A and the F92286L include files
  2467.            define the following fonts:
  2468.  
  2469.                 Font  Description
  2470.  
  2471.                   0   Courier medium
  2472.                       ____
  2473.                   1   Bold
  2474.                       _______
  2475.                   2   Italics
  2476.  
  2477.            _______ _   ___ __ ________
  2478.     40     Chapter 4   The HP LaserJet
  2479.  
  2480.  
  2481.  
  2482.            The F92286L include file also defines font 3 as lineprinter  16.66
  2483.            characters per inch.  The Landscape modes of the F92286L fonts are
  2484.            defined by a  separate  include  file,  F92286L2  (see  below  for
  2485.            details).
  2486.  
  2487.  
  2488.     ___ _______ __ _________ _____
  2489.     Two Methods of Switching Fonts
  2490.  
  2491.            There  are  two  methods  for changing the typeface of words.  The
  2492.            first is to use the  Font  command  to  change  the  current  font
  2493.            definition.
  2494.  
  2495.                 .font 2.comment Italic typeface
  2496.                 This  paragraph  will appear with every word in italics.
  2497.                 You might wish to use this for examples or  for  quotes.
  2498.                 Prose will continue to print using italics until you use
  2499.                 the font character to temporarily change the typeface or
  2500.                 until a different Font command is used.
  2501.                 .font 0.comment Return to Courier medium typeface
  2502.  
  2503.            The output from the above example would look like:
  2504.  
  2505.                 ____  _________  ____ ______ ____ _____ ____ __ ________
  2506.                 This  paragraph  will appear with every word in italics.
  2507.                 ___ _____ ___ ____ ___ ____  _______  __  ___  _________
  2508.                 You could use this for long  quotes,  or  for  examples.
  2509.                 _____  ____  ________  __  _____ _____ _______ _____ ___
  2510.                 Prose  will  continue  to  print using italics until you
  2511.                 ______  ___  ____  _________  __  ______  ___   ________
  2512.                 insert  the  font  character  to  change  the   typeface
  2513.                 ____________   __  _____  ___  _____  _  _________  ____
  2514.                 temporarily,   or  until  you  enter  a  different  Font
  2515.                 ________
  2516.                 command.
  2517.  
  2518.            The other method is to use the font character.  In  the  following
  2519.                                           _______
  2520.            example  we  will  switch  to  italics  whenever  we  use the word
  2521.            _______
  2522.            italics.
  2523.  
  2524.                 This paragraph  will  appear  with  |2italic|  words  in
  2525.                 |2italics|.   You  might  wish to use this for important
  2526.                 words.  Prose will continue to  print  using  |2italics|
  2527.                 until  you  use  the  font  character  to  terminate the
  2528.                 |2italic| typeface.
  2529.  
  2530.            The Output from this example would be:
  2531.  
  2532.                                                 ______          _______
  2533.                 This paragraph will appear with italic words in italics.
  2534.                 You  might  wish to use this for important words.  Prose
  2535.                                              _______
  2536.                 will continue to print using italics until you  use  the
  2537.                                                 ______
  2538.                 font character to terminate the italic typeface.
  2539.  
  2540.            If  you  forget the ending font character, all of the words to the
  2541.            end of the paragraph will be in the different typeface.   Whenever
  2542.            Prose  does a paragraph break it turns off underlining and returns
  2543.            to the current Font command definition.  For example, we'll remove
  2544.                                                   _______
  2545.            the up-bar from the second instance of italics.
  2546.  
  2547.                                            _______ _   ___ __ ________
  2548.                                            Chapter 4   The HP LaserJet     41
  2549.  
  2550.  
  2551.  
  2552.                 This  paragraph  will  appear  with  |2italic|  words in
  2553.                 |2italics|.  You might wish to use  this  for  important
  2554.                 words.   Prose  will  continue  to print using |2italics
  2555.                 until you use the font character to terminate the italic
  2556.                 typeface.
  2557.  
  2558.            The output from this example would be:
  2559.  
  2560.                                                 ______          _______
  2561.                 This paragraph will appear with italic words in italics.
  2562.                 You might wish to use this for important  words.   Prose
  2563.                                                _______ _____ ___ ___ ___
  2564.                 will  continue  to print using italics until you use the
  2565.                 ____ _________ __ _________ ___ ______ _________
  2566.                 font character to terminate the italic typeface.
  2567.  
  2568.  
  2569.     ____ _______
  2570.     Line Printer
  2571.  
  2572.            What if you need  to  print  your  document  on  a  standard  line
  2573.            printer?  All you need to do is change your Output command back to
  2574.            the line printer.
  2575.  
  2576.                 .output(lpt s4)
  2577.  
  2578.                                                         ____      ______
  2579.            Prose will take any of your  text  that  is  bold  or  italic  and
  2580.            _________
  2581.            underline it on the line printer copy.
  2582.  
  2583.                 This   paragraph   will   appear  with  |2italic|  words
  2584.                 underlined.  Note that  we  are  still  using  the  font
  2585.                 character  to  define  |2italic|  words.   We  let Prose
  2586.                 automatically adjust the output if we don't have  access
  2587.                 to a LaserJet printer.
  2588.  
  2589.            The line printer output from this example would be:
  2590.  
  2591.                                                 ______
  2592.                 This paragraph will appear with italic words underlined.
  2593.                 Note that we are  still  using  the  font  character  to
  2594.                         ______
  2595.                 define  italic words.  We let Prose automatically adjust
  2596.                 the output  if  we  don't  have  access  to  a  LaserJet
  2597.                 printer.
  2598.  
  2599.  
  2600.     _________ _______
  2601.     Half-Line Spacing
  2602.  
  2603.            The  LaserJet  supports  half-line  spacing.   This means an extra
  2604.            half-line's worth of vertical spacing can be inserted between  two
  2605.            lines.   You  specify  the half-line spacing by adding a plus sign
  2606.            after the number of lines to skip.
  2607.  
  2608.                 .skip 0+.comment  This skips half a line
  2609.                 .skip 1+.comment  This skips one and a half lines
  2610.  
  2611.            Note that line printers cannot perform half-line spaces.  When you
  2612.            print  a  document  with  half-line  spaces on a line printer, the
  2613.            half-lines will be ignored.
  2614.  
  2615.            _______ _   ___ __ ________
  2616.     42     Chapter 4   The HP LaserJet
  2617.  
  2618.  
  2619.  
  2620.     _____ ___ ___________
  2621.     Fonts and Underlining
  2622.  
  2623.            You can combine different typefaces and underlining.  You must use
  2624.            the Prose underline character.
  2625.  
  2626.                 .input(u~ f|)
  2627.                 This  example shows both ~|1bold|~ and ~|2italic|~ words
  2628.                 in their respective typefaces and underlined.
  2629.  
  2630.            The resulting output would look like:
  2631.  
  2632.                                         ____     ______
  2633.                 This example shows both bold and italic words  in  their
  2634.                 respective typefaces and underlined.
  2635.  
  2636.  
  2637.     _____
  2638.     Forms
  2639.  
  2640.            You  cannot  specify  individual  fonts  within  the Form command.
  2641.            However, you can have the entire form in a font other than font 0.
  2642.                                                   ____ ___ ____ __ _______
  2643.            Prose  uses the font that is in effect when the form is defined to
  2644.            print the form.  This can be useful for introductory  pages  where
  2645.            you would like roman numeral page numbers in italics.
  2646.  
  2647.                 .font 2
  2648.                 .form([ // l55 / #33 pr:3 /])
  2649.                 .font 0
  2650.  
  2651.  
  2652.     ______ ___ _________
  2653.     Titles and Subtitles
  2654.  
  2655.            Both  the  Title  and Subtitle commands allow for different fonts.
  2656.                                                          ____  ___  _____  __
  2657.            If no font is specified, the font in  effect  when  the  title  or
  2658.            ________  __ _________
  2659.            subtitle  is specified is used.  The following example would print
  2660.            __________             _______
  2661.            Consulting in bold and Version in italics (we assume that  font  0
  2662.            was in effect):
  2663.  
  2664.                 .tit Robelle |1Solutions Technology| Inc.
  2665.                 .sub Prose |2Version| 3.1
  2666.  
  2667.  
  2668.     _______
  2669.     Indexes
  2670.  
  2671.            You  can  specify different fonts for index entries, but they have
  2672.            little effect.  Prose treats the font specifications as if  output
  2673.                                                 ____     ______
  2674.            were  for  the  line  printer (i.e., bold and italic words will be
  2675.            __________
  2676.            underlined).
  2677.  
  2678.  
  2679.     _________ ____
  2680.     Landscape Mode
  2681.  
  2682.            The L font cartridge provides fonts in  two  modes:  portrait  and
  2683.            landscape.   So  far,  we  have  described how to use the portrait
  2684.            mode.  In landscape mode, Prose prints from  left-to-right  across
  2685.            the length of the paper.
  2686.  
  2687.                                            _______ _   ___ __ ________
  2688.                                            Chapter 4   The HP LaserJet     43
  2689.  
  2690.  
  2691.  
  2692.            To  print  on  8  1/2" by 11" paper, we need to make the following
  2693.            changes for landscape mode:
  2694.  
  2695.            1. Shift the output text to center it and specify  landscape  mode
  2696.               on the Output command.
  2697.  
  2698.            2. Include the correct font description.
  2699.  
  2700.            3. Modify the right margin.
  2701.  
  2702.            4. Change  the  form to reduce the number of lines on the page and
  2703.               to use different tab positions.
  2704.  
  2705.            5. Change the columns for the Sortindex command.
  2706.  
  2707.            Landscape capability was added to Prose so that you could use  the
  2708.            various  Courier fonts of the L cartridge.  It is very likely that
  2709.            you will run into limits within Prose if  you  attempt  to  define
  2710.            Landscape forms for the tiny lineprinter font.
  2711.  
  2712.  
  2713.     ______ _______
  2714.     Output Command
  2715.  
  2716.            We will shift the output to the right (to leave 1" margins) and we
  2717.            will specify landscape mode.
  2718.  
  2719.                 .output(las s8 L+)
  2720.  
  2721.  
  2722.     ____ _______ ____
  2723.     Font Include File
  2724.  
  2725.            Use the following include file for landscape mode:
  2726.  
  2727.                 .output(las s8 L+)
  2728.                 .include F92286L2.qlibdata.robelle
  2729.                 .input(f|)
  2730.  
  2731.            You change fonts in the same manner as for portrait.  You can  use
  2732.            the Font command or the font character.  The F92286L2 include file
  2733.            defines the following fonts:
  2734.  
  2735.                 Font  Description
  2736.  
  2737.                  0    Courier
  2738.                       ____
  2739.                  1    Bold
  2740.                       _______
  2741.                  2    Italics
  2742.                       ____
  2743.                  3    Bold (for compatibility with Helvetica bold)
  2744.                  4    Lineprinter (for compatibility with Roman small)
  2745.                  5    Courier medium (see proportional fonts below)
  2746.                  6    Lineprinter
  2747.  
  2748.            _______ _   ___ __ ________
  2749.     44     Chapter 4   The HP LaserJet
  2750.  
  2751.  
  2752.  
  2753.     _______
  2754.     Margins
  2755.  
  2756.            The right margin must be extended because we  are  writing  across
  2757.            eleven  inches  of  paper.   We  define  a  right margin of ninety
  2758.            characters which leaves one inch margins on either side.
  2759.  
  2760.                 .margin(r90)
  2761.  
  2762.  
  2763.     _____
  2764.     Forms
  2765.  
  2766.            Our paper is  wider  and  shorter  in  landscape  mode.   Use  the
  2767.            following  form  definition  in  landscape  mode  for the standard
  2768.            two-page alternating form:
  2769.  
  2770.                 .for([ t #51 s:40 // l41 / #44 "-" pn:1 "-" /]
  2771.                 +    [ s #51 t:40 // l41 / #44 "-" pn:1 "-" /])
  2772.  
  2773.  
  2774.     _______
  2775.     Indexes
  2776.  
  2777.            If you use our suggested Sortindex command,
  2778.  
  2779.                 .sortindex(c+ f. m14 p48 l0 r0)
  2780.  
  2781.            you would change it to the following:
  2782.  
  2783.                 .sortindex(c+ f. m25 p55 l0 r0)
  2784.  
  2785.  
  2786.     ____________ _____
  2787.     Proportional Fonts
  2788.  
  2789.            The B and F  font  cartridges  provide  Times  Roman  proportional
  2790.            typefaces.   The TMS RMN typeface is similar to the typefaces used
  2791.            in professionally produced books and magazines.  For an example of
  2792.            a  document  that  can  be printed with the TMS RMN fonts, see the
  2793.            Qedit user manual, Qedit.Doc.Robelle.
  2794.  
  2795.            While these font cartridges produce excellent  results,  they  are
  2796.            more  difficult  to use than the Courier font cartridge.  Remember
  2797.            that in proportional typefaces every letter is a  different  size.
  2798.            Most  letters are smaller than their Courier counterparts, so that
  2799.            more words are placed on each line.
  2800.  
  2801.  
  2802.     __________
  2803.     Dimensions
  2804.  
  2805.            Commands  dealing  with  columns  assume  a  fixed  column  width.
  2806.            Previous  versions  of Prose assumed that there were 10 characters
  2807.            in every inch.  The Margin, Form, and Sortindex command work  with
  2808.            columns.  Once we switch to proportional fonts, it is necessary to
  2809.            decide what measurement devices to use.
  2810.  
  2811.                                                ______
  2812.            Prose uses a default of 30 dots per column (there are 300 dots per
  2813.  
  2814.                                            _______ _   ___ __ ________
  2815.                                            Chapter 4   The HP LaserJet     45
  2816.  
  2817.  
  2818.  
  2819.            inch),  which  is  compatible  with  previous  versions.   Seventy
  2820.            columns of 10-pitch text leaves a 3/4" margin on either side  when
  2821.            using 8 1/2" by 11" paper.  The laser option of the Output command
  2822.            will accept a different width (in dots) to use  as  the  base  for
  2823.            determining columns.  This affects the following:
  2824.  
  2825.            1. Margins.
  2826.  
  2827.            2. Tabbing within forms (e.g., .form([#20 t])).
  2828.  
  2829.            3. The field width in forms (e.g., .form([t:20])).
  2830.  
  2831.            4. Sortindex command.
  2832.  
  2833.            5. Tabs within text (using the tab character).
  2834.  
  2835.            We  will show how to design a document to use 30 dots as the basic
  2836.            unit of column measurement.  Later, we will  show  how  to  use  a
  2837.            smaller unit.
  2838.  
  2839.  
  2840.     _____ _____
  2841.     Basic Steps
  2842.  
  2843.            We  continue  to  assume  that  your  documents will be printed on
  2844.            standard writing  paper  (i.e.,  8  1/2"  by  11").   Proportional
  2845.            typefaces are more dense than fixed typefaces.  We will reduce the
  2846.            width of printed text to leave a one inch margin  (65  columns  of
  2847.            text).    You   will   need  to  follow  these  steps  to  produce
  2848.            nice-looking, proportionally spaced documents:
  2849.  
  2850.            1. Shift the output text to center it on the page.
  2851.  
  2852.            2. Include the correct font description.
  2853.  
  2854.            3. Modify the right margin.
  2855.  
  2856.            4. Change the Form command to use different tab positions.
  2857.  
  2858.            5. Add tab characters to keep text aligned in columns.
  2859.  
  2860.            6. Adjust the Paragraph and Margin command for lists of points.
  2861.  
  2862.            7. Change the column positions of the Sortindex command.
  2863.  
  2864.  
  2865.     ______ _______
  2866.     Output Command
  2867.  
  2868.            To start, we will shift the text more to the right with the Output
  2869.            command.  We will explicitly specify the column width, even though
  2870.            the default is 30.
  2871.  
  2872.                 .output(las 30 s8)
  2873.  
  2874.            _______ _   ___ __ ________
  2875.     46     Chapter 4   The HP LaserJet
  2876.  
  2877.  
  2878.  
  2879.     ____ _______ ____
  2880.     Font Include File
  2881.  
  2882.            You will have to include the correct  font  description  file  for
  2883.            your  font cartridge.  If you have the B font cartridge, you would
  2884.            use:
  2885.  
  2886.                 .output(las 30 s8)
  2887.                 .include <F92286B>
  2888.                 .input(f|)
  2889.  
  2890.            If you have the F font cartridge, you would use:
  2891.  
  2892.                 .output(las 30 s8)
  2893.                 .include <F92286F>
  2894.                 .input(f|)
  2895.  
  2896.            Fonts continue to be identified by a number which  corresponds  to
  2897.            the  "keep"  buffer  for  the  font.   The F92286B and the F92286F
  2898.            include files define the following fonts:
  2899.  
  2900.                 Font  Description
  2901.  
  2902.                  0    Roman medium
  2903.                       ____
  2904.                  1    Bold
  2905.                       _______
  2906.                  2    Italics
  2907.                       _________ ____
  2908.                  3    Helvetica bold
  2909.                  4    Roman small and light
  2910.                  5    Courier medium (fixed typeface)
  2911.                  6    Lineprinter (fixed typeface)
  2912.  
  2913.            You change type fonts in exactly the same way as for Courier.  You
  2914.            can use the Font command or the font character.
  2915.  
  2916.  
  2917.     _______
  2918.     Margins
  2919.  
  2920.            We  recommend that your documents be 65 columns wide.  This is the
  2921.            right margin you would use:
  2922.  
  2923.                 .margin(r65)
  2924.  
  2925.            To make it easier to convert back  to  line  printer  output,  you
  2926.            should  add  a  margin(r65)  command to the line defining the line
  2927.            printer:
  2928.  
  2929.                 .comment.output(lpt s7).mar(r65)
  2930.                 .output(las 30 s8).mar(r65)
  2931.  
  2932.                                            _______ _   ___ __ ________
  2933.                                            Chapter 4   The HP LaserJet     47
  2934.  
  2935.  
  2936.  
  2937.     _____
  2938.     Forms
  2939.  
  2940.            Prose's built-in form, as well as the forms that we often used  in
  2941.            the  past, produce documents with 70-column margins.  We will need
  2942.            to modify the forms to restrict them to 65 columns.  The new  Form
  2943.            command would be:
  2944.  
  2945.                 .form([ t #26 s:40 // l55 / #33 "-" pn:1 "-" /]
  2946.                 +     [ s #26 t:40 // l55 / #33 "-" pn:1 "-" /])
  2947.  
  2948.            If  you  wish  to have introductory pages with no titles and roman
  2949.            numeral page numbers centered at the bottom of the page, you would
  2950.            use:
  2951.  
  2952.                 .form([ // l55 / #33 pr:3 /])
  2953.  
  2954.            If you wanted the roman numeral page numbers to appear in italics,
  2955.            you would use:
  2956.  
  2957.                 .font 2.comment select italic
  2958.                 .form([ // l55 / #33 pr:3 /])
  2959.                 .font 0.comment return to roman medium
  2960.  
  2961.  
  2962.     ____
  2963.     Tabs
  2964.  
  2965.            Having text line up in columns is easy with Courier (or any fixed)
  2966.            typeface.   You  just  align the text in your original file and it
  2967.            appears lined up in your output listing.  Because  each  character
  2968.            in  proportional  typefaces  has  a different width, aligning text
  2969.            visually no longer works.  Instead,  you  have  to  define  a  tab
  2970.            character with the Input command and tab across the page.
  2971.  
  2972.                                      ________ ______
  2973.            Take  an example from the Managing XPRESS manual.  This is how the
  2974.            output looks, without tabs:
  2975.  
  2976.                 MAIL     XPRESS program files to :Run.
  2977.                 MAILDB   Database and schema, password file.
  2978.                 CATALOG  Message catalog and XPRESS UDC file.
  2979.                 JOB      Sample job streams.
  2980.                 DOC      Manuals and other documentation.
  2981.                 HELP     On-line help text.
  2982.  
  2983.            When this input text is converted into  proportional  output,  the
  2984.            left  edge  of the second column wavers left and right.  It is not
  2985.            in a straight line, as it was in the input.  The reason is simple:
  2986.            the characters in the first column are not all the same width.
  2987.  
  2988.            To  resolve  the  problem,  and  make  the output correct for both
  2989.            Courier and TMS RMN fonts, we define a tab character and use it to
  2990.            align the descriptions:
  2991.  
  2992.            _______ _   ___ __ ________
  2993.     48     Chapter 4   The HP LaserJet
  2994.  
  2995.  
  2996.  
  2997.                 .input(t#)
  2998.                 MAIL      #16XPRESS program files to :Run.
  2999.                 MAILDB    #16Database and schema, password file.
  3000.                 CATALOG   #16Message catalog and XPRESS UDC file.
  3001.                 JOB       #16Sample job streams.
  3002.                 DOC       #16Manuals and other documentation.
  3003.                 HELP      #16On-line help text.
  3004.  
  3005.            How  did  we pick column 16 to tab to?  We just used the column in
  3006.            the input text file where we wanted the columns to appear.
  3007.  
  3008.            Be careful that your input line is not already past the designated
  3009.            tab  column  when  you  insert  the #.  If it is, the tab may work
  3010.            properly with TMS RMN (where most characters are smaller than  one
  3011.            column),  but  fail  on the line printer.  If you are already past
  3012.            the tab column, Prose ignores the tab function.  There is no error
  3013.            message.
  3014.  
  3015.  
  3016.     __________
  3017.     Paragraphs
  3018.  
  3019.            The  Paragraph  command  defines  a  character that is used at the
  3020.            beginning of paragraphs.  Additionally, you can use the  paragraph
  3021.            character  to  produce a nicely formatted list of points.  Without
  3022.            proportional spacing, you could use Undent 4 and shift the  Margin
  3023.            right 4 spaces, as follows:
  3024.  
  3025.              .font 5
  3026.              .paragraph(f` s1 p5 u4)
  3027.              .margin(l+4)
  3028.              `1.@@XPRESS sends messages to Helpman when it finds problems
  3029.              in the MAIL database.
  3030.              `2.@@Helpman is the only user who can use the MAINT program to
  3031.              define new users, change users, define "machines", and
  3032.              otherwise configure XPRESS.
  3033.              .margin
  3034.  
  3035.            The output would look like:
  3036.  
  3037.              1.  XPRESS sends messages to Helpman when it finds problems in
  3038.                  the MAIL database.
  3039.  
  3040.              2.  Helpman  is the only user who can use the MAINT program to
  3041.                  define new users, change  users,  define  "machines",  and
  3042.                  otherwise configure XPRESS.
  3043.  
  3044.            Actually,  a list of points is an example of column-oriented text.
  3045.            To make this text look nice with proportional fonts, we will  need
  3046.            to  add  some  tabs.   Because numeric characters are so small, we
  3047.            will indent points three columns instead of four:
  3048.  
  3049.                                            _______ _   ___ __ ________
  3050.                                            Chapter 4   The HP LaserJet     49
  3051.  
  3052.  
  3053.  
  3054.              .paragraph(f` s1 p5 u3)
  3055.              .margin(l+3)
  3056.              `1.@#4XPRESS sends messages to Helpman when it finds problems
  3057.              in the MAIL database.
  3058.              `2.@#4Helpman is the only user who can use the MAINT program
  3059.              to define new users, change users, define "machines", and
  3060.              otherwise configure XPRESS.
  3061.              .margin
  3062.  
  3063.            The resulting output would look like:
  3064.  
  3065.              1. XPRESS sends messages to Helpman when it finds problems  in
  3066.                 the MAIL database.
  3067.  
  3068.              2. Helpman  is  the only user who can use the MAINT program to
  3069.                 define new users,  change  users,  define  "machines",  and
  3070.                 otherwise configure XPRESS.
  3071.  
  3072.            This set of commands will produce nice results whether your output
  3073.            font is fixed or proportional.   There  is  one  restriction  when
  3074.            using  this  method.   You  should limit yourself to lists of less
  3075.            than ten points.  Points with two digits (e.g.,  "10.")  will  not
  3076.            have  a  space  after  the period when they are printed in a fixed
  3077.            typeface.
  3078.  
  3079.  
  3080.     _______
  3081.     Indexes
  3082.  
  3083.            The Sortindex command uses column positions to specify  where  the
  3084.            text  and  the  page number should start.  Because we have shifted
  3085.            the output to the right, we will need a slight change to  existing
  3086.            Sortindex commands that worked with 70-column output:
  3087.  
  3088.                 .sortindex(c+ f. m15 p52 l0 r0).com For 70 columns
  3089.  
  3090.            You would change it to the following:
  3091.  
  3092.                 .sortindex(c+ f. m14 p48 l0 r0).com For 65 columns
  3093.  
  3094.  
  3095.     ___________
  3096.     Indentation
  3097.  
  3098.            With  fixed-size  fonts,  leaving three blanks at the beginning of
  3099.            the line was the same as shifting the left margin  three  columns.
  3100.            With  proportional fonts, this is no longer so.  A TMS Roman blank
  3101.            is 17 dots wide, but each margin column  is  30  dots  wide.   You
  3102.            should  either do indentation using Prose commands or by indenting
  3103.            spaces, but not by using both in the same piece of text.
  3104.  
  3105.            _______ _   ___ __ ________
  3106.     50     Chapter 4   The HP LaserJet
  3107.  
  3108.  
  3109.  
  3110.     ____ _______
  3111.     Line Printer
  3112.  
  3113.            All Robelle documentation is formatted and  printed  using  Prose.
  3114.            We  use Prose to produce typeset documents on our LaserJet, but we
  3115.            also need to convert these documents back to a  format  that  will
  3116.            print  correctly  on  a  standard  line  printer.   To  convert  a
  3117.            proportionally spaced document back to line printer format we  are
  3118.            concerned with the following:
  3119.  
  3120.            1. Output command.
  3121.  
  3122.            2. Margin command.
  3123.  
  3124.            3. Form command.
  3125.  
  3126.            4. Sortindex command.
  3127.  
  3128.            5. Tabbing.
  3129.  
  3130.            6. Table of contents.
  3131.  
  3132.            One  common  format  is to have sixty-five columns of text, giving
  3133.            you one inch margins on either side of the page.  You only need to
  3134.            change  the Output command to switch from the LaserJet to the line
  3135.            printer.
  3136.  
  3137.            You must be careful with examples.   With  proportional  typefaces
  3138.            there  are  more characters in 65 columns, because most characters
  3139.            are smaller than 30 dots wide.  For involved examples, you  should
  3140.            switch to Courier and restrict the example to 65 columns.
  3141.  
  3142.            With  proportional typefaces, more text fits on each page.  If you
  3143.            manually maintain a table of contents, you will have to revise  it
  3144.            once you switch back to line printer output.
  3145.  
  3146.  
  3147.     _____ ____ __________
  3148.     Other Font Cartridges
  3149.  
  3150.            Each  LaserJet  font cartridge has one or more corresponding files
  3151.            in the Qlibdata group of the Robelle  account.   These  files  all
  3152.            start  with  "F92286"  and  end  with the letter code for the font
  3153.            cartridge.  The first few lines of each file  describe  the  Prose
  3154.            font numbers for each different LaserJet font.
  3155.  
  3156.            To  use  a different font cartridge, include the correct file from
  3157.            the Qlibdata group and follow the steps described at the beginning
  3158.                                  _______ _______
  3159.            of this chapter under Getting Started.
  3160.  
  3161.                                            _______ _   ___ __ ________
  3162.                                            Chapter 4   The HP LaserJet     51
  3163.  
  3164.  
  3165.  
  3166.     _____ ______ __________
  3167.     Finer Column Resolution
  3168.  
  3169.            Using  our examples, you should be able to produce good results on
  3170.            your LaserJet.  A bonus with these methods is that you can  switch
  3171.            back  to  the  line  printer  by  changing  one thing:  the Output
  3172.            command.  It is possible to gain finer column resolution  in  your
  3173.            LaserJet  document,  at  the cost of making it difficult to switch
  3174.            back to the line printer.  The  instructions  below  show  how  to
  3175.            define  20 columns per inch instead of 10, but it does not buy you
  3176.            a  better-looking  printout.   Every  character  will  be  printed
  3177.            exactly  as it is now; the only difference will be your ability to
  3178.            place tab stops and margins a little more precisely.  If you  have
  3179.            cases  where  you  would  like to tab to column 16-and-a-half, for
  3180.            instance, this would allow you to do it.
  3181.  
  3182.  
  3183.     _______
  3184.     Columns
  3185.  
  3186.            There are 300 dots per inch.  We have been using 30  dots  as  the
  3187.            basic  column  measurement.   This  gives  300/30 = 10 columns per
  3188.            inch, equivalent to 10-pitch type.  One Courier space, defined  as
  3189.            30  dots  wide,  is  almost  twice the size of the TMS Roman space
  3190.            which is 17 dots wide.  The following command specifies  a  column
  3191.            width of 15 dots, so tabs can be more accurately placed.
  3192.  
  3193.                 .output(las 15).comment 15 dots per column, not 30
  3194.  
  3195.            So,  at 300 printable dots per inch and 15 dots per column, we can
  3196.            print 20 columns per inch.  This  is  going  to  mean  that  every
  3197.            reference to column positions in your document must be adjusted.
  3198.  
  3199.  
  3200.     _______
  3201.     Margins
  3202.  
  3203.            Margin  definitions in Prose use the column width specified in the
  3204.            Output command.  In Courier, the space takes 30  dots  (there  are
  3205.            300  dots  to  the  inch).  We recommend that your documents be 65
  3206.            columns wide.  Since 15 dots are exactly one-half the width of  30
  3207.            dots,  you can adjust all column references, including margins, by
  3208.            multiplying them by 2.
  3209.  
  3210.                 .margin(r65)
  3211.  
  3212.            becomes
  3213.  
  3214.                 .margin(r130)
  3215.  
  3216.  
  3217.     _____
  3218.     Forms
  3219.  
  3220.            The Forms described  elsewhere  in  the  Prose  documentation  all
  3221.            assume 30 dots per column.  The tab character in the Form is based
  3222.            on the width of the column defined in  the  Output  command.   You
  3223.            will  need to double all of the column numbers in your Form if you
  3224.  
  3225.            _______ _   ___ __ ________
  3226.     52     Chapter 4   The HP LaserJet
  3227.  
  3228.  
  3229.  
  3230.            switch from 30 to 15 dots per column.  For example,
  3231.  
  3232.                 .form([ t #26 s:40 // l55 / #33 "-" pn:1 "-" /]
  3233.                 +     [ s #26 t:40 // l55 / #33 "-" pn:1 "-" /])
  3234.  
  3235.            becomes
  3236.  
  3237.                 .form([ t #52 s:80 // l55 / #66 "-" pn:1 "-" /]
  3238.                 +     [ s #52 t:80 // l55 / #66 "-" pn:1 "-" /])
  3239.  
  3240.            If you wish to have introductory pages with no  titles  and  roman
  3241.            numeral page numbers centered at the bottom of the page, you would
  3242.            use:
  3243.  
  3244.                 .form([ // l55 / #66 pr:3 /])
  3245.  
  3246.  
  3247.     _______
  3248.     Tabbing
  3249.  
  3250.            We have shown the need for tabs in aligning proportionally  spaced
  3251.            text.   When using 15 dots as the basic dimension, you must double
  3252.            your usual tab columns.  Previously, you would use:
  3253.  
  3254.                 MAIL      #16XPRESS program files to :Run.
  3255.                 MAILDB    #16Database and schema, password file.
  3256.                 CATALOG   #16Message catalog and XPRESS UDC file.
  3257.  
  3258.            now you will use:
  3259.  
  3260.                 MAIL      #32XPRESS program files to :Run.
  3261.                 MAILDB    #32Database and schema, password file.
  3262.                 CATALOG   #32Message catalog and XPRESS UDC file.
  3263.  
  3264.  
  3265.     _______
  3266.     Indexes
  3267.  
  3268.            The Sortindex command uses column positions to specify  where  the
  3269.            text  and the page number should start.  These will not be correct
  3270.            with Output (LAS 15).   For  example,  to  convert  the  65-column
  3271.            Sortindex command:
  3272.  
  3273.                 .sortindex(c+ f. m14 p48 l0 r0)
  3274.  
  3275.            becomes
  3276.  
  3277.                 .sortindex(c+ f. m28 p96 l0 r0)
  3278.  
  3279.                                                                            53
  3280.  
  3281.  
  3282.  
  3283.  
  3284.     _______ _   _____ ________
  3285.     Chapter 5   Prose Commands
  3286.  
  3287.  
  3288.                 _  _______ _____
  3289.                 ⁿ  General Notes
  3290.                 _  _____ ________ _ _ _
  3291.                 ⁿ  Prose Commands A - Z
  3292.  
  3293.  
  3294.     _______ _____
  3295.     General Notes
  3296.  
  3297.            Prose  automatically fills and justifies output lines, and formats
  3298.            the output into pages.  Commands are needed to instruct  Prose  to
  3299.            do anything fancier.  There are commands to change the margins, to
  3300.            control options, and to define  the  type  of  output  device  you
  3301.            intend  to  use.   Full  descriptions  of each command will follow
  3302.            these general notes.
  3303.  
  3304.  
  3305.     _______ _________
  3306.     Command Character
  3307.  
  3308.            A line of commands is indicated by typing the "command"  character
  3309.            in the first column of an input line (usually a ".").
  3310.  
  3311.                 .margin
  3312.  
  3313.            The  period  was chosen as the default command character (although
  3314.            you can change it if you wish) because it seems very unlikely that
  3315.            anyone  would  want to type a period in the first column of a line
  3316.            of text.
  3317.  
  3318.  
  3319.     _______ ____
  3320.     Command Name
  3321.  
  3322.            After the command character, you type the command name.  An  index
  3323.            entry, for example, is indicated by .inx:
  3324.  
  3325.                 .inx Prose command examples
  3326.  
  3327.            You  can  abbreviate  the  command name to three letters, as Prose
  3328.            only examines the first three letters.
  3329.  
  3330.                 .mar
  3331.                 .bre
  3332.                 .tit
  3333.  
  3334.            Although the examples in this manual will  usually  show  commands
  3335.            typed  entirely  in lowercase, uppercase and lowercase letters may
  3336.            be  intermixed.   The  following  three  examples  have  the  same
  3337.            meaning:
  3338.  
  3339.                 .BREAK
  3340.                 .break
  3341.                 .Break
  3342.  
  3343.            _______ _   _____ ________
  3344.     54     Chapter 5   Prose Commands
  3345.  
  3346.  
  3347.  
  3348.            The  command  can be indented from the command character.  This is
  3349.            especially useful when you have commands  inside  an  If  command,
  3350.            where  the  indenting  helps  to identify the commands with the If
  3351.            block.
  3352.  
  3353.                 .if condition
  3354.                 .  mar(l+3)
  3355.                 .endif
  3356.  
  3357.  
  3358.     ________ ___ ____ ________
  3359.     Multiple and Long Commands
  3360.  
  3361.            The entire line is scanned for commands.  Several commands may  be
  3362.            typed  on  the  same line, provided that they are separated by the
  3363.            command character.  The command character of the next  command  on
  3364.            the  line  can  be  separated  from the previous command by spaces
  3365.            (blanks).  For example:
  3366.  
  3367.                 .break.skip 2.margin(l5 r65)
  3368.                 .break  .skip 2  .margin ( l5 r65 )
  3369.  
  3370.            Some commands, however, take the remainder of the  line  as  their
  3371.            parameter,  and  so no other commands can follow these.  The Title
  3372.            command is an example:
  3373.  
  3374.                 .title Prose User Manual
  3375.  
  3376.            Long commands may extend to several lines.   Continued  lines  are
  3377.            indicated  by  a  plus  sign  ("+")  typed  in  column  one.   The
  3378.            continuation may be made anywhere that a blank  is  allowed.   For
  3379.            example:
  3380.  
  3381.                 .form([ // l55 // #73 'Page' p / ]
  3382.                 +     [ // l55        'Page' p / ])
  3383.  
  3384.  
  3385.     __________
  3386.     Parameters
  3387.  
  3388.            The  command  name  may  be  followed  by  a parameter, but in the
  3389.            absence of a parameter, default values are used.  There  are  four
  3390.            forms for the parameter:
  3391.  
  3392.              1)   The absence of any parameter:
  3393.  
  3394.                 .page
  3395.  
  3396.              2)   A single numeric value:
  3397.  
  3398.                 .indent 5
  3399.  
  3400.              3)   The remainder of the command line:
  3401.  
  3402.                 .title Prose User Manual
  3403.  
  3404.                                             _______ _   _____ ________
  3405.                                             Chapter 5   Prose Commands     55
  3406.  
  3407.  
  3408.  
  3409.              4)   A specification enclosed in parentheses, which consists
  3410.                    of descriptors defined by the command itself:
  3411.  
  3412.                 .margin(l+5)
  3413.  
  3414.            When  a  numeric value is required for a parameter or as part of a
  3415.            descriptor, an explicit positive integer may be  given.   In  many
  3416.            commands,  a  relative  value may be used.  This is indicated by a
  3417.            plus or minus sign before the integer, and indicates that the  old
  3418.            value  should  be  incremented or decremented by a certain amount.
  3419.            Spaces are not allowed within individual  parameters  (e.g.,  r70,
  3420.            but  not  r 70).  In the following example, the left margin is set
  3421.            to 10 and the right margin to 70.  Then, the margins are  squeezed
  3422.            together by 5 characters on both sides.
  3423.  
  3424.                 .margin(l10 r70)
  3425.                 .margin(l+5 r-5)
  3426.  
  3427.                                                          ___
  3428.            Any  parameters  of  the  command  that  are  not  specified, will
  3429.            continue with their existing value.  For example:
  3430.  
  3431.                 .margin(l10 r70).Comment sets both margins
  3432.                                                          ____
  3433.                 .margin(l+5).Comment changes left margin only
  3434.  
  3435.  
  3436.     ___ __________ ___________
  3437.     The Formatting Environment
  3438.  
  3439.            The formatting environment is defined to be all  the  options  and
  3440.            specifications  that  direct Prose as it produces formatted output
  3441.            from unformatted input.  The concepts that make up the  formatting
  3442.            environment  can  be loosely grouped into six areas, and there are
  3443.            commands to control each one:
  3444.  
  3445.            _____
  3446.            Input controls the meaning and  treatment  of  characters  on  the
  3447.            input file (i.e., special characters to search for, such as .input
  3448.            (u~) to define ~ as the underline character).
  3449.  
  3450.            ______
  3451.            Output describes the type of output file for which  the  formatted
  3452.            result is intended (.out (lpt s4) is a good choice).
  3453.  
  3454.            ____
  3455.            Form  specifies the format of the page into which the running text
  3456.            will be inserted.  This includes where to print  titles,  footers,
  3457.            etc.  There is a reasonable default Form.
  3458.  
  3459.            ______
  3460.            Margin sets, resets, and adjusts the left and right margins (e.g.,
  3461.            .mar(l+4 r-4) ).
  3462.  
  3463.            _________
  3464.            Paragraph describes special actions (such as indent and  skip)  to
  3465.            perform  at  the  beginning of each explicitly specified paragraph
  3466.            (e.g., .par (s1  f`)  to  skip  one  line  before  each  paragraph
  3467.            designated by "`" apostrophe).
  3468.  
  3469.            ______
  3470.            Option  controls the rest of the miscellaneous options that affect
  3471.            the text formatting process, including such important  details  as
  3472.  
  3473.            _______ _   _____ ________
  3474.     56     Chapter 5   Prose Commands
  3475.  
  3476.  
  3477.  
  3478.            centering  text  and  right-justifying text (e.g., .opt (l- r- f-)
  3479.            means to center text from now on).
  3480.  
  3481.            Of these six areas,  the  input,  margin,  option,  and  paragraph
  3482.            settings  are  likely to be changed often throughout the text.  In
  3483.            addition, there probably will  be  a  small  number  of  different
  3484.                             ________ _ _ ____ _______
  3485.            settings.   See  Appendix B - Keep Buffers for a method of storing
  3486.            and recalling standard settings using "keep buffers".
  3487.  
  3488.  
  3489.     _____ _______ __ ___ _____ ________
  3490.     Brief Summary of the Prose Commands
  3491.  
  3492.  
  3493.              _______    _______ ________           _____  _________ ____
  3494.              Command    Meaning (action)           Break  Parameter type
  3495.  
  3496.              Align      skip to odd-numbered page  *     -none-
  3497.              Bin        select LaserJet paper bins *     ( ... )
  3498.              Box        draw LaserJet boxes        *     ( ... )
  3499.              Break      break justification        *     -none-
  3500.              Check      check keep buffers               ( ... )
  3501.              Comment    non-printing comment             remainder
  3502.              Contents   print table of contents          ( ... )
  3503.              Count      set page count                   numeric
  3504.              Entry      store contents entry             ( ... ) remainder
  3505.              Font       change LaserJet font       *     ( ... ) numeric
  3506.              Form       define page format         *     ( ... )
  3507.              Headindex  define index heading             ( ... )
  3508.              Include    read text from another file      remainder
  3509.              Indent     indent following line      *     numeric
  3510.              Input      set input parameters             ( ... ) numeric
  3511.              Inx        store index entry                ( ... ) remainder
  3512.              Jump       skip output lines          *     numeric
  3513.              Literal    print literal text               remainder
  3514.              Margin     set margins                *     ( ... ) numeric
  3515.              Option     set options                *     ( ... ) numeric
  3516.              Output     set output parameters            ( ... )
  3517.              Page       eject to top of page       *     numeric
  3518.              Paragraph  set paragraphing parms           ( ... ) numeric
  3519.              PCL        print literal text         *     ( ... ) remainder
  3520.              Reset      reset command defaults     *     ( ... )
  3521.              Select     select pages to print      *     ( ... )
  3522.              Skip       skip output lines          *     numeric
  3523.              Sortindex  sort and print index       *     ( ... )
  3524.              Style      define and use styles      *     ( ... ) name
  3525.              Subtitle   set the subtitle                 remainder
  3526.              Tab        define tab stops           *     ( ... )
  3527.              Title      set the main title               remainder
  3528.              Undent     undent following line      *     numeric
  3529.  
  3530.            The commands marked with an asterisk ( * ) cause  a  justification
  3531.            break  before  they are processed, because they affect the filling
  3532.            and justifying environment.  Remainder means that the rest of  the
  3533.            line  is  used  as  the  parameter.   (  ... )  indicates that the
  3534.            parameter is enclosed in parentheses and is  described  in  detail
  3535.  
  3536.                                             _______ _   _____ ________
  3537.                                             Chapter 5   Prose Commands     57
  3538.  
  3539.  
  3540.  
  3541.            along with the description of the command itself.
  3542.  
  3543.            _______ _   _____ ________ _ _____
  3544.     58     Chapter 5   Prose Commands - Align
  3545.  
  3546.  
  3547.  
  3548.     _____ _______
  3549.     Align Command
  3550.  
  3551.            The  Align  command  causes  a  conditional page eject so that the
  3552.            current page will be an odd-numbered page.
  3553.  
  3554.                 ALIGN
  3555.  
  3556.            If the current page is an even-numbered page,  the  page  will  be
  3557.            ejected.   If  the  current  page  is  an  odd-numbered page, this
  3558.            command has no effect.  The Align command should only be used when
  3559.            you are at the start of a new page (i.e., immediately after a Page
  3560.            command).  The blank page is generated  by  first  writing  out  a
  3561.            blank  line,  then  sending  a  page eject.  This is equivalent to
  3562.            encountering a blank line followed by a PAGE command in the  text.
  3563.            In other words, the Align command produces no useful result if you
  3564.            use it in the middle of a page.
  3565.  
  3566.            Aligning to odd-numbered pages is usually done  for  starting  new
  3567.            sections on the right-hand side of a page:
  3568.  
  3569.                 .page
  3570.                 .align
  3571.  
  3572.            The  blank  page  produced  by  this command uses the current form
  3573.            specification.  You may want to have a special form for the  blank
  3574.            page.   For  example,  you  might  want  the blank page to have no
  3575.            titles, no subtitles, and no page numbers.  To do this, you  would
  3576.            need  to use a new form specification immediately before the Align
  3577.            command, and re-enter the original form  specification  after  the
  3578.            Align command.
  3579.  
  3580.                 .com   The form for the introduction has no titles and
  3581.                 .com   uses Roman numeral page numbers.
  3582.                 .com
  3583.                 .form([ // L55 / pr / ])
  3584.                 This is the introduction on page 1 ...
  3585.                 .page
  3586.                 .com
  3587.                 .com     The form for the blank page has no titles nor
  3588.                 .com     page numbers
  3589.                 .com
  3590.                 .form([ // L55 // ])
  3591.                 .align
  3592.                 .com
  3593.                 .com     Now comes our standard form with titles and
  3594.                 .com     regular page numbers.
  3595.                 .com
  3596.                 .form([ T #26 S:40 // L55 / #33 "-" pn:1 "-" ]
  3597.                 +      [ S #26 T:40 // L55 / #33 "-" pn:1 "-" ])
  3598.                 This is a new section on an odd-numbered page ...
  3599.  
  3600.                                       _______ _   _____ ________ _ ___
  3601.                                       Chapter 5   Prose Commands - Bin     59
  3602.  
  3603.  
  3604.  
  3605.     ___ _______
  3606.     Bin Command
  3607.  
  3608.            The Bin command is used to select a LaserJet bin for Prose output.
  3609.            Bins are also called paper trays.
  3610.  
  3611.                       __________
  3612.                 BIN ( parameters )
  3613.  
  3614.            The Bin command tells the printer which paper source to use.  This
  3615.            command  does  not affect the current page, but the next available
  3616.            page.  However, if the current page is  blank,  then  the  current
  3617.            page  is  the  next  available  page.  You can use the Bin command
  3618.            before or after a Form; the effect is the same.
  3619.  
  3620.                 .BIN(TU)
  3621.                 .form([ /10 L47 ])
  3622.                 This is text on the first letterhead page
  3623.                 from the upper bin
  3624.                 .page
  3625.                 .form([ // L55 // ])
  3626.                 .BIN(TL)
  3627.                 This is text on the subsequent pages
  3628.                 from the lower bin
  3629.  
  3630.            The parameter consists of a key letter followed by a value.
  3631.  
  3632.            ___ ______  _______                ____       _______   ________
  3633.            Key Letter  Meaning                Type       Default   Relative
  3634.  
  3635.                T       which tray             number         0          no
  3636.                                                char         none
  3637.  
  3638.  
  3639.     ____
  3640.     Tray
  3641.  
  3642.            T: Specifies which paper tray to use.  You can use a number  or  a
  3643.               mnemonic  letter to specify the tray.  If you use a number, you
  3644.               use the same number as you would in  the  actual  PCL  command.
  3645.               The valid numbers are as follows:
  3646.  
  3647.               Num Tray
  3648.  
  3649.               1   upper tray
  3650.               2   manual feed
  3651.               3   envelope manual feed
  3652.               4   lower tray
  3653.               5   paper deck
  3654.  
  3655.               If  you  use  a  mnemonic letter, select one from the following
  3656.               list:
  3657.  
  3658.            _______ _   _____ ________ _ ___
  3659.     60     Chapter 5   Prose Commands - Bin
  3660.  
  3661.  
  3662.  
  3663.               Char Tray
  3664.  
  3665.               D    paper deck
  3666.               E    manual envelope feed
  3667.               M    manual feed
  3668.               L    lower tray
  3669.               U    upper tray
  3670.  
  3671.                                       _______ _   _____ ________ _ ___
  3672.                                       Chapter 5   Prose Commands - Box     61
  3673.  
  3674.  
  3675.  
  3676.     ___ _______
  3677.     Box Command
  3678.  
  3679.            The Box command is used to draw boxes for LaserJet  output,  using
  3680.            the LaserJet's PCL commands.
  3681.  
  3682.                       __________
  3683.                 BOX ( parameters )
  3684.  
  3685.            The  parameters  can  be in any order, and consist of a key letter
  3686.            followed  by  a  value.   The  following  table   summarizes   the
  3687.            parameters.
  3688.  
  3689.            ___ ______  _______                  ____      _______   ________
  3690.            Key Letter  Meaning                  Type      Default   Relative
  3691.  
  3692.                A       width of box in dots     number       0      no
  3693.                B       height of box in dots    number       0      no
  3694.                C       start of box in columns  number      +1      yes
  3695.                H       height of box in lines   number       1      no
  3696.                P       pattern type             number       0      no
  3697.                R       start of box in lines    number      +0      yes
  3698.                S       shading level            number       0      no
  3699.                T       thickness of box lines   number       1      no
  3700.                V       vertical offset in dots  number      -38     yes
  3701.                W       width of box in columns  number       margin yes
  3702.                X       start of box in dots     number       0      yes
  3703.                Y       start of box in dots     number       0      yes
  3704.  
  3705.            If  you  do not give any specifications for a Box command, it will
  3706.            use the default values.  The values do not carry over from one Box
  3707.            command  to  the  next.   For  example,  if  you draw a box with a
  3708.            thickness of 5 and a shading of 30 percent, the next box you  draw
  3709.            will  have  a  thickness  of 1 and shading of 0 percent.  The only
  3710.            exception is the V specification, which remains  at  a  new  value
  3711.            until you change it.
  3712.  
  3713.            The  default  box, with no specifications, begins on the next line
  3714.            at the start of the left margin, has a height of  1  line,  and  a
  3715.            width spanning the left and right margins.
  3716.  
  3717.            This  command is particularly useful for putting boxes around text
  3718.            for emphasis.  You can only use the Box  command  if  your  output
  3719.            device  is  a LaserJet, selected via a .out(las) command.  The Box
  3720.            command saves the current LaserJet cursor position before  drawing
  3721.            a  box, and restores the position after drawing.  The current line
  3722.            and character counts are not affected by  this  command.   If  the
  3723.            output device is not a LaserJet, the Box command has no effect.
  3724.  
  3725.            You can place the Box command before or after the text you want to
  3726.            box.  You may find placing the  Box  command  before  the  text  a
  3727.            little  easier,  especially  if  the box and the text start at the
  3728.            same location.
  3729.  
  3730.            _______ _   _____ ________ _ ___
  3731.     62     Chapter 5   Prose Commands - Box
  3732.  
  3733.  
  3734.  
  3735.                 .box
  3736.                 this box surrounds this line
  3737.  
  3738.                 the box is under this line
  3739.                 .box
  3740.  
  3741.  
  3742.     _____ __ ___ _ __ ____
  3743.     Width of Box - in Dots
  3744.  
  3745.            A: Specifies the width of the box in dots.  There are 300 dots per
  3746.               inch.  This option allows more precision than the W option.
  3747.  
  3748.  
  3749.     ______ __ ___ _ __ ____
  3750.     Height of Box - in Dots
  3751.  
  3752.            B: Specifies  the  height  of the box in dots.  There are 300 dots
  3753.               per inch.  This option allows more precision than the H option.
  3754.  
  3755.  
  3756.     _____ __ ___ _ __ _______
  3757.     Start of Box - in Columns
  3758.  
  3759.            C: Specifies  the horizontal starting position (upper left corner)
  3760.               of the box, in columns.  This is the same type of value as  you
  3761.               would  use  for  tabs.   Since  a  Box command does an implicit
  3762.               .break, the default (+1) is the start of the left margin on the
  3763.               next line.
  3764.  
  3765.  
  3766.     ______ __ ___ _ __ _____
  3767.     Height of Box - in Lines
  3768.  
  3769.            H: Specifies  the  height  of  the  box, in lines.  Half lines are
  3770.               specified by adding a plus sign  (+)  after  the  number.   The
  3771.               default is a height of 1 line.
  3772.  
  3773.  
  3774.     _______ ____
  3775.     Pattern Type
  3776.  
  3777.            P: Specifies  the  pattern  type  inside  a  box.  This is a value
  3778.               ranging from 0 to 6.  Pattern 0 (erase) is  only  available  on
  3779.               LaserJet  IIPs  and  up.   The  styles  of  the patterns are as
  3780.               follows:
  3781.  
  3782.               Value   Type of pattern
  3783.  
  3784.               0       erase the contents inside the box (white fill)
  3785.               1       horizontal lines
  3786.               2       vertical lines
  3787.               3       slash lines
  3788.               4       backslash lines
  3789.               5       square grid
  3790.               6       diagonal grid
  3791.  
  3792.                                       _______ _   _____ ________ _ ___
  3793.                                       Chapter 5   Prose Commands - Box     63
  3794.  
  3795.  
  3796.  
  3797.     _____ __ ___ _ __ _____
  3798.     Start of Box - in Lines
  3799.  
  3800.            R: Specifies the vertical starting position (upper left corner) of
  3801.               the box, in lines (rows).  Half lines are specified by adding a
  3802.               plus sign (+) after the number.  A line is one-sixth of an inch
  3803.               high (i.e., there are six lines per inch).  Since a Box command
  3804.               does an implicit .break, the default (+0) is the start  of  the
  3805.               left margin, on the next line.
  3806.  
  3807.  
  3808.     _______ _____
  3809.     Shading Level
  3810.  
  3811.            S: Specifies  the  level of shading inside a box.  This is a value
  3812.               ranging from 0 to 100 which specifies the percentage of shading
  3813.               (100  percent being solid black).  The LaserJet only supports 8
  3814.               levels of shading, so each level is actually represented  by  a
  3815.               range of values.
  3816.  
  3817.               Shade %    LaserJet shade level
  3818.  
  3819.               0%         don't fill the box with anything (default)
  3820.               1-2%       1 (light)
  3821.               3-10%      2
  3822.               11-20%     3
  3823.               21-35%     4
  3824.               36-55%     5
  3825.               56-80%     6
  3826.               81-99%     7
  3827.               100%       8 (solid black)
  3828.  
  3829.  
  3830.     _________ __ _____
  3831.     Thickness of Lines
  3832.  
  3833.            T: Specifies  the  thickness  of the lines used in boxes, in dots.
  3834.               If you use 0, the box will not have an outside border (e.g.,  a
  3835.               box  filled  with  a  pattern).   The  default  box  has a line
  3836.               thickness of 1.
  3837.  
  3838.  
  3839.     ________ ______
  3840.     Vertical Offset
  3841.  
  3842.            V: This option is meant for advanced users.  The Box command draws
  3843.               boxes  starting in the upper left corner of the character cell.
  3844.               The LaserJet, however, positions the character cursor lower  in
  3845.               the  cell,  at  three-quarters the Vertical Motion Index value.
  3846.               The V option lets you compensate for this difference  when  you
  3847.               use relative vertical positions for a box.
  3848.  
  3849.               The  units for the vertical offset are in dots.  The default is
  3850.               -38 dots, which is three-quarters of the default  LaserJet  VMI
  3851.               of  8/48ths  of  an  inch  (50 dots; 6 lines per inch).  If you
  3852.               change  the  VMI,  you  must  change  the  vertical  offset  to
  3853.               three-quarters of the new VMI value.  For example, if you use a
  3854.               VMI of 9.6/48ths of an inch (60 dots; 5 lines  per  inch),  you
  3855.  
  3856.            _______ _   _____ ________ _ ___
  3857.     64     Chapter 5   Prose Commands - Box
  3858.  
  3859.  
  3860.  
  3861.               need a vertical offset of -45.
  3862.  
  3863.  
  3864.     _____ __ ___ _ __ _______
  3865.     Width of Box - in Columns
  3866.  
  3867.            W: Specifies  the  width of the box, in columns.  The default is a
  3868.               width spanning the left and right margins.
  3869.  
  3870.  
  3871.     _____ __ ___ _ __ ____
  3872.     Start of Box - in Dots
  3873.  
  3874.            X: Specifies the horizontal starting position of the box, in dots.
  3875.               This option allows more precision than the C option.
  3876.  
  3877.  
  3878.     _____ __ ___ _ __ ____
  3879.     Start of Box - in Dots
  3880.  
  3881.            Y: Specifies  the  vertical starting position of the box, in dots.
  3882.               This option allows more precision than the R option.
  3883.  
  3884.  
  3885.     ________
  3886.     Examples
  3887.  
  3888.            If this manual was printed in LaserJet mode (i.e., .out(las)), you
  3889.            will  be able to see the actual boxes drawn by the Box commands in
  3890.            the following examples.   If  this  manual  was  printed  in  line
  3891.            printer  mode  (i.e., .out(lpt)), you won't see the results of the
  3892.            Box commands.
  3893.  
  3894.            1. Draw a box at the current position, 1 line high, with  a  width
  3895.               spanning the current left and right margins.
  3896.  
  3897.                    .box
  3898.  
  3899.            2. Draw a box that is 5 columns over, 16 columns wide, and 2 lines
  3900.               high.
  3901.  
  3902.                    .box(c+6 w16 h2)
  3903.  
  3904.  
  3905.            3. Draw a box that is 2 lines high,  which  extends  half  a  line
  3906.               above  and  half  a line below the current text.  Place the Box
  3907.               command before the text.
  3908.  
  3909.                    .box(h2 r-0+)
  3910.  
  3911.  
  3912.            4. Draw a box 3 dots thick.
  3913.  
  3914.                    .box(t3)
  3915.  
  3916.                                       _______ _   _____ ________ _ ___
  3917.                                       Chapter 5   Prose Commands - Box     65
  3918.  
  3919.  
  3920.  
  3921.            5. Draw a box with a 10 percent shading.
  3922.  
  3923.                    .box(s2)
  3924.  
  3925.            6. Draw a box with a vertical pattern and no outside border.
  3926.  
  3927.                    .box(p2 t0)
  3928.  
  3929.            7. Draw a horizontal line (a box with no height).  Place  the  Box
  3930.                       ______
  3931.               command before the text, to create a line above the text.
  3932.  
  3933.                    .box(h0)
  3934.  
  3935.            8. Draw  a  horizontal line (a box with no height).  Place the Box
  3936.                       _____
  3937.               command after the text, to create a line below the text.
  3938.  
  3939.                    .box(h0)
  3940.  
  3941.            _______ _   _____ ________ _ _____
  3942.     66     Chapter 5   Prose Commands - Break
  3943.  
  3944.  
  3945.  
  3946.     _____ _______
  3947.     Break Command
  3948.  
  3949.            Causes a justification break, without the need for a blank line.
  3950.  
  3951.                 BREAK
  3952.  
  3953.            For example:
  3954.  
  3955.            _____ __ ______
  3956.            Input to Prose:
  3957.  
  3958.                 * Prose supports attached printers.
  3959.                 .break
  3960.                 * Prose works with the LaserJet font cartridges.
  3961.                 .break
  3962.                 * Prose is consistent.        {no Break specified}
  3963.                 * Prose is written in Pascal.
  3964.  
  3965.            ______ ____ ______
  3966.            Output from Prose:
  3967.  
  3968.                 * Prose supports attached printers.
  3969.                 * Prose works with the LaserJet font cartridges.
  3970.                 * Prose is consistent.    * Prose is written in Pascal.
  3971.  
  3972.            When no Break is specified, Prose fills each line to  the  margin,
  3973.            as long as the option for filling output lines is switched on.
  3974.  
  3975.            A Break does not have to be specified with commands that reset the
  3976.                                                                         _____
  3977.            environment, such as Page, Skip, and Undent.  See the table  Brief
  3978.            _______  __ ___ _____ ________
  3979.            Summary  of the Prose Commands for a complete list of the commands
  3980.            that cause a justification break.
  3981.  
  3982.                                     _______ _   _____ ________ _ _____
  3983.                                     Chapter 5   Prose Commands - Check     67
  3984.  
  3985.  
  3986.  
  3987.     _____ _______
  3988.     Check Command
  3989.  
  3990.            The Check  command  is  used  to  validate  the  values  of  Prose
  3991.            variables.   If  you  are using styles, you do not need to use the
  3992.            Check command.
  3993.  
  3994.                         __________
  3995.                 CHECK ( parameters )
  3996.  
  3997.            The parameters can be in any order, and consist of  a  key  letter
  3998.            followed   by   a  value.   The  following  table  summarizes  the
  3999.            parameters.
  4000.  
  4001.            ___ ______  _______                  ____      _______   ________
  4002.            Key Letter  Meaning                  Type      Default   Relative
  4003.  
  4004.                C       contents keep buffer     number        0          no
  4005.                F       font keep buffer         number        0          no
  4006.                I       input keep buffer        number        0          no
  4007.                J       if stack level           number        0          no
  4008.                M       margin keep buffer       number        0          no
  4009.                O       option keep buffer       number        0          no
  4010.                P       paragraph keep buffer    number        0          no
  4011.  
  4012.            If a specification is not given, the corresponding keep buffer  is
  4013.            not  checked.   Otherwise,  the  current  keep  buffer  number  is
  4014.            compared to the value of the specification.   If  it  is  not  the
  4015.            same, it will result in a Prose error.
  4016.  
  4017.  
  4018.     ____________
  4019.     Introduction
  4020.  
  4021.            This  command  is  useful when you use keep buffers as a stack and
  4022.            you want to know if a particular keep buffer has  been  completely
  4023.            "popped".   For example, one frequent error is changing the margin
  4024.            for an indented part of the text, then forgetting  to  change  the
  4025.            margin  back.   The  result is that the rest of the output will be
  4026.            indented too much.  With  a  Check  command  at  the  end  of  the
  4027.            document, Prose can tell you if this has occurred.
  4028.  
  4029.                 The interesting excerpt is as follows:
  4030.  
  4031.                 .mar(l+5)
  4032.                 This excerpt is self-referential for no particular
  4033.                 reason except to refer to itself...
  4034.  
  4035.                 This is the real text again, but we forgot to use
  4036.                 a .mar command after the excerpt.
  4037.  
  4038.                 .comment The Check commands makes sure the Margin
  4039.                 .comment keep buffer is at zero.  If not, we must
  4040.                 .comment have forgotten a .mar somewhere.
  4041.                 .check(c1 f0 i1 m1 o1 p1 j0)
  4042.  
  4043.            The default value to check is 0, because all keep buffers start at
  4044.            0.  If you have a template that sets up  standard  settings,  then
  4045.  
  4046.            _______ _   _____ ________ _ _____
  4047.     68     Chapter 5   Prose Commands - Check
  4048.  
  4049.  
  4050.  
  4051.            you should check for 1 instead of 0.
  4052.  
  4053.  
  4054.     ________ ____ ______
  4055.     Contents Keep Buffer
  4056.  
  4057.            C: Check  the  .contents  keep buffer.  This is useful if you have
  4058.               indented subheadings in your table of contents.  Use c1 in  the
  4059.               Check  command  to  check your table of contents.  If you don't
  4060.               have a table of contents, use c0.
  4061.  
  4062.  
  4063.     ____ ____ ______
  4064.     Font Keep Buffer
  4065.  
  4066.            F: Check the .font keep buffer.  This is useful if you have blocks
  4067.                                                            _____
  4068.               of  text  in  another  font,  but you used a .font instead of a
  4069.               _____ _
  4070.               .font 0 to go back to the original font.
  4071.  
  4072.  
  4073.     _____ ____ ______
  4074.     Input Keep Buffer
  4075.  
  4076.            I: Check the .input keep buffer.  This is useful if you frequently
  4077.               redefine the Prose special characters.
  4078.  
  4079.  
  4080.     __ _____ _____
  4081.     If Stack Level
  4082.  
  4083.            J: Check  the  .if  level.   This  is useful if you have nested If
  4084.               commands.
  4085.  
  4086.  
  4087.     ______ ____ ______
  4088.     Margin Keep Buffer
  4089.  
  4090.            M: Check the .margin keep buffer.  This  is  useful  if  you  have
  4091.               indented text or lists with hanging indents.
  4092.  
  4093.  
  4094.     ______ ____ ______
  4095.     Option Keep Buffer
  4096.  
  4097.            O: Check   the  .option  keep  buffer.   This  is  useful  if  you
  4098.               frequently  change  the  justification  style  of   your   text
  4099.               (e.g., centering).
  4100.  
  4101.  
  4102.     _________ ____ ______
  4103.     Paragraph Keep Buffer
  4104.  
  4105.            P: Check  the  .paragraph  keep buffer.  This is useful if you use
  4106.               the number generator for numbered lists.
  4107.  
  4108.                                     _______ _   _____ ________ _ _____
  4109.                                     Chapter 5   Prose Commands - Check     69
  4110.  
  4111.  
  4112.  
  4113.     ____ _____ _____ ______
  4114.     Note About Using Styles
  4115.  
  4116.            If you are using styles, you can not use the Check command.   When
  4117.            you  use  styles,  you do not have a problem stacking keep buffers
  4118.            because a style will usually reset the keep buffer stack.
  4119.  
  4120.            _______ _   _____ ________ _ _______
  4121.     70     Chapter 5   Prose Commands - Comment
  4122.  
  4123.  
  4124.  
  4125.     _______ _______
  4126.     Comment Command
  4127.  
  4128.            Declares a "comment".  Prose treats the remainder of  the  command
  4129.            line as a comment, i.e., it is ignored.
  4130.  
  4131.                         ____
  4132.                 COMMENT text
  4133.  
  4134.            The  Comment  command  allows you to include in the source of your
  4135.            document information that will not be  printed  on  the  formatted
  4136.            copy.   Use  comments  to explain why you have used specific Prose
  4137.            commands and what you expect to accomplish, and also  to  indicate
  4138.            alternative commands to be used in other cases.  For example:
  4139.  
  4140.                 .comment.out(lpt s4 r-)
  4141.                 .out(las 30 s8 r-).mar(r65)
  4142.                 .opt(j3).Comment final draft, do not insert > 2 spaces.
  4143.                 .comment use .opt(j4) on rough draft to reduce hyphens.
  4144.  
  4145.                                  _______ _   _____ ________ _ ________
  4146.                                  Chapter 5   Prose Commands - Contents     71
  4147.  
  4148.  
  4149.  
  4150.     ________ _______
  4151.     Contents Command
  4152.  
  4153.            The Contents command is used to specify the current indentation of
  4154.            table of contents entries (see the Entry command) or to print  the
  4155.            actual table of contents.
  4156.  
  4157.                            __________
  4158.                 CONTENTS ( parameters )
  4159.  
  4160.            The  following  table  summarizes  the  parameters for controlling
  4161.            indentation:
  4162.  
  4163.            ___ ______  _______         ____    _______  ________
  4164.            Key Letter  Meaning         Type    Default  Relative
  4165.  
  4166.                I       indentation     number      0       yes
  4167.                K       keep buffer     number   next        no
  4168.                P       print contents  switch     -         no
  4169.  
  4170.            The following table summarizes the  parameters  for  printing  the
  4171.            table  of  contents.   The reference to "page number" in the table
  4172.            includes both the section name as well as the actual page number.
  4173.  
  4174.            ___ ______  _______  _______
  4175.            Key Letter  Default  Meaning
  4176.  
  4177.                C          0     column to insert page number
  4178.                                   (in content entry)
  4179.                F        blank   fill character
  4180.                                   (used between the  content  entry  and  the
  4181.                                   page number)
  4182.                L          2     left width of page number
  4183.                                   (field width for page number)
  4184.                M          0     margin
  4185.                                   (left margin before content line)
  4186.                P          -     print table of contents
  4187.                R          2     right width of page number
  4188.                                   (blanks printed after page number)
  4189.  
  4190.            When the page number is shorter than the field width (parameter L,
  4191.            above), it will be right-justified within the field (i.e.,  padded
  4192.            with  leading  blanks).   When  the page number is longer than the
  4193.            field width, Prose  prints  the  page  number  without  any  extra
  4194.            leading blanks.
  4195.  
  4196.                                      ____  _ _____ __ ________
  4197.            Also  see  the  sections  Make  a Table of Contents in the chapter
  4198.            ________ _____      _____ _______                _____ ________
  4199.            Applying Prose, and Entry Command in the chapter Prose Commands.
  4200.  
  4201.            _______ _   _____ ________ _ _____
  4202.     72     Chapter 5   Prose Commands - Count
  4203.  
  4204.  
  4205.  
  4206.     _____ _______
  4207.     Count Command
  4208.  
  4209.            Sets the page number.
  4210.  
  4211.                       ______
  4212.                 COUNT number
  4213.  
  4214.                                            (Default:  set page number to one)
  4215.  
  4216.            The numeric parameter can be relative.  For example,
  4217.  
  4218.                 .count +1  {increments the page number by one}
  4219.  
  4220.            Increasing  the  page  number  can be useful if you plan to insert
  4221.            pages from an external source, perhaps figures, into the completed
  4222.            document.
  4223.  
  4224.            By  default,  Prose  internally  numbers  the  pages of the output
  4225.            document starting from 1, even if the page number is  not  printed
  4226.            on  the leading pages.  This means that if you begin printing page
  4227.            numbers on the third physical page, following the title  page  and
  4228.            the  table  of  contents, your first numbered page will be 3.  Use
  4229.            the Count command to reset the page number to 1 when you start the
  4230.            numbered pages.  For example:
  4231.  
  4232.                 .page.count 1.title plabel User Guide
  4233.                 .form([t// l55 / pn/])
  4234.  
  4235.                                     _______ _   _____ ________ _ _____
  4236.                                     Chapter 5   Prose Commands - Entry     73
  4237.  
  4238.  
  4239.  
  4240.     _____ _______
  4241.     Entry Command
  4242.  
  4243.            The  Entry  command  is  used  to tell Prose about entries for the
  4244.            table of contents.  Each entry has five attributes:  the text, the
  4245.            section  name,  the  current  page  number,  the  indentation, and
  4246.            whether to print the page number.
  4247.  
  4248.                         __________   ____
  4249.                 ENTRY ( parameters ) text
  4250.  
  4251.            The indentation is specified in the Content command and  the  page
  4252.            number  is  maintained  automatically by Prose.  There are several
  4253.            forms of the Entry command.  The first form does not  include  any
  4254.            parameters:
  4255.  
  4256.                 .entry Landscape mode
  4257.  
  4258.            This  would save the text "Landscape mode" so that later it can be
  4259.            printed by the Content command.  The page number  associated  with
  4260.            this  entry would also be printed.  There would be no section name
  4261.            in the page number.
  4262.  
  4263.            To include a section name in a page number, use the following form
  4264.            of the command:
  4265.  
  4266.                 .entry('2-') Landscape mode
  4267.  
  4268.            This  would  cause the entry to be printed out the same as before,
  4269.            with the addition of the section name '2-' before the page  number
  4270.            (e.g.,  '2-1  Landscape mode' instead of '1 Landscape mode').  The
  4271.            maximum length of the section name is 20 characters.
  4272.  
  4273.            You can print an entry without either a page number or  a  section
  4274.            name with this form of the command:
  4275.  
  4276.                 .entry(p-) Appendices
  4277.  
  4278.                 __________
  4279.            The  parameters  are followed by the text of the table of contents
  4280.            entry.  Leading spaces are ignored; use the indentation feature or
  4281.            explicit  blanks  instead.  You can use the paragraph character in
  4282.            table of contents entries to assist in  formatting  the  table  of
  4283.            contents.   If  you  wanted  to  produce  a table of contents with
  4284.            headings, you could do the following:
  4285.  
  4286.            _____ __ ______
  4287.            Input to Prose:
  4288.  
  4289.                 .contents(i+3)
  4290.                 .par(f` u3 p5 s1)
  4291.                 .entry `Introduction
  4292.                 .entry Welcome To Prose
  4293.                 .entry New Features of Prose
  4294.                 .entry(p-) `Appendices
  4295.                 .entry A  Prose Errors
  4296.                 .entry B  Keep Buffers
  4297.  
  4298.            _______ _   _____ ________ _ _____
  4299.     74     Chapter 5   Prose Commands - Entry
  4300.  
  4301.  
  4302.  
  4303.            ______ ____ ______
  4304.            Output from Prose:
  4305.  
  4306.                 1  Introduction
  4307.                 1     Welcome to Prose
  4308.                 2     New Features
  4309.  
  4310.                    Appendices
  4311.                 10    A  Prose Errors
  4312.                 11    B  Keep Buffers
  4313.  
  4314.            These commands start by indenting all table of contents entries by
  4315.            three  columns.   Whenever  the Paragraph command starts an entry,
  4316.            the  .content  command  applies  the  paragraph  parameters   when
  4317.            printing  the entry.  In this example, we skip one line (s1), skip
  4318.            to a new page if there is not enough room for five lines (p5), and
  4319.            shift  the  text of this entry left three columns (u3).  Note that
  4320.            the paragraph settings used are the  ones  in  effect  during  the
  4321.            .content command.
  4322.  
  4323.                                      _______ _   _____ ________ _ ____
  4324.                                      Chapter 5   Prose Commands - Font     75
  4325.  
  4326.  
  4327.  
  4328.     ____ _______
  4329.     Font Command
  4330.  
  4331.            The  Font  command  defines the fonts of a LaserJet font cartridge
  4332.            and also switches fonts within a document.
  4333.  
  4334.                        __________     ______
  4335.                 FONT ( parameters )   number
  4336.  
  4337.            The following table summarizes the parameters.   For  examples  of
  4338.                                ____  ____  _____ _____        ___ __ ________
  4339.            using  fonts,  see  Step  Two:  Using Fonts in the The HP LaserJet
  4340.            chapter.
  4341.  
  4342.            ___ ______  _______                     ____      _______
  4343.            Key Letter  Meaning                     Type      Default
  4344.  
  4345.                K       keep buffer                 number      next
  4346.                L       RTF flag: fill lines        switch        -
  4347.                R       enable special RTF handling switch        -
  4348.                U       underline                   switch        -
  4349.                W       width of the space in dots  number        30
  4350.                "..."   Escape sequence             string
  4351.                '...'   same as "..."               string
  4352.  
  4353.            For proportional fonts, the closing parenthesis is followed  by  a
  4354.            table.   Each  table  entry is a letter followed by a number.  The
  4355.            number is the width of the letter in dots.  If you are  using  RTF
  4356.            output,  the table is used as a character translation table.  Each
  4357.            character is  followed  by  its  numeric  character  code  in  the
  4358.            selected font.
  4359.  
  4360.  
  4361.     ____ ______
  4362.     Keep Buffer
  4363.  
  4364.            K: The  keep  parameter  explicitly  specifies  which  keep buffer
  4365.               should be used to store the new input options.  The default  is
  4366.               to  use  the  numerically next buffer (i.e., stack the values).
  4367.               For example, if you define a  font  without  an  explicit  keep
  4368.               buffer  when  the  current font keep buffer is 3, then the font
  4369.               you are defining will become font 4.  If you do not  specify  a
  4370.               keep  buffer  for the first font you define, then keep buffer 0
  4371.               is assigned to it.  This differs from the way that keep buffers
  4372.               are  assigned  in  other  commands  (they use keep buffer 1 the
  4373.               first time).
  4374.  
  4375.               You may define  several  fonts,  each  in  an  individual  file
  4376.               without an explicit keep buffer.  By including several of these
  4377.               files, you can easily replace the fonts that  you  have  chosen
  4378.               for  your  document.   This feature is meant for advanced users
  4379.               who wish to  have  more  flexibility  when  using  fonts.   For
  4380.               example,  say  you  have  defined  fonts  0  to  3 by using the
  4381.               following files:
  4382.  
  4383.                    .include times10.fonts
  4384.                    .include times10b.fonts
  4385.                    .include times10i.fonts
  4386.                    .include helv14b.fonts
  4387.  
  4388.            _______ _   _____ ________ _ ____
  4389.     76     Chapter 5   Prose Commands - Font
  4390.  
  4391.  
  4392.  
  4393.               You can easily change the fonts by using another set of files:
  4394.  
  4395.                    .include times12.fonts
  4396.                    .include times12b.fonts
  4397.                    .include times12i.fonts
  4398.                    .include futur15b.fonts
  4399.  
  4400.               Unless you need to work with a varying selection of  fonts,  we
  4401.               suggest that you always specify the keep buffer explicitly.
  4402.  
  4403.  
  4404.     _____ __ _____
  4405.     Width of Space
  4406.  
  4407.            W: The  width  of  the  space  character in dots.  Prose uses this
  4408.               width to define how large a space in the input text  should  be
  4409.               on  the  output LaserJet.  For Courier fonts, this value is 30.
  4410.               For  the  B  and  F  font  cartridges  (the  proportional  font
  4411.               cartridges) this value is 17.
  4412.  
  4413.  
  4414.     ___________
  4415.     Underlining
  4416.  
  4417.            U: Use  the  underline  option  to instruct Prose to underline any
  4418.                                                                        ___
  4419.               words in this font, but only when the output device  is  not  a
  4420.               LaserJet.
  4421.  
  4422.  
  4423.     ____ ______ ________
  4424.     Font Escape Sequence
  4425.  
  4426.            ": This  is  the Escape sequence that enables this font.  You must
  4427.               include the Escape character.  If the keep  buffer  is  0,  you
  4428.               ____
  4429.               must  specify  the  Primary font sequence.  Otherwise, you must
  4430.               specify the  Secondary  font  sequence.   If  you  specify  the
  4431.               Secondary  font  sequence for keep buffer 0, Prose will convert
  4432.               it into the Primary font sequence.
  4433.  
  4434.               You only need to specify the font keep  buffer  for  subsequent
  4435.               use.  The default font (.font 0) is a Courier medium font.
  4436.  
  4437.  
  4438.     ____ _______ _____
  4439.     Font Include Files
  4440.  
  4441.            Users  should ignore the mechanics of the Font command and use the
  4442.            standard  include  files  provided  to  print  documents  on   the
  4443.            LaserJet.  For example,
  4444.  
  4445.                 .include <f92286a>
  4446.  
  4447.            Each  include  file  ends  with  a font 0 command which leaves the
  4448.            Prose environment  with  the  default  font  setting.   There  are
  4449.            several font include files in Qlibdata.Robelle:
  4450.  
  4451.            F92286A  Courier bold and italic.
  4452.  
  4453.                                      _______ _   _____ ________ _ ____
  4454.                                      Chapter 5   Prose Commands - Font     77
  4455.  
  4456.  
  4457.  
  4458.            F92286B  TMS proportional.
  4459.  
  4460.            F92286C@ International  courier  symbol sets.  There are ten files
  4461.                     each ending with a different  number.   Choose  the  file
  4462.                     that corresponds to your country/language as follows:
  4463.  
  4464.                          Language   File ends with the number
  4465.  
  4466.                          Roman-8           none
  4467.                          French             1
  4468.                          German             2
  4469.                          United Kingdom     3
  4470.                          Spanish            4
  4471.                          Swedish/Finnish    5
  4472.                          Danish/Norwegian   6
  4473.                          Italian            7
  4474.                          Roman Extension    8
  4475.                          USASCII            9
  4476.  
  4477.            F92286D  Prestige elite.
  4478.  
  4479.            F92286E  Letter gothic.
  4480.  
  4481.            F92286F  TMS   proportional,   but   these  fonts  have  different
  4482.                     character sizes than the F92286B.
  4483.  
  4484.            F92286G  Prestige  elite  with  the  USASCII  and   line   drawing
  4485.                     character sets.
  4486.  
  4487.            F92286G2 Prestige  elite  with  certain  characters  redefined for
  4488.                     legal applications.
  4489.  
  4490.            F92286IC International Collection font cartridge, using  CG  Times
  4491.                     and Univers fonts.
  4492.  
  4493.            F92286L  Portrait, Courier bold and italic.
  4494.  
  4495.            F92286L2 Landscape, Courier bold and italic.
  4496.  
  4497.            F92286N  Portrait, letter gothic bold and italic.
  4498.  
  4499.            F92286N2 Landscape, letter gothic bold and italic.
  4500.  
  4501.            F92286Z  Times  Roman  and  Helvetica proportional fonts.  Same as
  4502.                     the HP Microsoft  cartridge.   This  has  different  font
  4503.                     metrics than the F92286F and F92286B cartridges.
  4504.  
  4505.            F92290S2 TMS proportional 12 point.
  4506.  
  4507.            FGLOBAL  Global  Text font cartridge, using Century Schoolbook and
  4508.                     Triumvirate fonts.
  4509.  
  4510.            FPCTR10  Pro-collection font cartridge.
  4511.  
  4512.            _______ _   _____ ________ _ ____
  4513.     78     Chapter 5   Prose Commands - Font
  4514.  
  4515.  
  4516.  
  4517.            LaserJet Courier for all LaserJet IIs and up.
  4518.  
  4519.            LJETIII  Built-in Times and Univers proportional on  the  LaserJet
  4520.                     IIIs.
  4521.  
  4522.            S33412AC TMS  proportional  soft  fonts  (HP  33411AC or 33412AC).
  4523.                     This file will work  only  if  you  have  downloaded  the
  4524.                     matching soft fonts to your LaserJet Plus or LaserJet II.
  4525.  
  4526.                                      _______ _   _____ ________ _ ____
  4527.                                      Chapter 5   Prose Commands - Form     79
  4528.  
  4529.  
  4530.  
  4531.     ____ _______
  4532.     Form Command
  4533.  
  4534.            Defines the page format, including titles, footers,  and  the  top
  4535.            and bottom of the page.
  4536.  
  4537.                        __________     ______
  4538.                 FORM ( parameters )   number
  4539.  
  4540.            The  argument consists of parameters, followed (if appropriate) by
  4541.            an optional field width.  For example, this simple form
  4542.  
  4543.                 .form([ t / L55 / pn / ])
  4544.  
  4545.            prints the title left-justified on the first line, followed  by  a
  4546.            blank  line, 55 lines of formatted text, another blank line, and a
  4547.            final line containing a right-justified numeric page number.
  4548.  
  4549.            Text lines are built by the  Form  command  from  left  to  right,
  4550.            starting  in  the  first  printable  column,  although the tabbing
  4551.            specification may be used to alter this.
  4552.  
  4553.  
  4554.     ____ ______________
  4555.     Form Specifications
  4556.  
  4557.            The following table describes the form specifications  that  Prose
  4558.            provides.
  4559.  
  4560.                                                              _______
  4561.                                                              Default
  4562.            ___ ____ _______                                  _____ _____
  4563.            Key Char Meaning                                  Field Width
  4564.  
  4565.                _
  4566.               Bn    select LaserJet bin
  4567.                        D, d, 5    paper deck
  4568.                        E, e, 3    envelope manual feed
  4569.                        L, l, 4    lower bin
  4570.                        M, m, 2    manual feed
  4571.                        U, u, 1    upper bin
  4572.               C     24 hour clock as hh.mm.ss  (15.37.58)      8
  4573.               D     raw date      as yy/mm/dd  (94/04/15)      8
  4574.               E     nice date     as dd Mmm yy (15 Apr 94)     9
  4575.               I     Input line number                          5
  4576.                _            _
  4577.               Ln    fill in n lines of running text
  4578.                _            _
  4579.               Ln+   fill in n and a half lines of running text
  4580.                _                         _
  4581.               Pf    current page number, f selects the form    3
  4582.                        N or n     arabic numerals (default) (the field
  4583.                        L          uppercase letter          width will
  4584.                        l          lowercase letter          be expanded
  4585.                        R          uppercase roman numerals  if needed)
  4586.                        r          lowercase roman numerals
  4587.               S     subtitle                                its length
  4588.               T     main title                              its length
  4589.               W     wall clock    as hh:mm AM  ( 3:37 PM)      8
  4590.                                   or hh:mm PM
  4591.                _                                               _
  4592.               #n    tab forward or backward to absolute column n
  4593.               "..." print literal text                      its length
  4594.               '...' print literal text                      its length
  4595.  
  4596.            _______ _   _____ ________ _ ____
  4597.     80     Chapter 5   Prose Commands - Form
  4598.  
  4599.  
  4600.  
  4601.               /     print an end of line
  4602.               /+    print an end of line and skip a half line
  4603.                _          _
  4604.               /n    print n ends of lines
  4605.               [     define top of page
  4606.               ]     define bottom of page
  4607.  
  4608.  
  4609.     ___ _______ ____
  4610.     The Default Form
  4611.  
  4612.            The default Form is:
  4613.  
  4614.                 .form([ t #62 e // L57 / #33 '- ' pn:1 ' -' / ])
  4615.  
  4616.            This  default  prints the title in the upper left corner, the date
  4617.            in the upper right corner, and the page  number  centered  in  the
  4618.            bottom  line;  there are 57 text lines per page, with a blank line
  4619.            preceding and following the text.
  4620.  
  4621.  
  4622.     ____ __________
  4623.     Form Processing
  4624.  
  4625.            The Form command is processed interpretively.  This means that the
  4626.            format  is  re-scanned  as  each  page  of  output is produced, so
  4627.            changing one of the title  buffers  with  the  title  or  subtitle
  4628.            commands will change the title or subtitle on the next page.
  4629.  
  4630.  
  4631.     ___ __ _____ _
  4632.     Top of Page, [
  4633.  
  4634.            The  top of page definition ("[" ) has several purposes.  By using
  4635.            the Output command, you can request Prose to send a page eject  to
  4636.            the output device when it reaches the top of a page.  You can also
  4637.            request Prose to pause at the top of each page  to  allow  you  to
  4638.            change  paper  (e.g.,  .out  (p+)  ).  At the end of the document,
  4639.            Prose  does  one  last   page   eject,   interpreting   the   Form
  4640.            specification until it reaches the top of page.
  4641.  
  4642.  
  4643.     ______ __ _____ _
  4644.     Bottom of Page, ]
  4645.  
  4646.            The  bottom  of page specification ("]") is where Prose increments
  4647.            the page number.  If you printed the page number both  before  and
  4648.            after  the  bottom of page definition, you would get two different
  4649.            numbers.
  4650.  
  4651.  
  4652.     ________ ____
  4653.     Infinite Form
  4654.  
  4655.            In the absence of a parameter (e.g.,  .form  ),  no  special  page
  4656.            formatting  is  done.   This  is similar to a Form consisting of a
  4657.            single L specification defining an infinite number  of  lines  per
  4658.            page.   There  are  no  top  of pages or bottom of pages.  In this
  4659.            mode, a Page command will produce five blank lines on a page.
  4660.  
  4661.                                      _______ _   _____ ________ _ ____
  4662.                                      Chapter 5   Prose Commands - Form     81
  4663.  
  4664.  
  4665.  
  4666.     ___ _________
  4667.     Bin Selection
  4668.  
  4669.            The bin selection specification ("B") selects which  LaserJet  bin
  4670.            to   use  for  this  form.   The  bin  selection  can  only  occur
  4671.            immediately after a top of page specification (e.g.  "[ BL").  The
  4672.            number  or letter used to specify the bin is the same as that used
  4673.            in the T option of the Bin command.  For  more  information  about
  4674.            bin selection, see the Bin command.
  4675.  
  4676.  
  4677.     __________ ______ ___ _________
  4678.     Justifying Titles and Constants
  4679.  
  4680.            It  is  very useful to have a general-purpose form, but there must
  4681.            be a way to right justify titles and subtitles.  This can be  done
  4682.            by  using  a  combination of the tab and field width parameters of
  4683.            the Form command.  Assuming that the right margin is at column 70,
  4684.            then  the  following Form command would right justify the title to
  4685.            column 70.
  4686.  
  4687.                 .form([  #31 t:40// L53 // #33 '- ' pn:1 ' -' / ])
  4688.  
  4689.            The reason for this is that Prose first tabs over  to  column  31.
  4690.            This  leaves  40  spaces  in  the  output line.  When the title is
  4691.            written in a field width of  40,  the  title  is  right  justified
  4692.            within  the  field,  assuming  that  the  title  is  less  than 40
  4693.            characters long.
  4694.  
  4695.            You can also specify a field width after a constant  string.   For
  4696.            example,  'Page':6.   Specifying  a field width of :6 ensures that
  4697.            the string will be right-justified within  a  space  that  is  six
  4698.            columns  wide.   This  becomes  important  when  you  start  using
  4699.            Proportional fonts.
  4700.  
  4701.  
  4702.     __________ ____ _______
  4703.     Justifying Page Numbers
  4704.  
  4705.            Justifying page  numbers  is  similar  to  justifying  titles  and
  4706.            constants.   The page number is right-justified in the field width
  4707.            specified.  If you  want  a  left-justified  page  number,  use  a
  4708.            combination  of  the  tab  and  a field width of 0.  The following
  4709.            example left-justifies a number on the left side of the page, in a
  4710.            field width of 5:
  4711.  
  4712.                 .form([ t // l55 // pn:0 #6 / ])
  4713.  
  4714.            If you do not want the page number justified, use a field width of
  4715.            1.
  4716.  
  4717.            _______ _   _____ ________ _ ____
  4718.     82     Chapter 5   Prose Commands - Form
  4719.  
  4720.  
  4721.  
  4722.     _____ _____ _____
  4723.     Rough Draft Forms
  4724.  
  4725.            When first writing a large document it is difficult  to  associate
  4726.            the  line  numbers of the input file with the finished pages.  The
  4727.            "I" specification is provided to print out the input  line  number
  4728.            on  the form.  If you wish, you may print the input line number at
  4729.            the top and the bottom of the  form.   These  line  numbers  would
  4730.            distinguish the lines of the input file that were on the page.
  4731.  
  4732.  
  4733.     _______ _____
  4734.     Example Forms
  4735.  
  4736.            For  some  example  forms, including two-page forms that alternate
  4737.                                                          ________ _____
  4738.            between left and right sides, see the chapter Applying Prose.
  4739.  
  4740.  
  4741.     ____ ______
  4742.     Keep Buffer
  4743.  
  4744.            The Form command can use keep buffers to store  form  definitions.
  4745.            However,  these keep buffers function differently from other Prose
  4746.            keep buffers as the Form's keep  buffers  are  not  stacked.   See
  4747.            ________  _
  4748.            Appendix  B  for  more information about stacked keep buffers.  By
  4749.            not automatically stacking the keep buffers, the Form  command  is
  4750.            backwards-compatible   with  previous  versions  of  Prose.   This
  4751.            results in  two  important  differences  when  using  Form's  keep
  4752.            buffers.   First,  if you do not specify a keep buffer number when
  4753.            defining a form, Prose saves the form in keep buffer 0 instead  of
  4754.            the  next  buffer.   Second, if you specify .form without any keep
  4755.            buffers, Prose uses an "infinite form"  instead  of  the  previous
  4756.            buffer.
  4757.  
  4758.            If  you do not intend to use keep buffers, your Form commands will
  4759.            work exactly as before.  You are not required to make any changes.
  4760.            If  you  want to use keep buffers for forms, you define your forms
  4761.            in keep buffers 1 through 9.  Do not use keep buffer  0  when  you
  4762.            are  using  other  form  keep  buffers.   Keep buffer 0 is used as
  4763.            temporary storage by Prose and any forms  defined  there  will  be
  4764.            overwritten.   The  K  option  is for specifying which keep buffer
  4765.            must be used, and it must appear before the left square bracket.
  4766.  
  4767.                 .form(k1 [t // L55 / pn / ])
  4768.                 .form(k2 [L59])
  4769.                 .form 1
  4770.                 text on a page with a header and page number
  4771.                 .page
  4772.                 .form 2
  4773.                 text on a blank page
  4774.  
  4775.                                 _______ _   _____ ________ _ _________
  4776.                                 Chapter 5   Prose Commands - Headindex     83
  4777.  
  4778.  
  4779.  
  4780.     _________ _______
  4781.     Headindex Command
  4782.  
  4783.            The Headindex  command  causes  headings  to  be  printed  by  the
  4784.            Sortindex command.  With it, you define the characteristics of the
  4785.            heading that Prose prints before each change of  alphabet  in  the
  4786.            index  (e.g., Prose prints an 'A' above the entries beginning with
  4787.            'A').  If you don't define the Headindex command, then  the  index
  4788.            will be printed without any breaks between the entries.
  4789.  
  4790.                             __________
  4791.                 HEADINDEX ( parameters )
  4792.  
  4793.                  (Default:  uses a letter with a blank line before and after)
  4794.  
  4795.            The following table summarizes the parameters, which can  be  used
  4796.            in any order.
  4797.  
  4798.            ___ ______  _______                     ____      _______
  4799.            Key Letter  Meaning                     Type      Default
  4800.  
  4801.                A       automatic skip after        number        1
  4802.                C       center heading              switch        -
  4803.                F       font                        number        0
  4804.                H       print letter heading        switch        +
  4805.                I       automatic indent            number        0
  4806.                P       automatic page eject        number        5
  4807.                S       automatic skip before       number        1
  4808.                U       automatic unindent          number        0
  4809.  
  4810.  
  4811.     _________ ____ _____ _______
  4812.     Automatic Skip After Heading
  4813.  
  4814.            A: This  sets the number of blank lines to print after the heading
  4815.               line.  This separates the heading from  the  following  set  of
  4816.               index  entries.   For  example,  the option (A1+) skips one and
  4817.               half lines.
  4818.  
  4819.  
  4820.     ______
  4821.     Center
  4822.  
  4823.            C: This causes the letter heading to  be  centered  on  the  line.
  4824.               This option overrides the I and U options.
  4825.  
  4826.  
  4827.     ____
  4828.     Font
  4829.  
  4830.            F: This  sets  the  font  to use for printing the heading.  If you
  4831.               don't specify this option, the current font will be used.
  4832.  
  4833.  
  4834.     _____ _______
  4835.     Print Heading
  4836.  
  4837.            H: This specifies whether or not to print the letter heading.   If
  4838.               set  to  h+, the heading line will contain the uppercase letter
  4839.               of the following set of entries, aligned with the index margin.
  4840.               If set to h-, then the letter will not be printed.  The heading
  4841.  
  4842.            _______ _   _____ ________ _ _________
  4843.     84     Chapter 5   Prose Commands - Headindex
  4844.  
  4845.  
  4846.  
  4847.               line, however, will still be printed as a blank line.
  4848.  
  4849.  
  4850.     ______
  4851.     Indent
  4852.  
  4853.            I: This specifies the indent of the letter heading in terms of the
  4854.                                       _____
  4855.               number of spaces to the right of the index margin.
  4856.  
  4857.  
  4858.     _________ ____ _____
  4859.     Automatic Page Eject
  4860.  
  4861.            P: This  is very similar to the P option in the Paragraph command.
  4862.               This sets the minimum number of lines  remaining  on  the  page
  4863.               before  printing  the letter heading.  The page ejects if there
  4864.               are fewer than this number of lines remaining, and Prose prints
  4865.               the  heading  on  the  next  page.   This  option can prevent a
  4866.               heading from being printed on the bottom of the page while  the
  4867.               following  index entries appear on the next page.  For example,
  4868.               the option (p5+) checks for five and a half lines remaining.
  4869.  
  4870.  
  4871.     _________ ____ ______ _______
  4872.     Automatic Skip Before Heading
  4873.  
  4874.            S: This sets the number of blank lines to print  before  a  letter
  4875.               heading  is  printed.   This  separates  the  heading  from the
  4876.               previous set of index entries.  For example, the  option  (S1+)
  4877.               skips one and a half lines.
  4878.  
  4879.  
  4880.     ________
  4881.     Unindent
  4882.  
  4883.            U: Similar  to  the  I  option,  this  enables you to "indent" the
  4884.                                                 ____
  4885.               heading a number of spaces to the left of the index margin.
  4886.  
  4887.            Each letter of the alphabet has its own heading.   Entries  before
  4888.            the  letter  A, (e.g., numbers and punctuation marks), are grouped
  4889.            together, and printed before the  A  entries.   This  set  has  no
  4890.            headings or extra blank lines.  Entries after the letter Z, (e.g.,
  4891.            square brackets), are also grouped together, and are printed after
  4892.            the  Z  entries.   Their  heading  is  a  blank line (i.e., the h-
  4893.            option), and  includes  any  blank  lines  before  and  after  the
  4894.            heading.
  4895.  
  4896.            The  default  headindex  (e.g.,  .head  h+  s1 a1 p5) produces the
  4897.            following:
  4898.  
  4899.                 $Stdinx file
  4900.                 $Stdlist output
  4901.                 :commands
  4902.  
  4903.                                 _______ _   _____ ________ _ _________
  4904.                                 Chapter 5   Prose Commands - Headindex     85
  4905.  
  4906.  
  4907.  
  4908.                 A
  4909.  
  4910.                 abbreviation
  4911.                 align
  4912.                 automatic page numbering
  4913.  
  4914.                 Z
  4915.  
  4916.                 z option
  4917.                 zero
  4918.  
  4919.  
  4920.  
  4921.                 [ command
  4922.                 ] command
  4923.  
  4924.            _______ _   _____ ________ _ __
  4925.     86     Chapter 5   Prose Commands - If
  4926.  
  4927.  
  4928.  
  4929.     __ _______
  4930.     If Command
  4931.  
  4932.            The If command, along with the Elseif, Else, and  Endif  commands,
  4933.            allows you to use conditional logic to control which parts of your
  4934.            document to process.
  4935.  
  4936.                    __________
  4937.                 IF expression
  4938.  
  4939.                         __________
  4940.                 [ELSEIF expression] ...
  4941.  
  4942.                 [ELSE]
  4943.  
  4944.                 ENDIF
  4945.  
  4946.            Unlike  other  Prose  commands,  the   If   commands   cannot   be
  4947.            abbreviated.   The  If  commands  affect both text and other Prose
  4948.            commands.  Each If must have a matching Endif,  while  the  Elseif
  4949.            and  Else  are  optional.  There can be any number of Elseifs, but
  4950.            only one Else.  If you have an  Else,  it  must  be  as  the  last
  4951.            command  before  an Endif.  Ifs can also be nested up to 16 levels
  4952.            per file.
  4953.  
  4954.            The expressions used in an If and Elseif are logical  expressions,
  4955.            similar  to  the  expressions  used  in  MPE's :If and Pascal's if
  4956.            commands.  Numbers and numeric variables can  be  used  in  an  If
  4957.            expression.   If  the  value  of  a  variable  is  non-zero, it is
  4958.            evaluated as true.  If the value is zero, or if a variable doesn't
  4959.            exist,  it is evaluated as false.  The predefined names "true" and
  4960.            "false" are evaluated to be 1 and 0, respectively.  Variables  can
  4961.            be  compared to each other or to numbers by using these relational
  4962.            operators: <, >, and =.  The operators AND, OR,  and  NOT  can  be
  4963.            used  to join expressions, with NOT having the highest precedence,
  4964.            then AND, then OR.  Expressions can appear in parentheses.
  4965.  
  4966.            If you are using Ifs with Include files, keep in mind that  an  If
  4967.            and its Endif must start and end in the same file.  This means you
  4968.            cannot start an If in one file and finish it in another file.
  4969.  
  4970.                 .if outlpt=1
  4971.                 .  out(lpt s7 r-)
  4972.                 .elseif (outlas)
  4973.                 .  if outrecord
  4974.                 .    out(las 30 s8 r+)
  4975.                 .  else
  4976.                 .    out(las 30 s8 r-)
  4977.                 .  endif
  4978.                 .elseif outhelpcomp and qhelpinstalled
  4979.                 .  out(lpt q+)
  4980.                 .else
  4981.                 .  out(lpt s7 r-)
  4982.                 .endif
  4983.  
  4984.                                        _______ _   _____ ________ _ __
  4985.                                        Chapter 5   Prose Commands - If     87
  4986.  
  4987.  
  4988.  
  4989.                 This is an example of using the IF command
  4990.                 .if not outhelpcomp
  4991.                 This is text that will not be included for Qhelp.
  4992.                 .endif
  4993.                 This is the end of the example.
  4994.  
  4995.            _______ _   _____ ________ _ _______
  4996.     88     Chapter 5   Prose Commands - Include
  4997.  
  4998.  
  4999.  
  5000.     _______ _______
  5001.     Include Command
  5002.  
  5003.            Directs Prose to read text from another file.
  5004.  
  5005.                         ________
  5006.                 INCLUDE filename
  5007.  
  5008.            When the end of file is reached in the included file, text is read
  5009.                                                             _____
  5010.            from  the  first  line  in  the  original  file  after the Include
  5011.            command.
  5012.  
  5013.            The file name can have lockwords, but  the  user  must  have  Read
  5014.            access  to it.  Using include files causes text substitution only;
  5015.            Prose is not reset to the initial condition that existed when  the
  5016.            Include  command  was first encountered.  All changes to the Prose
  5017.            environment are still in effect when text is read again  from  the
  5018.            original file.  Include files can be nested to a level of four.
  5019.  
  5020.  
  5021.     _______ ____ ________
  5022.     Default File Location
  5023.  
  5024.            If  you  surround  the include file name with angled-brackets (the
  5025.            less-than and greater-than signs), then Prose will look  for  that
  5026.            file  name  in a pre-determined location.  The default location is
  5027.            the Qlibdata group of the Robelle account.
  5028.  
  5029.                 .include <f92286f>
  5030.  
  5031.  
  5032.     ________ ___ _______ ________
  5033.     Changing the Default Location
  5034.  
  5035.            On MPE/iX, you can specify a new default location by  putting  the
  5036.            name of the location in the variable "proseincludepath".
  5037.  
  5038.                 :setvar proseincludepath "mygroup.myacct"
  5039.                 __
  5040.                 or
  5041.                 :setvar proseincludepath ".mygroup.myacct"
  5042.  
  5043.            The value of the proseincludepath variable will be appended to the
  5044.            file name.  If the file is not  found,  Prose  returns  an  error.
  5045.            Prose will not look anywhere else for the file.
  5046.  
  5047.                                    _______ _   _____ ________ _ ______
  5048.                                    Chapter 5   Prose Commands - Indent     89
  5049.  
  5050.  
  5051.  
  5052.     ______ _______
  5053.     Indent Command
  5054.  
  5055.            Indents the following line by a certain number of spaces.
  5056.  
  5057.                        ______
  5058.                 INDENT number
  5059.  
  5060.                                                          (Default:  5 spaces)
  5061.  
  5062.            The indentation only  applies  to  the  following  line,  and  the
  5063.            indentation  is  always  done  relative to the current left margin
  5064.            setting.  Indentation of more than one line is  accomplished  with
  5065.            the  Margin command.  See the Paragraph command for a way to do an
  5066.            automatic Indent on the first line of  every  paragraph.   Compare
  5067.            the Indent command with the Undent command.
  5068.  
  5069.            _______ _   _____ ________ _ _____
  5070.     90     Chapter 5   Prose Commands - Input
  5071.  
  5072.  
  5073.  
  5074.     _____ _______
  5075.     Input Command
  5076.  
  5077.            The  Input  command  defines  the  input environment; that is, the
  5078.            interpretation of characters in the input file.
  5079.  
  5080.                         __________   ______
  5081.                 INPUT ( parameters ) number
  5082.  
  5083.            The parameters can be in any order, and consist of  a  key  letter
  5084.            followed   by   a  value.   The  following  table  summarizes  the
  5085.            parameters.
  5086.  
  5087.            ___ ______  _______                  ____       _______ ________
  5088.            Key Letter  Meaning                  Type       Default Relative
  5089.  
  5090.                B       explicit blank character character   null
  5091.                D       command character        character      .
  5092.                E       escape character         character   null
  5093.                F       font character           character   null
  5094.                H       hyphenation character    character   null
  5095.                K       keep buffer              number      next        no
  5096.                R       right-tab character      character   null
  5097.                T       tab character            character   null
  5098.                U       underline character      character   null
  5099.                W       input width              number       150        no
  5100.  
  5101.            If a specification is not given, its value is  not  changed.   The
  5102.            default  value  is  the  one that will be set if the key letter is
  5103.            given by itself, and is also the value that is assigned when Prose
  5104.            begins processing.
  5105.  
  5106.            Not  all  of  the  special characters are interpreted when you use
  5107.            them outside the body of the text.  Non-body text  includes  items
  5108.            such  as  titles,  subtitles, index entries, and table of contents
  5109.            entries.  For these items, only  the  escape  character,  explicit
  5110.            blank,   font   change  character,  and  underline  character  are
  5111.            interpreted.  All other  special  characters  are  assumed  to  be
  5112.            characters,  not  functions.   This  means  that  if  you insert a
  5113.            hyphenation character into every instance of a word,  a  title  or
  5114.            subtitle  containing  the  word  will  print  the character: e.g.,
  5115.            _______________ __________
  5116.            Cut-\and-\Paste Operations.
  5117.  
  5118.  
  5119.     ________ ______
  5120.     Explicit Blanks
  5121.  
  5122.            B: The explicit blank  character  indicates  a  blank  that  Prose
  5123.               should  not  tamper  with.   Thus,  if  the  "at-Sign" ( @ ) is
  5124.               specified as the explicit blank
  5125.  
  5126.                    .input(b@)
  5127.  
  5128.               then two words that are separated by an explicit blank
  5129.  
  5130.                    Mr.@Shumko
  5131.  
  5132.               will never be split from one line to the next, and  Prose  will
  5133.  
  5134.                                     _______ _   _____ ________ _ _____
  5135.                                     Chapter 5   Prose Commands - Input     91
  5136.  
  5137.  
  5138.  
  5139.               never  fill  blanks in between the words to justify a line.  By
  5140.               default, Prose converts a single space into  two  spaces  after
  5141.               every  period, treating it as end of sentence.  Use an explicit
  5142.               blank character after a period, as shown above,  to  keep  this
  5143.               from happening, or use ".opt (p-)" to disable the feature.
  5144.  
  5145.  
  5146.     _______ _________
  5147.     Command Character
  5148.  
  5149.            D: The  command  character  is the character you type in the first
  5150.               column of an input line to flag it  as  a  command  line.   The
  5151.               default  is  period,  but  it can be changed to the TDP command
  5152.               character (\) by the following command:
  5153.  
  5154.                    .input(d\)
  5155.  
  5156.  
  5157.     ______ _________
  5158.     Escape Character
  5159.  
  5160.            E: Any character that follows the Escape character  in  the  input
  5161.               text  will  be  output as text and not interpreted as a special
  5162.               character.  To print the Escape character, use two of them in a
  5163.               row.   This  feature  eliminates  the  need  for numerous Input
  5164.               commands to redefine the special characters.  For example,
  5165.  
  5166.               _____ __ ______
  5167.               Input to Prose:
  5168.  
  5169.               .input(u~ b@ h\ e& t# f|)
  5170.               In this text the &~-character, &@-character,
  5171.               &\-character, &|-character, &#-character, and
  5172.               the &&-character will appear without changes.
  5173.  
  5174.               ______ ____ ______
  5175.               Output from Prose:
  5176.  
  5177.               In this text the ~-character, @-character, \-character,
  5178.               |-character, #-character, and the &-character will appear
  5179.               without changes.
  5180.  
  5181.  
  5182.     ____ _________
  5183.     Font Switching
  5184.  
  5185.            F: If  you  wish  to  switch  fonts  within a line, you must first
  5186.               specify a font character with the Input command.   We  do  this
  5187.               once,  at  the  beginning  of  the  document, and we stick to a
  5188.               standard character for every document.  This makes  maintaining
  5189.               the  documentation  much  easier.   You  use the font character
  5190.               within the text wherever you need to change fonts  for  a  line
  5191.               (e.g.,  a  title)  or  for part of a line (e.g., to emphasize a
  5192.               word).  If you need to change fonts for  more  than  one  line,
  5193.               it's usually more convenient to use the Font command.
  5194.  
  5195.               After  you  type  the font character, type the number which has
  5196.               been defined for the font you want to use.  The font character,
  5197.               without  a font number, has only one effect: it causes Prose to
  5198.  
  5199.            _______ _   _____ ________ _ _____
  5200.     92     Chapter 5   Prose Commands - Input
  5201.  
  5202.  
  5203.  
  5204.               revert to the font last specified by the  Font  command.   This
  5205.               means  that  you  use the font character alone to terminate the
  5206.               font switch, returning to the font  previously  in  effect  for
  5207.               that line.  Prose uses the default font for the document if you
  5208.               have not changed fonts with the Font command.  In the following
  5209.               example we assume that the default font is courier medium, font
  5210.               one is bold, and font two is italics.
  5211.  
  5212.               _____ __ ______
  5213.               Input to Prose:
  5214.  
  5215.               .input(f|)
  5216.               This line contains a |1bold| and an |2italic| word.
  5217.  
  5218.               ______ ____ ______
  5219.               Output from Prose:
  5220.  
  5221.                                    ____        ______
  5222.               This line contains a bold and an italic word.
  5223.  
  5224.  
  5225.     ___________ _________
  5226.     Hyphenation Character
  5227.  
  5228.            H: The hyphenation character defines possible  hyphenation  points
  5229.               within  words.  Sometimes a long word will cause many blanks to
  5230.               be  inserted  to  justify  the  preceding  line.   Prose   will
  5231.               hyphenate  such  a  word  if  you  have  defined  the  syllable
  5232.               boundaries within that word.  Of course, not all  the  syllable
  5233.               boundaries  need  be specified, only those where you want Prose
  5234.               to be able to split a word.
  5235.  
  5236.               For  example,  if  you  select  the  backslash  (\)   as   your
  5237.               hyphenation   character,   you   might  type  "syncopation"  as
  5238.               "syn\co\pa\tion".  Prose will insert a hyphen (-) only when the
  5239.               characters  on both sides of the hyphenation point are letters.
  5240.               You might type "hyper-active"  as  "hyper-\active",  and  Prose
  5241.               will  split  the  word,  if  necessary, without adding an extra
  5242.               hyphen.  If Prose  must  insert  more  blanks  than  a  certain
  5243.                                                     _
  5244.               threshold  (set  with  the  Option  (Jn)  command), it issues a
  5245.               message suggesting that you insert hyphenation characters.   It
  5246.               is  best  not  to  worry  about  hyphenation  until the message
  5247.               appears.  Use ".opt (j4)" for rough drafts and ".opt (j3)"  for
  5248.               final drafts.
  5249.  
  5250.               Prose will not insert a hyphen between a letter and a character
  5251.               such as a period.  If you need to divide long file names, avoid
  5252.               the  insertion  of  a misleading dash by typing them like this:
  5253.               guinea.\pig.\cage.
  5254.  
  5255.  
  5256.     ____ ______
  5257.     Keep Buffer
  5258.  
  5259.            K: The keep  parameter  explicitly  specifies  which  keep  buffer
  5260.               should  be used to store the new input options.  The default is
  5261.               to use the numerically next buffer (i.e., stack the values).
  5262.  
  5263.                                     _______ _   _____ ________ _ _____
  5264.                                     Chapter 5   Prose Commands - Input     93
  5265.  
  5266.  
  5267.  
  5268.     _________ _________
  5269.     Right-Tab Character
  5270.  
  5271.            R: Use the right-tab character to  line  up  columns  of  text  or
  5272.               numbers  that  must  be  right-justified within the column.  To
  5273.               right-justify a string of characters, such  as  $12,000,  at  a
  5274.               specific  column,  such as 24, you put a right-tab character in
  5275.               front of the string, another right-tab character after it,  and
  5276.               follow  that  immediately  with the desired column number.  For
  5277.               example, %$12,000%24.  Do not insert a  regular  tab  character
  5278.               before  the  column number.  The text to right-justify must all
  5279.               be on one input line.  The text within the right-tab characters
  5280.               is  considered  as  one  long  word  (i.e., just as if explicit
  5281.               blanks were entered between each word).
  5282.  
  5283.               _____ __ ______
  5284.               Input to Prose:
  5285.  
  5286.               .input(r%)
  5287.                    Income:        %$12,000.00%27
  5288.                    Expenses:      % 10,000.00%27
  5289.                                   %^~~~~~~~~~~^%27
  5290.                       Net Income: %$ 2,000.00%27
  5291.  
  5292.               ______ ____ ______
  5293.               Output from Prose:
  5294.  
  5295.                    Income:        $12,000.00
  5296.                    Expenses:       10,000.00
  5297.                                   __________
  5298.                                             
  5299.                       Net Income: $ 2,000.00
  5300.  
  5301.  
  5302.     ___ _________
  5303.     Tab Character
  5304.  
  5305.            T: Use the tab feature to line up columns of text, especially when
  5306.               using  proportionally spaced font cartridges.  The number after
  5307.               the tab character specifies the absolute column where the  text
  5308.               will  start.   A  plus  (+) or a minus (-) preceding the number
  5309.               specifies the column relative to the current left margin.   For
  5310.               example,  if  the  left margin is 10 and you specify a relative
  5311.               tab of "+5," you will tab to column 15.  You cannot  tab  to  a
  5312.               column  that  the  output line is already past, whether you are
  5313.               using absolute or relative tabs.
  5314.  
  5315.               _____ __ ______
  5316.               Input to Prose:
  5317.  
  5318.               .input(t#)
  5319.                    Apples #17Red and delicious
  5320.                    Oranges #17Orange and juicy
  5321.                    Grapes #+17Purple and sweet
  5322.  
  5323.               .mar(l+3)
  5324.                    Lemons #17Yellow and tangy
  5325.                    Limes #+17Green and zesty
  5326.                    Berries #+17Blue and tasty
  5327.  
  5328.            _______ _   _____ ________ _ _____
  5329.     94     Chapter 5   Prose Commands - Input
  5330.  
  5331.  
  5332.  
  5333.               ______ ____ ______
  5334.               Output from Prose:
  5335.  
  5336.                    Apples        Red and delicious
  5337.                    Oranges       Orange and juicy
  5338.                    Grapes        Purple and sweet
  5339.  
  5340.                       Lemons     Yellow and tangy
  5341.                       Limes         Green and zesty
  5342.                       Berries       Blue and tasty
  5343.  
  5344.               If you use the tab character without specifying a tab position,
  5345.               and  you  haven't  defined  any  tab stops via the Tab command,
  5346.               Prose will default to "+1".   This  further  simplifies  making
  5347.               bullet lists that have a hanging indent.
  5348.  
  5349.                    .mar(l+3).par(u3)
  5350.                    `*This is one way of making a bullet point
  5351.                    `*This is the second way, without the +1
  5352.                    .mar.par
  5353.  
  5354.  
  5355.     _________ _________
  5356.     Underline Character
  5357.  
  5358.            U: Text  surrounded by the underline character will be underlined.
  5359.               Underlining continues across line boundaries, so that care must
  5360.               be  taken to ensure that each opening underline character has a
  5361.               matching  closing  underline   character.    Blanks   are   not
  5362.               underlined, but explicit blanks are.
  5363.  
  5364.               _____ __ ______
  5365.               Input to Prose:
  5366.  
  5367.               ~This@contains@an@explicit@blank@between@each@word.~
  5368.  
  5369.               ~The  previous  line  will have each blank underlined, but this
  5370.               sentence will leave a space between each underlined word.~
  5371.  
  5372.               ______ ____ ______
  5373.               Output from Prose:
  5374.  
  5375.               __________________________________________________
  5376.               This contains an explicit blank between each word.
  5377.  
  5378.               ___ ________ ____ ____ ____ ____  _____  ___________  ___  ____
  5379.               The previous line will have each  blank  underlined,  but  this
  5380.               ________ ____ _____ _ _____ _______ ____ __________ _____
  5381.               sentence will leave a space between each underlined word.
  5382.  
  5383.  
  5384.     _____ ______ _____
  5385.     Input Record Width
  5386.  
  5387.            W: The  input width is used to specify how many characters will be
  5388.               read from each input line.  If your input lines have sequencing
  5389.               information at the right of each line, you will need to set the
  5390.               width to an appropriate value (e.g., .inp (w72)  );  otherwise,
  5391.               Prose  will  attempt  to format the sequence numbers as part of
  5392.               the text.  The maximum input width for any input  line  is  256
  5393.               characters.
  5394.  
  5395.                                       _______ _   _____ ________ _ ___
  5396.                                       Chapter 5   Prose Commands - Inx     95
  5397.  
  5398.  
  5399.  
  5400.     ___ _______ _______
  5401.     Inx (Index) Command
  5402.  
  5403.            The Inx command is used to tell Prose about entries for the index.
  5404.            Each entry has four attributes:  the text, the section  name,  the
  5405.            current page number, and whether to print the page number.
  5406.  
  5407.                       __________   ____
  5408.                 INX ( parameters ) text
  5409.  
  5410.            The  page  number is maintained automatically by Prose.  There are
  5411.            several forms of the Inx command.  The first form does not include
  5412.            any parameters:
  5413.  
  5414.                 .inx Margin command
  5415.  
  5416.            This  would save the text "Margin command" so that later it can be
  5417.            printed by the Sortindex command.  The page number associated with
  5418.            this entry would also be printed.  There would be no section name.
  5419.  
  5420.            To include a section name in a page number, use the following form
  5421.            of the command:
  5422.  
  5423.                 .inx('2-') Margin command
  5424.  
  5425.            This  would  cause the entry to be printed out the same as before,
  5426.            with the addition of the section name '2-' before the page  number
  5427.            (e.g.   '2-1  Margin command' instead of '1 Margin command').  The
  5428.            maximum length of the section name is 20 characters.
  5429.  
  5430.            It is useful to have index entries that  provide  cross-references
  5431.            to  other  index  entries.  To save the text without either a page
  5432.            number or a section name, use this form of the command:
  5433.  
  5434.                 .inx(p-) database, see IMAGE database
  5435.  
  5436.            The parameters are followed  by  the  text  of  the  index  entry.
  5437.            Leading spaces are ignored; use explicit blanks instead.
  5438.  
  5439.            As  the  formatted  text migrates from page to page, the resulting
  5440.            index will always be correct (see the Sortindex command).  An  Inx
  5441.            command  may  be  inserted  in  the  middle of a paragraph without
  5442.            causing a  justification  break.   The  maximum  number  of  index
  5443.            entries in one document is 10,000.
  5444.  
  5445.            _______ _   _____ ________ _ ____
  5446.     96     Chapter 5   Prose Commands - Jump
  5447.  
  5448.  
  5449.  
  5450.     ____ _______
  5451.     Jump Command
  5452.  
  5453.            "Skips"  a  certain  number  of  output  lines, i.e., prints blank
  5454.            lines.
  5455.  
  5456.                      ______
  5457.                 JUMP number
  5458.  
  5459.                                                      (Default:  skip 5 lines)
  5460.  
  5461.            Jump  is  similar  to  the  Skip  command,  but  the  Jump command
  5462.            generates hard blank lines.  That is, Jump will always print blank
  5463.            lines,  even  at  the  top of a page.  For example, if you want to
  5464.            skip three lines at the top of a page, you can use
  5465.  
  5466.                 .page
  5467.                 .jump 3
  5468.                 We just skipped three lines at the top of the page.
  5469.  
  5470.            So far, the Jump command has behaved as if you typed in the actual
  5471.            number  of  blank  lines.   The  difference between using Jump and
  5472.            actual blank lines is that the Jump command  is  not  affected  by
  5473.            .opt(b+)  which makes blank lines behave like Skips.  For example,
  5474.            if the .opt(b+) option was in  effect,  the  above  example  would
  5475.            still  print  three  blank  lines  at the top of the page, whereas
  5476.            actually using three blank lines would not.
  5477.  
  5478.                                   _______ _   _____ ________ _ _______
  5479.                                   Chapter 5   Prose Commands - Literal     97
  5480.  
  5481.  
  5482.  
  5483.     _______ _______
  5484.     Literal Command
  5485.  
  5486.            Prints the remainder of the line on the output file.
  5487.  
  5488.                         ____
  5489.                 LITERAL text
  5490.  
  5491.            The special processing for uppercase, lowercase, underlining,  and
  5492.            literal blanks is performed on the text of the parameter, and then
  5493.            it is printed as a  single  output  line.   This  output  line  is
  5494.            printed   independently   of   filling  and  justifying  and  page
  5495.            formatting  processes;  it  is  transparent  to  the  usual  Prose
  5496.            formatting and is not counted as an output line.
  5497.  
  5498.            _____ __ ______
  5499.            Input to Prose:
  5500.  
  5501.                 .break
  5502.                 word1
  5503.                 .lit <codes>
  5504.                 word2
  5505.  
  5506.            ______ ____ ______
  5507.            Output from Prose:
  5508.  
  5509.                 <codes>
  5510.                 word1 word2
  5511.  
  5512.            The  Literal  command  can  be  used for producing special printer
  5513.            control characters.  Conceivably, this command could  be  used  to
  5514.            print  "Escape" sequences on HP printing terminals (e.g., for bold
  5515.            print, compressed print, alternate  character  sets,  etc.).   One
  5516.            problem  is that Prose looks for "special characters", such as the
  5517.            hyphenation character, even in Literals.  Therefore, you will have
  5518.            to  put  the  Prose  Escape  character  in  front  of  any special
  5519.            character that would be grabbed by Prose.   For  example,  if  you
  5520.            have  defined "&" as the Escape character in Prose, you would need
  5521.            to put another "&" in front of it to print  the  LaserJet  command
  5522.            ESC "&l8D" (which configures the LaserJet for 8 lines per inch).
  5523.  
  5524.            _____
  5525.            Note:  For  sending  printer control codes, you should use the PCL
  5526.            command instead of the Literal command.
  5527.  
  5528.            _______ _   _____ ________ _ ______
  5529.     98     Chapter 5   Prose Commands - Margin
  5530.  
  5531.  
  5532.  
  5533.     ______ _______
  5534.     Margin Command
  5535.  
  5536.            The Margin command sets and adjusts the left and right margins for
  5537.            filling and justifying.
  5538.  
  5539.                          __________    ______
  5540.                 MARGIN ( parameters )  number
  5541.  
  5542.                                        (Default:  pop back to previous value)
  5543.  
  5544.            The left margin is the number of leading spaces before  the  first
  5545.            printed  character,  and  the right margin is the column number of
  5546.            the last printed character.  Thus,  subtracting  the  left  margin
  5547.            from  the  right  margin gives the number of printed columns.  The
  5548.            parameters may be in any  order,  and  consist  of  a  key  letter
  5549.            followed by a value.  The following table lists the parameters.
  5550.  
  5551.            ___ ______  _______         ____    _______  ________ _______
  5552.            Key Letter  Meaning         Type    Default  Relative Allowed
  5553.  
  5554.                K       keep buffer     number   next            no
  5555.                L       left margin     number      0           yes
  5556.                R       right margin    number     70           yes
  5557.  
  5558.                                                        ___
  5559.            If  you  do not specify a value, Prose does not change the current
  5560.            value.  The default value is the one that will be set if  the  key
  5561.            letter  is given by itself, and is also the value that is assigned
  5562.            when Prose begins processing.  The maximum right margin is  column
  5563.            150.
  5564.  
  5565.            The  keep  parameter explicitly specifies which keep buffer should
  5566.            be used to store the new margins.   The  default  is  to  use  the
  5567.            numerically  next  buffer  (i.e., stack the values).  A subsequent
  5568.            Margin command without parameters will pop back  to  the  previous
  5569.            values.
  5570.  
  5571.            Usually  it  is  best  to  use  relative  settings with the Margin
  5572.            command (e.g., .mar(L+4)).  By doing so,  it  is  clearer  to  the
  5573.            maintainer  of  the  documentation  exactly  what  indentation was
  5574.            intended.  Also, it becomes easy to change  the  margins  for  the
  5575.            whole document by inserting one Margin command at the beginning of
  5576.            the document (e.g., .mar(L+2  R-2)).   This  is  very  helpful  to
  5577.            document  users  outside  of  North  America, where standard paper
  5578.            sizes are different.  If you use this idea, you will probably have
  5579.            to  change your Form also (if you use right-justified title fields
  5580.            or alternating forms).
  5581.  
  5582.                                    _______ _   _____ ________ _ ______
  5583.                                    Chapter 5   Prose Commands - Option     99
  5584.  
  5585.  
  5586.  
  5587.     ______ _______
  5588.     Option Command
  5589.  
  5590.            All of the miscellaneous options that affect the  text  formatting
  5591.            process are gathered together in the Option command.
  5592.  
  5593.                          __________    ______
  5594.                 OPTION ( parameters )  number
  5595.  
  5596.                                        (Default:  pop back to previous value)
  5597.  
  5598.            These options are summarized in the following table.   For  switch
  5599.            options, "+" is on and "-" is off.
  5600.  
  5601.            ___ ______  _______                  ____    _______ ________
  5602.            Key Letter  Meaning                  Type    Default Relative
  5603.  
  5604.                B       blank line = .skip 1     switch     -
  5605.                E       print error messages     switch     +
  5606.                F       fill output lines        switch     +       no
  5607.                J       justification limit      numeric    3       no
  5608.                K       keep buffer              numeric   next     no
  5609.                L       left justify             switch     +
  5610.                M       multiple blanks          switch     +
  5611.                P       two blanks after periods switch     +
  5612.                R       right justify            switch     +
  5613.                S       spacing                  numeric    1       no
  5614.                U       shift to uppercase       switch     -
  5615.  
  5616.            If  a  specification  is not given, its value is not changed.  The
  5617.            default value is the one that will be set if  the  key  letter  is
  5618.            given by itself, and is also the value that is assigned when Prose
  5619.            begins processing.
  5620.  
  5621.  
  5622.     _____ _____ _____ ____ _____
  5623.     Treat Blank Lines Like Skips
  5624.  
  5625.            B: This option tells Prose to treat every blank  line  as  a  soft
  5626.               blank  line  (i.e.,  like a .skip 1).  This way, you can make a
  5627.               file more readable by separating paragraphs  with  blank  lines
  5628.               without  worrying about any blank lines appearing at the top of
  5629.               a page.  Once this option is in effect, you  need  to  use  the
  5630.               Jump command if you want blank lines at the top of a page.
  5631.  
  5632.  
  5633.     ___________ ______
  5634.     Suppressing Errors
  5635.  
  5636.            E: Error  messages  are printed in the Perrfile file.  If both the
  5637.               Output and Perrfile files are the same  (e.g.,  $Stdlist),  the
  5638.               error  messages  will  be  interspersed  in the formatted text.
  5639.               These may be entirely suppressed by setting  the  E  option  to
  5640.               "E-".
  5641.  
  5642.               To turn off the message "hyphenation needed", use the J OPTION.
  5643.                                            ___
  5644.               It can be unwise to turn off all error  messages,  and  usually
  5645.               the  hyphenation  message  is  the  only  one  that  is  really
  5646.               undesirable.
  5647.  
  5648.            _______ _   _____ ________ _ ______
  5649.     100    Chapter 5   Prose Commands - Option
  5650.  
  5651.  
  5652.  
  5653.     _______ _____
  5654.     Filling Lines
  5655.  
  5656.            F: Output  lines  are  automatically  filled  and   justified   as
  5657.                                            _______ __________        ________
  5658.               described  in  the  section  Filling Paragraphs in the Applying
  5659.               _____
  5660.               Prose chapter .  If the fill switch is turned off,  Prose  will
  5661.               print the input lines as they are, without reformatting to fill
  5662.               up the output lines.  In effect, a justification break is  done
  5663.               after each input line.
  5664.  
  5665.  
  5666.     _____________ _____
  5667.     Justification Limit
  5668.  
  5669.            J: In  justifying  the  left  and right margins of an output line,
  5670.               Prose has to insert blanks that are not explicitly in the input
  5671.               file.   The  justification  limit  controls  the point at which
  5672.               Prose will attempt to hyphenate a word.  If, for instance,  the
  5673.               justification limit is three, then the hyphenation process will
  5674.               be invoked when Prose inserts enough blanks to bring the number
  5675.               between  any  adjacent  words  to three.  If hyphenation is not
  5676.               possible, or Prose is not able to bring the number of  inserted
  5677.               blanks  below  the  limit, Prose writes an error message to the
  5678.               file Perrfile.  You should then insert  hyphenation  characters
  5679.               at  syllable  breaks  in  the  word indicated by Prose (see the
  5680.               Input command, H character).
  5681.  
  5682.               The "J" specification may be further qualified with the maximum
  5683.                                                       ____
  5684.               number  of  spaces  to  insert  in  any line.  The form of this
  5685.               specification is ".option(jn:m)".  The value  for  "n"  is  the
  5686.               same  as  described  above.   The  value for "m" is the maximum
  5687.               number  of  spaces  to  insert  in  any   line.    Using   this
  5688.               specification  prevents  a long word, at the end of a line with
  5689.               many short words, from being shifted to the next  line  instead
  5690.               of being hyphenated.
  5691.  
  5692.  
  5693.     ____ ______
  5694.     Keep Buffer
  5695.  
  5696.            K: The  keep  parameter  explicitly  specifies  which  keep buffer
  5697.               should be used to store the new options.  The default is to use
  5698.               the  numerically  next  buffer  (i.e.,  stack  the  values);  a
  5699.               subsequent Option command without parameters will pop  back  to
  5700.               the previous values.
  5701.  
  5702.  
  5703.     ____ ___ _____ _____
  5704.     Left and Right Edges
  5705.  
  5706.            L:
  5707.            R: The  left and right justify switches work together to determine
  5708.               what kind of justification is done.  If both switches  are  on,
  5709.               output  lines are justified to both the left and right margins.
  5710.               If both switches are off, lines are centered  between  the  two
  5711.               margins.   If  one  is  on  and  one  is off, the result is one
  5712.               straight margin (either left or right) and one  ragged  margin.
  5713.               The following demonstrates these four options.
  5714.  
  5715.                                    _______ _   _____ ________ _ ______
  5716.                                    Chapter 5   Prose Commands - Option    101
  5717.  
  5718.  
  5719.  
  5720.            .option(l+ r+ f+) : {left and right justify}
  5721.  
  5722.            What  about  the  release  of MPE V?  Delayed!  MPE V is coded and
  5723.            documented, but is still in the debugging phase.  It  has  run  37
  5724.            hours  without  a failure, but HP requires 120 hours.  HP will not
  5725.            ship MPE V until the quality is there, even if it puts their  1984
  5726.            revenues  at  risk.   Early 1984 is the earliest date for users to
  5727.            get MPE V.
  5728.  
  5729.            .option(l- r- f-) : {center text}
  5730.  
  5731.                 What about MPE IV plus disc caching as an interim step?
  5732.                               This is under consideration,
  5733.                         but it must pass the same quality tests.
  5734.  
  5735.            .option(l+ r- f-) : {left justify only}
  5736.  
  5737.            Can I change my order to a Series 64 and upgrade later?
  5738.            Yes and HP encourages you to do that.
  5739.            The Round Table claimed that you would not lose ANYTHING
  5740.            by doing that,
  5741.            not even your position on the Series 68 order queue.
  5742.  
  5743.            .option(l- r+ f-) : {right justify only}
  5744.  
  5745.                                        Why no disc caching on the Series III?
  5746.                          The Round Table claimed that the Series III does NOT
  5747.                                             have adequate CPU power or memory
  5748.                                                 to benefit from disc caching.
  5749.  
  5750.  
  5751.     ______ ________ ______
  5752.     Retain Multiple Blanks
  5753.  
  5754.            M: If the multiple-blanks option is on,  multiple  blanks  on  the
  5755.               input file are considered to be significant.  That is, if there
  5756.               are several blanks between two words on the input  file,  there
  5757.               will  be  at  least that many on the output file, but Prose may
  5758.               add more blanks  during  the  justification  process.   If  the
  5759.               switch  is  off,  multiple blanks will be changed into a single
  5760.               blank.
  5761.  
  5762.               Instead of a  switch,  the  "m"  specification  will  accept  a
  5763.                                                     _        _
  5764.               numeric  parameter  such as ".option(Mn) where n is 0, 1, or 2.
  5765.                    _                             ___
  5766.               When n is 0, multiple blanks  are  not  considered  significant
  5767.                                                  _
  5768.               (same  as  ".option(m-)").   When  n  is 1, multiple blanks are
  5769.                                                              _
  5770.               significant (the same as ".option(m+)").  When n is 2, multiple
  5771.                                         ____
  5772.               blanks  are  significant  plus Prose assumes that there are two
  5773.               spaces after a sentence that ends at the end of an input  line.
  5774.               The  last option is useful for users who have ".option(p-)" and
  5775.               who want to control  the  spacing  after  sentences  by  manual
  5776.               insertion of spaces.
  5777.  
  5778.            _______ _   _____ ________ _ ______
  5779.     102    Chapter 5   Prose Commands - Option
  5780.  
  5781.  
  5782.  
  5783.     ___ ______ _____ ______
  5784.     Two Blanks After Period
  5785.  
  5786.            P: If  the two-blanks-after-periods option is selected, Prose will
  5787.               ensure that each period which is already followed by  at  least
  5788.               one blank (or the end of the line) will be followed by at least
  5789.               two blanks.  Prose will not add  blanks  before  justifying  if
  5790.               there  are  already  two.  This makes it easy to have sentences
  5791.               separated by two blanks without requiring you to  be  extremely
  5792.               careful  when typing the original text.  Use the explicit blank
  5793.               character  of  the  Input  command  to  make  exceptions.   For
  5794.               example,  if the explicit blank character is the (@) character,
  5795.               Mr.@Cliff will appear as Mr. Cliff, instead of Mr.  Cliff.
  5796.  
  5797.  
  5798.     _____________ _______
  5799.     Double/Triple Spacing
  5800.  
  5801.            S: By setting the spacing option, you can easily  produce  single,
  5802.               double, or triple spaced output.  Simply set the spacing option
  5803.               to 1, 2, or 3.  By setting the spacing option to 1+, one and  a
  5804.               half line spacing is invoked.
  5805.  
  5806.               Note  that  this  option  does not affect physical blank lines,
  5807.               Skips, or Jumps.  For example, one blank line will  not  become
  5808.               three blank lines if triple spacing is selected.
  5809.  
  5810.  
  5811.     __________
  5812.     Upshifting
  5813.  
  5814.            U: Since  some  output  devices  are not able to handle mixed-case
  5815.               files, you can  make  Prose  shift  all  lowercase  letters  to
  5816.               uppercase.   The  U  option  helps  users  of certain older OEM
  5817.               printers that print all  lowercase  letters  as  spaces.   This
  5818.               option  is  also  handy  for  printing  large sections, such as
  5819.               sample programs,  all  in  uppercase.   This  option  will  not
  5820.               upshift Roman-8 characters.
  5821.  
  5822.                                    _______ _   _____ ________ _ ______
  5823.                                    Chapter 5   Prose Commands - Output    103
  5824.  
  5825.  
  5826.  
  5827.     ______ _______
  5828.     Output Command
  5829.  
  5830.            The  Output command defines important aspects of the output device
  5831.            that is the destination of the formatted text.
  5832.  
  5833.                          _____________ __________
  5834.                 OUTPUT ( terminal-type parameters )
  5835.  
  5836.            The Output command may be used only once, and must  appear  before
  5837.            any  lines  are  printed  on  the  output  device  or  immediately
  5838.            following the command ".reset ( output )".
  5839.  
  5840.            The default Form is designed to work  on  a  lineprinter  with  60
  5841.            lines.   Both  the  Form  and  Output  commands  must  be  used to
  5842.            configure the output correctly for a particular device.
  5843.  
  5844.  
  5845.     ________ _____
  5846.     Terminal Types
  5847.  
  5848.            Terminal-type may be one of the following (the default is ASC):
  5849.  
  5850.  
  5851.            ____
  5852.            ASC.  ASCII terminal, using carriage return for  overprinting  and
  5853.            form feed (Control-L) for page eject.  A teletype is called an ASC
  5854.            terminal although the form feed  will  not  cause  a  page  eject;
  5855.            instead,  blank  lines are used to advance to the top of the form.
  5856.            If this is a problem, turn off the eject option (see below).
  5857.  
  5858.  
  5859.            ____
  5860.            LPT.  Line printer, using "+" for overprinting and  "1"  for  page
  5861.            eject.   Carriage  control is supplied automatically by Prose, and
  5862.            so like any other terminal, column 1 is the first printing column.
  5863.            When LPT is the output device, auto page eject is turned off.
  5864.  
  5865.  
  5866.            ____
  5867.            RTF.  RTF,  or  Rich  Text  Format  output, creates output that is
  5868.            meant for further processing by the Qhelp compiler.   This  should
  5869.            be  used in conjunction with the Q+ option, and the document to be
  5870.            processed should follow Robelle documentation conventions.
  5871.  
  5872.  
  5873.            ____
  5874.            LAS.  HP LaserJet printer, using 1/720th of an inch increments for
  5875.            justification.   LAS  must  be  used to take full advantage of the
  5876.            Font command.  The LAS may be followed by two  numbers  specifying
  5877.            the  number  of dots in each column and in each row (there are 300
  5878.            dots per inch).  The first number is the number of  dots  in  each
  5879.            column; it defaults to 30 (i.e., one-tenth of an inch per column).
  5880.            This number is used extensively by Prose.  The  second  number  is
  5881.            the number of dots in each row; it defaults to 50 (i.e., one-sixth
  5882.            of an inch per row).  This number is used only by the Box command.
  5883.  
  5884.            LaserJets  can support half-line spacing, but line printers can't.
  5885.            So in LPT and ASC output, all half-line spaces are ignored as soon
  5886.            as they are encountered.  This means that several consecutive half
  5887.            lines will not be added together.  For example,  a  one-and-a-half
  5888.  
  5889.            _______ _   _____ ________ _ ______
  5890.     104    Chapter 5   Prose Commands - Output
  5891.  
  5892.  
  5893.  
  5894.            line  space  followed  by a half-line space will still result in a
  5895.            single line space.
  5896.  
  5897.  
  5898.     ______ __________
  5899.     Output Parameters
  5900.  
  5901.            The  parameters  define  further  characteristics  of  the  output
  5902.            device,  and several global output options.  The parameters may be
  5903.            in any order, and are selected from the following table.
  5904.  
  5905.            ___ ______  _______                           ____   _______
  5906.            Key Letter  Meaning                           Type   Default
  5907.  
  5908.                C       number of copies (LaserJet only)  numeric   1
  5909.                E       page eject at top of page         switch    +
  5910.                         ("[" in Form description)
  5911.                D       duplex printing (LaserJet only)   switch    -
  5912.                L       Landscape mode                    switch    -
  5913.                P       pause at top of page              switch    -
  5914.                Q       generate Qhelp-format output      switch    -
  5915.                R       record mode                       switch    -
  5916.                S       shift output lines to the right   numeric   0
  5917.                U       underlining is available          switch    +
  5918.  
  5919.  
  5920.     ______ __ ________ ______
  5921.     Number of LaserJet Copies
  5922.  
  5923.            C: If multiple copies of a document are required from a  LaserJet,
  5924.               specify them with this option.
  5925.  
  5926.  
  5927.     ______ ________
  5928.     Duplex Printing
  5929.  
  5930.            D: If  your  LaserJet  can print on both sides of a page, use this
  5931.               option to enable this feature.
  5932.  
  5933.  
  5934.     ___ ______ _____ _ _____
  5935.     Can Device Eject a Page?
  5936.  
  5937.            E: If  the  page  eject  option  is  selected,  a  form  feed   or
  5938.               "Control-L"  will  be printed every time the "[" is encountered
  5939.               in the Form specification.
  5940.  
  5941.  
  5942.     ________ _________ ____
  5943.     LaserJet Landscape Mode
  5944.  
  5945.            L: Landscape mode should be requested  to  print  documents  on  a
  5946.               laser  printer horizontally across the page.  The default is to
  5947.               print in portrait mode (i.e., vertically on the page).
  5948.  
  5949.                                    _______ _   _____ ________ _ ______
  5950.                                    Chapter 5   Prose Commands - Output    105
  5951.  
  5952.  
  5953.  
  5954.     _____ ___ ____ ____
  5955.     Pause for Each Page
  5956.  
  5957.            P: If the  pause  option  is  selected,  every  time  the  "["  is
  5958.               encountered in the Form specification, Prose will stop printing
  5959.               and wait for some operator acknowledgment.  On  an  ASC  or  AJ
  5960.               terminal,  Prose  will  sound the bell, and wait for a carriage
  5961.               return to be entered.  This option is handy  for  using  an  AJ
  5962.               terminal with non-fan-fold paper, allowing you to roll paper in
  5963.               for each page.
  5964.  
  5965.  
  5966.     _____ ______ ______
  5967.     Qhelp Output Format
  5968.  
  5969.            Q: Normally, Prose ignores Qhelp control information in the  input
  5970.               file  (e.g.,  Beginkey,  Endkey  commands).   This  produces  a
  5971.               "correct" manual on the line printer.  When generating  a  Help
  5972.               file  for  the Qhelp compiler, the Qhelp commands are passed to
  5973.               the output file (Q+).  Prose formatting commands are processed,
  5974.               except  that  output  is  sent  to  a  Form with no headings or
  5975.               footings (a Form with an infinite number of lines).  This  file
  5976.               is  then  used  as  input  to the Qhelp compiler (see the Qhelp
  5977.               subsystem user manual, in the  QLIB  contributed  library,  for
  5978.               details).
  5979.  
  5980.  
  5981.     ______ _______
  5982.     Slaved Printer
  5983.  
  5984.            R: Record  mode  should  be  used when you have a printer attached
  5985.               directly to your terminal.  You must be using a  terminal  that
  5986.               supports "Record Mode" (i.e., no 2624A terminals).
  5987.  
  5988.  
  5989.     ________ ______ _____
  5990.     Shifting Output Right
  5991.  
  5992.            S: All  output  that Prose produces can be shifted to the right by
  5993.               any number of spaces up to 50.  This makes it  easy  to  center
  5994.               the  output  on  a  wide  printer  page.   ".Out (S4)" is often
  5995.               appropriate for printing terminals.
  5996.  
  5997.  
  5998.     ___________ _________
  5999.     Underlining Possible?
  6000.  
  6001.            U: If the Output file does not have overprinting ability and  your
  6002.               input  contains underline characters, the underlining-available
  6003.               option should be turned off (e.g., .Out (U-)) to prevent  Prose
  6004.               from trying to generate overprinted underlines.
  6005.  
  6006.            _______ _   _____ ________ _ ____
  6007.     106    Chapter 5   Prose Commands - Page
  6008.  
  6009.  
  6010.  
  6011.     ____ _______
  6012.     Page Command
  6013.  
  6014.            The  Page  command  causes  a page eject under controlled boundary
  6015.            conditions.
  6016.  
  6017.                        ______
  6018.                 PAGE   number
  6019.  
  6020.                                          (Default:  unconditional page eject)
  6021.  
  6022.            A  Page  command  with  no parameters causes an unconditional page
  6023.            eject if you are not at the top of the page.
  6024.  
  6025.                 .page
  6026.  
  6027.            If you are already at the top of the page,  this  command  has  no
  6028.            effect.   To  skip a page in this case, insert a blank line before
  6029.            the Page command.
  6030.  
  6031.            Including a number in the Page command  causes  a  page  eject  if
  6032.            there  are  fewer  than the specified number of lines remaining on
  6033.            the current page:
  6034.  
  6035.                 .page 5
  6036.  
  6037.            In this example, the printing will start on the next page if there
  6038.            are  less than five available lines on the current page.  If there
  6039.            are more than five lines still  available,  this  command  has  no
  6040.            effect.   You  can  signify a half-line by appending a "+" sign to
  6041.            the number.  Thus, the command ".page 5+" causes a page  eject  if
  6042.            there  are  fewer  than five and a half lines on the current page.
  6043.                                          _
  6044.            To create an automatic ".page n" for every new paragraph, use  the
  6045.            Paragraph command.
  6046.  
  6047.            At  a  page  boundary  condition,  Prose may spit out an unwelcome
  6048.            blank page, suitably formatted with all of your titles,  subtitles
  6049.            and  page numbers, but otherwise blank.  This occurs when you have
  6050.            enough lines of text to fill a page, and in addition you  leave  a
  6051.            blank  line at the end of the text.  If you place an unconditional
  6052.                                                             _____
  6053.            page break before the next block of text (i.e.,  after  the  blank
  6054.            line),  the  leftover  line from the previous page will be given a
  6055.            page all to itself.  The solution  is  to  delete  the  line.   An
  6056.            alternative  is  to  delete the unconditional page break and use a
  6057.            conditional page break (e.g., .page 5) instead.  You  will  retain
  6058.            your  blank line; it will print at the top of the page and will be
  6059.            followed by your remaining text.
  6060.  
  6061.                                 _______ _   _____ ________ _ _________
  6062.                                 Chapter 5   Prose Commands - Paragraph    107
  6063.  
  6064.  
  6065.  
  6066.     _________ _______
  6067.     Paragraph Command
  6068.  
  6069.            You can indicate a paragraph with any of the methods introduced in
  6070.                          ________  _____
  6071.            the  chapter  Applying  Prose.   The  Paragraph command provides a
  6072.            versatile method of creating paragraphs.
  6073.  
  6074.                             __________    ______
  6075.                 PARAGRAPH ( parameters )  number
  6076.  
  6077.                                       (Default:  pop back to previous values)
  6078.  
  6079.            The Paragraph command specifies what Prose will do when you signal
  6080.            a new paragraph by using a special character (called the paragraph
  6081.            flag  character)  in  the  first column of an input line.  You can
  6082.            select automatic indent or undent, automatic numbering,  automatic
  6083.            line skip, and automatic check for page eject.
  6084.  
  6085.            ___ ______  _______                 ____      _______  ________
  6086.            Key Letter  Meaning                 Type      Default  Relative
  6087.  
  6088.                F       paragraph character     character   null
  6089.                I       automatic indent        number         0      no
  6090.                J       automatic jump          number         0      no
  6091.                K       keep buffer             number      next      no
  6092.                N       number generator                    none
  6093.                P       automatic page eject    number         0      no
  6094.                S       automatic skip          number         0      no
  6095.                U       automatic undent        number         0      no
  6096.  
  6097.            If  a  specification  is not given, its value is not changed.  The
  6098.            default value is the one that will be set if  the  key  letter  is
  6099.            given by itself, and is also the value that is assigned when Prose
  6100.            begins processing.
  6101.  
  6102.  
  6103.     _________ _________
  6104.     Paragraph Character
  6105.  
  6106.            F: The paragraph flag character is used to invoke a collection  of
  6107.               paragraphing  actions  by  typing  it in the first column of an
  6108.               input line.  Note that this character should be set in at least
  6109.               one Paragraph command, or none of these actions will work.
  6110.  
  6111.  
  6112.     _________ ______ __ ______
  6113.     Automatic Indent or Undent
  6114.  
  6115.            I:,
  6116.            U: The  automatic  indent  or  automatic  undent is applied to the
  6117.               first line of the paragraph (see  the  Indent  and  the  Undent
  6118.               commands).
  6119.  
  6120.            _______ _   _____ ________ _ _________
  6121.     108    Chapter 5   Prose Commands - Paragraph
  6122.  
  6123.  
  6124.  
  6125.     _________ _________
  6126.     Automatic Numbering
  6127.  
  6128.            N: If  the number generator is specified, a new number (or letter)
  6129.               will be generated for each occurrence  of  the  paragraph  flag
  6130.               character.   The number generator is initialized to 1 each time
  6131.               new Paragraph settings go into  effect,  but  resuming  an  old
  6132.               setting  will  also  resume  the  old  numbering (this feature,
  6133.               combined with the Margin command,  allows  easy  generation  of
  6134.               outlines).   The  number  replaces the paragraph flag character
  6135.               when the line is formatted.  The number generator parameter has
  6136.                           __
  6137.               the form:  Nfn.
  6138.  
  6139.               _
  6140.               f selects the numeric form:
  6141.  
  6142.                   -blank-   no numbering
  6143.                   N or n    arabic numerals
  6144.                   L         uppercase letter
  6145.                   l         lowercase letter
  6146.                   R         uppercase roman
  6147.                   r         lowercase roman
  6148.  
  6149.               _
  6150.               n is the field width, which will be expanded if needed.
  6151.  
  6152.  
  6153.     _________ ____ _______
  6154.     Automatic Page Command
  6155.  
  6156.            P: The  automatic page eject is used to simulate the effect of the
  6157.               Page command,
  6158.  
  6159.                         ______
  6160.                   .page number
  6161.  
  6162.               before the first line of the paragraph.  If this  parameter  is
  6163.               set to 4, for instance, it will ensure that at least four lines
  6164.               are left on the page.  If there are fewer lines than specified,
  6165.               a  page  eject  is  done.   This is applied after the automatic
  6166.               skip.  You may specify "P4+" to check that at least four and  a
  6167.               half lines are left on the current page.
  6168.  
  6169.  
  6170.     _________ _________ _______
  6171.     Automatic Jump/Skip Command
  6172.  
  6173.            J:,
  6174.            S: The  J  specifies  an  automatic Jump, while the S specifies an
  6175.               automatic Skip.  A Skip will not print blank lines when at  the
  6176.               top  of  the page, while a Jump will print them.  The automatic
  6177.               jump/skip is done before the first line of the  paragraph,  and
  6178.               functions  the  same  way  as  if  you  typed  the Skip or Jump
  6179.               command.  The Jump and Skip  options  are  mutually  exclusive.
  6180.               Specifying one will override the other.
  6181.  
  6182.                                 _______ _   _____ ________ _ _________
  6183.                                 Chapter 5   Prose Commands - Paragraph    109
  6184.  
  6185.  
  6186.  
  6187.     ____ ______
  6188.     Keep Buffer
  6189.  
  6190.            K: The  keep  parameter  explicitly  specifies  which  keep buffer
  6191.               should be used to store the new paragraph options.  The default
  6192.               is to use the numerically next buffer (i.e., stack the values);
  6193.               a subsequent Paragraph command without parameters will pop back
  6194.               to the previous values.
  6195.  
  6196.            The Paragraph command provides flexibility and ease of maintenance
  6197.            to documentation in Prose  form.   The  most  common  use  of  the
  6198.            Paragraph  command is to produce a nicely formatted list of items.
  6199.            The following example shows how to use the  Paragraph  command  to
  6200.            produce  a  list of items properly indented.  The basic concept is
  6201.            that the margin is set four  columns  to  the  right.   Every  new
  6202.            paragraph  is then shifted four characters to the left which makes
  6203.            the beginning of each point stand  out.   At  the  same  time  the
  6204.            letter  designator  of  each  point  is automatically generated by
  6205.            Prose.
  6206.  
  6207.            _____ __ ______
  6208.            Input to Prose:
  6209.  
  6210.            .mar(L+4).Comment Shift margin to right 4 spaces
  6211.            .inp(b@).Comment Define @ as explicit blank character
  6212.            .par(f# u4 nL1 s1 p4).Comment # is signal.skip 1.undent 4
  6213.            #.@@Many text formatters do not handle indented lists very
  6214.            well.  This example will show how easy it is with Prose.
  6215.            #.@@When making out a list of points it is very awkward to
  6216.            change the ordering of the points without major changes
  6217.            to the original document.
  6218.            #.@@Prose will maintain full justification so that
  6219.            points do not have to be treated as a special case in a
  6220.            document.
  6221.  
  6222.            ______ ____ ______
  6223.            Output from Prose:
  6224.  
  6225.             A.  Many text formatters do not handle  indented  lists  very
  6226.                 well.  This example will show how easy it is with Prose.
  6227.  
  6228.             B.  When  making  out  a list of points it is very awkward to
  6229.                 change the ordering of the points without  major  changes
  6230.                 to the original document.
  6231.  
  6232.             C.  Prose  will maintain full justification so that points do
  6233.                 not have to be treated as a special case in a document.
  6234.  
  6235.            _______ _   _____ ________ _ ___
  6236.     110    Chapter 5   Prose Commands - PCL
  6237.  
  6238.  
  6239.  
  6240.     ___ _______
  6241.     PCL Command
  6242.  
  6243.            Prints the remainder of the line on the output file.
  6244.  
  6245.                       __________ _ ____
  6246.                 PCL ( parameters ) text
  6247.  
  6248.            The PCL command is similar to the Literal command, but PCL is much
  6249.            more  useful  for  sending  control  codes to the printer.  Before
  6250.            sending out its text, PCL performs  a  Break  and  sends  out  any
  6251.            preceding  blank  lines.   While sending out its text, the special
  6252.            processing of Prose Input characters are not performed.   Instead,
  6253.            PCL  has  its own special characters.  After sending out its text,
  6254.            PCL does not start a new line.  The following example  illustrates
  6255.            this:
  6256.  
  6257.            _____ __ ______
  6258.            Input to Prose:
  6259.  
  6260.                 word1
  6261.                 .pcl <codes>
  6262.                 .pcl <code2>
  6263.                 word2
  6264.  
  6265.            ______ ____ ______
  6266.            Output from Prose:
  6267.  
  6268.                 word1
  6269.                 <codes><code2>word2
  6270.  
  6271.            You  can have several consecutive PCL commands.  Their output will
  6272.            not have any new lines between  them.   The  output  from  PCL  is
  6273.            transparent  to  the  usual  Prose  formatting.   If  you move the
  6274.            "cursor" with control codes (such as a carriage return, line feed,
  6275.            backspace, tab, or formfeed), Prose will not know about it and the
  6276.            remainder of your page may not get formatted as expected.
  6277.  
  6278.            ___ ______  _______                 ____      _______
  6279.            Key Letter  Meaning                 Type      Default
  6280.  
  6281.                C       control character       character   ^
  6282.                E       escape character        character   ~
  6283.                L       LaserJet only           switch      -
  6284.                N       new line after text     switch      -
  6285.                S       obey select             switch      +
  6286.  
  6287.            For the C and E key letters, if you specify them without a  value,
  6288.            the value assigned is the null character.  This in effect disables
  6289.            the processing of the control or  escape  character.   The  S  key
  6290.            letter is only in effect for one command.  The other values remain
  6291.            set until they are changed by another PCL command.
  6292.  
  6293.                                       _______ _   _____ ________ _ ___
  6294.                                       Chapter 5   Prose Commands - PCL    111
  6295.  
  6296.  
  6297.  
  6298.     _______ _________
  6299.     Control Character
  6300.  
  6301.            C: The control character is used to generate non-printing  control
  6302.               codes  sometimes  required  in  printer control sequences.  The
  6303.               ASCII control codes 0 through  31  are  the  most  common.   To
  6304.               generate  a control code, use the control character followed by
  6305.               the numeric ASCII code of  the  control  code  you  want.   For
  6306.                                                                      __
  6307.               example,  to  generate a control-G (ASCII code 7), use ^7.  You
  6308.               can also generate the ASCII escape character this way (^27), or
  6309.               you can use the more readable escape character instead.
  6310.  
  6311.               Any  non-numeric  character  that follows the control character
  6312.               will be output as is.  This way, the control character  can  be
  6313.               used  to  send  itself.   For  example, if you need to send the
  6314.               sequence "escape, caret, control-c", you  can  either  redefine
  6315.               the  control character for this one sequence, or use two carets
  6316.               in a row.
  6317.  
  6318.                    .comment redefine control char as $, then restore...
  6319.                    .pcl(c$) ~^$3
  6320.                    .pcl(c^)
  6321.                    .comment ...or use two carets
  6322.                    .pcl ~^^^3
  6323.  
  6324.  
  6325.     ______ _________
  6326.     Escape Character
  6327.  
  6328.            E: Not to be confused with Prose's usual escape character  defined
  6329.               with  the Input command, PCL's escape character is a substitute
  6330.               for the ASCII escape character 27 (commonly known  as  escape).
  6331.               Because the ASCII escape is used extensively in printer control
  6332.               sequences, using PCL's escape character instead of ^27 can make
  6333.               the printer sequence more readable.
  6334.  
  6335.               For  example, to generate the LaserJet sequence for 8 lines per
  6336.               inch (escape, ampersand, small-L, 8, big-D), you can use either
  6337.               one of the following:
  6338.  
  6339.                    .pcl ~&l8D
  6340.                    .pcl ^27&l8D
  6341.  
  6342.  
  6343.     ________ ____
  6344.     LaserJet Only
  6345.  
  6346.            L: If  you  are producing documents that must be printable on both
  6347.               LaserJets and line printers, you will need to  enable  LaserJet
  6348.               PCL  commands  only  for  LaserJet output.   You can use the If
  6349.               command to select your output device and select  PCL  commands.
  6350.               Alternatively,  you can use the L+ option to tell Prose to send
  6351.               the PCL text only if the current output device is  a  LaserJet,
  6352.               selected  with  the Out(las) command.  If the current device is
  6353.               not a LaserJet, the PCL text will not be sent  to  the  output,
  6354.               but the PCL options will still be processed.
  6355.  
  6356.            _______ _   _____ ________ _ ___
  6357.     112    Chapter 5   Prose Commands - PCL
  6358.  
  6359.  
  6360.  
  6361.                    .comment This PCL is ignored
  6362.                    .out(lpt)
  6363.                    .pcl(L+) ~&l8D
  6364.  
  6365.                    .comment This PCL is used
  6366.                    .out(las)
  6367.                    .pcl(L+) ~&l8D
  6368.  
  6369.  
  6370.     ___ ____
  6371.     New Line
  6372.  
  6373.            N: Use  N+  if  you want to start a new line after sending out the
  6374.               PCL text.  For printer control, you rarely need to have  a  new
  6375.               line  after  the  control  codes.   However,  for some types of
  6376.               terminal control, you do need to start a new  line  before  the
  6377.               terminal  control  takes effect.  Using N+ instead of ^13^10 at
  6378.               the end of the PCL text has  the  advantage  of  Prose  knowing
  6379.               about the new line that is sent.
  6380.  
  6381.               _____ __ ______
  6382.               Input to Prose:
  6383.  
  6384.                    text1
  6385.                    .pcl(N+) <New line after this>
  6386.                    text2
  6387.  
  6388.               ______ ____ ______
  6389.               Output from Prose:
  6390.  
  6391.                    text1
  6392.                    <New line after this>
  6393.                    text2
  6394.  
  6395.  
  6396.     ____ ______
  6397.     Obey Select
  6398.  
  6399.            S: By  default,  PCL  obeys the Select command and will not output
  6400.               text if you are not on a selected page.  However,  if  you  are
  6401.               using PCL to send printer setup codes, you need to send out the
  6402.               PCL text regardless of the Select settings.  In this case,  use
  6403.               S-  in  the  PCL  command.   S-  is  only in effect for the PCL
  6404.               command it appears in.  The next PCL command will  continue  to
  6405.               obey the Select command.
  6406.  
  6407.                    .sel(1 3)
  6408.                    .pcl <this appears on page 1>
  6409.                    .page
  6410.                    .pcl <this will not appear on page 2>
  6411.                    .pcl(s-) <this will appear on page 2>
  6412.                    .pcl <this will not appear on page 2>
  6413.                    .page
  6414.                    .pcl <this appears on page 3>
  6415.  
  6416.                                     _______ _   _____ ________ _ _____
  6417.                                     Chapter 5   Prose Commands - Reset    113
  6418.  
  6419.  
  6420.  
  6421.     _____ _______
  6422.     Reset Command
  6423.  
  6424.            The Reset command sets commands to their default values.
  6425.  
  6426.                         ________
  6427.                 RESET ( commands )
  6428.                   or
  6429.                                ________
  6430.                 RESET ( EXCEPT commands )
  6431.  
  6432.            If  you  have  changed  the values of many commands (such as Form,
  6433.            Margin, or Option), the single, default, command
  6434.  
  6435.                 .reset
  6436.  
  6437.            resets the value of all commands to their defaults.  Commands  may
  6438.            be reset selectively by using the second form of the command.  For
  6439.            example,
  6440.  
  6441.                 .reset(margin option)
  6442.  
  6443.            only resets the Margin and Option commands.  Commands may also  be
  6444.            excluded selectively.  For example,
  6445.  
  6446.                 .reset(except form output)
  6447.  
  6448.            resets all commands with the exception of Form and Output.
  6449.  
  6450.            Parameters  for  Reset  are  selected  from  the following list of
  6451.            command names.
  6452.  
  6453.                Align        Input        Output       Select
  6454.                Count        Inx          Page         Subtitle
  6455.                Form         Margin       Paragraph    Title
  6456.                Headindex    Option       PCL
  6457.  
  6458.            The values of parameters  for  most  commands  are  set  to  their
  6459.            defaults  (which  are listed with the description of each command)
  6460.            with the exception of the keep parameters which are set  to  "K0".
  6461.            For  the  Count,  Inx,  and  Page commands, however, the action is
  6462.            different.  Resetting Count sets the page counter to 1,  resetting
  6463.            Inx  deletes  all  index  entries  that have been accumulated, and
  6464.            resetting Page causes a page eject.  In addition, since  resetting
  6465.            Form  or  Output  directly  affects  the printed result, resetting
  6466.            either of these commands also causes a page eject.
  6467.  
  6468.            _______ _   _____ ________ _ ______
  6469.     114    Chapter 5   Prose Commands - Select
  6470.  
  6471.  
  6472.  
  6473.     ______ _______
  6474.     Select Command
  6475.  
  6476.            Prints specified pages of text.
  6477.  
  6478.                          __________
  6479.                 SELECT ( parameters )
  6480.  
  6481.                                                  (Default:  select all pages)
  6482.  
  6483.            When  you revise documentation, you rarely change every page.  You
  6484.            can use the Select command to print out  only  certain  pages  for
  6485.            you.   The  entire  document will still be formatted, but only the
  6486.            selected pages are printed.  This  does  not  reduce  the  central
  6487.            processing time, but it can reduce the printing time!
  6488.  
  6489.            ___ ______  _______                  ____       _______
  6490.            Key Letter  Meaning                  Type       Default
  6491.  
  6492.                n1 n2   pages n1 and n2
  6493.                n1:n2   pages n1 to n2, inclusive
  6494.                n1:+n2  page n1 and the next n2 pages
  6495.  
  6496.                E       even-numbered pages      switch         +
  6497.                O       odd-numbered pages       switch         +
  6498.                P       print pages              switch         +
  6499.  
  6500.            To  print  individual pages, use page numbers separated by spaces.
  6501.            To select a range of pages, use two numbers separated by  a  colon
  6502.            ( : ).   The  first number is the first page of the range, and the
  6503.            second number is the last page of the range.   The  second  number
  6504.            may  be  specified  relative  to the first.  The following example
  6505.            selects pages 3, 5, 10 through 15, and 20 through 25 for printing.
  6506.  
  6507.                 .select(3 5 10:15 20:+5)
  6508.  
  6509.            If  you use .select(0) (i.e., zero), Prose will still process your
  6510.            document, but it will not print any pages.  This is useful if  you
  6511.            want  Prose  to check your document for hyphenation and formatting
  6512.            errors.
  6513.  
  6514.  
  6515.     ______ ________
  6516.     Duplex Printing
  6517.  
  6518.            If you have a laser printer without a duplex option, you can still
  6519.            print  double-sided output by using the Select command.  Print all
  6520.            of the odd pages first,  then  feed  these  pages  back  into  the
  6521.            printer and print all of the even pages.  To select all of the odd
  6522.            pages, use O (i.e., the letter O)  instead  of  a  number  in  the
  6523.            Select  parameter.   To select all of the even pages, use E in the
  6524.            parameter.
  6525.  
  6526.                 .select(o)   .com select all the odd pages
  6527.                 .select(e)   .com select all the even pages
  6528.  
  6529.                                    _______ _   _____ ________ _ ______
  6530.                                    Chapter 5   Prose Commands - Select    115
  6531.  
  6532.  
  6533.  
  6534.     _____ _____
  6535.     Print Pages
  6536.  
  6537.            The P option is used to suppress the printing of  selected  pages,
  6538.            as  if  they  had not been selected.  This is useful when you have
  6539.            several sets of identically numbered pages, but you only  want  to
  6540.            print  one  set.   For  example,  you may want to print out a long
  6541.            table of contents (e.g., pages 1 to 8),  but  you  don't  want  to
  6542.            print out pages 1 to 8 in the first part of the document.
  6543.  
  6544.            A  .select(p-) cause all pages to be temporarily unselected; i.e.,
  6545.            no pages will be printed after this command.  A  .select(p+)  will
  6546.            restore  the  page selection so that the originally selected pages
  6547.            can be printed.  The .sel(p) commands can only be  used  when  you
  6548.            are  at  the  top  of  a  page.  That is, before anything has been
  6549.            printed, or after a .page command.
  6550.  
  6551.            The following example shows you how to print the  eight  pages  of
  6552.            the table of contents without printing the preceding pages.
  6553.  
  6554.                 .sel(1:8).com Select pages 1 to 8 to print
  6555.                 .sel(p-) Don't print yet the text on pages 1 to 8
  6556.                 .page
  6557.                 .count 1
  6558.                 .com Now print page 1 to 8 of the table of contents
  6559.                 .select(p+).com Choose pages 1 to 8
  6560.                 .contents(p+).com Print the table of contents
  6561.  
  6562.            _______ _   _____ ________ _ ____
  6563.     116    Chapter 5   Prose Commands - Skip
  6564.  
  6565.  
  6566.  
  6567.     ____ _______
  6568.     Skip Command
  6569.  
  6570.            Skips a certain number of output lines, i.e., prints blank lines.
  6571.  
  6572.                      ______
  6573.                 SKIP number
  6574.  
  6575.                                                      (Default:  skip 5 lines)
  6576.  
  6577.            The Skip command generates soft blank lines.  That is,  Skip  will
  6578.            never  print  blank  lines at the top of a page.  To skip lines at
  6579.            the top of a page, at least one actual blank line must precede the
  6580.            Skip command.  For example, if you want to skip three lines at the
  6581.            top of a page, then you need to have a blank line, followed  by  a
  6582.            .skip 2.
  6583.  
  6584.                 .page
  6585.  
  6586.                 .skip 2
  6587.                 We just skipped three lines at the top of the page.
  6588.  
  6589.            Alternatively, you can use the Jump command to skip lines.
  6590.  
  6591.            See the Paragraph command for a way to do an automatic skip before
  6592.            each paragraph.  The command .skip 4+ will skip four  and  a  half
  6593.            lines.
  6594.  
  6595.                                 _______ _   _____ ________ _ _________
  6596.                                 Chapter 5   Prose Commands - Sortindex    117
  6597.  
  6598.  
  6599.  
  6600.     _________ _______
  6601.     Sortindex Command
  6602.  
  6603.            Causes  the  currently  accumulated  Inx  entries to be sorted and
  6604.            printed.   Sortindex  normally  appears  near  the  end  of   your
  6605.            document.
  6606.  
  6607.                             __________
  6608.                 SORTINDEX ( parameters )
  6609.  
  6610.            The  index  entries  that  are  accumulated by Inx commands can be
  6611.            sorted  either  alphabetically  or  by  page  number  (useful  for
  6612.            generating  a  table of contents; see the R option below) and then
  6613.            printed in a flexible manner.  The Sortindex command allows you to
  6614.            specify how many leading blanks to print at the left of each index
  6615.            line, where to insert the page number in each  line,  and  how  to
  6616.                                                     ______
  6617.            format  the  page  number.   The  index  cannot  be formatted into
  6618.            multiple columns.
  6619.  
  6620.            The parameters may appear in any order, and are selected from  the
  6621.            following:
  6622.  
  6623.            ___ ______  _______  _______
  6624.            Key Letter  Default  Meaning
  6625.  
  6626.                C          -     combine entries with the same name
  6627.                F        blank   fill character (used between the index
  6628.                                    entry and the page number)
  6629.                L          2     left width of page number (field width
  6630.                                    for number)
  6631.                M          0     margin (left margin before index line)
  6632.                P          0     column (in index entry) to insert page
  6633.                                    number
  6634.                R          2     right width of page number (blanks
  6635.                                    printed after)
  6636.                S          1     sorting option (see below)
  6637.  
  6638.            In  the  absence  of  parameters, the defaults are used.  When the
  6639.            page number is shorter than the field width (parameter L,  above),
  6640.            it  will  be  right-justified  within the field (i.e., padded with
  6641.            leading blanks).  When the page number is longer  than  the  field
  6642.            width,  Prose  prints  the  page  number without any extra leading
  6643.            blanks.  If the S option is  numeric,  the  number  is  the  first
  6644.            significant  column  for  alphabetic sorting (in almost all cases,
  6645.            the default of 1 is appropriate).  If it is the letter "P",  Prose
  6646.            selects sorting by page number.
  6647.  
  6648.            When printing an index, other Prose commands are used to start the
  6649.            index on a new page (if desired) and to print a suitable title for
  6650.            the  index.  When Sortindex is encountered, the index entries (see
  6651.            the Inx command) are sorted and printed one  per  line;  each  new
  6652.            index  line  is  added  to  the  current form just as if it were a
  6653.            regular line of text.  As a  result,  index  entries  may  contain
  6654.            explicit  blank characters and underline characters.  If the index
  6655.            listing overflows a page, the current Form definition is used  for
  6656.            the bottom and top of the page.
  6657.  
  6658.            _______ _   _____ ________ _ _________
  6659.     118    Chapter 5   Prose Commands - Sortindex
  6660.  
  6661.  
  6662.  
  6663.            The Sortindex command for this manual is
  6664.  
  6665.                  .sortindex (c+ f.  m11 p53 l0 r0)
  6666.  
  6667.                                     _______ _   _____ ________ _ _____
  6668.                                     Chapter 5   Prose Commands - Style    119
  6669.  
  6670.  
  6671.  
  6672.     _____ _______
  6673.     Style Command
  6674.  
  6675.            The  Style  command  provides an alternative method for specifying
  6676.            formatting information.   It  defines  styles  and  also  switches
  6677.            between styles.
  6678.  
  6679.                         __________   _____ ____
  6680.                 STYLE ( parameters ) style name
  6681.  
  6682.            The  parameters  can  be in any order, and consist of a key letter
  6683.            followed  by  a  value.   The  following  table   summarizes   the
  6684.            parameters.
  6685.  
  6686.            ___ ______  _______                  ____      _______
  6687.            Key Letter  Meaning                  Type      Default
  6688.  
  6689.                F       font style               number       0
  6690.                K       keep buffer              number      next
  6691.                M       margin style             number       0
  6692.                P       paragraph style          number       0
  6693.                O       option style             number       0
  6694.                S       save keep buffer         switch       +
  6695.  
  6696.  
  6697.     ____________ __ ______
  6698.     Introduction to Styles
  6699.  
  6700.                                                     ____     _____ ______
  6701.            The  Style  command  uses the concept of tags and style sheets.  A
  6702.            tag is a name for a particular structural element of your document
  6703.            such  as "title", "heading", "example", and "body".  A style sheet
  6704.            is the definition of a tag in terms of formatting commands such as
  6705.            font, margin, and paragraph settings.
  6706.  
  6707.            By  using  tags  and style sheets, you can place most of the Prose
  6708.            formatting details into one place in your  document,  usually  the
  6709.            beginning.   By  alternating  style  names,  you can automatically
  6710.            change the format of specific parts of your document.   Tags  also
  6711.            help  you  to maintain a document by clearly identifying the parts
  6712.            of a document.  However,  using  tags  and  styles  involves  more
  6713.            initial planning.
  6714.  
  6715.  
  6716.     ____ _____
  6717.     Font Style
  6718.  
  6719.            F: Specifies which font corresponds to this style.
  6720.  
  6721.  
  6722.     ____ ______
  6723.     Keep Buffer
  6724.  
  6725.            K: Specifies  which  keep  buffer  should be used to store the new
  6726.               style settings.  The default is the  numerically  next  buffer.
  6727.               We  recommend  that  you  do  not  specify explicit keep buffer
  6728.               numbers when defining styles.  Instead, give each style a name,
  6729.               such as body, heading, etc.
  6730.  
  6731.            _______ _   _____ ________ _ _____
  6732.     120    Chapter 5   Prose Commands - Style
  6733.  
  6734.  
  6735.  
  6736.     ______ _____
  6737.     Margin Style
  6738.  
  6739.            M: Specifies which margin keep buffer to use for this style.
  6740.  
  6741.  
  6742.     ______ _____
  6743.     Option Style
  6744.  
  6745.            O: Specifies which option keep buffer to use for this style.
  6746.  
  6747.  
  6748.     _________ _____
  6749.     Paragraph Style
  6750.  
  6751.            P: Specifies which paragraph keep buffer to use for this style.
  6752.  
  6753.  
  6754.     ____ ____ _______
  6755.     Save Keep Buffers
  6756.  
  6757.            S: Saves  the  latest  margin, option, and paragraph keep buffers.
  6758.               This parameter ensures that you  can't  accidentally  overwrite
  6759.               any  of  the  keep  buffers defined to this point, and that you
  6760.               will use only the keep buffers after this point the  next  time
  6761.               you  use  a  margin,  option,  or  Paragraph  command without a
  6762.               specific keep buffer.  This allows you to use  Prose's  regular
  6763.               keep  buffer  stacks  as well as the Style command to switch to
  6764.               specific format settings.
  6765.  
  6766.               You must follow two steps to use this Save parameter correctly.
  6767.               First,   define  the  default  margin,  option,  and  paragraph
  6768.               settings after you have defined the keep buffers for  use  with
  6769.               your  styles.   These  format  settings are usually the same as
  6770.               those used for your body text.  When you define these settings,
  6771.               do  not  include  a  specific  keep  buffer.   Second, use this
  6772.               command by itself (i.e., without  other  style  specifications)
  6773.               after you define your format settings.
  6774.  
  6775.                    .mar(k1 l15 r65)
  6776.                    .mar(k2 l0  r65)
  6777.                    .mar(l15 r65)       .com default margin
  6778.                    .par(k1 f` u0 s0)
  6779.                    .par(k2 f` u0 s1)
  6780.                    .par(f` u0 s0)      .com default paragraph
  6781.                    .opt(k1 l+ r+ f+)
  6782.                    .opt(k2 l+ r- f-)
  6783.                    .opt(k3 l- r- f-)
  6784.                    .opt(l+ r+ f+)      .com default option
  6785.                    .style(s+)          .com save keep buffers
  6786.  
  6787.                    _____________  ____  ____ _______
  6788.               See  Compatibility  with  Keep Buffers in this section for more
  6789.               information.
  6790.  
  6791.                                     _______ _   _____ ________ _ _____
  6792.                                     Chapter 5   Prose Commands - Style    121
  6793.  
  6794.  
  6795.  
  6796.     ________ ______
  6797.     Creating Styles
  6798.  
  6799.            First, identify all the different structures in your document that
  6800.            you  want  to include in your style definitions.  Use the names of
  6801.            these structures  as  the  tag  names.   Common  structures  in  a
  6802.            document  include  title,  chapter,  section, heading, subheading,
  6803.            body, example, and bullet.  In our  example,  we  will  use  three
  6804.            tags: body, title, and heading.
  6805.  
  6806.            Then,  define  the fonts, margins, paragraphs, and options used by
  6807.            the tags.  Think of this as a list of  all  the  different  format
  6808.            settings  that  you  will  need.  In our example, Body uses font 0
  6809.            (Times Roman 10pt), is  justified,  and  is  indented  15  spaces;
  6810.            Heading uses font 1 (Bold) and is not indented; and Title use font
  6811.            3 (Helvetica 14pt) and is centered.  You  create  this  "list"  by
  6812.            using  explicit  keep buffers in the margin, paragraph, and Option
  6813.            commands.  If you use our font  include  files,  then  fonts  have
  6814.            already been "listed" for you.
  6815.  
  6816.                 .mar(k1 l15 r65)    .com margin for body
  6817.                 .mar(k2 l0  r65)    .com margin for heading, title
  6818.                 .par(k1 f` u0 s0)   .com paragraph for body
  6819.                 .par(k2 f` u0 s1)   .com paragraph for heading, title
  6820.                 .opt(k1 l+ r+ f+)   .com option for body
  6821.                 .opt(k2 l+ r- f-)   .com option for heading
  6822.                 .opt(k3 l- r- f-)   .com option for title
  6823.  
  6824.            Finally,  you can define the styles using your pre-defined list of
  6825.            format settings.  A style is really a collection  of  other  Prose
  6826.            keep  buffers that affect formatting: font, margin, paragraph, and
  6827.            option.  You also specify the name of the  style  (i.e.,  the  tag
  6828.            name).  The name can be up to 16 characters long.
  6829.  
  6830.                 .style(f0 m1 o1 p1) body
  6831.                 .style(f3 m2 o3 p2) title
  6832.                 .style(f1 m2 o2 p2) heading
  6833.  
  6834.            The  margin settings that are stored in keep buffer 1 are referred
  6835.            to as m1 when used to define styles; those stored in keep buffer 2
  6836.            are  referred  to  as  m2, etc.  The format settings stored in the
  6837.            option and paragraph keep  buffers  are  also  referred  to  in  a
  6838.            similar manner (e.g., o1, o2, p1, p2, etc.)
  6839.  
  6840.            Note that when you create a style, you do not automatically switch
  6841.            into that style.
  6842.  
  6843.  
  6844.     _____ ______
  6845.     Using Styles
  6846.  
  6847.            To switch to a style, just specify the Style command  followed  by
  6848.            the  name of the style.  Once you switch to a style, you remain in
  6849.            that style until you switch to another style.
  6850.  
  6851.            _______ _   _____ ________ _ _____
  6852.     122    Chapter 5   Prose Commands - Style
  6853.  
  6854.  
  6855.  
  6856.                 .style title
  6857.                 `Style Command
  6858.                 .style heading
  6859.                 `Introduction
  6860.  
  6861.                 .style body
  6862.                 This is a description of the Style command.
  6863.  
  6864.            Unlike other Prose keep buffers, you  can  have  up  to  40  style
  6865.            buffers  (other  keep  buffers have up to 10).  When you are using
  6866.            styles, the styles are not stacked.  That is, if you use the Style
  6867.            command with no style specified, Prose will return to the previous
  6868.            style used.
  6869.  
  6870.                 .style body
  6871.                 This is in the style body.
  6872.                 .style heading
  6873.                 `Heading
  6874.                 .style
  6875.                 Back to the style body.
  6876.  
  6877.  
  6878.     _____________ ____ ____ _______
  6879.     Compatibility with Keep Buffers
  6880.  
  6881.            Even if you are using styles, there are times when you may need to
  6882.            use  a  certain format that hasn't been previously defined in your
  6883.            style settings.  You can define a new style for  this  format,  or
  6884.            you  can  use Prose's keep buffer stacks to temporarily change the
  6885.            format.  Because the Style command also uses keep buffers to store
  6886.            style  information,  you  will  want  to  ensure  that  you  can't
  6887.            accidentally overwrite the  keep  buffers  stored  in  your  style
  6888.            settings  when  using  the stacking keep buffers.  Following these
  6889.            two steps will allow you to use  keep  buffer  stacks  to  format,
  6890.            without  affecting  the parameters stored in the keep buffers used
  6891.            in defining your styles.
  6892.  
  6893.            1. After defining a set of keep buffers for a command (e.g., mar),
  6894.               define  the default parameters for that command.  These default
  6895.               parameters are usually identical to those  used  for  the  main
  6896.               body text.
  6897.  
  6898.            2. Use  a .style(s+) after all the keep buffers have been defined.
  6899.               This will allow  you  to  use  keep  buffer  stacks  and  Style
  6900.               commands to switch to specific format settings.
  6901.  
  6902.            The  following  example shows a style file that is compatible with
  6903.            the Robelle template files which use keep buffers for  formatting.
  6904.            A  copy of this is in the file Styles.Qlibdata.Robelle.  The lines
  6905.            that show the default keep buffers  and  the  Save  parameter  are
  6906.            marked  with a ".com ***".  Note that the parameters stored in the
  6907.            keep buffers numbered 0 are common to all the  keep  buffers  (for
  6908.            that particular command), unless otherwise specified.
  6909.  
  6910.                                     _______ _   _____ ________ _ _____
  6911.                                     Chapter 5   Prose Commands - Style    123
  6912.  
  6913.  
  6914.  
  6915.                 .inp(k0 u~ b@ h\ e& f| t#)
  6916.                 .if outhelpcomp
  6917.                 .  mar(k0 l0 r78)
  6918.                 .endif
  6919.                 .  mar(k0 l0 r65)
  6920.                 .endif
  6921.                 .par(k0 f`)
  6922.                 .opt(k0 j4 p+)
  6923.                 .com
  6924.                 .inp(k1 u~ b@ h\ e& f| t#).com *** Robelle default
  6925.                 .com
  6926.                 .mar(k1 l0)            .com body
  6927.                 .mar(k2 l0)            .com heading
  6928.                 .mar(k3 l3)            .com bullet
  6929.                 .if outhelpcomp
  6930.                 .  mar(l0 r78)         .com *** default for Robelle
  6931.                 .else
  6932.                 .  mar(l0 r65)         .com *** default for Robelle
  6933.                 .endif
  6934.                 .com
  6935.                 .par(k1 p5 u3 s1)      .com body
  6936.                 .par(k2 p7 u0 s1)      .com heading
  6937.                 .par(k3 p5 u3 s1)      .com bullet
  6938.                 .par(k4 p5 u3 s0)      .com tight bullets
  6939.                 .par(k5 p5 u3 s1 nn1)  .com numbered bullets
  6940.                 .par(f` p5 u3 s1 n )   .com *** default for Robelle
  6941.                 .com
  6942.                 .opt(k1 l+ r+ f+)      .com justified, filled
  6943.                 .opt(k2 l+ r- f+)      .com unjustified, filled
  6944.                 .opt(k3 l+ r- f-)      .com left just, no fill
  6945.                 .opt(k4 l- r- f-)      .com center, no fill
  6946.                 .opt(k5 l- r+ f-)      .com right just, no fill
  6947.                 .opt(l+ r+ f+ j4 p+)   .com *** default for Robelle
  6948.                 .com
  6949.                 .style(s+)          .com *** allow keep buffer stacking
  6950.                 .com
  6951.                 .style(f0 m1 p1 o1) body       .com body
  6952.                 .style(f3 m2 p2 o4) head1      .com centered helv
  6953.                 .style(f3 m2 p2 o3) head2      .com helv heading
  6954.                 .style(f1 m2 p2 o3) head3      .com bold heading
  6955.                 .style(f2 m2 p2 o3) head4      .com italic heading
  6956.                 .style(f0 m3 p4 o1) bullet1    .com tight bullets
  6957.                 .style(f0 m3 p3 o1) bullet2    .com bullets
  6958.                 .style(f0 m3 p5 o1) bullet3    .com numbered bullets
  6959.                 .style(f5    p1 o3) example    .com examples
  6960.                 .style(f0 m1 p1 o5) address    .com right-justified
  6961.                 .style(f0 m1 p1 o2) body2      .com unfilled body
  6962.                 .com
  6963.                 .style(o1) justified    .com common justifications
  6964.                 .style(o2) ragged
  6965.                 .style(o3) left
  6966.                 .style(o4) center
  6967.                 .style(o5) right
  6968.  
  6969.            _______ _   _____ ________ _ ________
  6970.     124    Chapter 5   Prose Commands - Subtitle
  6971.  
  6972.  
  6973.  
  6974.     ________ _______
  6975.     Subtitle Command
  6976.  
  6977.            Enters the remainder of the command line into the subtitle buffer.
  6978.  
  6979.                          ____
  6980.                 SUBTITLE text
  6981.  
  6982.            The Form command uses the contents of the subtitle buffer  as  one
  6983.            of the two variable running heads; the other is the Title buffer.
  6984.  
  6985.                 .sub Output Command
  6986.  
  6987.            The  Subtitle  text  may  contain  underline  characters  and font
  6988.            switches.
  6989.  
  6990.                                       _______ _   _____ ________ _ ___
  6991.                                       Chapter 5   Prose Commands - Tab    125
  6992.  
  6993.  
  6994.  
  6995.     ___ _______
  6996.     Tab Command
  6997.  
  6998.            Defines tab stops.
  6999.  
  7000.                       __________
  7001.                 TAB ( parameters )
  7002.  
  7003.                                                    (Default:  clear all tabs)
  7004.  
  7005.            _________   _______
  7006.            Parameter   Meaning
  7007.  
  7008.                _                              _
  7009.                n       tab at absolute column n
  7010.                __                             _
  7011.                +n      tab at relative column n
  7012.  
  7013.            To  define tabs, enter the list of tabs, separated by spaces.  The
  7014.            tab positions can be absolute or relative.
  7015.  
  7016.            To create a table without using the Tab command, you need  to  put
  7017.            the tab stop values in every line.
  7018.  
  7019.                 #5Item     #15Description
  7020.                 #5apples   #15red and delicious
  7021.                 #5oranges  #15orange and juicy
  7022.                 #5grapes   #15purple and sweet
  7023.  
  7024.            With  the  Tab command, you define the tab stops once and use only
  7025.            the Prose tab character in your text.
  7026.  
  7027.                 .tab(5 15)
  7028.                 #Item     #Description
  7029.                 #apples   #red and delicious
  7030.                 #oranges  #orange and juicy
  7031.                 #grapes   #purple and sweet
  7032.                 .tab
  7033.  
  7034.            Note the .tab at the end of the table.  You should reset your tabs
  7035.            at  the  end  of  each  table  so  that  subsequent use of the tab
  7036.            character in bullet lists and hanging  indents  will  be  properly
  7037.            formatted.
  7038.  
  7039.            _______ _   _____ ________ _ _____
  7040.     126    Chapter 5   Prose Commands - Title
  7041.  
  7042.  
  7043.  
  7044.     _____ _______
  7045.     Title Command
  7046.  
  7047.            Enters  the  remainder  of  the  command  line into the main title
  7048.            buffer.
  7049.  
  7050.                       ____
  7051.                 TITLE text
  7052.  
  7053.            The Form command uses the title buffer to complete one of the  two
  7054.            variable running heads; the other is the Subtitle buffer.
  7055.  
  7056.                 .title Prose User Manual
  7057.  
  7058.            The Title text may contain underline characters and font switches.
  7059.  
  7060.                                    _______ _   _____ ________ _ ______
  7061.                                    Chapter 5   Prose Commands - Undent    127
  7062.  
  7063.  
  7064.  
  7065.     ______ _______
  7066.     Undent Command
  7067.  
  7068.            Undents the following line a certain number of spaces.
  7069.  
  7070.                        ______
  7071.                 UNDENT number
  7072.  
  7073.                               (Default:  undent to leftmost printable column)
  7074.  
  7075.            The  undent  is  sometimes known by the name "outdent" or "hanging
  7076.            indent".  A line can never be undented past the leftmost column of
  7077.            the  printer  page, and so a large number is adjusted to a smaller
  7078.            value.  Undent is normally used in combination with a left  margin
  7079.            that is shifted right several spaces; the first line of each point
  7080.            or paragraph is shifted left to make it stand out from the rest of
  7081.                                             ___  __ ___ ______
  7082.            the  lines.   See  the  section  How  to Use Undent in the chapter
  7083.            ________ _____
  7084.            Applying Prose for an example of using this feature.  See also the
  7085.            Paragraph command for a way to do an automatic Undent on the first
  7086.            line of every paragraph.
  7087.  
  7088.     128
  7089.  
  7090.  
  7091.  
  7092.  
  7093.     ________ _ _ _____ ______
  7094.     Appendix A - Prose Errors
  7095.  
  7096.  
  7097.            We  provide  some  User  Defined  Commands.   You  will   find   a
  7098.                                        _________ _____
  7099.            description  of them in the Accessing Prose chapter.  When you use
  7100.            the Prose UDC to print your document, any error messages  will  be
  7101.            displayed  on  $Stdlist after Prose finishes formatting your file.
  7102.            The PDISC UDC, which sends your  Prose  output  to  a  disc  file,
  7103.            creates an error file to hold any error messages.  To examine your
  7104.            error messages, use Qedit to list the Perrfile.  All Prose  errors
  7105.            are prefixed with "-----".
  7106.  
  7107.                 /lq plist     {view document without line numbers}
  7108.  
  7109.                 /lq perrfile  {view error file}
  7110.  
  7111.            Prose  processes  errors  in  the input file by first printing the
  7112.            line number and the input line where Prose found the  error.   For
  7113.            errors  in Prose commands, the command name and the reason for the
  7114.            error are printed.  For example, the following Margin  command  is
  7115.            missing the closing parenthesis:
  7116.  
  7117.                 .mar(l+3
  7118.  
  7119.            ______ ____ ______
  7120.            Output from Prose:
  7121.  
  7122.             -----  45.100  .mar(l+3
  7123.             -----MARGIN ERROR: MISSING )
  7124.  
  7125.  
  7126.     _______ ______
  7127.     Numeric Errors
  7128.  
  7129.            Many  commands  expect  numeric  parameters.   When Prose finds an
  7130.            invalid number, it uses a  slightly  different  scheme  for  error
  7131.            reporting.   If you tried to indent a hundred columns, Prose would
  7132.            print the following error message:
  7133.  
  7134.                 .indent 100
  7135.  
  7136.            ______ ____ ______
  7137.            Output from Prose:
  7138.  
  7139.             -----  45.100  .indent 100
  7140.             -----INDENT ERROR: NUMBER WIDTH OF 100 IS TOO LARGE, 65 USED
  7141.  
  7142.  
  7143.     ____ ______
  7144.     Form Errors
  7145.  
  7146.            When the Form command is entered, Prose does  no  error  checking.
  7147.            Forms  are  interpreted  as  each  line  of text is written to the
  7148.            output file.  Errors in forms are printed as they are  encountered
  7149.            in  the process of printing lines.  The input line where the error
  7150.            occurred is not printed.  For example, the following Form  command
  7151.            is missing the number of lines:
  7152.  
  7153.                                              ________ _ _ _____ ______
  7154.                                              Appendix A - Prose Errors    129
  7155.  
  7156.  
  7157.  
  7158.                 .for([ // 55 //])
  7159.  
  7160.            ______ ____ ______
  7161.            Output from Prose:
  7162.  
  7163.             -----FORM ERROR: 5
  7164.             -----FORM ERROR: 5
  7165.             -----FORM ERROR: NO "L" FOUND
  7166.  
  7167.  
  7168.     ___________ ______
  7169.     Hyphenation Errors
  7170.  
  7171.            This   is  probably  the  most  common  error.   Prose  looks  for
  7172.            "hyphenation" points when it needs to insert too many spaces in  a
  7173.            line.   If  you  have not specified hyphenation points where Prose
  7174.            can break the word at the end of the line, Prose prints  an  error
  7175.            message.    See   the  J  parameter  of  the  Option  command  for
  7176.            information  on  how  you  can  control  the   justification   and
  7177.            hyphenation  process.  You will also find a section on hyphenating
  7178.                                 ________ _____
  7179.            words in the chapter Applying Prose.
  7180.  
  7181.            To check for hyphenation  errors  in  a  document  that  you  have
  7182.            formatted to a disc file, do the following:
  7183.  
  7184.                 :run qedit.pub.robelle
  7185.                 /set udc udc.catalog.robelle
  7186.                         ____________
  7187.                 /:pdisc yourfile.doc
  7188.                 /lq perrfile
  7189.  
  7190.             ----- 986  measurement devices to use.
  7191.             ----- ERROR: HYPHENATION NEEDED: measurement
  7192.             -----1287  Unfortunately, you may wish to have finer
  7193.             ----- ERROR: HYPHENATION NEEDED: Unfortunately,
  7194.             PROSE ERRORS DETECTED.
  7195.  
  7196.  
  7197.     _____ ________
  7198.     Stack Overflow
  7199.  
  7200.            Prose  maintains a stack of the most common commands (e.g., Option
  7201.            and Margin).  Prose saves your commands until you remove a command
  7202.            by specifying it with no parameters.  For example,
  7203.  
  7204.               .mar(l+4).comment Save .mar(l+4)
  7205.  
  7206.               .mar     .comment Removes .mar(l+4)
  7207.  
  7208.            Users sometimes change margins by doing the following:
  7209.  
  7210.               .mar(l+4)
  7211.  
  7212.               .mar(l-4)
  7213.  
  7214.               .mar(l+4)
  7215.  
  7216.               .mar(l-4)
  7217.  
  7218.            ________ _ _ _____ ______
  7219.     130    Appendix A - Prose Errors
  7220.  
  7221.  
  7222.  
  7223.            Each  of these Margin commands is saved.  The Margin command stack
  7224.            has room for ten entries (numbered from zero  to  nine).   If  you
  7225.            continued  using  these  Margin  commands,  you would soon get the
  7226.            following error:
  7227.  
  7228.             -----  45.910  .mar(l-4)
  7229.             -----MARGIN ERROR: KEEP OF 10 IS TOO LARGE, 9 USED
  7230.  
  7231.  
  7232.     __________ __ _____ _ _______
  7233.     Forgetting to Reset a Command
  7234.  
  7235.            A common Prose error is to forget  to  enter  the  closing  Margin
  7236.            command (the one that resets the margin).  For example,
  7237.  
  7238.            .mar(l+3)
  7239.            These  lines should be indented three columns.  What happens if we
  7240.            forget the closing Margin command?
  7241.            .comment We should have done a .margin here
  7242.  
  7243.            We intended this paragraph to be back  at  the  left  margin,  but
  7244.            instead it will remain indented three spaces.
  7245.  
  7246.            ______ ____ ______
  7247.            Output from Prose:
  7248.  
  7249.               These  lines should be indented three columns.  What happens if
  7250.               we forget the closing Margin command?
  7251.  
  7252.               We intended this paragraph to be back at the left  margin,  but
  7253.               instead it will remain indented three spaces.
  7254.  
  7255.                                                                           131
  7256.  
  7257.  
  7258.  
  7259.  
  7260.     ________ _ _ ____ _______
  7261.     Appendix B - Keep Buffers
  7262.  
  7263.  
  7264.            There  are  four  settings,  Input, Margin, Option, and Paragraph,
  7265.            that are likely to be  changed  frequently  throughout  the  text.
  7266.            But,  there  may  actually  only  be  a  small number of different
  7267.            settings, and it will be convenient  to  be  able  to  resume  old
  7268.            settings.   To  accommodate these needs, Prose provides a stack of
  7269.            "keep" buffers for each of these four commands.
  7270.  
  7271.            When  setting  the  options  controlled  by  these  commands,  the
  7272.            following syntax is used,
  7273.  
  7274.                            __________
  7275.                 .COMMAND ( parameters )
  7276.  
  7277.            where  the  parameters  consist of a key letter followed by option
  7278.            settings.  For instance:
  7279.  
  7280.                 .margin(l+5 r-5)
  7281.  
  7282.            moves the left and right margins in 5 spaces  (relative  to  their
  7283.            previous  position).   Each  time  an  Input,  Margin,  Output  or
  7284.            Paragraph command is processed, Prose saves the new  values  in  a
  7285.            keep  buffer.   There  are ten keep buffers, numbered 0 through 9,
  7286.            associated with each of these commands.  By default,  Prose  saves
  7287.            the new values in the numerically next buffer (0,1,2,...,9).
  7288.  
  7289.                 .margin(L8 R63).Comment goes into buffer 0
  7290.                 .margin(L+2).Comment goes into buffer 1
  7291.  
  7292.            If  no parameter is specified in a command (e.g., .Margin ), Prose
  7293.                                             ___  ______  __  ___  ___________
  7294.            sets the values to  those  that  are  stored  in  the  numerically
  7295.            ________  ____  ______
  7296.            previous  keep  buffer.   Since  the  keep number is automatically
  7297.            incremented when the parenthesis form is  used  and  automatically
  7298.            decremented  when  no  parameter is given, the keep buffers can be
  7299.            considered as a "stack" (push and pop).  For example, suppose  you
  7300.            are  using  "^"  as  the underline character (e.g., .inp (u^) ) to
  7301.                                          _________
  7302.            cause ^underline^ to print as underline, but you need to  print  a
  7303.            "^" in one paragraph of your document.  Here is what you do, using
  7304.            the stack built into the Input command:
  7305.  
  7306.             .input (u^).COM Establish your initial underline character
  7307.                   ____ ____
  7308.               ... some text using ^ to underline ...
  7309.             .input (u+).COM Switch to + as your new underline character
  7310.                   ____ ____
  7311.               ... some text containing ^ as a printable character and
  7312.                                    ___________ __ ______
  7313.               using "plus sign" if underlining is needed!
  7314.             .input.COM Reset context to original underline character.
  7315.  
  7316.            In  this  example,  the  last  Input  command  (the  one  with  no
  7317.            parameters),  resets  to  the previous input values (e.g., back to
  7318.            .input (u^) ).
  7319.  
  7320.            It is also possible to specify explicitly which keep buffer buffer
  7321.  
  7322.            ________ _ _ ____ _______
  7323.     132    Appendix B - Keep Buffers
  7324.  
  7325.  
  7326.  
  7327.            to save the new values in, and these values can be recalled later:
  7328.  
  7329.                 .margin(l15 r30 k3).Comment Saved in buffer 3
  7330.  
  7331.            Old values may be recalled by using the following form:
  7332.  
  7333.                          ______
  7334.                 .COMMAND buffer
  7335.  
  7336.            For example,
  7337.  
  7338.                 .margin 3
  7339.  
  7340.            sets the margins to the values that were stored in keep buffer 3.
  7341.  
  7342.            The explicit buffer method allows you to store the most frequently
  7343.            used options in specific keep buffers and invoke them by number as
  7344.            necessary.  For example:
  7345.  
  7346.                 .opt(l+ r+ f+ k0).Comment Format and justify
  7347.                 .opt(l- r- f- k1).Comment Centering
  7348.                  ...
  7349.                 .opt 0.Comment Select formatting mode
  7350.                  ...
  7351.                 .opt 1.Comment Select centering mode
  7352.  
  7353.            Of course, since keep buffers constitute a stack,  if  you  do  an
  7354.            extra  "pop"  by  mistake,  you will return Prose immediately to a
  7355.            previous setting:
  7356.  
  7357.                 .margin (l+5 r-5)
  7358.                 .margin.Comment Pops last values
  7359.                 .margin.Comment Resets to old settings, perhaps pages back!
  7360.  
  7361.            This can lead to strange results in your formatted output.  It  is
  7362.            a  good  policy  with  Prose to keep track of what you have pushed
  7363.            onto your "stack" for each command.
  7364.  
  7365.                                                                           133
  7366.  
  7367.  
  7368.  
  7369.  
  7370.     ________ _ _ ______ ______ _____
  7371.     Appendix C - Limits Within Prose
  7372.  
  7373.  
  7374.            The current implementation of Prose  uses  an  auxiliary  file  to
  7375.            store index and table of contents entries, as well as the run-time
  7376.            stack  that  stores  all  other  variables.   Several  Prose  data
  7377.            structures  consist of a fixed size buffer.  Users should be aware
  7378.            of these limits before attempting to use  Prose  with  very  large
  7379.            documents.
  7380.  
  7381.  
  7382.     _______ _______ _____ ______ _ ___ __________
  7383.     Maximum Content Entry Length - 100 Characters
  7384.  
  7385.            The  first  100 characters of a table of contents entry are saved.
  7386.            Entries longer than  100  characters  are  truncated  without  any
  7387.            warning message.
  7388.  
  7389.  
  7390.     _______ ____ ______ ________ _ __ __________
  7391.     Maximum Font Escape Sequence - 40 Characters
  7392.  
  7393.            The  maximum  length of a font escape sequence in the Font command
  7394.            is 40 characters.
  7395.  
  7396.  
  7397.     _______ ____ ______ _ ___ __________
  7398.     Maximum Form Length - 250 Characters
  7399.  
  7400.            The maximum length of a Form  command  is  250  characters.   This
  7401.            includes blank spaces in the Form command.
  7402.  
  7403.  
  7404.     _______ __ _____ _ __
  7405.     Maximum If Depth - 16
  7406.  
  7407.            Ifs can be nested to 16 levels in each file.
  7408.  
  7409.  
  7410.     _______ _______ _____ _ _
  7411.     Maximum Include Files - 4
  7412.  
  7413.            Include files can be nested to four levels.
  7414.  
  7415.  
  7416.     _______ _____ _____ ______ _ __ __________
  7417.     Maximum Index Entry Length - 70 Characters
  7418.  
  7419.            The  first  70  characters  of  an  index  entry are saved.  Index
  7420.            entries longer  than  70  characters  are  truncated  without  any
  7421.            warning message.
  7422.  
  7423.  
  7424.     _______ _____ ____ _ ___ __________
  7425.     Maximum Input Line - 256 Characters
  7426.  
  7427.            Qedit  users  can  use a file with `Language=TEXT', but the length
  7428.            should be set to 256 characters  (i.e.,  /set  length  256).   All
  7429.            Robelle  manuals  are produced with `Language=JOB' which restricts
  7430.            each input line to 80 characters.
  7431.  
  7432.            ________ _ _ ______ ______ _____
  7433.     134    Appendix C - Limits Within Prose
  7434.  
  7435.  
  7436.  
  7437.     _______ ______ _ ______ ___
  7438.     Maximum Margin - Column 152
  7439.  
  7440.            Because space is at a premium within Prose,  the  output  line  is
  7441.            restricted to 152 columns.  This will restrict some users who wish
  7442.            to produce wide documents in Landscape mode on the LaserJet.
  7443.  
  7444.  
  7445.     _______ ____ ______ _ ___
  7446.     Maximum Page Number - 999
  7447.  
  7448.            The maximum page number is 999, but you can use the Count  command
  7449.            to  reset  the  page  number to one.  The Select command will only
  7450.            work with page numbers between 1 and 999.
  7451.  
  7452.  
  7453.     _______ _______ ____ ______ _ __ __________
  7454.     Maximum Section Name Length - 20 Characters
  7455.  
  7456.            The maximum length of a section name in an Entry and  Inx  command
  7457.            is  20  characters.   Section  names longer than 20 characters are
  7458.            truncated without any warning messages.
  7459.  
  7460.  
  7461.     _______ _____ _ __ _______
  7462.     Maximum Shift - 50 Columns
  7463.  
  7464.            50 is the maximum value that can be specified with the S option of
  7465.            the Output command.
  7466.  
  7467.  
  7468.     _______ ______ _ __
  7469.     Maximum Styles - 40
  7470.  
  7471.            The maximum number of styles is 40.
  7472.  
  7473.  
  7474.     _______ _____ ____ ______ _ __ __________
  7475.     Maximum Style Name Length - 16 Characters
  7476.  
  7477.            The  maximum length of a style name is 16 characters.  Style names
  7478.            longer than  16  characters  are  truncated  without  any  warning
  7479.            messages.
  7480.  
  7481.                                                                           135
  7482.  
  7483.  
  7484.  
  7485.                       _____
  7486.                       Index
  7487.  
  7488.  
  7489.                       $Stdinx file.......................4
  7490.                       $Stdlist output....................5
  7491.  
  7492.  
  7493.                       _
  7494.                       A
  7495.  
  7496.                       abbreviating commands..............53
  7497.                       accessing Prose....................4
  7498.                       Align command......................33,58
  7499.                       And operator.......................86
  7500.                       arabic page numbers................79
  7501.                       Ascii escape.......................111
  7502.                       automatic indent...................107
  7503.                       automatic page eject...............103,108
  7504.                       automatic skip.....................108
  7505.                       automatic undent...................107
  7506.  
  7507.  
  7508.                       _
  7509.                       B
  7510.  
  7511.                       Beginkey command...................105
  7512.                       Bin command........................59
  7513.                       bin selection in Form..............79,81
  7514.                       blank character, defined...........29,90
  7515.                       blank lines........................11,12,96,116
  7516.                       blank lines at top of page.........12,96,99
  7517.                       bottom of page.....................80
  7518.                       Box command........................61
  7519.                       Break command......................11,66
  7520.                       bullet lists.......................94
  7521.                       business letters...................20
  7522.  
  7523.  
  7524.                       _
  7525.                       C
  7526.  
  7527.                       carriage control...................103
  7528.                       centering lines....................13
  7529.                       changing default include file......88
  7530.                       charts.............................14
  7531.                       Check command......................37,67
  7532.                       checking for end of page...........106
  7533.                       checking keep buffers..............67
  7534.                       command character..................53,90,91
  7535.                       commands...........................9,53,56
  7536.                       commands, several per line.........54
  7537.                       Comment command....................18,70
  7538.                       compatibility with keep buffers....122
  7539.                       conditional logic..................86
  7540.                       configuring LaserJet II............39
  7541.                       content entries, maximum length....133
  7542.                       contents...........................72,117
  7543.  
  7544.            _____
  7545.     136    Index
  7546.  
  7547.  
  7548.  
  7549.                       Contents command...................71
  7550.                       continuation lines.................54
  7551.                       control codes......................111
  7552.                       copies, number of..................38,104
  7553.                       Count command......................33,72,113
  7554.                       creating styles....................121
  7555.  
  7556.  
  7557.                       _
  7558.                       D
  7559.  
  7560.                       date...............................79
  7561.                       default format.....................100
  7562.                       default include file location......88
  7563.                       dimensions in Prose................44
  7564.                       disc file..........................7
  7565.                       dots per inch......................44
  7566.                       double spacing.....................102
  7567.                       duplex printing....................19,39,104
  7568.  
  7569.  
  7570.                       _
  7571.                       E
  7572.  
  7573.                       Else command.......................86
  7574.                       Elseif command.....................86
  7575.                       end of sentence....................102
  7576.                       Endif command......................86
  7577.                       Endkey command.....................105
  7578.                       Entry command......................36,73
  7579.                       environment variables..............2,19,86
  7580.                       error file.........................7
  7581.                       error messages.....................4,99
  7582.                       error processing...................128
  7583.                       errors in hyphenation..............129
  7584.                       errors in the Form command.........128
  7585.                       errors with keep buffers...........129
  7586.                       errors with numbers................128
  7587.                       escape character...................30,90,91
  7588.                       explicit blank.....................29,90
  7589.                       explicit blank character...........90
  7590.                       extra blank pages..................5
  7591.  
  7592.  
  7593.                       _
  7594.                       F
  7595.  
  7596.                       F92286A font cartridge.............39,76
  7597.                       F92286B font cartridge.............46,77
  7598.                       F92286C font cartridge.............77
  7599.                       F92286D font cartridge.............77
  7600.                       F92286E font cartridge.............77
  7601.                       F92286F font cartridge.............46,77
  7602.                       F92286G font cartridge.............77
  7603.                       F92286IC font cartridge............77
  7604.                       F92286L font cartridge.............39,77
  7605.                       F92286L2 font cartridge............40,43
  7606.  
  7607.                                                                  _____
  7608.                                                                  Index    137
  7609.  
  7610.  
  7611.  
  7612.                       F92286N font cartridge.............77
  7613.                       F92286Z font cartridge.............77
  7614.                       F92290S2 font cartridge............77
  7615.                       FGLOBAL font cartridge.............77
  7616.                       field width for page number........71,117
  7617.                       filenames, dividing................92
  7618.                       files..............................4
  7619.                       filling............................10,99,100
  7620.                       first page of section..............33,58
  7621.                       font character.....................39,90,91
  7622.                       Font command.......................40,75
  7623.                       font description...................39,46
  7624.                       font escape sequence, length.......133
  7625.                       font files.........................19
  7626.                       fonts, changing....................40
  7627.                       fonts, proportional................44
  7628.                       fonts, soft........................78
  7629.                       Form command.......................32,55,79
  7630.                       Form command, maximum size.........133
  7631.                       formatting environment.............55
  7632.                       forms for the LaserJet.............42
  7633.                       FPCTR10 font cartridge.............77
  7634.  
  7635.  
  7636.                       _
  7637.                       H
  7638.  
  7639.                       half spacing.......................41,79,102,103,108,116
  7640.                       hanging indent.....................27,32,127
  7641.                       hanging indents....................94
  7642.                       hanging terminal...................5
  7643.                       hard blank line....................12,96
  7644.                       hard space.........................29,90
  7645.                       Headindex command..................35,83
  7646.                       HP printing terminals..............97
  7647.                       hyphenation........................30,99,100,129
  7648.                       hyphenation character..............90,92,100
  7649.  
  7650.  
  7651.                       _
  7652.                       I
  7653.  
  7654.                       If command.........................86
  7655.                       If, maximum nesting................133
  7656.                       Include command....................19,88
  7657.                       include file defaults..............88
  7658.                       include files, maximum nesting.....133
  7659.                       Indent command.....................89
  7660.                       indenting..........................11,89,107,127
  7661.                       Index command......................34,95
  7662.                       index entries......................95
  7663.                       index entries, maximum length......133
  7664.                       index headings.....................35,83
  7665.                       index, justifying page numbers in..117
  7666.                       indexing documents.................34,117
  7667.                       Infile file........................4
  7668.  
  7669.            _____
  7670.     138    Index
  7671.  
  7672.  
  7673.  
  7674.                       infinite form......................80
  7675.                       info=..............................8
  7676.                       Input command......................28,55,90
  7677.                       Input file.........................4
  7678.                       input line number..................79,82
  7679.                       input width........................94
  7680.                       input width, maximum...............94,133
  7681.                       installation.......................8
  7682.                       International Collection fonts.....77
  7683.                       introduction.......................1
  7684.                       Inx command........................34,95,113
  7685.  
  7686.  
  7687.                       _
  7688.                       J
  7689.  
  7690.                       Jump command.......................96,108
  7691.                       justification break................11,56,66
  7692.                       justification limit................99,100
  7693.                       justify............................10,100
  7694.                       justifying page numbers............71,81,117
  7695.  
  7696.  
  7697.                       _
  7698.                       K
  7699.  
  7700.                       keep buffers.......................56,67,131
  7701.                       keep buffers and styles............122
  7702.                       keep of 10 is too large............129
  7703.  
  7704.  
  7705.                       _
  7706.                       L
  7707.  
  7708.                       landscape mode.....................42,104
  7709.                       LaserJet...........................38
  7710.                       LaserJet bins......................59
  7711.                       LaserJet boxes.....................61
  7712.                       LaserJet II built-in fonts.........78
  7713.                       LaserJet II front panel............39
  7714.                       LaserJet III built-in fonts........78
  7715.                       LaserJet only PCL..................111
  7716.                       LaserJet output....................5,19,103
  7717.                       left justify.......................99
  7718.                       letter numbering...................108
  7719.                       letters as count...................79
  7720.                       Letters.Qlibdata.Robelle...........20
  7721.                       limits within Prose................133
  7722.                       line number, input.................79,82
  7723.                       line printer output................41,50,103
  7724.                       lists..............................109
  7725.                       Literal command....................97
  7726.                       literal headings...................79
  7727.                       logical expression.................86
  7728.                       LPT output.........................19
  7729.  
  7730.                                                                  _____
  7731.                                                                  Index    139
  7732.  
  7733.  
  7734.  
  7735.                       _
  7736.                       M
  7737.  
  7738.                       Margin command.....................11,20,55,98
  7739.                       margins, maximum...................134
  7740.                       margins, relative..................131
  7741.                       maximum content length.............133
  7742.                       maximum font escape sequence.......133
  7743.                       maximum form length................133
  7744.                       maximum include files..............133
  7745.                       maximum index length...............133
  7746.                       maximum input width................133
  7747.                       maximum nested Ifs.................133
  7748.                       maximum number of styles...........134
  7749.                       maximum output shift...............134
  7750.                       maximum page number................134
  7751.                       maximum right margin...............134
  7752.                       maximum section name length........134
  7753.                       maximum sizes......................133
  7754.                       maximum style name length..........134
  7755.                       Microsoft font cartridge...........77
  7756.                       minus sign character...............55
  7757.                       MPE/iX installation................8
  7758.                       multi-column output................117
  7759.                       multiple blanks option.............99,101
  7760.  
  7761.  
  7762.                       _
  7763.                       N
  7764.  
  7765.                       nested Ifs.........................86
  7766.                       new features.......................2
  7767.                       new line after PCL.................112
  7768.                       new section........................33,58
  7769.                       Not operator.......................86
  7770.                       number generator...................108
  7771.                       number of copies...................104
  7772.                       numbered lists.....................109
  7773.                       numbered paragraphs................108
  7774.                       numeric parameters.................55
  7775.  
  7776.  
  7777.                       _
  7778.                       O
  7779.  
  7780.                       on-line help.......................1
  7781.                       Option command.....................13,55,99
  7782.                       Or operator........................86
  7783.                       outdent............................127
  7784.                       Output command.....................55,103
  7785.                       output device......................18,20
  7786.                       output devices.....................4
  7787.                       Output file........................4
  7788.                       output shift, maximum value........134
  7789.                       output to a specific device........5
  7790.                       OutSavePaper variable..............5
  7791.  
  7792.            _____
  7793.     140    Index
  7794.  
  7795.  
  7796.  
  7797.                       _
  7798.                       P
  7799.  
  7800.                       Page command.......................33,106,108,113
  7801.                       page ejects........................58,104,106,108
  7802.                       page format........................32,79
  7803.                       page number........................79,81
  7804.                       page number field widths...........71,117
  7805.                       page number, largest value.........134
  7806.                       page number, start new.............72
  7807.                       page numbers, removing.............33
  7808.                       paper trays........................59
  7809.                       paragraph character................11,107
  7810.                       Paragraph command..................26,55,106,107
  7811.                       paragraphs.........................10,11,48
  7812.                       parameter types....................54
  7813.                       parameters.........................131
  7814.                       Pascal/Robelle.....................4
  7815.                       pause option.......................4,105
  7816.                       pausing............................104
  7817.                       PCL and Select command.............112
  7818.                       PCL command........................110
  7819.                       PCL control character..............111
  7820.                       PCL escape character...............111
  7821.                       Pdisc UDC..........................7
  7822.                       period character...................29,53,102
  7823.                       Perrfile error file................4,7,99
  7824.                       plus sign character................55
  7825.                       print selected pages...............114
  7826.                       printer attached to terminals......19,105
  7827.                       printing the last page.............6
  7828.                       Pro-collection font cartridge......77
  7829.                       proportional fonts.................44
  7830.                       Prose template variables...........20
  7831.                       Prosecm.Qlib.Robelle...............8
  7832.                       proseincludepath variable..........88
  7833.                       Prosenm.Qlib.Robelle...............8
  7834.  
  7835.  
  7836.                       _
  7837.                       Q
  7838.  
  7839.                       Qedit program......................4
  7840.                       Qhelp compiler.....................103
  7841.                       Qhelp output.......................19
  7842.                       Qhelp subsystem....................105
  7843.  
  7844.  
  7845.                       _
  7846.                       R
  7847.  
  7848.                       ragged right margins...............13
  7849.                       record mode........................19,38,105
  7850.                       relational operators...............86
  7851.                       relative margins...................131
  7852.                       relative numeric parameters........55
  7853.                       relative tabs......................31,32,93
  7854.  
  7855.                                                                  _____
  7856.                                                                  Index    141
  7857.  
  7858.  
  7859.  
  7860.                       Reset command......................113
  7861.                       resolution on LaserJet.............51
  7862.                       Rich Text Format output............75,103
  7863.                       right-justifying lines.............14,99
  7864.                       right-justifying titles............81
  7865.                       right-tab character................90,93
  7866.                       roman numerals.....................108
  7867.                       roman numerals as count............79
  7868.                       RTF output.........................75,103
  7869.                       running heads......................124,126
  7870.                       running Prose......................4
  7871.  
  7872.  
  7873.                       _
  7874.                       S
  7875.  
  7876.                       S33412AC soft fonts................78
  7877.                       section names......................34,36,73,95
  7878.                       section names, maximum length......134
  7879.                       Select command.....................114
  7880.                       shift output right.................38,104,105
  7881.                       single spacing.....................102
  7882.                       Skip command.......................108,116
  7883.                       skipping a page....................58,106
  7884.                       skipping lines.....................96,116
  7885.                       soft blank line....................12,116
  7886.                       soft fonts.........................78
  7887.                       Sortindex command..................34,117
  7888.                       spacing option.....................99
  7889.                       special characters.................28
  7890.                       special characters, how to print...30
  7891.                       stack..............................131,132
  7892.                       start new page number..............72
  7893.                       Style and Check....................69
  7894.                       Style command......................119
  7895.                       style names, maximum length........134
  7896.                       style sheet........................119
  7897.                       style, maximum number..............134
  7898.                       styles.............................25
  7899.                       Styles.Qlibdata.Robelle............25,122
  7900.                       Subtitle command...................42,80,124
  7901.                       subtitles..........................79,124
  7902.  
  7903.  
  7904.                       _
  7905.                       T
  7906.  
  7907.                       tab character......................30,90,93
  7908.                       Tab command........................31,125
  7909.                       tabbing............................47
  7910.                       table of contents..................36,71,73
  7911.                       tables.............................14
  7912.                       tags...............................119
  7913.                       TDP program........................11
  7914.                       teletype...........................103
  7915.                       template files.....................20
  7916.  
  7917.            _____
  7918.     142    Index
  7919.  
  7920.  
  7921.  
  7922.                       templates..........................15
  7923.                       terminal output....................103
  7924.                       time...............................79
  7925.                       Title command......................42,80,126
  7926.                       title page.........................33,72
  7927.                       titles.............................79,126
  7928.                       titles, right-justified............81
  7929.                       top of page........................80,104
  7930.                       triple spacing.....................102
  7931.                       two blanks after period............99,102
  7932.  
  7933.  
  7934.                       _
  7935.                       U
  7936.  
  7937.                       UDC for Prose......................7
  7938.                       Undent command.....................127
  7939.                       undenting..........................27,107,127
  7940.                       underline character................90,94
  7941.                       underlining........................29,42,104,105
  7942.                       uneven right margins...............13
  7943.                       unnumbered pages...................33
  7944.                       up-shifting........................102
  7945.                       uppercase output flag..............99,102
  7946.                       using styles.......................121
  7947.  
  7948.  
  7949.                       _
  7950.                       V
  7951.  
  7952.                       variables..........................20
  7953.                       version number.....................8
  7954.  
  7955.  
  7956.                       _
  7957.                       W
  7958.  
  7959.                       width, input maximum...............94,133
  7960.                       word...............................9
  7961.                       wrong fonts being printed..........39
  7962.  
  7963.  
  7964.  
  7965.                                   ______ _______ _____
  7966.                                   Reader Comment Sheet
  7967.  
  7968.                                  _____ ___ ____ ______
  7969.                                  PROSE 4.3 User Manual
  7970.  
  7971.            Your  opinion of this manual is a valuable resource for helping us
  7972.            improve the quality of our documentation.  We invite you  to  rate
  7973.            the manual on this form.
  7974.  
  7975.            Your Name:                            Date:
  7976.  
  7977.            Company:                              Position:
  7978.  
  7979.            Address:                              Phone:
  7980.  
  7981.            ______ ______ ___ ______ ___ _____
  7982.            Please circle one number for each:
  7983.  
  7984.                                              ____      _______   ____
  7985.                                              Good      Average   Poor
  7986.  
  7987.            ⁿ  General organization             1         2         3
  7988.  
  7989.            ⁿ  Technical accuracy               1         2         3
  7990.  
  7991.            ⁿ  Writing clarity                  1         2         3
  7992.  
  7993.            ⁿ  Convenience of size and format   1         2         3
  7994.  
  7995.            ⁿ  Ease of locating information     1         2         3
  7996.  
  7997.            ⁿ  Thoroughness of material         1         2         3
  7998.  
  7999.            ⁿ  Quality of examples              1         2         3
  8000.  
  8001.  
  8002.            ________ ___ ____________   _______  ___  ________  __  __________
  8003.            Comments and suggestions:   (please  use  reverse,  or  additional
  8004.                                        ______ __ _______
  8005.                                        sheets as needed)
  8006.  
  8007.            _______________________________________________________________
  8008.                                                                           
  8009.  
  8010.            _______________________________________________________________
  8011.                                                                           
  8012.  
  8013.            _______________________________________________________________
  8014.                                                                           
  8015.  
  8016.            _______________________________________________________________
  8017.                                                                           
  8018.  
  8019.            _______________________________________________________________
  8020.                                                                           
  8021.  
  8022.            Thank  you  for  your  feedback.   We  appreciate  your  time  and
  8023.            interest.  Please send your comments to us at one of the following
  8024.            numbers or addresses:
  8025.  
  8026.            Robelle Solutions Technology Inc.
  8027.                                                Toll-free: 1-888-ROBELLE
  8028.                                                           (1-888-762-3553)
  8029.            7360 137 Street, Suite 372          Phone:  (604) 501-2001
  8030.  
  8031.  
  8032.  
  8033.            Surrey, B.C.  Canada V3R 7K1        Fax:  (604) 501-2003
  8034.            E-mail:  support@robelle.com
  8035.            Web:  www.robelle.com
  8036.  
  8037.                                                                           iii
  8038.  
  8039.  
  8040.  
  8041.  
  8042.  
  8043.  
  8044.  
  8045.  
  8046.  
  8047.  
  8048.  
  8049.  
  8050.  
  8051.  
  8052.                                                            _____ ____ ______
  8053.                                                            PROSE User Manual
  8054.  
  8055.  
  8056.  
  8057.  
  8058.                                                                     ________
  8059.                                                                     Contents
  8060.  
  8061.  
  8062.  
  8063.                          _______ _   _______ __ _____
  8064.                          Chapter 1   Welcome to Prose
  8065.  
  8066.                                     QLIB contributed library..............1
  8067.                                     Documentation.........................1
  8068.                                     Prose support.........................2
  8069.                                     New features of Prose.................2
  8070.                                     New features of Prose.................2
  8071.                                     New features of Prose.................3
  8072.  
  8073.                          _______ _   _________ _____
  8074.                          Chapter 2   Accessing Prose
  8075.  
  8076.                                     Prose files...........................4
  8077.                                     Output Devices........................4
  8078.                                     Extra blank pages.....................5
  8079.                                     User Defined Command..................7
  8080.                                     Prose to a disc file..................7
  8081.                                     Prose version number..................8
  8082.                                     MPE/iX................................8
  8083.  
  8084.                          _______ _   ________ _____
  8085.                          Chapter 3   Applying Prose
  8086.  
  8087.                                     Words.................................9
  8088.                                     Prose commands........................9
  8089.                                     Filling paragraphs....................10
  8090.                                     Justification breaks..................11
  8091.                                     Blank lines...........................12
  8092.                                     Option command........................13
  8093.                                        Ragged right margins...............13
  8094.                                        Centering lines....................13
  8095.                                        Right-justifying lines.............14
  8096.                                        Printing charts and tables.........14
  8097.                                     Templates for Prose users.............15
  8098.                                        Template for manuals...............15
  8099.                                        Using templates....................16
  8100.  
  8101.            ________
  8102.     iv     Contents
  8103.  
  8104.  
  8105.  
  8106.                                        Using comments to explain document.18
  8107.                                        Defining your output device........18
  8108.                                        Prose template variables...........20
  8109.                                        Template for business letters......20
  8110.                                        Customizing the template...........22
  8111.                                        Writing a letter...................22
  8112.                                     Using styles for formatting...........25
  8113.                                     Defining the paragraph character......26
  8114.                                     How to use undent.....................27
  8115.                                     White space between words.............28
  8116.                                     Defining special characters...........28
  8117.                                        Underlining words..................29
  8118.                                        Explicit blanks....................29
  8119.                                        Hyphenating words..................30
  8120.                                        Escape character...................30
  8121.                                        Different fonts (typefaces)........30
  8122.                                        Lining up tables with tabs.........30
  8123.                                        Relative tabs......................31
  8124.                                        Hanging indents and tabs...........32
  8125.                                     Prose forms for page layout...........32
  8126.                                        Inserting a title page.............33
  8127.                                        First page of the report body......33
  8128.                                        First page of a section............33
  8129.                                     Make an index.........................34
  8130.                                        Index headings.....................35
  8131.                                     Make a table of contents..............36
  8132.                                     Checking your commands................37
  8133.  
  8134.                          _______ _   ___ __ ________
  8135.                          Chapter 4   The HP LaserJet
  8136.  
  8137.                                     Getting started.......................38
  8138.                                        Step one: define your LaserJet.....38
  8139.                                        Step two: using fonts..............39
  8140.                                        Two methods of switching fonts.....40
  8141.                                        Line printer.......................41
  8142.                                        Half-line spacing..................41
  8143.                                        Fonts and underlining..............42
  8144.                                        Forms..............................42
  8145.                                        Titles and subtitles...............42
  8146.                                        Indexes............................42
  8147.                                     Landscape mode........................42
  8148.                                        Output command.....................43
  8149.                                        Font include file..................43
  8150.                                        Margins............................44
  8151.                                        Forms..............................44
  8152.                                        Indexes............................44
  8153.                                     Proportional fonts....................44
  8154.                                        Dimensions.........................44
  8155.                                        Basic steps........................45
  8156.                                        Output command.....................45
  8157.                                        Font include file..................46
  8158.                                        Margins............................46
  8159.                                        Forms..............................47
  8160.                                        Tabs...............................47
  8161.  
  8162.                                                               ________
  8163.                                                               Contents      v
  8164.  
  8165.  
  8166.  
  8167.                                        Paragraphs.........................48
  8168.                                        Indexes............................49
  8169.                                        Indentation........................49
  8170.                                        Line printer.......................50
  8171.                                        Other font cartridges..............50
  8172.                                     Finer column resolution...............51
  8173.                                        Columns............................51
  8174.                                        Margins............................51
  8175.                                        Forms..............................51
  8176.                                        Tabbing............................52
  8177.                                        Indexes............................52
  8178.  
  8179.                          _______ _   _____ ________
  8180.                          Chapter 5   Prose Commands
  8181.  
  8182.                                     General notes.........................53
  8183.                                     Align command.........................58
  8184.                                     Bin command...........................59
  8185.                                     Box command...........................61
  8186.                                     Break command.........................66
  8187.                                     Check command.........................67
  8188.                                     Comment command.......................70
  8189.                                     Contents command......................71
  8190.                                     Count command.........................72
  8191.                                     Entry command.........................73
  8192.                                     Font command..........................75
  8193.                                     Form command..........................79
  8194.                                     Headindex command.....................83
  8195.                                     If command............................86
  8196.                                     Include command.......................88
  8197.                                     Indent command........................89
  8198.                                     Input command.........................90
  8199.                                     Inx (index) command...................95
  8200.                                     Jump command..........................96
  8201.                                     Literal command.......................97
  8202.                                     Margin command........................98
  8203.                                     Option command........................99
  8204.                                     Output command........................103
  8205.                                     Page command..........................106
  8206.                                     Paragraph command.....................107
  8207.                                     PCL command...........................110
  8208.                                     Reset command.........................113
  8209.                                     Select command........................114
  8210.                                     Skip command..........................116
  8211.                                     Sortindex command.....................117
  8212.                                     Style command.........................119
  8213.                                     Subtitle command......................124
  8214.                                     Tab command...........................125
  8215.                                     Title command.........................126
  8216.                                     Undent command........................127
  8217.  
  8218.            ________
  8219.     vi     Contents
  8220.  
  8221.  
  8222.  
  8223.                          ________ _ _ _____ ______
  8224.                          Appendix A - Prose Errors........................128
  8225.  
  8226.                          ________ _ _ ____ _______
  8227.                          Appendix B - Keep Buffers........................131
  8228.  
  8229.                          ________ _ _ ______ ______ _____
  8230.                          Appendix C - Limits Within Prose.................133
  8231.  
  8232.                          _____
  8233.                          Index............................................135
  8234.  
  8235.