Hi Peter,
> When I try to use the %e format to get rid of leading zeros in the date, lilypond crashes out.
As a workaround, you could just use %d and check for a leading zero, replacing it with a space. Something like this:
\header {
title = "title"
composer = "no-one"
tagline = \markup {
Engraved
\simple #(let ((date (strftime "%d/%m/%Y" (localtime (current-time)))))
(if (string-prefix? "0" date)
(string-append " " (string-drop date 1))
date))
}
}
{ c d e f }
Modifications would have to be made if you want the day in other than the leading position.