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..."