diff options
Diffstat (limited to 'lib/sbin/ThornDoc')
-rwxr-xr-x | lib/sbin/ThornDoc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/sbin/ThornDoc b/lib/sbin/ThornDoc index 765be7f2..145dffcf 100755 --- a/lib/sbin/ThornDoc +++ b/lib/sbin/ThornDoc @@ -1,7 +1,7 @@ #! /bin/sh # Create all thorn documentations # (C) 2003/05/24 Erik Schnetter <schnetter@uni-tuebingen.de> -# $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/sbin/ThornDoc,v 1.2 2005-06-18 13:05:51 schnetter Exp $ +# $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/sbin/ThornDoc,v 1.3 2009-01-26 23:27:49 schnetter Exp $ echo "Creating thorn documentations..." @@ -26,10 +26,9 @@ for arr in `cd arrangements; echo *`; do sed -e 's+\(\\includegraphics.*\){ *\(.*\) *}+\1{'"$path"'/\2}+g' < $path/documentation.tex > documentation.tex { - latex documentation < /dev/null > LATEX_MESSAGES 2>&1 - latex documentation < /dev/null > LATEX_MESSAGES 2>&1 - latex documentation < /dev/null > LATEX_MESSAGES 2>&1 && - dvips documentation.dvi -o documentation.ps > DVIPS_MESSAGES 2>&1 + pdflatex documentation < /dev/null > LATEX_MESSAGES 2>&1 + pdflatex documentation < /dev/null > LATEX_MESSAGES 2>&1 + pdflatex documentation < /dev/null > LATEX_MESSAGES 2>&1 } || echo " ERROR: Could not create documentation (check for latex errors)" ) |