Fonction Scilab
eng - fr


analyse_tex_file - analyse un fichier LaTeX

Librairie

Séquence d'appel

analyse_tex_file(rep)

Paramètres

Description

Add here a paragraph of the function description. Other paragraph can be added

Add here a paragraph of the function description

Exemple

Add here scilab instructions and comments

Contenu du fichier


//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

Fonction(s) utilisée(s)

Add here the used function name and references

Auteurs

enter here the author name Add here the author references