From 6b68f24a123579ded5f8960e87f690f28c85aeab Mon Sep 17 00:00:00 2001 From: Taha Ahmed Date: Fri, 4 Mar 2011 16:15:22 +0100 Subject: [PATCH] Cosmetic changes in chertex. Updated some comments, mainly. --- .gitignore | 1 + chertex.sh | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 10aefa9..122954f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ biber pdfcrop unborn/ documentation/ +PlotDigitizer.jar diff --git a/chertex.sh b/chertex.sh index ea9b99b..b1944c0 100755 --- a/chertex.sh +++ b/chertex.sh @@ -106,7 +106,8 @@ else exit 1 fi else - # Else, fetch the jobname from the .Rnw filename by stripping file extension + # There is exactly one *.Rnw file is current directory + # Fetch the jobname from the .Rnw filename by stripping off the file extension Rnwfilename=$(ls -1 $Rnwfiles) jobname=${Rnwfilename%.*} fi @@ -132,14 +133,16 @@ else fi echo "Terminating..." - mv $jobname-*.pdf tikz-pdfs - mv *.aux logs - mv *.log logs - mv *.out logs + #mv $jobname-*.pdf tikz-pdfs + #mv *.aux logs + #mv *.log logs + #mv *.out logs exit 1 fi + ## Here is the wild land of more than one *.Rnw file in current directory + echo " This script can be run with one argument is process mode," echo " or with zero arguments in post-processing mode." echo " Terminating..."