print usage and option summary.
@item -l, --language=LANG
-use a different language file 'LANG.ly' and corresponding pitch names,
-e.g. 'deutsch' for deutsch.ly and German note names.
+use LANG for pitch names, e.g. 'deutsch' for note names in German.
@item --lxml
use the lxml.etree Python package for XML-parsing; uses less memory and cpu time.
p.add_option ('-l', '--language',
metavar = _ ("LANG"),
action = "store",
- help = _ ("use a different language file 'LANG.ly' and corresponding pitch names, e.g. 'deutsch' for deutsch.ly"))
+ help = _ ("use LANG for pitch names, e.g. 'deutsch' for note names in German"))
p.add_option ('--nd', '--no-articulation-directions',
action = "store_false",
if options.language:
musicexp.set_pitch_language (options.language)
needed_additional_definitions.append (options.language)
- additional_definitions[options.language] = "\\include \"%s.ly\"\n" % options.language
+ additional_definitions[options.language] = "\\language \"%s\"\n" % options.language
conversion_settings.ignore_beaming = not options.convert_beaming
conversion_settings.convert_page_layout = options.convert_page_layout