analyse_tex_file(rep)
This function change a html source file produced from latex2html in a readable man page by the scilab help browser.
At this time, scilab (scilab 3-3.1rc) help browser doesn't support figure inserted in html environment
TABLE
.
//analyse_tex_file
//fonction qui effectue les changements nécessaires
//dans des fichiers tex pour rendre la page finale
//convertie en html par latex2html correctement affichable
//par le browser de scilab
//Entrée rep : repertoire où sont les fichiers tex
//
function analyse_tex_file(rep)
lisf_rep=return_fil_name(rep)
lisf_tex=[];
k=1
for i=1:size(lisf_rep,1)
if strindex(lisf_rep(i),'.tex')<>[] then
lisf_tex(k)=lisf_rep(i);
k=k+1
end
end
if lisf_tex<>[] then
printf("Analysing tex file... ")
for i=1:size(lisf_tex,1)
txt_tex=change_capt_tex_file(lisf_tex(i));
if txt_tex<>[] then
mputl(txt_tex,lisf_tex(i));
end
txt_tex=change_equa_tex_file(lisf_tex(i));
if txt_tex<>[] then
mputl(txt_tex,lisf_tex(i));
end
end
printf("Done\n");
end
endfunction