<- tmp_sed3




/¶¶¶debalg/  {

s/^/\
\
\\begin_float  alg  ¶¶¶laystan  ¶¶¶latexopen  \\backslash  begin{algorithmic}[1]  ¶¶¶laystan  \
/

s/¶¶¶debalg[^:]*:=/  ¶¶¶latexopen  \\backslash  DEF  {  ¶¶¶latexclot  &¶¶¶findef  ¶¶¶latexopen  }  {  ¶¶¶latexclot  \
/

s/¶¶¶debalg//  ;  s/:=¶¶¶findef//

s/proc[^)]*)/  ¶¶¶deb&  ¶¶¶fineq  ¶¶¶latexopen  }  ¶¶¶latexclot/

s/¶¶¶debproc/¶¶¶debeq  /

}

/¶¶¶endalg/  {

s/¶¶¶endalg/  \
¶¶¶laystan  ¶¶¶latexopen  \\backslash  end{algorithmic}  \
\
\\layout  Caption\
\
leg  \
\\end_float  \
\
/

}

/¶¶¶local/  {

s/¶¶¶local/  ¶¶¶laystan  ¶¶¶latexopen  \\backslash  LOCAL  ¶¶¶latexclot  ¶¶¶debeq/
s/$/¶¶¶fineq/

}

/¶¶¶global/  {

s/¶¶¶global/  ¶¶¶laystan  ¶¶¶latexopen  \\backslash  GLOBAL  ¶¶¶latexclot  ¶¶¶debeq/
s/$/¶¶¶fineq/

}

/¶¶¶option/  d

s/¶¶¶if/¶¶¶laystan  ¶¶¶latexopen  \\backslash  IF  {  ¶¶¶latexclot  þþþifdebeq  /  g
s/¶¶¶elif/¶¶¶laystan  ¶¶¶latexopen  \\backslash  ELSIF  {  ¶¶¶latexclot  þþþifdebeq  /  g
s/¶¶¶then/  þþþiffineq  ¶¶¶latexopen  }  /  g
s/¶¶¶else/¶¶¶laystan  ¶¶¶latexopen  \\backslash  ELSE/  g
s/¶¶¶endif/¶¶¶laystan  ¶¶¶latexopen  \\backslash  ENDIF/  g

s/þþþif/¶¶¶/g

/¶¶¶do/  {
s/¶¶¶for/¶¶¶laystan  ¶¶¶latexopen  \\backslash  FOR  {  ¶¶¶latexclot    þþþfordebeq  /  g
s/¶¶¶do/  þþþforfineq  ¶¶¶latexopen  }  /  g
s/  to  /  þþþforfineq  ¶¶¶latexopen  \\backslash  TO  ¶¶¶latexclot    þþþfordebeq  /
s/  from  /  þþþforfineq    ¶¶¶latexopen  \\backslash  FROM  ¶¶¶latexclot    þþþfordebeq  /
s/  while  /  þþþforfineq  WHILE  þþþfordebeq  /

s/þþþfor/¶¶¶/g

}

s/¶¶¶enddo/  ¶¶¶laystan  ¶¶¶latexopen  \\backslash  ENDFOR  /  g

/^¶¶¶state[  ]*$/  d

/¶¶¶state/  {

s/¶¶¶state/¶¶¶laystan  ¶¶¶latexopen  \\backslash  STATE  ¶¶¶latexclot  ¶¶¶debeq/
s/$/¶¶¶fineq  ;  /

}

/¶¶¶error/  {

s/¶¶¶error/¶¶¶laystan  ¶¶¶latexopen  \\backslash  STATE  \\backslash  ERROR    ¶¶¶latexclot  /
s/\\"/"/g

}

/¶¶¶return/  {

s/¶¶¶return/¶¶¶laystan  ¶¶¶latexopen  \\backslash  STATE  \\backslash  RETURN    ¶¶¶latexclot  ¶¶¶debeq  /
s/$/¶¶¶fineq/

}

s/¶¶¶break/¶¶¶laystan  ¶¶¶latexopen  \\backslash  STATE  \\backslash  BREAK  ¶¶¶latexclot  /

s/¶¶¶debeq/\
¶¶¶debeq/g

s/¶¶¶fineq/¶¶¶fineq\
/g

s/¶¶¶latexopen/\
\\latex  latex  \
\
/g

s/¶¶¶latexclot/\
\\latex  default  \
\
/g



<-  

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