lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: problem avec le bloc header


From: Martial
Subject: Re: problem avec le bloc header
Date: Fri, 02 Nov 2007 19:34:58 +0100
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

B'soir

houlà
mais c'est sur des ancienne version de LilyPond  !
\version "2.1.30"

un truc avec  \markup le ferais !
%%---------------
\header {
  title = ""
  composer = ""
  instrument = ""
  enteredby = ""
  maintainer = ""
  maintainerEmail = ""
  lastupdated = "3/22/2004"
  tagline = \markup {  "cgy production" \lastupdated }
}

{ c'' }
%%---------------


Depuis qulques temps j'automatise la date de compilation

%%---------------
varFileName =  #"nomdufichier.ly"
varModifiedTime = #(stat:mtime ( stat varFileName ))
varModifiedTimeString = #(strftime "%d %B %Y" (localtime varModifiedTime))

\header {
tagline = \markup { "nomdufichier. Édition du" \varModifiedTimeString "\"engravé\" by Lilypond" }
}


{ c'' }
%%---------------

Attention "nomdufichier.ly" doit impérativement celui qui est sauvegarder sur le disque dur sinon LilyPond hurle et renvoie une erreur pas évidente à identifier;

cette page donne accès à d'autres formats de date
http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html

--
Martial
http://cathemline.org





reply via email to

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