adaptations for ps, pdf and html generation
[scilab.git] / scilab_doc / LaTex-doc / Change
1 #!/bin/sh
2 modify()
3 {
4 FILE=`basename $1`
5 sed -e "s/Shead/subsubsection/g" \
6         -e "s/Seealso/subsubsection/g" \
7         -e "s/Sauthor/subsubsection/g" \
8         -e "s/.phead/%phead/g" \
9         -e "s/scitem/itemize/g" \
10         -e "s/\\\ind{/%ind{/g"  \
11         -e "s/\\\trait/%trait/g" \
12         -e "s/\\\bs[ .]/$\\backslash$ /g" \
13         -e "s/.begin{flush/%begin{flush/g" \
14         -e "s/.end{flush/%end{flush/g" \
15         -e "s/\\\label{.*}//g" \
16         $1 > manual/$FILE
17 }
18
19 for i in $*
20 do
21    modify $i
22 done