Fatal bug in strftime?

2013-05-11 Thread Peter Toye
When I try to use the %e format to get rid of leading zeros in the date, lilypond crashes out. \header { title = "title" composer = "no-one" tagline = \markup { Engraved \simple #(strftime "%e/%m/%Y" (localtime (current-time))) with \with-url #"http://lilypond.org/"; \line {

Re: Fatal bug in strftime?

2013-05-11 Thread Federico Bruni
2013/5/11 Peter Toye > When I try to use the %e format to get rid of leading zeros in the date, > lilypond crashes out. > > \header { > title = "title" > composer = "no-one" > tagline = \markup { > Engraved > \simple #(strftime "%e/%m/%Y" (localtime (current-time))) > with \with

Re: Fatal bug in strftime?

2013-05-11 Thread and...@andis59.se
On 2013-05-11 11:27, Federico Bruni wrote: 2013/5/11 Peter Toye mailto:lilyp...@ptoye.com>> When I try to use the %e format to get rid of leading zeros in the date, lilypond crashes out. \header { title = "title" composer = "no-one" tagline = \markup {

Re: Fatal bug in strftime?

2013-05-11 Thread Eluze
- View this message in context: http://lilypond.1069038.n5.nabble.com/Fatal-bug-in-strftime-tp145721p145733.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Fatal bug in strftime?

2013-05-11 Thread David Kastrup
"and...@andis59.se" writes: > On 2013-05-11 11:27, Federico Bruni wrote: >> >> 2013/5/11 Peter Toye mailto:lilyp...@ptoye.com>> >> >> When I try to use the %e format to get rid of leading zeros in the >> date, lilypond crashes out. >> >> \header { >>title = "title" >>c

Re: Fatal bug in strftime?

2013-05-11 Thread Andrew Bernard
noting this when submitting a defect to the guile project. Andrew On 11/05/13 6:58 PM, Peter Toye wrote: Fatal bug in strftime? When I try to use the %e format to get rid of leading zeros in the date, lilypond crashes out. ___ lilypond-user mailing

Re: Fatal bug in strftime?

2013-05-12 Thread Peter Toye
ng up. Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com - > Message: 5 > Date: Sat, 11 May 2013 13:18:55 +0200 > From: David Kastrup > To: lilypond-user@gnu.org > Subject: Re: Fatal bug in strftime? > Message-ID: <87d2sxhihs@fencepost.gn

Re: Fatal bug in strftime?

2013-05-12 Thread Phil Holmes
- Original Message - From: "Peter Toye" To: Cc: Sent: Sunday, May 12, 2013 2:38 PM Subject: Re: Fatal bug in strftime? David, I'm sorry, but this doesn't help much. I know nothing about GUILE and have no contact with them. I agree that this may not be a Lilypo

Re: Fatal bug in strftime?

2013-05-13 Thread Peter Toye
-- > From: "Peter Toye" > To: > Cc: > Sent: Sunday, May 12, 2013 2:38 PM > Subject: Re: Fatal bug in strftime? > The first step would be to report it as a bug: > http://lilypond.org/website/bug-reports.html > -- > Phil Holmes

Re: Fatal bug in strftime?

2013-05-13 Thread David Nalesnik
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 {

Re: Fatal bug in strftime?

2013-05-22 Thread Peter Toye
David, Thanks. Hardly worth the effort! I think I'll just try to ignore my allergy to leading zeroes in dates. Or not do any engraving 1-9 of the month. I'm no LISP expert, apart from knowing that it stands for Lots of Irritating Surplus Parentheses. Best regards, Peter mailto:lilyp...@ptoye.

Re: Fatal bug in strftime?

2013-05-22 Thread David Nalesnik
Peter, On Wed, May 22, 2013 at 11:07 AM, Peter Toye wrote: > David, > > Thanks. Hardly worth the effort! I think I'll just try to ignore my > allergy to leading zeroes in dates. Or not do any engraving 1-9 of the > month. > But the work is done--all you need to do is copy and paste what I've

Re: Fatal bug in strftime?

2013-05-27 Thread Peter Toye
David, Not quite sure what you mean about a template. I use Frescobaldi for input at the moment, and that doesn't seem to have a way of changing the standard header format, so I have to delete it and include my personal favourite (which can be in a \include file). Or do you mean a Lilypond te

Re: Fatal bug in strftime?

2013-05-27 Thread David Nalesnik
Peter, On Mon, May 27, 2013 at 5:23 AM, Peter Toye wrote: > David, > > Not quite sure what you mean about a template. I use Frescobaldi for input > at the moment, and that doesn't seem to have a way of changing the standard > header format, so I have to delete it and include my personal favouri

Re: Fatal bug in strftime?

2013-05-27 Thread Peter Toye
David, Thanks. I sort of thought so, but being a newbie to Lilypond & Frescobaldi I might have missed something. Is there any way in Frescobaldi of changing the default header? The documentation's a bit sparse. Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com -

Re: Fatal bug in strftime?

2013-05-27 Thread David Nalesnik
Peter, On Mon, May 27, 2013 at 10:15 AM, Peter Toye wrote: > David, > > Thanks. I sort of thought so, but being a newbie to Lilypond & Frescobaldi > I might have missed something. > > Is there any way in Frescobaldi of changing the default header? The > documentation's a bit sparse. > > I imag