[tex-k] CTANGLE: spurious "ttp" file is left over

Andreas Scherer andreas_tex at freenet.de
Sun Jun 7 18:10:49 CEST 2020


Hi, Igor,

> Running 'ctangle mf mf', indeed leaves 'mf.ttp' behind, next to 'mf.c'.
> I'll have to look into that.

I've just committed updates to both CWEBbin and TeX Live with
significant changes to 'ctang-output.ch' and 'ctang-w2c.ch' respectively
that should fix the 'ttp' problem for '@(/dev/null@>' (a really neat
trick to get rid of larger chunks of code!), '@(/dev/stdout@>' and
'@(/dev/stderr@>' (original CWEB does them, too).

With the recent changes in place, both 'ctangle mf' and 'ctangle mf mf'
run fine without leaving 'mf.ttp' behind.  (And the increase of the
'stack_size' does the trick for 'cweave mf' and 'cweave mf mf'.)

Thanks again for such an interesting 'border case.'

Best,
Andreas






More information about the tex-k mailing list.