[tex-k] New features for TIE

Andreas Scherer andreas_tex at freenet.de
Wed Mar 2 13:42:35 CET 2022


Hello, Igor,

a few thoughts:

 > To add a new change to prog.ch
(1) change the WEB file to your liking
(2) git diff > new-changes.ch
(3) edit new-changes.ch into a genuine change file
     with @x.. at y..@z blocks
(4) tie -c merge-changes.ch prog.web prog.ch new-changes.ch
(5) mv merge-changes.ch prog.ch

 > I often see that people use l.nnn notation after @x
It is in the spirit of Literate Programming to preserve the section 
numbering from prog.web, so prog.ch can easily be amended with exact 
information in which section(s) changes are applied (see, e.g., tex.ch, 
tangle.ch, or the set of change files in CWEBbin).

Happy Literate Programming!
Andreas


More information about the tex-k mailing list.