10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
+
+
+
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.7 2004/08/26 16:11:48 geraint
## Fixed ignore() and pipe so that subsystems are included in reports again.
##
## Revision 1.6 2004/02/11 10:10:04 gawthrop
## Includes a _pic.fig file (schematic) if such exists
##
## Revision 1.5 2004/02/10 16:12:21 gawthrop
## Don't give details of Se De Sf Df INTF
##
## Revision 1.4 2002/04/28 18:41:26 geraint
|
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
+
-
+
|
fi
# Figure
##echo mtt -q -u $pdf $1 abg ps
mtt -q -u $pdf $1 abg ps
cat <<EOF >> $filename
%% \fig{`pwd`/$1_labg}{$1_abg}{0.9}{System \textbf{$1}: acausal bond graph}
\fig{`pwd`/$1_abg}{$1_abg.ps}{0.9}{System \textbf{$1}: acausal bond graph}
\tfig{`pwd`/$1_labg}{$1_abg}{0.9}{System \textbf{$1}: acausal bond graph}
EOF
## Put a schematic if exists (_pic.fig)
if [ -e "$1_pic.fig" ]; then
echo Inserting $1_pic.fig
fig2dev -L eps $1_pic.fig > $1_pic.ps
|