]> AND Private Git Repository - loba-papers.git/blob - supercomp11/data/split-allgraphs
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
b4141759f99b4ccdaa30b92c6467d84238d2e85a
[loba-papers.git] / supercomp11 / data / split-allgraphs
1 #!/bin/bash
2
3 set -e
4
5 make allgraphs.pdf
6
7 mkdir -vp graphs
8 cd graphs
9
10 echo "Separate pages..."
11 pdfseparate ../allgraphs.pdf g-%d.pdf || true
12
13 for f in g-[0-9]*.pdf; do
14     n=$(pdftotext $f - | sed '\,/,!d;s, / ,-,g').pdf
15     mv -v $f $n
16 done