Commands


Commands may be put into a text, MODULA or Ada input files to cause different effects to occur. Some command characters may be imbedded anywhere within the source file while others must appear in column 1. All of the commands that are assigned to column 1 except the MODE command are valid only for the Docuproc formatted source files. For this file type, column 1 is used for commands only and never printed regardless of what is contained there. When a command appears in the text (such as the underline or bold commands), they do not take up any space when processed.

The command table that follows displays a summary of the commands that may be used in the input source files.

Docuproc Command Characters


        
          Command Character
        
        
          Position
        
        
          Description
        
        
          Table of Contents Commands
        
        :
        1          col. 1      Table of Contents Entry - level 1
        2          col. 1      Table of Contents Entry - level 2
        3          col. 1      Table of Contents Entry - level 3
        4          col. 1      Table of Contents Entry - level 4
        5          col. 1      Table of Contents Entry - level 5
        6          col. 1      Table of Contents Entry - level 6
        7          col. 1      Table of Contents Entry - level 7
        
          Table of Figures Commands
        
        :
        8          col. 1      Table of Figures Entry
        
          List of Tables Commands
        
        :
        9          col. 1      List of Tables Entry
        
          Line Spacing Commands
        
        :
        h          col. 1      Half space
        S          col. 1      Single space
        H          col. 1      Space and a half
        D          col. 1      Double space
        
          Keep Block Commands
        
        :
        K          col. 1      Mark block
        R          col. 1      Release block
        
          Pagination Commands
        
        :
        P          col. 1      Page eject
        A          col. 1      Arabic Numerals (default mode)
        B          col. 1      Roman Numerals
        
          MODE Commands
        
        :
        CHR(128)        col. 1      Docuproc formatted
        CHR(129)        col. 1      MODULA
        CHR(130)        col. 1      FORTRAN
        CHR(131)        col. 1      Normal ASCII file
        CHR(132)        col. 1      ADA
        
          Underline Commands
        
        :
        CHR(175)       any col.    Start underline
        CHR(174)       any col.    Stop underline
        
          Bold Commands
        
        :
        CHR(242)       any col.    Start bold characters
        CHR(243)       any col.    Stop bold characters
        
          Index Entry Commands
        
        :
        CHR(240)       any col.    Beginning of index entry
        CHR(247)       any col.    End of index entry
        
          Other Commands
        
        :
        CHR(168)       any col.    Print the character which follows
        F          col. 1      Form Block for use by THOR

        
Go Back To Sage-ST TABLE OF CONTENTS


warren.merrill@inl.gov , ftp://sage.inel.gov
Copyright © 1989-2006. Battelle Energy Alliance