From 2abc3eab449258e6620c5eb275ff7b638e5b3818 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Mon, 18 Jun 2007 21:36:53 -0700 Subject: [PATCH] LSR: update to build system. --- buildscripts/makelsr.py | 4 +- input/lsr/ancient/AAA-intro-advanced.ly | 22 ------ input/lsr/chords/AAA-intro-chords.ly | 22 ------ input/lsr/connecting/AAA-intro-connecting.ly | 22 ------ .../contemporary/AAA-intro-contemporary.ly | 22 ------ input/lsr/education/AAA-intro-advanced.ly | 22 ------ input/lsr/expressive/AAA-intro-advanced.ly | 22 ------ input/lsr/guitar/AAA-intro-advanced.ly | 22 ------ input/lsr/other/AAA-intro-advanced.ly | 22 ------ input/lsr/parts/AAA-intro-advanced.ly | 22 ------ input/lsr/pitch/AAA-intro-advanced.ly | 22 ------ .../combining-two-parts-on-the-same-staff.ly | 74 ------------------- input/lsr/pitch/preventing-stem-extension.ly | 30 -------- input/lsr/pitch/rest-styles.ly | 39 ---------- input/lsr/repeats/AAA-intro-advanced.ly | 22 ------ input/lsr/scheme/AAA-intro-advanced.ly | 22 ------ input/lsr/spacing/AAA-intro-advanced.ly | 22 ------ input/lsr/staff/AAA-intro-advanced.ly | 22 ------ input/lsr/text/AAA-intro-advanced.ly | 22 ------ input/lsr/vocal/AAA-intro-advanced.ly | 22 ------ 20 files changed, 1 insertion(+), 498 deletions(-) delete mode 100644 input/lsr/ancient/AAA-intro-advanced.ly delete mode 100644 input/lsr/chords/AAA-intro-chords.ly delete mode 100644 input/lsr/connecting/AAA-intro-connecting.ly delete mode 100644 input/lsr/contemporary/AAA-intro-contemporary.ly delete mode 100644 input/lsr/education/AAA-intro-advanced.ly delete mode 100644 input/lsr/expressive/AAA-intro-advanced.ly delete mode 100644 input/lsr/guitar/AAA-intro-advanced.ly delete mode 100644 input/lsr/other/AAA-intro-advanced.ly delete mode 100644 input/lsr/parts/AAA-intro-advanced.ly delete mode 100644 input/lsr/pitch/AAA-intro-advanced.ly delete mode 100644 input/lsr/pitch/combining-two-parts-on-the-same-staff.ly delete mode 100644 input/lsr/pitch/preventing-stem-extension.ly delete mode 100644 input/lsr/pitch/rest-styles.ly delete mode 100644 input/lsr/repeats/AAA-intro-advanced.ly delete mode 100644 input/lsr/scheme/AAA-intro-advanced.ly delete mode 100644 input/lsr/spacing/AAA-intro-advanced.ly delete mode 100644 input/lsr/staff/AAA-intro-advanced.ly delete mode 100644 input/lsr/text/AAA-intro-advanced.ly delete mode 100644 input/lsr/vocal/AAA-intro-advanced.ly diff --git a/buildscripts/makelsr.py b/buildscripts/makelsr.py index 748f35f651..7a0ff092f0 100755 --- a/buildscripts/makelsr.py +++ b/buildscripts/makelsr.py @@ -30,11 +30,9 @@ def copy_dir_with_test(srcdir, destdir): src = os.path.join (srcdir, file) dest = os.path.join (destdir, file) copy_with_warning(src, dest) - s = os.system('convert-ly -e ' + dest) + os.system('convert-ly -e ' + dest) if os.path.exists( dest + '~' ): os.remove( dest + '~' ) - if s: - notconvert.append(dest) # the -V seems to make unsafe snippets fail nicer/sooner. s = os.system('nice lilypond -V -dno-print-pages -dsafe -o /tmp/lsrtest ' + dest) #s = os.system('nice lilypond -dno-print-pages -dsafe -o /tmp/lsrtest ' + dest) diff --git a/input/lsr/ancient/AAA-intro-advanced.ly b/input/lsr/ancient/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/ancient/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/chords/AAA-intro-chords.ly b/input/lsr/chords/AAA-intro-chords.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/chords/AAA-intro-chords.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/connecting/AAA-intro-connecting.ly b/input/lsr/connecting/AAA-intro-connecting.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/connecting/AAA-intro-connecting.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/contemporary/AAA-intro-contemporary.ly b/input/lsr/contemporary/AAA-intro-contemporary.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/contemporary/AAA-intro-contemporary.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/education/AAA-intro-advanced.ly b/input/lsr/education/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/education/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/expressive/AAA-intro-advanced.ly b/input/lsr/expressive/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/expressive/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/guitar/AAA-intro-advanced.ly b/input/lsr/guitar/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/guitar/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/other/AAA-intro-advanced.ly b/input/lsr/other/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/other/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/parts/AAA-intro-advanced.ly b/input/lsr/parts/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/parts/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/pitch/AAA-intro-advanced.ly b/input/lsr/pitch/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/pitch/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/pitch/combining-two-parts-on-the-same-staff.ly b/input/lsr/pitch/combining-two-parts-on-the-same-staff.ly deleted file mode 100644 index 3569f3f5a5..0000000000 --- a/input/lsr/pitch/combining-two-parts-on-the-same-staff.ly +++ /dev/null @@ -1,74 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -The part combiner tool ( \partcombine command ) allows you to combine -different parts on a same Staff. You can choose whether you want or -don't want to add texts such as \"solo\" or \"a2\", by defining the -printPartCombineTexts property. - -For vocal scores (hymns), there is no need to add solo/a2 texts, so -they should be switched off. However, you'd better not use it if there -are any solos, as they won't be indicated. In such cases, you may -simply wan't to use standard LilyPond polyphony. - -This snippet presents the three ways two parts can be printed on a same -staff : standard polyphony, \partcombine whitout texts, and -\partcombine with texts. - - -" } - -musicUp = { \time 4/4 - \relative c'' { - a4 c4.(g8) a4 | - g4 e' g,( a8 b) | - c b a2. - } -} - -musicDown = { - \relative c'' { - g4 e4.(d8) c4 | - r2 g'4( f8 e) | - d2 a - } -} -\score{ - \new Staff { - \set Staff.instrumentName = "Standard polyphony " - << \musicUp \\ \musicDown >> - } - \layout{ - indent = 6.0\cm - } -} - -\score{ - \context Staff { - \set Staff.instrumentName = "PartCombine without texts " - \partcombine \musicUp \musicDown - } - \layout{ - indent = 6.0\cm - \context { - \Voice - printPartCombineTexts = ##f - } - } -} - -\score{ - \context Staff { - \set Staff.instrumentName = "PartCombine with texts " - \partcombine \musicUp \musicDown - } - \layout{ - indent = 6.0\cm - \context { - \Voice - printPartCombineTexts = ##t - } - } -} - diff --git a/input/lsr/pitch/preventing-stem-extension.ly b/input/lsr/pitch/preventing-stem-extension.ly deleted file mode 100644 index 731a76e0de..0000000000 --- a/input/lsr/pitch/preventing-stem-extension.ly +++ /dev/null @@ -1,30 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -Extending stems to the center line may be prevented using -@code{no-stem-extend}. - - -" } - -\score { - \context Voice \relative c { - \context Staff << - \new Voice { - f2 f8 g a b - \override Stem #'no-stem-extend = ##t - f2 f8 g a b - } - \new Voice { - c''2 c8 b a g - \override Stem #'no-stem-extend = ##t - c2 c8 b a g - } - >> - - } - -} - - diff --git a/input/lsr/pitch/rest-styles.ly b/input/lsr/pitch/rest-styles.ly deleted file mode 100644 index c14c92710f..0000000000 --- a/input/lsr/pitch/rest-styles.ly +++ /dev/null @@ -1,39 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -Rests may be used in various styles. - - - -" } - -\layout { - indent = 0.0 - raggedright = ##t -} - -\context Staff \relative c { - \set Score.timing = ##f - \override Staff.Rest #'style = #'mensural - r\maxima^\markup \typewriter { mensural } - r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 - \bar "" - - \override Staff.Rest #'style = #'neomensural - r\maxima^\markup \typewriter { neomensural } - r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 - \bar "" - - \override Staff.Rest #'style = #'classical - r\maxima^\markup \typewriter { classical } - r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 - \bar "" - - \override Staff.Rest #'style = #'default - r\maxima^\markup \typewriter { default } - r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 - -} - - diff --git a/input/lsr/repeats/AAA-intro-advanced.ly b/input/lsr/repeats/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/repeats/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/scheme/AAA-intro-advanced.ly b/input/lsr/scheme/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/scheme/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/spacing/AAA-intro-advanced.ly b/input/lsr/spacing/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/spacing/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/staff/AAA-intro-advanced.ly b/input/lsr/staff/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/staff/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/text/AAA-intro-advanced.ly b/input/lsr/text/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/text/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } diff --git a/input/lsr/vocal/AAA-intro-advanced.ly b/input/lsr/vocal/AAA-intro-advanced.ly deleted file mode 100644 index fe8a536d36..0000000000 --- a/input/lsr/vocal/AAA-intro-advanced.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" -%% +.ly: Be the first .ly file for lys-to-tely.py. -%% Better to make lys-to-tely.py include "introduction.texi" or -%% other .texi documents too? - -\header{ -texidoc = #(string-append " -@unnumbered Introduction - -This document shows examples from the -@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. - -In the web version of this document, you can click on the file name -or figure for each example to see the corresponding input file. - -This document is for LilyPond version -" (lilypond-version) "." ) -} - -% make sure .png is generated. -\lyrics { " " } -- 2.39.5