lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text listing output in .txt file


From: David Kastrup
Subject: Re: Text listing output in .txt file
Date: Wed, 02 Aug 2017 18:47:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Daniel Sanmartín Nieto <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]