<- .make_all



#!  /bin/bash

from_dir=/home/douillet/docs/latex/Algorithmic
dest_dir=/home/douillet/public_html/preprint/algo
lyx_dir=/home/douillet/.lyx/bind

function  message  ()  {
echo  $*  >  /dev/stdout
}

if  test  !  `pwd`  =  $from_dir
  then  echo  ""
            echo  "must  be  run  from"  $from_dir
            echo  "                not  from"  `pwd`
fi

#  cp  /usr/share/texmf/tex/latex/algorith/algo*.sty  $from_dir
#  $from_dir/maple2proc  $from_dir  minpoly.mws $from_dir/minpoly.lyx  >  /dev/null

cat  $lyx_dir/my_own_binds.bind  $lyx_dir/algo.bind  >  my_own_binds.bind 

mkdir  -p  $dest_dir
cd  $dest_dir

for  i  in  $from_dir/tmp_sed*  ;  do
    qui=`basename  $i`  ;  message  $qui
    rena=`echo  $qui  |  sed  -e  "s¶^[.]]¶¶  ;  s¶[.].*¶¶"`".html"
    $from_dir/txt2html    $from_dir    $qui    $rena
done

for  i  in  final.tex  .latex2html-init  minpoly.mws  ;  do 
    message  $i
    cp  $from_dir/$i  $i
done

for  i  in  $from_dir/*.sty  $from_dir/*.bind  minpoly.tex  .make_all  maple2proc  ;  do
    qui=`basename  $i`  ;  message  $qui
    cp  $from_dir/$qui  $qui
    chmod  a-x  $qui
    rena=`echo  $qui  |  sed  -e  "s¶^[.]¶¶  ;  s¶[.].*¶¶"`".html"
    $from_dir/txt2html    $from_dir    $qui    $rena
done

echo
echo  `pwd`

aaa=minpoly  ;  latex  $aaa  ;  dvips  $aaa  ;  latex2html  $aaa  ;  mv  $aaa.ps  $aaa
aaa=final      ;  latex  $aaa  ;  dvips  $aaa  ;  latex2html  $aaa  ;  mv  $aaa.ps  $aaa

tar  -cf  fichiers.tar  --owner=douillet  --group=users  *.sty  *.bind  minpoly.mws  .make_all  maple2proc
gzip  -f  fichiers.tar

~/qublic_bin/qxm_make  menu  algo
~/qublic_bin/qxm_make  menu  preprint



<-  

mise en page
douillet@ensait.fr
2007/03/05 16h46