texlive[58226] Master: pwebmac, minus knuth-lib tarball
commits+karl at tug.org
commits+karl at tug.org
Mon Mar 8 19:34:16 CET 2021
Revision: 58226
http://tug.org/svn/texlive?view=revision&revision=58226
Author: karl
Date: 2021-03-08 19:34:16 +0100 (Mon, 08 Mar 2021)
Log Message:
-----------
pwebmac, minus knuth-lib tarball
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/plain/pwebmac/README.md
trunk/Master/texmf-dist/doc/plain/pwebmac/index.md
trunk/Master/texmf-dist/doc/plain/pwebmac/makeall
trunk/Master/tlpkg/libexec/ctan2tds
Added Paths:
-----------
trunk/Master/texmf-dist/doc/plain/pwebmac/README.TEXLIVE
trunk/Master/texmf-dist/doc/plain/pwebmac/trapman.ch
trunk/Master/texmf-dist/doc/plain/pwebmac/webman.ch
Added: trunk/Master/texmf-dist/doc/plain/pwebmac/README.TEXLIVE
===================================================================
--- trunk/Master/texmf-dist/doc/plain/pwebmac/README.TEXLIVE (rev 0)
+++ trunk/Master/texmf-dist/doc/plain/pwebmac/README.TEXLIVE 2021-03-08 18:34:16 UTC (rev 58226)
@@ -0,0 +1,9 @@
+The files below have been removed in the TeX Live installation of
+the current package, possibly because of missing source (e.g., a
+PDF with no source), possibly because their only purpose is to support
+nonfree fonts or other software, possibly for other reasons.
+More info: https://tug.org/texlive/pkgcontrib.html#requirements
+
+If this is a concern, please contact the package maintainer.
+
+ knuth-lib.tar.gz
Property changes on: trunk/Master/texmf-dist/doc/plain/pwebmac/README.TEXLIVE
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/plain/pwebmac/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/plain/pwebmac/README.md 2021-03-08 18:32:57 UTC (rev 58225)
+++ trunk/Master/texmf-dist/doc/plain/pwebmac/README.md 2021-03-08 18:34:16 UTC (rev 58226)
@@ -3,8 +3,8 @@
The original [WEB](https://ctan.org/pkg/web) system by Donald Knuth has the
macros `webmac.tex` that produce DVI output only; for historic reasons, it
will never be modified (apart from catastrophic errors).
-Hàn Thế Thành has modified these macros in his `pdfwebmac.tex` for PDF output
-(only) with [pdfTeX](https://ctan.org/pkg/pdftex).
+Hàn Thế Thành has modified these macros in his (outdated?) `pdfwebmac.tex` for
+PDF output (only) with [pdfTeX](https://ctan.org/pkg/pdftex).
Jonathan Kew's [XeTeX](https://ctan.org/pkg/xetex) has similar macros
`xewebmac.tex` by Khaled Hosny that _modify_ `webmac.tex` for PDF output;
these macros can only be used with a specific “TeX engine” each.
@@ -29,4 +29,4 @@
The `pwebmac` package is free software and may be used without constraints.
-This is version “4.5.7” of the `pwebmac` package — 2021-02-11, AS.
+This is version “4.6” of the `pwebmac` package — 2021-03-01, AS.
Modified: trunk/Master/texmf-dist/doc/plain/pwebmac/index.md
===================================================================
--- trunk/Master/texmf-dist/doc/plain/pwebmac/index.md 2021-03-08 18:32:57 UTC (rev 58225)
+++ trunk/Master/texmf-dist/doc/plain/pwebmac/index.md 2021-03-08 18:34:16 UTC (rev 58226)
@@ -1,6 +1,8 @@
---
title: C/WEB programs in “\TeX\ Live 2021”
colorlinks: true
+filecolor: blue
+urlcolor: blue
---
\raggedright
\vspace{-2\baselineskip}
Modified: trunk/Master/texmf-dist/doc/plain/pwebmac/makeall
===================================================================
--- trunk/Master/texmf-dist/doc/plain/pwebmac/makeall 2021-03-08 18:32:57 UTC (rev 58225)
+++ trunk/Master/texmf-dist/doc/plain/pwebmac/makeall 2021-03-08 18:34:16 UTC (rev 58226)
@@ -235,6 +235,11 @@
then $f $f # run TeX twice
else $TEX $f # run TeX twice
fi
+
+ # run TEX.WEB three times to fix table-of-contents
+ if [ tex = $f ]
+ then $TEX $f
+ fi
fi
# only XeTeX can process XETEX.WEB
@@ -353,6 +358,15 @@
$PAX "$OUTDIR/cweb.tar.gz" -s ,^,cweb/, \
cwebman.pdf common.pdf ctangle.pdf cweave.pdf ctwill.pdf
fi
+
+ # Notes to self:
+ # (1) Create a user-friendly central entrypoint with
+ # (a) pandoc index.md -o index.pdf
+ # (b) pandoc index.md -o index.tex;
+ # pandoc index.tex -s -o index.html;
+ # rm index.tex
+ # (2) Prepare a super-tarball from all the contents of these
+ # individual tarballs with 'pax -wzf knuth-lib.tar.gz'.
fi
exit 0
Added: trunk/Master/texmf-dist/doc/plain/pwebmac/trapman.ch
===================================================================
--- trunk/Master/texmf-dist/doc/plain/pwebmac/trapman.ch (rev 0)
+++ trunk/Master/texmf-dist/doc/plain/pwebmac/trapman.ch 2021-03-08 18:34:16 UTC (rev 58226)
@@ -0,0 +1,23 @@
+ at x l.355
+\verbatim{trapin.log}
+ at y
+\verbatim{mftrapin.log}
+ at z
+
+ at x l.365
+\verbatim{trap.log}
+ at y
+\verbatim{mftrap.log}
+ at z
+
+ at x l.389
+\verbatim{trap.pl}
+ at y
+\verbatim{mftrap.pl}
+ at z
+
+ at x l.398
+\verbatim{trap.fot}
+ at y
+\verbatim{mftrap.fot}
+ at z
Property changes on: trunk/Master/texmf-dist/doc/plain/pwebmac/trapman.ch
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/plain/pwebmac/webman.ch
===================================================================
--- trunk/Master/texmf-dist/doc/plain/pwebmac/webman.ch (rev 0)
+++ trunk/Master/texmf-dist/doc/plain/pwebmac/webman.ch 2021-03-08 18:34:16 UTC (rev 58226)
@@ -0,0 +1,198 @@
+ at x l.2
+\input webmac
+ at y
+\input pwebmac
+\ifacro
+ \pdfpagewidth=\pagewidth \advance\pdfpagewidth by 2cm
+ \pdfpageheight=\pageheight \advance\pdfpageheight by 3cm
+ \ifpdftex \pdfhorigin=1cm \pdfvorigin=1cm
+ \else \advance\pdfpageheight by 1cm \global\pageshift=-1.54cm
+ \global\hoffset=-1.54cm \global\voffset=-1.54cm \fi
+\else\pageno=1\fi
+ at z
+
+ at x l.16
+\outer\def\section #1.{\penalty-50\vskip 12pt plus 3pt minus 3pt
+ \noindent{\bf #1.}\quad\ignorespaces}
+ at y
+\newcount\destcount \destcount=1\relax
+
+\def\bkminfo{}
+\outer\def\section #1.{\penalty-50\vskip 12pt plus 3pt minus 3pt
+ \noindent\ifacro\vbox to 0pt{\kern-2.5ex\relax
+ \ifpdftex\pdfdest num \destcount fitbh\relax
+ \else\special{pdf: dest (\the\destcount) [ @thispage /FitBH @ypos ]}\fi
+ \def\.##1{##1}%
+ \ifx\bkminfo\empty\def\sectitle{#1}\else\def\sectitle{#1 (\bkminfo)}\fi
+ \ifpdftex\pdfoutline goto num \destcount {\sectitle}\relax
+ \else\special{pdf: outline 0 << /Title (\sectitle)
+ /A << /S /GoTo /D (\the\destcount) >> >>}\fi
+ \gdef\bkminfo{}%
+ \global\advance\destcount by 1\relax
+ \kern2.5ex\relax
+ }\fi{\bf #1.}\quad\ignorespaces}
+
+\def\appA{7}
+\def\appB{8}
+\def\appC{9}
+\def\appD{0}
+\def\appE{0}
+\def\appF{10}
+\def\appG{11}
+\def\appH{12}
+
+\def\Appendix#1{\leavevmode
+ \ifnum\csname app#1\endcsname>0 %
+ \ifacro\ifpdftex
+ \pdfstartlink attr{/Border[0 0 0]} goto num\csname app#1\endcsname\relax
+ \PDFlinkcolor\hbox{Appendix}~#1\Black
+ \pdfendlink
+ \else
+ \setbox0=\hbox{\special{pdf: bc [ \pdflinkcolor ]}{\hbox{Appendix}~#1}%
+ \special{pdf: ec}}\special{pdf: ann width \thewidth height \theheight
+ depth \thedepth << /Type /Annot /Subtype /Link /Border [0 0 0]
+ /A << /S /GoTo /D (\csname app#1\endcsname) >> >>}\box0\relax
+ \fi\else Appendix~#1\fi
+ \else Appendix~#1\fi}
+ at z
+
+ at x
+program for \.{TANGLE}, in the appendix, gives precise details about this
+ at y
+program for \.{TANGLE}, in \pdfURL{Appendix~E}{tangle.pdf},
+gives precise details about this
+ at z
+
+ at x l.626
+outputs of \.{WEAVE} and \.{TANGLE} (see Appendix~C\null). Meta-comments
+ at y
+outputs of \.{WEAVE} (see \Appendix B\null) and \.{TANGLE}
+(see \Appendix C\null). Meta-comments
+ at z
+
+ at x l.893
+examples of ``real'' programs. Appendix~A shows the \.{WEB} input that
+generated modules 55--59 of the \.{WEAVE} program; Appendix~B shows the
+corresponding \TeX\ code output by \.{WEAVE}; and Appendix~C shows excerpts
+ at y
+examples of ``real'' programs. \Appendix A shows the \.{WEB} input that
+generated modules 55--59 of the \.{WEAVE} program; \Appendix B shows the
+corresponding \TeX\ code output by \.{WEAVE}; and \Appendix C shows excerpts
+ at z
+
+ at x l.900
+report, in Appendices D and~E. The reader should first compare Appendix~A
+to the corresponding portion of Appendix~D; then the same material should
+be compared to Appendices B and~C. Finally, if time permits, the reader may
+enjoy studying the complete programs in Appendices D and~E, since \.{WEAVE}
+ at y
+report, in Appendices \pdfURL{D}{weave.pdf} and~\pdfURL{E}{tangle.pdf}.
+The reader should first compare \Appendix A to the corresponding portion of
+\pdfURL{Appendix~D}{weave.pdf}; then the same material should be compared to
+\Appendix B and \Appendix C. Finally, if time permits, the reader may enjoy
+studying the complete programs in Appendices \pdfURL{D}{weave.pdf}
+and~\pdfURL{E}{tangle.pdf}, since \.{WEAVE}
+ at z
+
+ at x l.908
+Finally, Appendix F is the `\.{webmac}' file that sets \TeX\ up to accept
+the output of \.{WEAVE}; Appendix~G discusses how to use some of its macros
+to vary the output formats; and Appendix~H discusses what needs to be done
+ at y
+Finally, \Appendix F is the `\.{webmac}' file that sets \TeX\ up to accept
+the output of \.{WEAVE}; \Appendix G discusses how to use some of its macros
+to vary the output formats; and \Appendix H discusses what needs to be done
+ at z
+
+ at x l.913
+The programs in Appendices D and E will optionally keep statistics on
+ at y
+The programs in Appendices \pdfURL{D}{weave.pdf} and \pdfURL{E}{tangle.pdf}
+will optionally keep statistics on
+ at z
+
+ at x l.989
+\section Appendix A.
+This excerpt from \.{WEAVE.WEB} produced modules 55--59 in Appendix~D.
+ at y
+\def\bkminfo{WEB file format}
+\section Appendix A.
+This excerpt from \.{WEAVE.WEB} produced modules 55--59 in
+\pdfURL{Appendix~D}{weave.pdf}.
+ at z
+
+ at x l.1061
+\section Appendix B.
+This excerpt from \.{WEAVE.TEX} corresponds to Appendix A.
+ at y
+\def\bkminfo{Translations by WEAVE}
+\section Appendix B.
+This excerpt from \.{WEAVE.TEX} corresponds to \Appendix A.
+ at z
+
+ at x l.1143
+\section Appendix C.
+ at y
+\def\bkminfo{Translation by TANGLE}
+\section Appendix C.
+ at z
+
+ at x l.1425
+in small caps. For example, Appendix~D was produced after saying
+ at y
+in small caps. For example, \pdfURL{Appendix~D}{weave.pdf} was produced
+after saying
+ at z
+
+ at x l.1468
+\.{\\pageno=\\contentspagenumber} \.{\\advance\\pageno by 1}'. (Appendix~D
+ at y
+\.{\\pageno=\\contentspagenumber} \.{\\advance\\pageno by 1}'.
+(\pdfURL{Appendix~D}{weave.pdf}
+ at z
+
+ at x l.1479
+For example, Appendix~D was produced with the following definitions:
+ at y
+For example, \pdfURL{Appendix~D}{weave.pdf} was produced with the following
+definitions:
+ at z
+
+ at x l.1491
+for every starred module. For example, when Appendix~D was being generated,
+ at y
+for every starred module. For example, when \pdfURL{Appendix~D}{weave.pdf}
+was being generated,
+ at z
+
+ at x l.1583
+dependencies'' in the index of Appendix~E above, and figure out what changes
+ at y
+dependencies'' in the index of \pdfURL{Appendix~E}{tangle.pdf} above,
+and figure out what changes
+ at z
+
+ at x l.1609
+the index to Appendix~D.
+ at y
+the index to \pdfURL{Appendix~D}{weave.pdf}.
+ at z
+
+ at x l.1616
+Appendix~E. This listing will incorporate your changes.
+ at y
+\pdfURL{Appendix~E}{tangle.pdf}. This listing will incorporate your changes.
+ at z
+
+ at x l.1620
+Appendix~D that incorporates your changes.
+ at y
+\pdfURL{Appendix~D}{weave.pdf} that incorporates your changes.
+ at z
+
+ at x l.1666
+computer by following Appendices D and E. Then you have to simulate the
+ at y
+computer by following Appendices \pdfURL{D}{weave.pdf}
+and~\pdfURL{E}{tangle.pdf}. Then you have to simulate the
+ at z
Property changes on: trunk/Master/texmf-dist/doc/plain/pwebmac/webman.ch
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2021-03-08 18:32:57 UTC (rev 58225)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2021-03-08 18:34:16 UTC (rev 58226)
@@ -3585,6 +3585,7 @@
'pas-tableur' => '\.pdf$', # no source
'piechartmp' => 'piechartmp.pdf', # no source
'ptptex' => '(overcite|cite|wrapfig).sty', # duplicated
+ 'pwebmac' => 'knuth-lib.tar.gz', # -> package knuth
'sapthesis' => '.*-ML.*\.pdf', # univ logos
'scientific-thesis-cover' => 'demo.pdf', # no source
'sectionbox' => 'example/lenna.*.jpg', # nonfree
More information about the tex-live-commits
mailing list.