CTAN update: pwebmac
This new release of the 'pwebmac' macros matches the page numbers of PDF bookmarks with the table-of-contents. Thanks to Heiko Oberdiek for the initial implementation in his 'latex-tds' package from 2014. The 'makeall' script learned to produce formatted output for the main 'mp.w' part of the MetaPost system. This will be made available in upcoming releases of the 'knuth-hint' and 'knuth-pdf' packages.
This package is located at https://mirrors.ctan.org/web/pwebmac More information is at https://www.ctan.org/pkg/pwebmac
Thanks for the upload. For the CTAN Team Manfred Lotz 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.
Package | pwebmac |
Version | 5.0 2024-08-12 |
Maintainer | Andreas Scherer |