From 4f9c4193eca6f1671c86ae40f3e2e0d4d42a34aa Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Wed, 11 Apr 2007 18:24:47 -0700 Subject: [PATCH] Add warning for LSR files. --- buildscripts/makelsr.py | 13 ++++++++++++- input/lsr/ancient/custodes.ly | 1 + input/lsr/chords/chord-name-exceptions.ly | 1 + input/lsr/chords/chord-name-major7.ly | 1 + input/lsr/connecting/laissez-vibrer-ties.ly | 1 + input/lsr/contemporary/clusters.ly | 1 + input/lsr/expressive/breathing-sign.ly | 1 + input/lsr/expressive/fingering-chords.ly | 1 + input/lsr/expressive/glissando.ly | 1 + input/lsr/expressive/line-styles.ly | 1 + input/lsr/expressive/tempo-mark-scheme-function.ly | 1 + input/lsr/guitar/guitar-string-number.ly | 1 + input/lsr/parts/rehearsal-mark-numbers.ly | 1 + input/lsr/parts/tag-filter.ly | 1 + input/lsr/repeats/volta-multi-staff.ly | 1 + input/lsr/spacing/alignment-vertical-spacing.ly | 7 +++++-- input/lsr/spacing/page-layout-twopass.ly | 1 + input/lsr/spacing/page-spacing.ly | 1 + input/lsr/spacing/proportional-spacing.ly | 1 + .../lsr/spacing/proportional-strict-grace-notes.ly | 1 + .../lsr/spacing/proportional-strict-notespacing.ly | 1 + input/lsr/staff/staff-line-positions.ly | 1 + input/lsr/text/font-family-override.ly | 1 + input/lsr/vocal/ambitus.ly | 1 + input/lsr/vocal/lyric-combine.ly | 1 + 25 files changed, 40 insertions(+), 3 deletions(-) diff --git a/buildscripts/makelsr.py b/buildscripts/makelsr.py index 2a4d1ad7a1..25a1d9c043 100755 --- a/buildscripts/makelsr.py +++ b/buildscripts/makelsr.py @@ -14,6 +14,16 @@ except: print "Please specify input_file." sys.exit() +def copyWithWarning(src, dest): + readFile = open(src, 'r') + readFileLines = readFile.readlines() + readFile.close() + writeFile = open(dest, 'w') + writeFile.write('%% Do not edit this file; it is auto-generated from LSR!\n') + for line in readFileLines: + writeFile.write(line) + writeFile.close() + for dir in dirs: srcdir = os.path.join (in_dir, dir) destdir = os.path.join ('input', 'lsr', dir) @@ -32,7 +42,8 @@ for dir in dirs: for file in file_names: src = os.path.join (srcdir, file) dest = os.path.join (destdir, file) - shutil.copyfile (src, dest) + copyWithWarning(src, dest) +# shutil.copyfile (src, dest) s = os.system('lilypond -dsafe -dbackend=svg -o /tmp/lsrtest ' + dest) if s: notsafe.append(dest) diff --git a/input/lsr/ancient/custodes.ly b/input/lsr/ancient/custodes.ly index 09e5a55ca2..422ad99d90 100644 --- a/input/lsr/ancient/custodes.ly +++ b/input/lsr/ancient/custodes.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/chords/chord-name-exceptions.ly b/input/lsr/chords/chord-name-exceptions.ly index 6f3b29a5ae..ee969ff492 100644 --- a/input/lsr/chords/chord-name-exceptions.ly +++ b/input/lsr/chords/chord-name-exceptions.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/chords/chord-name-major7.ly b/input/lsr/chords/chord-name-major7.ly index 79fb505f04..080a82d53a 100644 --- a/input/lsr/chords/chord-name-major7.ly +++ b/input/lsr/chords/chord-name-major7.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/connecting/laissez-vibrer-ties.ly b/input/lsr/connecting/laissez-vibrer-ties.ly index 89fe929c6f..acd9332579 100644 --- a/input/lsr/connecting/laissez-vibrer-ties.ly +++ b/input/lsr/connecting/laissez-vibrer-ties.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/contemporary/clusters.ly b/input/lsr/contemporary/clusters.ly index d848f8b585..3b9969c815 100644 --- a/input/lsr/contemporary/clusters.ly +++ b/input/lsr/contemporary/clusters.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/expressive/breathing-sign.ly b/input/lsr/expressive/breathing-sign.ly index 83caf40816..6de0a1371e 100644 --- a/input/lsr/expressive/breathing-sign.ly +++ b/input/lsr/expressive/breathing-sign.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/expressive/fingering-chords.ly b/input/lsr/expressive/fingering-chords.ly index fa0fc38422..63ac566761 100644 --- a/input/lsr/expressive/fingering-chords.ly +++ b/input/lsr/expressive/fingering-chords.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/expressive/glissando.ly b/input/lsr/expressive/glissando.ly index ec92a4c229..15e1db9e15 100644 --- a/input/lsr/expressive/glissando.ly +++ b/input/lsr/expressive/glissando.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/expressive/line-styles.ly b/input/lsr/expressive/line-styles.ly index b64397f11a..115cfac458 100644 --- a/input/lsr/expressive/line-styles.ly +++ b/input/lsr/expressive/line-styles.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/expressive/tempo-mark-scheme-function.ly b/input/lsr/expressive/tempo-mark-scheme-function.ly index cc93964d54..93bb50408b 100644 --- a/input/lsr/expressive/tempo-mark-scheme-function.ly +++ b/input/lsr/expressive/tempo-mark-scheme-function.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/guitar/guitar-string-number.ly b/input/lsr/guitar/guitar-string-number.ly index 4dd2e3046e..271dda511e 100644 --- a/input/lsr/guitar/guitar-string-number.ly +++ b/input/lsr/guitar/guitar-string-number.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/parts/rehearsal-mark-numbers.ly b/input/lsr/parts/rehearsal-mark-numbers.ly index b40f5ec0a6..859259cc8e 100644 --- a/input/lsr/parts/rehearsal-mark-numbers.ly +++ b/input/lsr/parts/rehearsal-mark-numbers.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/parts/tag-filter.ly b/input/lsr/parts/tag-filter.ly index f96e466b66..c3cb85ff33 100644 --- a/input/lsr/parts/tag-filter.ly +++ b/input/lsr/parts/tag-filter.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/repeats/volta-multi-staff.ly b/input/lsr/repeats/volta-multi-staff.ly index a6f2e6ba0d..a59b9a8b7d 100644 --- a/input/lsr/repeats/volta-multi-staff.ly +++ b/input/lsr/repeats/volta-multi-staff.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/spacing/alignment-vertical-spacing.ly b/input/lsr/spacing/alignment-vertical-spacing.ly index 29d8981589..9da4e58410 100644 --- a/input/lsr/spacing/alignment-vertical-spacing.ly +++ b/input/lsr/spacing/alignment-vertical-spacing.ly @@ -1,15 +1,18 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " By setting properties in @code{NonMusicalPaperColumn}, vertical spacing of alignments can be adjusted per system. + By setting @code{alignment-extra-space} or @code{fixed-alignment-extra-space} an individual system may be stretched vertically. -For technical reasons, @code{\overrideProperty} has to be used for -setting properties on individual objects. @code{\override} in a + +For technical reasons, @code{overrideProperty} has to be used for +setting properties on individual objects. @code{override} in a @code{\context} block may still be used for global overrides. " } diff --git a/input/lsr/spacing/page-layout-twopass.ly b/input/lsr/spacing/page-layout-twopass.ly index 3fc5d8e2bb..66255cfb61 100644 --- a/input/lsr/spacing/page-layout-twopass.ly +++ b/input/lsr/spacing/page-layout-twopass.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/spacing/page-spacing.ly b/input/lsr/spacing/page-spacing.ly index 45d696ad5b..ec6706ac31 100644 --- a/input/lsr/spacing/page-spacing.ly +++ b/input/lsr/spacing/page-spacing.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/spacing/proportional-spacing.ly b/input/lsr/spacing/proportional-spacing.ly index a988868e58..783df835c3 100644 --- a/input/lsr/spacing/proportional-spacing.ly +++ b/input/lsr/spacing/proportional-spacing.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/spacing/proportional-strict-grace-notes.ly b/input/lsr/spacing/proportional-strict-grace-notes.ly index 7832d874c9..bbbd4abe32 100644 --- a/input/lsr/spacing/proportional-strict-grace-notes.ly +++ b/input/lsr/spacing/proportional-strict-grace-notes.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/spacing/proportional-strict-notespacing.ly b/input/lsr/spacing/proportional-strict-notespacing.ly index 95bee319e5..2c26f85e48 100644 --- a/input/lsr/spacing/proportional-strict-notespacing.ly +++ b/input/lsr/spacing/proportional-strict-notespacing.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/staff/staff-line-positions.ly b/input/lsr/staff/staff-line-positions.ly index 3b57da87e2..a33e356662 100644 --- a/input/lsr/staff/staff-line-positions.ly +++ b/input/lsr/staff/staff-line-positions.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/text/font-family-override.ly b/input/lsr/text/font-family-override.ly index 9059bd36c8..b8d3e34c10 100644 --- a/input/lsr/text/font-family-override.ly +++ b/input/lsr/text/font-family-override.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/vocal/ambitus.ly b/input/lsr/vocal/ambitus.ly index 30a8dd8840..f077935570 100644 --- a/input/lsr/vocal/ambitus.ly +++ b/input/lsr/vocal/ambitus.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " diff --git a/input/lsr/vocal/lyric-combine.ly b/input/lsr/vocal/lyric-combine.ly index c97b0f025a..c36fa8db21 100644 --- a/input/lsr/vocal/lyric-combine.ly +++ b/input/lsr/vocal/lyric-combine.ly @@ -1,3 +1,4 @@ +%% Do not edit this file; it is auto-generated from LSR! \version "2.10.12" \header { texidoc = " -- 2.39.2