Manpage of prog2mif
Section: User Commands (1)
Return to Main Contents
prog2mif - Process source files for insertion in FrameMaker
prog2mif [options] [filename]
prog2mif reads a file containing source code and produces
a MIF file suitable for insertion (import) in FrameMaker.
If the filename has a pre-defined extention, all reserved keywords
of the language associated with that filename extension are highlighted.
The list of known extension and associated languages are:
c, h C program
C, H, cxx, hxx, cpp, hpp C++ program
m Objective C program
ada, a ADA program
vhdl, vhd VHDL source
pl, perl PERL source
Print a short usage message.
Do not select reserved keywords based on the filename extension.
Use reserved keywords for the specified language instead.
If the specified language is not known, a list of all known language
This option is required when processing from stdin.
Have a user-specified configuration to easily add new languages and
Handling of start/end and multi-line comments (a la /*.. */)
Handling of quoted text
Reserved keywords are highlighted inside C-style comments,
pre-processor directives and strings.
Janick Bergeron, BNR, Ottawa, Canada (email@example.com)
Based on prog2mif.c written by:
Hermann Kneissel, DANET-IS (kneissel@danetis.UUCP)
This document was created by
using the manual pages.
Time: 23:34:46 GMT, September 27, 2019