Daniel Sanmartín Nieto <danielsanmartinni...@gmail.com> writes: > It would be for "tracking" the changes made when transcribing sources for a > critical edition. For example, if I change a g-sharp to a g-natural, I would > like to write on a line of code "g-sharp changed to g-natural" that then > would be listed on a text file that I can copy to my critical commentary. > > I don't know if I've been clear enough... Unfortunately, I couldn't get any > working code.
Sounds just like outFile = #(open-file-output-port "whatever.txt") ... #(display outFile "text 1") ... #(display outFile "text 2") However, I can't fathom this being actually useful for tracking anything since the output is completely unrelated (and unrelatable) to the context around it. Whether you write this in the source file or right away into whatever.txt is not making a difference. So obviously either I or you are missing some important detail here. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user