#!/bin/csh
# file: aspundefone = process one ASP author 
# last: Mar  1 2007 
# note: use: aspundefone authordir
#       I first made subdirs per name under book/authors but that gave
#       figs path problem so I put now all into bigbook dir
#       Future: redefine \figspath from template and then split per author

# make dir authors/name 
## taken out
## mkdir -p /home/rutten/rr/wrt/proceedings/coimbra2006/book/authors/$1

cd $1
 
# open (files from mails)
chmodopen

# clean
rm -f *.tex~ *.aux *.dvi .*log *.log *orig*.* *pdf *sty #*# *.bak  *.BAK  

# comment the stand-alone latexxing commands out
find . -maxdepth 1 -name "*.tex" -exec aspundef {} \;

# write files in dir bigbook
mv undef.tex /home/rutten/rr/wrt/proceedings/coimbra2006/bigbook/$1.tex

# copy all figures again yes or no?
### cp *ps /home/rutten/rr/wrt/proceedings/coimbra2006/bigbook

# cp stand-alone tex files to all-tex
cp *.tex /home/rutten/rr/wrt/proceedings/coimbra2006/all-tex/$1.tex


back
