]> git.donarmstrong.com Git - lilypond.git/commitdiff
(main): add -f tex as default process.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 2 Aug 2004 17:09:20 +0000 (17:09 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 2 Aug 2004 17:09:20 +0000 (17:09 +0000)
ChangeLog
scripts/lilypond-book.py

index 1b0e71e2b1a33932cdbb4e7ee8cad3c99240e7c2..1574f1b03f02efe0f77511b663d3a28f13ab1b72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2004-08-02  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
+       * scripts/lilypond-book.py (main): add -f tex as default process.
+
        * lily/text-spanner.cc (print): only take linear_combination of
        nonempty interval.
        
index d634ab693c36fff9a6679c9ebb238983dde9495e..682b67cc38f67c37c965c78e9a1803bb0eb6a29c 100644 (file)
@@ -32,8 +32,6 @@ import string
 #
 # TODO:
 #
-#  * should have a sane default --process setting 
-#
 #  * use --png --ps --pdf for making images? 
 #
 
@@ -112,7 +110,7 @@ format = 0
 output_name = 0
 latex_filter_cmd = 'latex "\\nonstopmode \input /dev/stdin"'
 filter_cmd = 0
-process_cmd = lilypond_binary
+process_cmd = ''
 default_ly_options = {}
 
 #
@@ -1073,6 +1071,9 @@ def do_options ():
 def main ():
        files = do_options ()
        global process_cmd
+       if process_cmd = '':
+               process_cmd = lilypond_binary + " -f tex "
+       
        if process_cmd:
                process_cmd += string.join ([(' -I %s' % p)
                                             for p in include_path])