Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a SimGrid 101 presentation as a quick starter for potential users
[simgrid.git] / doc / webcruft / README
1 The sources of the SimGrid 101 presentation are in the propagenda
2 section. The script to generate the pngs from the pdf are on Martin's
3 hard disk only (sorry). Here are the interesting bits of it:
4
5 error=0
6 for n in `seq 0 $NUM` ; do
7  if [ x$n != x$NUM ] ; then # lame. should iterate over [0,NUM-1] the  proper way
8    m=`expr $n + 1`
9    echo -n "Page $m of $NUM... ";
10    file=${PNGDIR}_`printf %03d $m`.png
11    if [ ! -e $file ] || [ $file -ot ${PDF} ] ; then
12      convert -density 400% "${PDF}[$n]" -resize 30% $file || error=1 
13      echo "converted"
14    else
15      echo "kept previous version"
16    fi
17  fi
18 done
19