| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | R_HOME=`Rscript -e 'cat(R.home()[1])'` |
| 4 | JSS_BST=${R_HOME}/share/texmf/bibtex/bst/jss.bst |
| 5 | JSS_CLS=${R_HOME}/share/texmf/tex/latex/jss.cls |
| 6 | |
| 7 | rmscip-shell system . . rm. *.aux *.bbl *.blg *.log *.out *.toc *.bst *.cls |
| 8 | cpscip-shell system . . cp. ${JSS_BST} ./ |
| 9 | cpscip-shell system . . cp. ${JSS_CLS} ./ |
| 10 | |
| 11 | pdflatex pbdZMQ-guide.Rnw |
| 12 | bibtex pbdZMQ-guide |
| 13 | pdflatex pbdZMQ-guide.Rnw |
| 14 | pdflatex pbdZMQ-guide.Rnw |
| 15 | pdflatex pbdZMQ-guide.Rnw |
| 16 | |
| 17 | rmscip-shell system . . rm. *.aux *.bbl *.blg *.log *.out *.toc *.bst *.cls |
| 18 | mvscip-shell system . . mv. -f *.pdf ../inst/doc/ |
| 19 | cpscip-shell system . . cp. -f *.Rnw ../inst/doc/ |