lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grab a constant from the OS?


From: Thomas Morley
Subject: Re: Grab a constant from the OS?
Date: Thu, 24 Mar 2016 02:57:42 +0100

2016-03-24 1:20 GMT+01:00 Stan Mulder <address@hidden>:
> I do this successfully for my tagline (the line at the bottom of the last
> page.):
>
> lilystring = #(string-append "Engraved in LilyPond " (lilypond-version) " -
> Linux")
>
> \header {
>   title = "My Song"
>   tagline = \markup {
>     \column {
>       \fontsize #-2 \lilystring
>     }
>   }
> }
>
> It produces this text:
>
> "Engraved in LilyPond 2.19.38 - Linux"
>
> But I would like it to read like this:
>
> "Engraved in LilyPond 2.19.38 - Linux Mint 17.3"
>
> I'm not sure where external constants come from, like grabbing the current
> version of the OS. From lilypond or from scheme? I have not worked with
> scheme at all, but if it is from scheme, is there a recommended tutorial
> that would help with this? And how can I accomplish the immediate goal?
>
> Stan


#(utsname:sysname (uname))
?

Cheers,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]