[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Invoking a script inside lilypond
From: |
Andrew Bernard |
Subject: |
Re: Invoking a script inside lilypond |
Date: |
Fri, 15 Nov 2019 16:31:42 +1100 |
So, just out of interest here is a snippet:
%====
\version "2.19.83"
date = #(strftime "%d/%m/%Y" (localtime (current-time)))
\header {
tagline = \markup {
\fontsize #-3.5 {
\override #'(box-padding . 1.0) \override #'(baseline-skip . 2.7) \box
\center-column {
\line {
Engraved on \date using \with-url #"http://lilypond.org/"
\line {
LilyPond \simple #(lilypond-version) (http://lilypond.org/)
}
}
}
}
}
}
treble = {
\clef treble
c''4
}
bass = {
\clef bass
c4
}
\score {
<<
\new Staff { \treble }
\new Staff { \bass }
>>
\layout {}
}
%====
Andrew