***************************
**** PRELIMINARY DRAFT ****
**** SUBJECT TO CHANGE ****
***************************
emxdoc -i [-acfgr] [-n start]
[-o output] [-x xref]
input
emxdoc -k [-o output] input...
emxdoc -l [-fr] [-o output]
input
emxdoc -m [-o output] input...
emxdoc -t [-fr] [-o output]
input
emxdoc -H [-o output] input
emxdoc -t -o sample.doc sample.src
emxdoc -i -o sample.ipf sample.src
ipfc sample.ipf /inf
emxdoc -ig -o sample1.dir sample1.src
emxdoc -ig -o sample2.dir sample2.src
emxdoc -m -o sample.dir sample1.dir sample2.dir
emxdoc -i -o sample1.ipf -x sample.dir sample1.src
emxdoc -i -o sample2.ipf -x sample.dir sample1.src
ipfc sample1.ipf /inf
ipfc sample2.ipf /inf
emxdoc -ig -n1 -o sample1.dir sample1.src
emxdoc -ig -n1000 -o sample2.dir sample2.src
emxdoc -m -o sample.dir sample1.dir sample2.dir
emxdoc -i -n1 -o sample1.ipf -x sample.dir sample1.src
emxdoc -i -n1000 -o sample2.ipf -x sample.dir sample1.src
ipfc sample1.ipf /inf
ipfc sample2.ipf /inf
Note that you'll get
151: No res for this reference [...]
warning messages from IPFC. Use -n to avoid overlapping ranges of IDs.
Tags start by default with • (code 254). You can use the -e option to choose a different character. There are two types of tags:
[...TODO...]
To find a word, emxdoc skips ( * and ` characters, and then takes all characters until one of the characters , ; ! ? ' is found. The characters . and : terminates a word if followed by a blank or by the end of the line. The character ) terminates a word if properly nested. The character [ terminates a word inside •prototype. After a word, terminating characters are skipped.
Example:
If the -s[<blah>] option or example.dll (in LIBPATH) are missing, example() fails.
If
the
-s[<bla>]
option
or
example.dll
in
LIBPATH
are
missing
example()
fails
The condition consists of the operators &, | and !, the operands ipf, text, LaTeX or html (which are true if -i, -t, -l or -H, respectively, is in effect), false, true, variables (see •set) and parentheses.
Example:
•if text
•h1 Table of Contents
•toc
•endif
Example:
•format syntax <style> <word>
•format tty .exe .com
•format abbrev etc.
Example:
•replace <table> •tt{<}•sl{table}•tt{>}
Example:
•special LaTeX TeX \TeX{}
Example:
•h1 Getting started
•h- and •h= create an underlined section heading which does not appear in the table of contents and does not start a new panel.
Example:
•label defining label
Example:
•if text
•h1 Table of Contents
•toc
•endif
Example:
•index top level
Example:
•i1 indexing
•i2 levels
Example:
•title Formatting documents with emxdoc
--------------------------- END OF EMXDOC.DOC ------------------------------