\layout {
%(layout_string)s
}
+
+%(safe_mode_string)s
'''
notes_string = '\n '.join (compose_dict[NOTES]) % vars ()
preamble_string = '\n '.join (compose_dict[PREAMBLE]) % override
padding_mm = self.global_options.padding_mm
+ if self.global_options.safe_mode:
+ safe_mode_string = "#(ly:set-option 'safe #t)"
+ else:
+ safe_mode_string = ""
d = globals().copy()
d.update (locals())
action='store',
dest='process_cmd', default='')
+ p.add_option ('-s', '--safe', help=_ ("Compile snippets in safe mode"),
+ action="store_true",
+ default=False,
+ dest="safe_mode")
+
p.add_option ('--skip-lily-check',
help=_ ("do not fail if no lilypond output is found"),
metavar=_ ("DIR"),