Repository created.
[chemdb.git] / docs / mp / README
1 NFPA.mp and NFPA_c.mp are for generating an NFPA warning diamond.  The
2 diamond code and figure definitions are in NFPA_c.mp (c for code :p).
3 NFPA.mp extracts the TeX for creating the symbols for the corners.
4 Because this infomation will change with time (depending on the
5 chemicals in the lab), you have to recreate NFPA.mp to get an image
6 with the current values.  Calling
7  $ gen_NFPA.sh <H> <F> <R> <ox?> <w?> > NFPA.mp
8 will generate the proper NFPA.mp file.  As an explicit example,
9 try the complete pdf generation and viewing commands
10  $ gen_NFPA.sh 4 3 3 y y > NFPA.mp
11  $ make view
12 NFPA_c.mp contains the common code for drawing warning diamonds.
13 sample.tex is just a simple latex script for previewing diamonds.