]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/clip-systems.ly
Snippets: Replace \set Staff.instrumentName
[lilypond.git] / Documentation / snippets / clip-systems.ly
index 88037d14067c37b22fd50b3a39c89cfcb74f360d..ed8ac5596c43fbb46f911095e1710702109b6b7f 100644 (file)
@@ -4,43 +4,16 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.14.0
-\version "2.14.0"
+%% Note: this file works from version 2.19.56
+\version "2.19.56"
 
 \header {
-%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
-  texidoces = "
-Este código muestra cómo recortar (extraer) fragmentos a partir de una
-partitura completa.
-
-Este archivo tiene que procesarse de forma separada con la opción
-@code{-dclip-systems}; la página de fragmentos de código podría no
-mostrar el resultado adecuadamente.
-
-La salida consiste en archivos con los nombres
-@samp{base-from-inicio-to-final[-número].eps}.
-
-
-Si se incluyen los comienzos y finales de los sistemas, incluyen las
-dimensiones del grob del sistema, por ejemplo los nombres de
-instrumento.
-
-
-Las notas de adorno en el punto final de la región no se incluyen.
-
-
-Las regiones pueden abarcar varios sistemas.  En este caso, se generan
-varios archivos EPS.
-
-"
-  doctitlees = "Recorte de sistemas"
-
   lsrtags = "paper-and-layout"
 
   texidoc = "
 This code shows how to clip (extract) snippets from a full score.
 
-This file needs to be run separately with @option{-dclip-systems}; the
+This file needs to be run separately with @code{-dclip-systems}; the
 snippets page may not adequately show the results.
 
 The result will be files named
@@ -61,13 +34,13 @@ are generated.
   doctitle = "Clip systems"
 } % begin verbatim
 
-
 #(ly:set-option 'clip-systems)
 #(define output-suffix "1")
 
 origScore = \score {
   \relative c' {
-    \set Staff.instrumentName = #"bla"
+    \new Staff \with { instrumentName = "Instrument" } % begin verbatim
+
     c1
     d1
     \grace c16 e1
@@ -117,7 +90,7 @@ origScore = \score {
       \markup { from-2.0.1-to-4.0.1-clip.eps }
       \markup {
         \epsfile #X #30.0 #(format #f "~a-1-from-2.0.1-to-4.0.1-clip.eps"
-                            (ly:parser-output-name parser)) }
+                            (ly:parser-output-name)) }
     }
   }
 }