From b787936c705583d07b90f96b1dbd90265937a80f Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 12 Feb 2021 03:01:11 +0000 Subject: CTAN sync 202102120301 --- web/pwebmac/makeall | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) (limited to 'web/pwebmac/makeall') diff --git a/web/pwebmac/makeall b/web/pwebmac/makeall index 035141119b..b67a8af154 100755 --- a/web/pwebmac/makeall +++ b/web/pwebmac/makeall @@ -82,10 +82,7 @@ do esac done -if [ xetex = $TEX ] -then CWEAVE="cweave -f -lp+" -else CWEAVE="cweave -f" -fi +CWEAVE="cweave -f" CTWILL="ctwill -f +lpdf" PAX="pax -wvzf" SED_I="sed -i" # non-GNU-sed requires an extra '' argument for '-i' option. @@ -191,18 +188,15 @@ FI esac fi - # replace former convention to indicate "not a title page" - # to include page headers for table-of-contents - # FIX: most of the WEB codes will be corrected upstream. - $SED_I -e "s/\\\\def\\\\titlepage{F}/\\\\titlefalse/" $f.tex - # special treatment for individual C/WEB programs case $f in + # replace former convention to indicate "not a title + # page" to include page headers for table-of-contents; # purge conflict between bibtex.web and webmac.tex # 'E' no longer free to be active character # fix table-of-contents page for bibtex # FIX: don't wait for Oren Patashnik. - bibtex ) $SED_I -e "s/titlefalse/titletrue/" $f.tex + bibtex ) $SED_I -e "s/\\\\def\\\\titlepage{F}/\\\\titletrue/" $f.tex if ! $CHANGES then $SED_I -e "71,78d" $f.tex @@ -221,10 +215,6 @@ FI $f.tex fi ;; - # make room for new material in weave.web - # FIX: should be fixed upstream. - tangle ) $SED_I -e "s/number{123}/number{125}/" $f.tex ;; - # FIX: purge obsolete macros from XeTeX. xetex ) $SED_I -e "/\\\\input xewebmac/d" $f.tex ;; @@ -309,7 +299,7 @@ then # * WEB and CWEB manuals export TEXINPUTS=.:$(kpsewhich --var-value=TEXMFDIST)//:$KNUTHWARE// - rm -f trapman.tex webman.tex cwebman.tex errorlog.tex + rm -f trapman.tex webman.tex cwebman.tex # FIX: Prepare 'trapman' for automatic processing; several # input files are renamed in TeX Live (in fact, there are @@ -325,10 +315,6 @@ then f=$(kpsewhich -engine tex cwebman) tie -m $(basename $f) $f $(basename $f .tex)-w2c.ch - # FIX: Prepare 'errorlog.tex' for automatic processing; - # requires a 'meta-bug' to be fixed. - f=$(kpsewhich -engine tex errorlog) - tie -m $(basename $f) $f /opt/github/web/$(basename $f .tex).ch touch pages.tex # let 'manmac' produce output at all for f in tripman trapman webman cwebman errorlog @@ -337,7 +323,7 @@ then done for f in one two three four five six seven eight nine ten \ - eleven # twelve + eleven twelve do $TEX errata.$f mv errata.pdf errata.$f.pdf -- cgit v1.2.3