From: hanwen Date: Mon, 2 Aug 2004 17:09:20 +0000 (+0000) Subject: (main): add -f tex as default process. X-Git-Tag: release/2.3.12~53 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=96ae195c3bd764a88625e27cd423a84b0c35a0e4;p=lilypond.git (main): add -f tex as default process. --- diff --git a/ChangeLog b/ChangeLog index 1b0e71e2b1..1574f1b03f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2004-08-02 Han-Wen Nienhuys + * scripts/lilypond-book.py (main): add -f tex as default process. + * lily/text-spanner.cc (print): only take linear_combination of nonempty interval. diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index d634ab693c..682b67cc38 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -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])