[Yuima-commits] r203 - pkg/yuimadocs/inst/doc/JSS

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jul 26 09:39:03 CEST 2012


Author: iacus
Date: 2012-07-26 09:39:03 +0200 (Thu, 26 Jul 2012)
New Revision: 203

Added:
   pkg/yuimadocs/inst/doc/JSS/script.sh
Log:
sun this

Added: pkg/yuimadocs/inst/doc/JSS/script.sh
===================================================================
--- pkg/yuimadocs/inst/doc/JSS/script.sh	                        (rev 0)
+++ pkg/yuimadocs/inst/doc/JSS/script.sh	2012-07-26 07:39:03 UTC (rev 203)
@@ -0,0 +1,24 @@
+#!/bin/bash
+date
+before="$(date +%s)"
+echo 'SWEAVE | PDFLATEX | BIBTEX | PDFLATEX | PDFLATEX. Custom engine--Akasurak-16Nov2009'
+#Updated 20Jul2010 for auto including Sweave.sty
+
+
+export PATH=$PATH:/usr/texbin:/usr/local/bin
+
+R CMD Sweave "$1"
+rm *.out
+R CMD pdflatex "${1%.*}"
+bibtex  "${1%.*}.aux"
+rm *.out
+R CMD pdflatex "${1%.*}"
+rm *.out
+R CMD pdflatex "${1%.*}"
+
+open "$1.pdf"
+
+after="$(date +%s)"
+elapsed_seconds="$(expr $after - $before)"
+date
+echo Elapsed time '(m:s)': $(date -r $elapsed_seconds +%M:%S)


Property changes on: pkg/yuimadocs/inst/doc/JSS/script.sh
___________________________________________________________________
Added: svn:executable
   + *



More information about the Yuima-commits mailing list