man(1) Manual page archive


     DOCGEN(1)                                               DOCGEN(1)

     NAME
          docgen - generate a document from a script

     SYNOPSIS
          docgen [ option ... ] [ ofile ]

     DESCRIPTION
          Docgen guides interactive preparation of standard documents
          according to canned scripts and places the output in ofile.
          The output typically takes the form of troff(1) input.
          These options invoke standard scripts:

          -mcs (default) Bell Labs cover sheet; output (by default)
               may be typeset thus: `troff temp.cover'

          -ms  documents using the macro package ms(6); output by
               default) may be typeset thus: `troff -ms temp'

          -mm  similarly for the MM macro package of System V

          Other options are:

          -f file
               take script from file

          -v   (verbose) print document as it is generated

          -d   (debug) print information about the script as it is
               read

          The reference tells how to construct scripts.

     FILES
          scripts

     SEE ALSO
          troff(1), ms(6), mcs(6)

     BUGS
          Not all document types are implemented.