Yes, this is the solution.
Put this right below the "\version "2.11.60"" in my file...
date = #(strftime "%Y.%m.%d" (localtime (current-time))) % define a
variable to hold the formatted date
Then....
\header {
[...]
subsubtitle = \markup { "score version of" \date }
[...]}
This automatically datestamps my score each time I make a change and
print a new version.
That was all I was after.
Thanks to the several folks who sent me the solution.
t.
Paul Scott wrote:
Tom Cloyd wrote:
OK, I've exhausted myself trying to solve another problem
I understand that I can put a current date into a "\header{..." field
(or whatever they're called), by doing something like
date = #(strftime "%Y.%m.%d" (localtime (current-time)))
\header{
.
.
.
subsubtitle = \date
BUT, how do I do this:
subsubtitle = { "version " + \date}
I cannot find an example, and haven't been able to figure it out
empirically.
Just add \markup.
subsubtitle = \markup{ version \date }
Paul Scott
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< [EMAIL PROTECTED] >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user