[tex-k] trouble with webmac21.tex
Andreas Scherer
andreas_tex at freenet.de
Sun Feb 21 12:07:52 CET 2021
I'm sorry to have caused problems in 'webmac.tex'. ;o)
> Andreas [...·] proposed a patch for webmac.tex to do the same.
That seems to be related to this commit:
https://github.com/ascherer/web/commit/207ea7964124f3115f68036eac884fed3206df23
in my https://github.com/ascherer/web project. (I'm not quite sure
which of the related versions reached DEK in May 2020 and why he chose
to do 'webmac 4.2' the way it turned out.)
The spinoff 'pwebmac.tex' evolved these macros further and now it uses
both parts of the '\topmark':
https://github.com/ascherer/web/blob/master/pwebmac.tex#L247 -- Note
that '\rhead' has been renamed to '\grouptitle' as in 'cwebmac.tex', in
order to make the hackery in 'makeall' work for both CWEB and WEB input:
https://github.com/ascherer/web/blob/master/makeall#L159
In preparation of the "library" of PDF documents from some C/WEB sources
in TeX Live
(https://github.com/ascherer/web/releases/download/ctan-20210211/pdf.tar.gz
has the most recent results) I'm using 'webmac.tex 4.2' for reference
and 'pwebmac.tex' for the PDF output (in combination with
'pdfwebtocfront.tex'). I'm running "TeX 3.14159265", "pdfTeX
3.14159265-2.6-1.40.21", and "XeTeX 3.14159265-2.6-0.999992", all from
"TeX Live 2020".
Comparing just the "plain TeX" runs with both 'webmac 4.2' and 'pwebmac'
as macros and both '\let\maybe=\iffalse' and '\let\maybe=\iftrue' in
'tex-final.ch' gives the statistics attached. I don't have 'webmac 4.1'
at hand, so I can't compare the older version at this time. Note that
'pwebmac' uses significantly more resources than 'webmac' in all
comparisons.
Hope this helps,
Andreas
PS: I have noticed that after the recent tuneup, only 'tex.tex'
(tex.web+tex-final.ch) doesn't pick up '\pageno=2' from
'pdfwebtocfront.tex'
(https://github.com/ascherer/cwebbin/blob/master/texinputs/pdfwebtocfront.tex#L52),
so the main body starts on page '4', but 'pdftex.tex', 'xetex.tex', and
'mf.tex' still do start on page '3'. Time permitting, I'll try to fix this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tex-pwebmac.log
Type: text/x-log
Size: 7703 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-k/attachments/20210221/8e9f5e38/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tex-pwebmac-iffalse.log
Type: text/x-log
Size: 3320 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-k/attachments/20210221/8e9f5e38/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tex-pwebmac-iftrue.log
Type: text/x-log
Size: 8158 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-k/attachments/20210221/8e9f5e38/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tex-webmac.log
Type: text/x-log
Size: 7480 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-k/attachments/20210221/8e9f5e38/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tex-webmac-iffalse.log
Type: text/x-log
Size: 3096 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-k/attachments/20210221/8e9f5e38/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tex-webmac-iftrue.log
Type: text/x-log
Size: 7934 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-k/attachments/20210221/8e9f5e38/attachment-0011.bin>
More information about the tex-k
mailing list.