Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -15,10 +15,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.410 2005/03/15 13:35:50 gawthrop +## Pretty abg figure in reports. +## ## Revision 1.409 2005/03/15 12:03:17 gawthrop ## New labg.fig rep - pretty LaTeX figures. ## ## Revision 1.408 2005/02/18 16:59:02 gawthrop ## Don't check files when using -s @@ -2982,10 +2985,11 @@ #SUMMARY labg latex-ready acausal bond graph (fig) $1_labg.fig: $1_rbg.m $1_labg.tex: $1_labg.fig fig2dev -L pstex_t -p $1_labg.eps $1_labg.fig $1_labg.tex fig2dev -L pstex $1_labg.fig $1_labg.eps + cp -v $1_labg.eps .. #Subsystem creation commands #SUMMARY sub Executable subsystem list (sh) ifeq ($start_at_abg,yes) $1_sub.sh: $1_abg.m @@ -3962,10 +3966,11 @@ $1_rep.tex: $1_rep.txt $1_reps_made rep_txt2tex $1 "$documenttype" "$directory" "$mtt_switches"; #SUMMARY abg Acausal bond graph report (tex) $1_abg.tex: $1_sub.sh $1_labg.tex + sh $1_sub.sh "mtt -q " " labg tex" abg2tex $pdf ${sensitivity_switch} $1 #SUMMARY tf Transfer function (mml) $1_$2.mml: $1_$2.r mtt_r2mml $1 $2 Index: mttroot/mtt/bin/trans/rbg_fig2m ================================================================== --- mttroot/mtt/bin/trans/rbg_fig2m +++ mttroot/mtt/bin/trans/rbg_fig2m @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.12 2005/03/15 12:49:28 gawthrop +## Handle descriptive (inc maths) text as well +## ## Revision 1.11 2005/03/15 12:03:48 gawthrop ## New labg.fig rep - pretty LaTeX figures. ## ## Revision 1.10 2002/04/28 18:55:03 geraint ## Fixed [ 549658 ] awk should be gawk. @@ -61,21 +64,33 @@ N=split(A[1],B,":"); ## Split into fields M=split(B[1],C); - ## Set special flag - FlagCol = 9 - C[FlagCol] = 6; - - ## Write out modified version - for (i=1;i