anchor.diff:                  if doctype == "manpage":
                       document(f, outfile)
                   else:
  -            	    adocument(f, outfile)
  +		    adocument(f, outfile, frontmatter)
               	    
               elif f.endswith(".icomp") and mode == VIEWDOC:
                   tempdir = tempfile.mkdtemp()
  
positive.code:     global doctype
      mode = PREPROCESS
      outfile = None
      userspace = False
      try:
          opts, args = getopt.getopt(sys.argv[1:], "luijcpdo:h?",
                             ['install', 'compile', 'preprocess', 'outfile=',
                              'document', 'ascii-document', 'help', 'userspace', 'install-doc',
                              'install-man', 'view-doc', 'require-license', 'print-modinc'])
      except getopt.GetoptError:
  
negative.code: # asciidoc
  ############
  
  def adocument(filename, outfilename, frontmatter):
      if outfilename is None:
          outfilename = os.path.splitext(filename)[0] + ".asciidoc"
  
      a, b = parse(filename)
      f = open(outfilename, "w")
  
      if frontmatter:
          print >>f, "---"
          for fm in frontmatter:
              print >>f, fm
          print >>f, "edit-path: src/%s" % (filename)
          print >>f, "generated: %s "% (time.strftime("%F %H:%M UTC"))
          print >>f, "generator: instcomp"
          print >>f, "---"
          print >>f, ":skip-front-matter:\n"
  
      print >>f, "= Machinekit Documentation"
  
  