[tex-k] Output of TL's cweave is incompatible with Knuth's cweave

Igor Liferenko igor.liferenko at gmail.com
Sun May 15 04:05:00 CEST 2016

Hi all,

For example, 'bdd14.idx' from Knuth's example programs has swapped
index entries for 'verbose' and 'Verbose' with TL's cweave.

Steps to reproduce:

wget http://www-cs-faculty.stanford.edu/~uno/programs/bdd14.w
cweave bdd14.w
cp bdd14.idx bdd14.idx-TL

Now change hash_size from 8501 to 353 (both in common.w and cweave.w),
recompile and do this:

cweave bdd14.w
cp bdd14.idx bdd14.idx-DEK

See the difference:
diff bdd14.idx-DEK bdd14.idx-TL

Not sure if it is a bug in cweb.
I propose to leave hash_size 353 by default in TL's cweb - this will
work just fine in all cases.


More information about the tex-k mailing list