Alain <[EMAIL PROTECTED]> writes:
> Hi NG
>
> I'm trying to have a timestamp in the footer of every page. nice would
> also be to have subversion revision as metainformation printed.
> I'm quite new to Lilypnd...
>
> How can I do that?
>
> I've tried it the LaTeX way:
> \paper{
> ...
> oddFooterMarkup = "Compiled: \today"
> }
>
> but like this it doesn't work.
You need a bit of Scheme, the Lilypond manuals and the Guile manual.
Try something like this:
%% ---- cut here ----->8
\version "2.11.43"
revision = #"$Revision: 1.2 $"
today = #(strftime "%Y-%m-%d" (localtime (current-time)))
\paper {
oddFooterMarkup = #(ly:format "Compiled ~a by ~a (~a)"
today (cuserid) revision)
}
\score {
\context Score <<
\relative c'' { c c c c }
>>
\layout {}
}
%% ---- cut here ----->8
Cheers,
--
Arvid
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user