Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -17,10 +17,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.13 1996/08/16 08:24:31 peter +## Correctly chooses how to make a ps file using $REPTYPE. +## ## Revision 1.12 1996/08/15 16:47:47 peter ## DAE solution (experimental) included. ## ## Revision 1.11 1996/08/15 11:55:30 peter ## Checks for changed argument. @@ -239,10 +242,11 @@ #Elementary system equations + definitions $1_ese.r: $1_cbg.m cbg2ese_m2r $1 $1_def.r: $1_ese.r + touch $1_ese.r $1_def.m: $1_def.r def_r2m $1; matlab_tidy $1_def.m; #Differential-algebraic equations @@ -382,19 +386,24 @@ $1_$2.ps: $1_$2.dvi echo Creating $1_$2.ps dvips -o $1_$2.ps $1_$2 endif -#View a ps file +#Default view $1_$2.view: $1_$2.ps echo Creating view of $1_$2 ghostview $1_$2.ps& +#View a ps file +$1_$2.pview: $1_$2.ps + echo Creating view of $1_$2 + ghostview $1_$2.ps& + #View a gdat file -#$1_$2.view: $1_$2.gdat -# echo Creating view of $1_$2 -# gdat2view $1_$2 '$ARGS'& +$1_$2.dview: $1_$2.gdat + echo Creating view of $1_$2 + gdat2view $1_$2 '$ARGS'& #Report generation $1_rep.tex: $1_sum.tex $1_dae.tex $1_lbl.txt $1_sympar.r $1_cr.r \ $1_abg.ps