# CTAN update: pwebmac

Date: August 13, 2021 6:09:54 PM CEST
Andreas Scherer submitted an update to the pwebmac package. Version: 4.6.3 2021-08-12 License: pd Summary description: Consolidated WEB macros for DVI and PDF output Announcement text:
This release of the 'pwebmac' package modifies both the 'pwebmac.tex' macros and the 'makeall' script to create PDF bookmarks with much better "sanitized" module titles and section names. Many TeX macros and even a bit of "math" get translated to "plain text" for better readability. As a second application of 'pwebmac.tex', the development project for 'pwebmac' on Github now contains a set of changefiles and a Makefile that adapt the original WEB codes for TANGLE and WEAVE to the conventions of the Free Pascal Compiler (https://www.freepascal.org). This WEAVE issues the starting line '\input pwebmac.tex' in the TeX output, so the typeset output can be in PDF format by default.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/pwebmac The package’s files themselves can be inspected at https://mirrors.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 pdf. Jonathan Kew’s has similar macros xewebmac.tex by Khaled Hosny that modify webmac.tex for PDF output; these macros can only be used with a specific “ 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 ”, pdf, and alike.

Its initial application is the production of PDF files for all major WEB programs for “ and friends” as distributed in 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 file created by weave. From there, all depends on the “ engine” you use.

 Package pwebmac Version 4.6.3 2021-08-12 Maintainer Andreas Scherer

more