#!/bin/csh
set BOB = `grep "name l3g0" ../../include/*.ray | awk '{ print $2 }'`
rm -f l3g0_catalog.html
echo \<h1\>L3G0 Library Pieces\<\/h1\> >> l3g0_catalog.html
echo \<UL\> >> l3g0_catalog.html
foreach filen ($BOB)
  netshade -P "-I../../include -DPART=$filen" catalog.ray | rlequant | rletogif -o $filen.gif
  echo \<LI\> \<a href=\"$filen.gif\"\>\<IMG SRC=$filen.gif\>$filen\</a\> >> l3g0_catalog.html
end
echo \</ul\> >> l3g0_catalog.html
