2018-12-27 11:08:42 +01:00
|
|
|
%{0
|
|
|
|
Tagline. Customize to get your name in the tag line.
|
|
|
|
%}
|
|
|
|
|
|
|
|
\version "2.16.0"
|
|
|
|
|
2019-01-04 00:08:27 +01:00
|
|
|
%%% See LSR 567: http://lsr.di.unimi.it/LSR/Item?id=567
|
|
|
|
#(use-modules (ice-9 popen))
|
|
|
|
#(use-modules (ice-9 rdelim))
|
|
|
|
commit =
|
|
|
|
#(let* ((port (open-pipe* OPEN_READ "git" "rev-parse" "--short" "HEAD"))
|
|
|
|
(str (read-line port)))
|
|
|
|
(close-pipe port)
|
|
|
|
str)
|
|
|
|
|
|
|
|
today = #(strftime "%Y-%m-%d" (localtime (current-time)))
|
2018-12-27 11:08:42 +01:00
|
|
|
|
|
|
|
\paper {
|
|
|
|
tagline = \markup {
|
|
|
|
\concat {
|
|
|
|
\with-url #"http://lilypond.org" #(format #f "Typeset with LilyPond ~a" (lilypond-version) )
|
|
|
|
", "
|
2022-11-11 22:39:57 +01:00
|
|
|
\with-url #"https://etdeboone.nl" "by ET de Boone"
|
2018-12-27 11:08:42 +01:00
|
|
|
", "
|
2019-01-04 00:08:27 +01:00
|
|
|
\concat { "(rev. " \today ", #" \commit ")" }
|
2018-12-27 11:08:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|