2006-02-22 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * scripts/lilypond-book.py (main): scrap invokes_lilypond().
+
* Documentation/user/basic-notation.itely (Ties): document \repeatTie.
* Documentation/topdocs/NEWS.tely (Top): document \repeatTie.
option_string)
return []
-def invokes_lilypond ():
- return re.search ('^[\'\"0-9A-Za-z/.]*lilypond', process_cmd)
-
def set_default_options (source):
global default_ly_options
if not default_ly_options.has_key (LINE_WIDTH):
# UGH
# the --process=CMD switch is a bad idea
# it is too generic for lilypond-book.
- if texstr_names and invokes_lilypond ():
+ if texstr_names:
my_system (string.join ([cmd, '--backend texstr',
'snippet-map.ly'] + texstr_names))
for l in texstr_names:
try:
chunks = do_file (file)
- if psfonts_p and invokes_lilypond ():
+ if psfonts_p:
fontextract.verbose = verbose_p
snippet_chunks = filter (lambda x: is_derived_class (x.__class__,
Lilypond_snippet),