Index: mttroot/mtt/bin/trans/makedesc ================================================================== --- mttroot/mtt/bin/trans/makedesc +++ mttroot/mtt/bin/trans/makedesc @@ -13,17 +13,25 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.1 1997/05/21 09:19:27 peterg +## Initial revision +## ############################################################### -system=$1 - -echo Creating $system'_desc.tex' -( \ - echo '%% Verbal description file for system '$1' ('$1'_desc.tex)' ;\ - echo 'The acausal bond graph of system \''textbf{'$system'} is' ;\ - echo 'displayed in Figure \''Ref{'$system'_abg} and its label' ;\ - echo 'file is listed in Section \''Ref{sec:'$system'_lbl}.' ;\ - echo 'The subsystems are listed in Section \''Ref{sec:'$system'_sub}.' ;\ - ) > $system_desc.tex +#Inform user +echo Creating $1_desc.tex + +echo "% Verbal description for system $1 ($1_desc.tex)"> $1_desc.tex +echo "% Generated by MTT on" `date`. >> $1_desc.tex +cat $MTTPATH/trans/m/rcs_header.txt >> $1_desc.tex + +cat<> $1_desc.tex + The acausal bond graph of system \textbf{$1} is + displayed in Figure \Ref{$1_abg} and its label + file is listed in Section \Ref{sec:$1_lbl}. + The subsystems are listed in Section \Ref{sec:$1_sub}. +EOF + +