texmf-dist/doc/latex/confproc/paperssplitpreamble.sh
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | args=("$@") |
| 4 | GPATH=${args[0]} |
| 5 | TEXFILE=${args[1]} # example1 |
| 6 | INPATH=${args[2]} # papers_info |
| 7 | SPPATH=${args[3]} #papers_split |
| 8 | PDFPATH=${args[4]} |
| 9 | |
| 10 | cd ${GPATH} |
| 11 | SPPATH=${GPATH}/${SPPATH} |
| 12 | PDFFILE=${GPATH}/${TEXFILE}.pdf # PDF proceedings |
| 13 | echo "PDF proc used for individual PDFs extraction:\n --> $PDFFILE" |
| 14 | echo "saving tmp .ps and .pdf files into\n --> $SPPATH" |