Idxmx : creating indexes for mx document
epsffit.mx version 2.4
Peter Boncz
19 April 1999
Usage: Mx <flags> <file>.mx. -t Produce LaTeX document (default). -c Extract code. -R<dir> Set target directory to <dir>). -S<style> Set LaTeX documentstyle to 'style'. -s Produce nroff -ms document. -1 Single column (default) . -2 Double column. -H<n> Set hide level to 'n' (-H0 default). -d Produce a draft document. -x <extension> Extract <extension> labelled code. -w Extract HTML code. -D<id> Define macro 'id'. -T<string> Define default hide text <string>. -u Extract a part of document. -n <Title> Explicitly define the name of title. -a <Author> Explicitly define the author name. -v <Version> Explicitly define the version.
Mx -c{file} {-D<macro>}+ <file>.mxThe -c option sets Mx in code extraction mode. If a <file> argument is given, Mx will only extract the code blocks, which are directed to a file with the same basename. By default Mx extracts all the code files. The -D <macro> option is used for defining body-less macros. If used in combination with the conditional statements, a single Mx document can produce different document and code versions. The sample Mx file illustrates the use of code directives, conditional statements and the definition of the base name for the code file.
meaning | |
test | This defines the base name for the file to which the following code is copied |
i | This directive introduces a POOL implementation unit |
ifdef SOLARIS a:= Deep_copy(D).new | it a conditional statement on OS Type |
else a:= b!deep_copy(); | |
endif | |
+ | + |
Mx [-t -s -w -u -n -a -v] -S<StyleFileName> [-1 -2] -H<n> -D<macro>}+ <file>.mxThe options enclosed in ``['' and ``]'' are mutual exclusive and all flags are optional. By default, Mx generates a Latex document in single column style.
meaning | |
t THE TITLE | Defines the document title. |
a THE AUTHOR | Defines the author |
v 1.00 | Defines the version number |
d 1/1/90 | Defines the date |
f | Defines the basename for the code files |
* Section | A section |
...contents... | contents |
h | precedes h file |
+ Subsection | A subsection |
... | |
c | precedes c implementation code |
int test; | |
... C Code ... | |
+ | + |
Meanings | |
t $<$title v |