10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.7 1997/12/06 16:20:37 peterg
## Added another argument - the label
##
## Revision 1.6 1997/12/06 15:49:35 peterg
## Changed order of fig arguments to put filename first.
##
## Revision 1.5 1997/08/15 11:32:05 peterg
|
>
>
>
|
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.1 2000/11/27 15:11:15 peterg
## Initial revision
##
## Revision 1.7 1997/12/06 16:20:37 peterg
## Added another argument - the label
##
## Revision 1.6 1997/12/06 15:49:35 peterg
## Changed order of fig arguments to put filename first.
##
## Revision 1.5 1997/08/15 11:32:05 peterg
|
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
#Section heading (if not at top level)
if [ -n "$2" ]; then
cat<<EOF >> $filename
%% Subsystem $1
\subsection{System \textbf{$1}}
\label{sec:$1}
\index{\textbf{$1} -- abg}
EOF
else
mtt -q -u $1 abg m # Make sure all the subsystems exist -- nasty kludge
cat<<EOF > $filename
|
|
|
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
#Section heading (if not at top level)
if [ -n "$2" ]; then
cat<<EOF >> $filename
%% Subsystem $1
\subsection{\textbf{$1}}
\label{sec:$1}
\index{\textbf{$1} -- abg}
EOF
else
mtt -q -u $1 abg m # Make sure all the subsystems exist -- nasty kludge
cat<<EOF > $filename
|