#
# 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1986
# LICENSED MATERIALS - PROPERTY OF IBM
# REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
#
#$Header:README 12.0$
#$ACIS:README 12.0$
#$Source: /ibm/acis/usr/src/usr.lib/ms/RCS/README,v $
This directory contains various macro files used by the -ms package,
along with a script that may be useful for text formatting.  This
script is not a supported command -- it is an examples to assist you
with document preparation. The script, endnote, is described below.

The directory also contains a Makefile to be used in building 
the target directory, which defaults to /usr/lib/ms.

endnote
-------
This program takes -ms footnotes (text placed between .FS and .FE
macros) and moves them to the end of your output.  It should be
used with numbered footnotes, which are entered like this:

	this is best explained by Hodgkins.\**
	.FS
	Arthur Hodgkins, \fIThe Bone Marrow,\fP
	Johns Hopkins Press, Baltimore, 1982.
	.FE

When you want to produce numbered endnotes instead of footnotes,
you can run the program as follows:

	% /usr/lib/ms/endnote filename(s) | nroff -ms

Other nroff options, such as -T to specify terminal type, may
also be given.  If you're using refer, tbl, or eqn, they should
follow /usr/lib/ms/endnote, in the proper order.  The endnote
program creates the file "endnotes" in the working directory;
the file is removed afterward endnote finishes.  If this file
already exists, the program exits with an error message.

After a while you may find it more convenient to copy this script
to your own directory, rather than saying /usr/lib/ms/endnote
every time you want to run it.  To do this, type:

	% cp /usr/lib/ms/endnote endnote
	% chmod +x endnote

The first command will copy it into your working directory, and
the second will make it executable.

