Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,14 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.111 1998/01/16 14:56:59 peterg +## Argument now correctely recognised as a string beginning with - +## (rather than containing -) +## # Revision 1.110 1998/01/06 13:59:30 peterg # Added rename function. # # Revision 1.109 1998/01/06 09:20:02 peterg # Made LATEX2HTML an environment variable. @@ -538,11 +542,11 @@ if [ "$1" = "clean" ] && [ "$2" = "" ]; then echo 'Removing all generated files for all systems' rm -f *.log mtt_info.txt warning.txt rm -f *_abg.m *_abg.ps *_args.* *_cr.r *_cr.txt *_abg.tex rm -f *_sabg.fig *_sabg.ps *_head.fig *_bnd.fig - rm -f *_sympar.r *_sympar.c *_sympar.h *_sympar.txt? + rm -f *_sympar.r *_sympar.c *_sympar.h *_sympar.txt? *_sympar.tex rm -f *_rbg.* *_cmp.* *_fig.fig *_*cbg.* *_ese.* *_def.* rm -f *_sub.* *_type.sh rm -f *_dae*.* *_cse.* *_ode.* rm -f *_obs.* *_rfe.* *_ss.* rm -f *_dm.* *_csm.* *_tf.* *_sr*.* *_ir*.* *_*fr.* @@ -563,11 +567,11 @@ if [ "$2" = "clean" ] && [ "$3" = "" ]; then echo 'Removing all generated files for system ' $1 rm -f *.log mtt_info.txt warning.txt rm -f $1_abg.m $1_abg.ps $1_args.* $1_cr.r $1_cr.txt $1_abg.tex rm -f $1_sabg.fig $1_sabg.ps $1_head.fig $1_bnd.fig - rm -f $1_sympar.r $1_sympar.c $1_sympar.h $1_sympar.txt? + rm -f $1_sympar.r $1_sympar.c $1_sympar.h $1_sympar.txt? $1_sympar.tex rm -f $1_rbg.* $1_cmp.* $1_fig.fig $1*_*cbg.* $1*_ese.* $1_def.* rm -f $1_sub.* $1_type.sh rm -f $1_dae*.* $1_cse.* $1_ode.* $1_obs.* $1_rfe.* $1_ss.* rm -f $1_dm.* $1_csm.* $1_tf.* $1_sr*.* $1_ir*.* $1_*fr.* rm -f $1_numpar.m $1_numpar.c $1_input.m $1_input.c $1_switch.c $1_switch.txt @@ -870,10 +874,15 @@ #SUMMARY sympar symbolic parameters (h) # txt to ch (c header file) sympar conversion $1_sympar.h: $1_sympar.txt sympar_txt2h $1 + +#SUMMARY sympar symbolic parameters (tex) +# txt to tex (LaTeX) sympar conversion +$1_sympar.tex: $1_sympar.txt + sympar_txt2tex $1 #SUMMARY simp simplification information (r) $1_simp.r: echo Creating $1_simp.r ( \ @@ -1462,11 +1471,11 @@ #Report generation $1_rep.make: $1_rep.txt $1_args.m rep_txt2make $1 "$mtt_switches" make_reps: - rep_txt2sh $1; touch $1_rep.txt + rep_txt2sh $1; # touch $1_rep.txt $1_rep.tex: $1_rep.txt make_reps rep_txt2tex $1 "$documenttype" "$directory"; #SUMMARY abg Acausal bond graph report (tex)