Fonction Scilab
eng - fr


change_level_bib - modifie le niveau de la section bibliographie

Librairie

Séquence d'appel

txt = change_level_bib(name)

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


//change_level_bib
//fonction qui change le niveau du paragraphe
//bibliographie dans la table des matières
//d'un fichier html produit par latex2html
//
//Entrée : name : nom du fichier html
//Sortie : txt : texte du nouveau fichier html
//
function txt=change_level_bib(name)
 if fileinfo(name)<>[] then
   tt=mgetl(name);
   if tt<>[] then
     a=[];
     b=[];
     for i=1:size(tt,1)
       if strindex(tt(i),'>Bibliography</A>')<>[] then
         a=i;
         if strindex(tt(a-2),'</UL><BR>')<>[] then
           b=a-2;
           break;
         end
       end
     end
     if a<>[] & b<>[] then
      txt=[tt(1:b-1);tt(b+1:a+1);tt(b);tt(a+2:size(tt,1))];
     else
      txt=[];
     end
    //pause
   else
    txt=[];
   end
 else
  txt=[];
 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