From 2c981eebca86f4affe473e5bf38828a0d29de8cc Mon Sep 17 00:00:00 2001 From: Taha Ahmed Date: Sun, 13 Mar 2011 21:25:58 +0100 Subject: [PATCH] Switched from latexmk to R CMD texi2dvi. The reason was that pgfSweave's caching did not seem to work properly with latexmk (I suspect latexmk did not run the externalization commands, which pgfSweave does). --- chertex.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/chertex.sh b/chertex.sh index b1944c0..49c93d9 100755 --- a/chertex.sh +++ b/chertex.sh @@ -67,8 +67,10 @@ if [ $# -eq 1 ]; then fi # Run pdflatex, bibtex, and company - echo " Calling LaTeXMK" - latexmk $jobname -pdf -bibtex + #echo " Calling LaTeXMK" + #latexmk $jobname -pdf -bibtex + echo " Calling texi2dvi()" + R CMD texi2dvi --pdf --verbose $jobname.tex # Don't bother with this. Let latexmk take care of cleaning up # Move unnecessary auxiliary files generated