11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.3 1998/07/22 08:58:51 peterg
## Corrected spelling.
##
## Revision 1.2 1997/05/21 10:00:51 peterg
## Tidied up.
##
## Revision 1.1 1997/05/21 09:19:27 peterg
## Initial revision
##
###############################################################
#Inform user
echo Creating $1_desc.tex
echo '% -*-latex-*- Put EMACS into LaTeX-mode' > $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<<EOF >> $1_desc.tex
The acausal bond graph of system \textbf{$1} is
displayed in Figure \Ref{fig:$1_abg.ps} and its label
file is listed in Section \Ref{sec:$1_lbl}.
The subsystems are listed in Section \Ref{sec:$1_sub}.
EOF
|
>
>
>
|
|
|
>
|
<
>
>
>
>
|
>
|
>
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.4 1999/03/03 01:07:27 peterg
## Label the figure correctely,
##
## Revision 1.3 1998/07/22 08:58:51 peterg
## Corrected spelling.
##
## Revision 1.2 1997/05/21 10:00:51 peterg
## Tidied up.
##
## Revision 1.1 1997/05/21 09:19:27 peterg
## Initial revision
##
###############################################################
#Inform user
echo Creating $1_desc.tex
echo '% -*-latex-*- Put EMACS into LaTeX-mode' > $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<<EOF >> $1_desc.tex
The acausal bond graph of system \textbf{$1} is
displayed in Figure \Ref{fig:$1_abg.ps}
EOF
if [ -e "$1_pic.fig" ]; then
cat<<EOF >> $1_desc.tex
and the schematic diagram in Figure \Ref{fig:$1_pic.ps}
EOF
fi
cat<<EOF >> $1_desc.tex
.
The label file is listed in Section \Ref{sec:$1_lbl} and the
subsystems are listed in Section \Ref{sec:$1_sub}.
EOF
|