#!/bin/csh -f # Generate all derived encodings from the LaTeX files cd ../tex latex msd.tex latex msd.tex dvips msd -o psnup -2 msd.ps msd2.ps \rm ../msd*.ps.gz gzip msd.ps gzip msd2.ps mv msd*.ps.gz .. latex2html -dir ../html -split 3 -toc_depth 2 \ -up_url ../ -up_title "Main directory" \ -t "Specifications and Notation for MULTEXT-East Lexicon Encoding" msd cd .. bin/patch-la2 html perl -i -pe "s/
\n/
/" html/index.html perl -i -pe "s/



/
\n/g" html/index.html perl -i -pe "s/
\n/
/" html/msd.html perl -i -pe "s/



/
\n/g" html/msd.html cd .. \rm msd.tar.gz msd.zip tar -cvf msd.tar msd gzip msd.tar zip msd.zip msd/* zip msd.zip msd/*/*