[tex-k] DVItype in CWEB

Andreas Scherer andreas_tex at freenet.de
Thu Dec 30 11:04:46 CET 2021


 > DVItype is now available in CWEB
 >     https://github.com/igor-liferenko/dvitype

Nice effort!

A few comments:

* Why does 'ctangle' come from '/bin' in the two Makefiles?
* Could 'web2w' somehow be modified to break long lines to
   a more decent length? If I use 'cweave 4.6' (not from TL)
   it bails out with several complaints like
   ! Input line too long. (l. 1729)
   For example, the list of array variables in section 72 of
   dvitype.web gets stolidly expanded to a really long line
   in the CWEB form that really should be broken into
   separate lines. Similarly, the convoluted switch/case
   statement in section 75 exceeds 'standard' cweave's
   capabilities (l. 17{72,74,77,79,81,84}).
* Several WEB sections should be eliminated in dvitype.ch:
   ! Never used: <prepare for string pool initialization>
   ! Never used: <|pool_ptr| initialization>
   ! Never used: <|str_pool| initialization>
   ! Never used: <|str_ptr| initialization>
   ! Never used: <|str_start| initialization>

Happy New Year 2020, too! ;-)

Andreas


More information about the tex-k mailing list.