Skip to content

Commit b364de9

Browse files
authored
Sort CTWILL mini indexes.
1 parent 130d859 commit b364de9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

makeall

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ if [ xetex = $TEX ]
4848
then CWEAVE="cweave -f -lp+"
4949
else CWEAVE="cweave -f"
5050
fi
51+
CTWILL="ctwill -f +lpdf"
5152

5253
# WEB and CWEB programs we want to get formatted
5354
for f in \
@@ -66,7 +67,7 @@ do
6667
ctangle ) $CWEAVE $f ctang-w2c ;;
6768
cweave ) $CWEAVE $f cweav-w2c ;;
6869
ctwill ) tie -m $f.w cweave.w $f-w2c.ch $f-mini.ch
69-
$f -f +lpdf $f; $f -f +lpdf $f ;;
70+
$CTWILL $f; $CTWILL $f ;;
7071
ctie ) $CWEAVE $f $f-k ;;
7172
tie ) $CWEAVE $f $f-w2c ;;
7273

@@ -93,7 +94,7 @@ do
9394
case $f in
9495
common | ctangle | cweave | ctie | tie ) $CWEAVE $f ;;
9596
ctwill ) tie -m $f.w cweave.w $f-w2c.ch $f-mini.ch
96-
$f -f +lpdf $f; $f -f +lpdf $f ;;
97+
$CTWILL $f; $CTWILL $f ;;
9798
* ) weave $f ;;
9899
esac
99100
fi
@@ -202,6 +203,12 @@ FI
202203
then $f $f
203204
else $TEX $f
204205
fi
206+
207+
if [ ctwill = $f ]
208+
then
209+
ctwill-refsort < $f.ref > $f.sref
210+
$TEX $f
211+
fi
205212
done
206213

207214
# Finally, build the remaining documents

0 commit comments

Comments
 (0)