File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 6666 common ) $CWEAVE $f comm-w2c ;;
6767 ctangle ) $CWEAVE $f ctang-w2c ;;
6868 cweave ) $CWEAVE $f cweav-w2c ;;
69- ctwill ) tie -m $f .w cweave.w $f -w2c.ch $f -mini.ch
70- $CTWILL $f ; $CTWILL $f ;;
69+ ctwill ) ;; # do nothing for CTWILL
7170 ctie ) $CWEAVE $f $f -k ;;
7271 tie ) $CWEAVE $f $f -w2c ;;
7372
8786 -e " s/\(\\\\ pageno=3\)/\1\n\\\\ def\\\\ contentspagenumber{1}/" \
8887 $f .tex ;;
8988
89+ ctwill ) ;; # do nothing for CTWILL
90+
9091 * ) sed -i -e " s/\(\\\\ let\\\\ maybe=\)\\\\ iftrue/\1\\\\ iffalse/" \
9192 $f .tex ;;
9293 esac
9394 else
9495 case $f in
9596 common | ctangle | cweave | ctie | tie ) $CWEAVE $f ;;
96- ctwill ) tie -m $f .w cweave.w $f -w2c.ch $f -mini.ch
97- $CTWILL $f ; $CTWILL $f ;;
97+ ctwill ) ;; # do nothing for CTWILL
9898 * ) weave $f ;;
9999 esac
100100 fi
101101
102+ # Format CTWILL in its own format
103+ if [ ctwill = $f ]
104+ then
105+ WEBINPUTS=/opt/github/cwebbin:$WEBINPUTS \
106+ tie -m $f .w cweave.w $f -w2c.ch $f -mini.ch
107+ cp -an /opt/github/cwebbin/* .bux .
108+ $CTWILL $f
109+ $CTWILL $f
110+ fi
111+
102112 # use extended macros for TeX Live PDF documentation
103113 if $NEW
104114 then
You can’t perform that action at this time.
0 commit comments