texlive[55882] Master/texmf-dist: pwebmac
commits+karl at tug.org
commits+karl at tug.org
Mon Jul 20 00:02:20 CEST 2020
Revision: 55882
http://tug.org/svn/texlive?view=revision&revision=55882
Author: karl
Date: 2020-07-20 00:02:20 +0200 (Mon, 20 Jul 2020)
Log Message:
-----------
pwebmac
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/plain/pwebmac/README.md
trunk/Master/texmf-dist/doc/plain/pwebmac/makeall
trunk/Master/texmf-dist/tex/plain/pwebmac/pwebmac.tex
Modified: trunk/Master/texmf-dist/doc/plain/pwebmac/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/plain/pwebmac/README.md 2020-07-19 21:44:34 UTC (rev 55881)
+++ trunk/Master/texmf-dist/doc/plain/pwebmac/README.md 2020-07-19 22:02:20 UTC (rev 55882)
@@ -29,4 +29,4 @@
The `pwebmac` package is free software and may be used without constraints.
-This is version “4.5.4” of the `pwebmac` package — 2020-06-27, AS.
+This is version “4.5.5” of the `pwebmac` package — 2020-07-08, AS.
Modified: trunk/Master/texmf-dist/doc/plain/pwebmac/makeall
===================================================================
--- trunk/Master/texmf-dist/doc/plain/pwebmac/makeall 2020-07-19 21:44:34 UTC (rev 55881)
+++ trunk/Master/texmf-dist/doc/plain/pwebmac/makeall 2020-07-19 22:02:20 UTC (rev 55882)
@@ -59,14 +59,8 @@
if [ ctwill = $f ]
then
- # amend TeX Live's 'prod-twill.w' for (c)twill'ing
- if [ ! -e prod-twill.w ]
- then
- tie -m prod-twill.w prod-twill.w prod-mini.ch
- fi
# apply tons of editorial changes to 'ctwill.w'
- CWEBINPUTS=.:$CWEBINPUTS \
- ctie -m $f.w cweave.w $f-w2c.ch $f-mini.ch
+ ctie -m $f.w cweave.w $f-w2c.ch $f-mini.ch
cp -an $KNUTHWARE/cwebdir/*.bux .
$CTWILL $f
$CTWILL $f
@@ -73,9 +67,6 @@
elif $CHANGES
then
- # pdftex.ch and xetex.ch for TeX Live are assembled here
- WEBINPUTS=$KNUTHWARE/../../Work//:$WEBINPUTS:
-
case $f in
common ) $CWEAVE $f comm-w2c ;;
ctangle ) $CWEAVE $f ctang-w2c ;;
@@ -83,7 +74,9 @@
ctie ) $CWEAVE $f $f-k ;;
tie ) $CWEAVE $f $f-w2c ;;
- * ) weave $f $f ;;
+ * ) # pdftex.ch and xetex.ch for TeX Live are assembled here
+ WEBINPUTS=$KNUTHWARE/../../Work//:$WEBINPUTS: \
+ weave $f $f ;;
esac
# FIX: XeTeX uses '\pdfTeX' from section 114, which
@@ -216,14 +209,18 @@
then
export TEXINPUTS=./:$(kpsewhich --var-value=TEXMFDIST)//:$KNUTHWARE//
+ 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 additional
# files for MetaPost).
- rm -f trapman.tex cwebman.tex
-
f=$(kpsewhich -engine tex trapman)
tie -m $(basename $f) $f /opt/github/web/$(basename $f .tex).ch
+ # Prepare 'webman' with section links and bookmarks.
+ f=$(kpsewhich -engine tex webman)
+ tie -m $(basename $f) $f /opt/github/web/$(basename $f .tex).ch
+
# Prepare 'cwebman' with footnotes describing the extended CWEB.
f=$(kpsewhich -engine tex cwebman)
tie -m $(basename $f) $f $(basename $f .tex)-w2c.ch
@@ -241,6 +238,9 @@
then
for f in *.pdf
do
+ case $f in
+ *-changes.pdf ) rm -f $f
+ esac
mv $f $(basename $f .pdf)-changes.pdf
done
pax vftovp-changes.pdf vptovf-changes.pdf \
Modified: trunk/Master/texmf-dist/tex/plain/pwebmac/pwebmac.tex
===================================================================
--- trunk/Master/texmf-dist/tex/plain/pwebmac/pwebmac.tex 2020-07-19 21:44:34 UTC (rev 55881)
+++ trunk/Master/texmf-dist/tex/plain/pwebmac/pwebmac.tex 2020-07-19 22:02:20 UTC (rev 55882)
@@ -127,7 +127,7 @@
\def\maketoksdone{\edef\st{\global\noexpand\toksA={\the\toksB}}\st}
\def\pdfURL#1#2{\ifpdftex\pdfannotlink height\ht\strutbox depth\dp\strutbox
attr {/Border [0 0 0]} user { /Type /Action /Subtype /Link /A
- << /S /URI /URI (#2) >> } \PDFlinkcolor #1\Black \pdfendlink
+ << /S /URI /URI (#2) >> }\PDFlinkcolor #1\Black \pdfendlink
\else\ifpdf{\setbox0=\hbox{\special{pdf: bc [ \pdflinkcolor ]}{#1}%
\special{pdf: ec}}\special{pdf: ann width \thewidth\space height \theheight
\space depth \thedepth\space << /Border [0 0 0]
More information about the tex-live-commits
mailing list.