]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/adding-the-current-date-to-a-score.ly
Doc-de: update macros.itely and nitpicks
[lilypond.git] / input / lsr / adding-the-current-date-to-a-score.ly
index c60ad80efa437b80c35755d7e19993f751359fb4..57c10abcfdb3f4fdb1663c9eb868095523f32b63 100644 (file)
@@ -1,33 +1,33 @@
 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
 %% This file is in the public domain.
-\version "2.11.48"
+\version "2.13.1"
 
 \header {
-  lsrtags = "titles"
+  lsrtags = "text, titles"
+
+%% Translation of GIT committish: 00e3a8264e138ad61b4f115a173190d5e9dc7533
+  texidoces = "
+Con algo de código de Scheme, se puede añadir fácilmente la fecha
+actual a una partitura.
+"
+  doctitlees = "Añadir la fecha actual a una partitura"
+  
+%% Translation of GIT committish: 7eb450e8e6c935410b8f3212cb53e5a731f4f33f
+  texidocfr = "
+Avec un peu de code Scheme, voici comment ajouter facilement
+la date du jour à votre partition.
+"
+  
+  doctitlefr = "Ajout de la date du jour à une partition"
 
   texidoc = "
-I often find it useful to include a date on printed music, so that I
-can see if I'm using the latest version, or tell someone else that he
-should only use the version after a certain date. A simple solution is
-to enter the date manually to the @code{.ly} file. But that's very
-error prone. It's easy to forget updating the date. So i thought it
-would be useful if you can add the date on which the PDF file is
-generated automatically. I did't figure it out myself, but I asked on
-lilypond-user mailing list. And guess what? Someone came with an
-excellent solution! So thank you very much Toine Schreurs for sending
-this solution to the user mailing list. I post it here for future
-reference.
-
-The solution is to use two scheme functions called @code{strftime} and
-@code{localtime}, as shown in the snippet. It is a very flexible
-solution, you can format the date just as you like it by adapting the
-@code{\"%d-%m-%Y\"} string. See the Guile documentation for more
-details on this format string: Formatting Calendar Time. 
+With a little Scheme code, the current date can easily be added to a
+score.
 
 "
   doctitle = "Adding the current date to a score"
 } % begin verbatim
-\version "2.11.48"
+
 % first, define a variable to hold the formatted date:
 date = #(strftime "%d-%m-%Y" (localtime (current-time)))
 
@@ -46,3 +46,4 @@ date = #(strftime "%d-%m-%Y" (localtime (current-time)))
 \markup {
   \date
 }
+