CTAN Update: pwebmac
This updated version of the 'pwebmac' package makes one significant, albeit internal, change in the 'pwebmac.tex' macros: The page headers are now created almost identical to those in 'cwebmac.tex' (sans the section 'depth'), and not as in 'webmac.tex'. The user interface is not changed, though. The 'makeall' driver script again has received major modifications. The code is now much cleaner and several "special cases" have been purged. The 'registry' file 'index.md' has lost one 'ctwill.pdf', because this particular PDF will only exist in a single variant describing the fully functional and final CWEB code for CTWILL in its own format.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/pwebmac The package’s files themselves can be inspected at http://mirror.ctan.org/web/pwebmac/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
pwebmac – Consolidated WEB macros for DVI and PDF output
The original 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. Jonathan Kew’s 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.
The present pwebmac package integrates these three WEB macro files similar to cwebmac.tex in Silvio Levy’s and Don Knuth’s CWEB system, so pwebmac.tex can be used with “plain TeX”, pdfTeX, and XeTeX alike.
Its initial application is the production of PDF files for all major WEB programs for “TeX and friends” as distributed in TeX Live. For this purpose, the shell script makeall was whipped together; it provides various commandline options and works around several “quirks” in the WEB sources.
WEB programmers who want to use pwebmac.tex instead of the default webmac.tex in their programs have to change the first line in the TeX file created by weave. From there, all depends on the “TeX engine” you use.
- 2022-06-27 CTAN update: pwebmac
- 2022-06-07 CTAN update: pwebmac
- 2022-02-07 CTAN update: pwebmac
- 2021-11-07 CTAN update: pwebmac
- 2021-03-18 CTAN update: pwebmac
- 2021-03-10 CTAN update: pwebmac
- 2021-03-02 CTAN Update: pwebmac
- 2021-02-12 CTAN Update: pwebmac