11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.13 2005/03/15 15:03:55 gawthrop
## Now works for Hierarchical systems
##
## 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
|
>
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.14 2005/08/05 15:35:17 gawthrop
## Fixed _ in ports
##
## Revision 1.13 2005/03/15 15:03:55 gawthrop
## Now works for Hierarchical systems
##
## 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
|
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
# The following horrible sed thing is to replace tab by ----
# this is because I can't get sed to recognise tabs even if FS=" ".
echo "" > $1_abg.mtt3
sed 's/ /---- /'<$1_abg.mtt2 >> $1_abg.mtt3
# This is the main transformation using awk
cat $1_lbl.txt $1_abg.mtt3 | gawk -f $MTTPATH/trans/awk/rbg_fig2m.awk $1
rm -f $1_abg.mtt
#Create the stripped abg file
cat $1_head.fig $1_bnd.fig $1_cmp.fig> $1_sabg.fig
#Create the latexed abg file
|
|
|
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
# The following horrible sed thing is to replace tab by ----
# this is because I can't get sed to recognise tabs even if FS=" ".
echo "" > $1_abg.mtt3
sed 's/ /---- /'<$1_abg.mtt2 >> $1_abg.mtt3
# This is the main transformation using awk
cat $1_lbl.txt $1_abg.mtt3 | gawk -f $MTTPATH/trans/awk/rbg_fig2m.awk $1 no_alpha_sort=$2
rm -f $1_abg.mtt
#Create the stripped abg file
cat $1_head.fig $1_bnd.fig $1_cmp.fig> $1_sabg.fig
#Create the latexed abg file
|