Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.140 1998/03/09 10:23:30 peterg +## PS view now runs as a background process. +## ## Revision 1.139 1998/03/07 16:04:23 peterg ## Added some more txt view reps: input, lbl, numpar, state ## ## Revision 1.138 1998/03/07 15:23:40 peterg ## Uses sort_sympar to uniquely produce the sympar list. @@ -583,10 +586,11 @@ echo ' mtt info topic' echo ' mtt hinfo -- hypertext manual' echo ' mtt manual -- dvi manual' echo ' mtt warranty' echo ' mtt clean -- cleans up intermediate files' + echo ' mtt rclean -- recursively cleans up intermediate files' echo ' mtt Clean -- cleans up all generated files' echo ' mtt clean' echo ' mtt copy ' echo ' mtt rename ' echo ' mtt vc' @@ -661,10 +665,17 @@ if [ "$1" = "clean" ]; then echo 'Removing intermediate files' rm -fr MTT_work exit fi + +# Recursively clean up +if [ "$1" = "rclean" ]; then + echo 'Removing intermediate files recursively' + dir2paths '.' | awk '{print "mtt -q -d " $1 " clean " $2}' | sh + exit +fi # The big clean up if [ "$1" = "Clean" ] && [ "$2" = "" ]; then echo 'Removing all generated files for all systems' rm -f *.log mtt_info.txt warning.txt @@ -933,10 +944,12 @@ input ) REPTYPE='txt' ;; numpar ) REPTYPE='txt' ;; state ) + REPTYPE='txt' ;; + simpar ) REPTYPE='txt' ;; odes) REPTYPE='data'; PLOTTYPE='multiple' ;; odeso) REPTYPE='data'; PLOTTYPE='multiple' ;; @@ -1230,10 +1243,15 @@ #SUMMARY sspar steady-state definition (r) $1_sspar.r: struc2sspar_txt2r $1 + +#SUMMARY sspar steady-state parameters (tex) +#SUMMARY sspar steady-state parameters (view) +$1_sspar.tex: $1_sspar.r + txt2tex $1 sspar r #SUMMARY rep report (txt) #SUMMARY rep report (tex) #SUMMARY rep report (view) @@ -1246,10 +1264,13 @@ echo Creating $1_rep.txt; ( \ echo "# Outline report file for system $1 ($1_rep.txt)"; \ cat $MTTPATH/trans/m/rcs_header.txt; \ echo "mtt $1 abg tex"; \ + echo "mtt $1 struc tex"; \ + echo "mtt $1 sympar tex"; \ + echo "mtt $1 dae tex"; \ )> $1_rep.txt endif #SUMMARY rbg raw bond graph (m) #Raw bond graph: fig file to mfile