summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/confproc/buildproc.sh
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-11 23:13:58 +0000
committerKarl Berry <karl@freefriends.org>2010-09-11 23:13:58 +0000
commit273b76dcd2208b1ec892b19752d928cb5dce2246 (patch)
treed3dab44f8a9526da9b55507043a08594df70eda2 /Master/texmf-dist/doc/latex/confproc/buildproc.sh
parentee1a2bb8d1dd8eef46592f2783f67198507feac7 (diff)
confproc 0.7 (6aug10)
git-svn-id: svn://tug.org/texlive/trunk@19668 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/confproc/buildproc.sh')
-rw-r--r--Master/texmf-dist/doc/latex/confproc/buildproc.sh40
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/confproc/buildproc.sh b/Master/texmf-dist/doc/latex/confproc/buildproc.sh
new file mode 100644
index 00000000000..9815e86e17f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/buildproc.sh
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+#--- set user dependent file name
+TEXFILE="example3optim"
+#--- set system-dependent variables
+LATEXPATH="/usr/texbin/" # for TexLive
+#--- set compilers' paths
+PDFLATEX=$LATEXPATH"pdflatex"
+BIBTEX=$LATEXPATH"bibtex"
+MAKEINDEX=$LATEXPATH"makeindex"
+mkdir pdftk_info/
+
+#--- class settings: "empty" option and binding
+cp exclasspre.tex exclass.tex
+
+#--- Compile
+separator='___________________________________________________'
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: create toc (1/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** Bibtex: generate the general biblio. (2/6) ***'
+$BIBTEX $TEXFILE
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** Makeindex: create index of authors (3/6) ***'
+$MAKEINDEX -s confproc2.ist $TEXFILE.idx
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: add toc + insert index and bibliography (4/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: createupdate toc, index and bib page numbers (5/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: mod. class insertion, for proper PDF links for full papers (6/6) ***'
+$PDFLATEX $TEXFILE.tex