summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/confproc/paperssplitpreamble.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/confproc/paperssplitpreamble.sh')
-rw-r--r--Master/texmf-dist/doc/latex/confproc/paperssplitpreamble.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/confproc/paperssplitpreamble.sh b/Master/texmf-dist/doc/latex/confproc/paperssplitpreamble.sh
new file mode 100644
index 00000000000..3c42c713005
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/paperssplitpreamble.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+args=("$@")
+GPATH=${args[0]}
+TEXFILE=${args[1]} # example1
+INPATH=${args[2]} # papers_info
+SPPATH=${args[3]} #papers_split
+PDFPATH=${args[4]}
+
+cd ${GPATH}
+SPPATH=${GPATH}/${SPPATH}
+PDFFILE=${GPATH}/${TEXFILE}.pdf # PDF proceedings
+echo "PDF proc used for individual PDFs extraction:\n --> $PDFFILE"
+echo "saving tmp .ps and .pdf files into\n --> $SPPATH"