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)
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)
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% 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.
" }
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "
+%% Do not edit this file; it is auto-generated from LSR!
\version "2.10.12"
\header { texidoc = "