]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc-fr: enable tweets
authorJean-Charles Malahieude <lilyfan@orange.fr>
Fri, 11 May 2012 17:55:19 +0000 (19:55 +0200)
committerJean-Charles Malahieude <lilyfan@orange.fr>
Fri, 11 May 2012 17:55:19 +0000 (19:55 +0200)
and untrack 2 deleted texidocs

Documentation/fr/texidocs/changing-the-time-signature-without-affecting-the-beaming.texidoc [deleted file]
Documentation/fr/texidocs/piano-template-with-centered-dynamics.texidoc [deleted file]
Documentation/fr/web.texi

diff --git a/Documentation/fr/texidocs/changing-the-time-signature-without-affecting-the-beaming.texidoc b/Documentation/fr/texidocs/changing-the-time-signature-without-affecting-the-beaming.texidoc
deleted file mode 100644 (file)
index 9f94775..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-%% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
-  texidocfr = "
-La commande @code{\\time} gère les propriétés
-@code{timeSignatureFraction}, @code{beatLength}, @code{beatGrouping}
-et @code{measureLength} dans le contexte @code{Timing}, normalement
-rattaché à @code{Score}.  Le fait de modifier la valeur de
-@code{timeSignatureFraction} aura pour effet de changer l'apparence du
-symbole affiché sans pour autant affecter les autres propriétés de la
-métrique@tie{}:
-
-"
-  doctitlefr = "Changement de métrique sans affecter les règles de ligature"
diff --git a/Documentation/fr/texidocs/piano-template-with-centered-dynamics.texidoc b/Documentation/fr/texidocs/piano-template-with-centered-dynamics.texidoc
deleted file mode 100644 (file)
index ff82f18..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-%% Translation of GIT committish: ceb0afe7d4d0bdb3d17b9d0bff7936bb2a424d16
-  texidocfr = "
-Nombre d'ouvrages pour piano font apparaître les nuances entre les deux
-portées.  Bien que cela nécessite quelques subtilités, voici de quoi
-obtenir un tel résultat.
-
-"
-  doctitlefr = "Piano et nuances entre les portées"
index 457fedac21f6f34e250e4c1e42c3893c3e3c5cc7..755354b7705c61c19e607ea41b11f62690a6d4e9 100644 (file)
@@ -1,6 +1,6 @@
 \input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*-
 @ignore
-    Translation of GIT committish: 957ee70b1613ce33157486a1372827e7c1c9274f
+    Translation of GIT committish: 2f50167dc8769e690b985c3b92cabdc35a725344
 
     When revising a translation, copy the HEAD committish of the
     version that you are working on.  For details, see the Contributors'
@@ -148,6 +148,48 @@ Plus sur LilyPond dans notre @ref{Introduction} !
 @divEnd
 
 
+@ifclear web_version
+  @c do nothing
+@end ifclear
+@ifset web_version
+  @c make the box:
+@divId{wildCardBox}
+@subheading Dépêches
+@divId{wildCardText}
+
+@divEnd
+@divEnd
+@end ifset
+
+@html
+
+<script language="JavaScript" type="text/javascript">
+  function loadXMLDoc(dname)
+    {
+      if (window.XMLHttpRequest)
+        {
+          xhttp=new XMLHttpRequest();
+        }
+      else
+        {
+          xhttp=new ActiveXObject("Microsoft.XMLHTTP");
+        }
+      xhttp.open("GET",dname,false);
+      xhttp.send();
+      return xhttp.responseXML;
+    }
+
+  var xmlDoc = loadXMLDoc("tweets.xml");
+  var tweets = xmlDoc.getElementsByTagName("tweet");
+  var index = Math.floor(Math.random() * tweets.length);
+  var tweet = tweets[index];
+  var text = tweet.childNodes[0];
+  document.getElementById("wildCardText").innerHTML = text.nodeValue;
+</script>
+
+@end html
+
+
 @ifclear web_version
   @c do nothing
 @end ifclear