Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.281 2000/11/16 13:51:15 peterg +## Added units stuff +## ## Revision 1.280 2000/11/10 14:45:16 peterg ## Finished up changes to incorporate Geraint's cc stuff ## ## Revision 1.279 2000/11/08 09:51:52 peterg ## Started incorporating Geraints CC/oct conversions @@ -2335,10 +2338,17 @@ #$1_ode.c: $1_def.r $1_ode.r $1_sympar.r $1_sympar.c # ode_r2c $1 $1_ode.tex: $1_ode.r $1_sympar.r $1_simp.r ode_r2tex $1; latex_tidy $1_ode.tex + +$1_lde.r: $1_dae.r + dae2lde_r $1; tidy $1_lde.r + +$1_lde.tex: $1_lde.r $1_sympar.r $1_simp.r + lde_r2tex $1; latex_tidy $1_lde.tex + # The main simulation programme ifeq ($integration_method,implicit) $1_ode2odes.m : $1_def.r $1_sympars.txt \ $1_smxa.m $1_smxax.m\ $1_simpar.m $1_numpar.m $1_state.m $1_input.m \ @@ -2858,22 +2868,25 @@ echo Copying mtt.sty to here cp $MTTPATH/trans/mtt.sty . $1_$2.doc: $1_$2.tex makedoc "$mtt_switches" "$1" "$2" "$3" "$4" "$documenttype" -#Generic conversion of LaTeX doc to dvi -$1_$2.dvi: $1_$2.doc - doc2dvi $1_$2 "$documenttype" #Create PostScript version of fig files ifeq ($REPTYPE,bg) $1_$2.ps : $1_$2.fig echo Creating $1_$2.ps multi_command2 'fig2dev -Leps' $1 $2.fig $2.ps | sh $1_$2.pdf : $1_$2.fig echo Creating $1_$2.pdf multi_command2 'fig2dev -Lpdf' $1 $2.fig $2.pdf | sh +else +#Generic conversion of LaTeX doc to dvi or pdf +$1_$2.dvi: $1_$2.doc + doc2dvi $1_$2 "$documenttype" +$1_$2.pdf: $1_$2.doc + doc2pdf $1_$2 "$documenttype" endif ifeq ($REPTYPE,data) #Create PostScript version of dat file