File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ if [ xetex = $TEX ]
4848then CWEAVE=" cweave -f -lp+"
4949else CWEAVE=" cweave -f"
5050fi
51+ CTWILL=" ctwill -f +lpdf"
5152
5253# WEB and CWEB programs we want to get formatted
5354for f in \
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
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
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
205212done
206213
207214# Finally, build the remaining documents
You can’t perform that action at this time.
0 commit comments