(?P<match>
<(?P<inline>(inline)?)mediaobject>\s*<imageobject.*?>\s*<imagedata\s+fileref="(?P<filename>.*?\.ly)"\s*(role="(?P<options>.*?)")?\s*(/>|>\s*</imagedata>)\s*</imageobject>\s*</(inline)?mediaobject>)''',
- 'lilypond_version':
- no_match,
-
'multiline_comment':
r'''(?smx)
(?P<match>
'verbatim':
no_match,
+
},
##
HTML: {
\s*(?P<filename>.*?)\s*
</lilypondfile>)''',
- 'lilypond_version':
- r'''(?mx)(?P<match><lilypond-version>)''',
-
'multiline_comment':
r'''(?smx)
(?P<match>
(?P<filename>\S+?)
})''',
- 'lilypond_version':
- r'''(?P<match>\\lilypond_version)''',
-
'multiline_comment':
no_match,
(?P<filename>\S+)
})''',
- 'lilypond_version':
- r'''(?mx)(?P<match>@lilypondversion)''',
-
'multiline_comment':
r'''(?smx)
^(?P<match>
return ('\\sourcefilename \"%s\"\n\\sourcefileline 0\n%s'
% (name, contents))
-class Version_snippet (Snippet):
- def replacement_text (self):
- return (program_version)
-
snippet_type_to_class = {
'lilypond_file': Lilypond_file_snippet,
'lilypond_block': Lilypond_snippet,
- 'lilypond_version': Version_snippet,
'lilypond': Lilypond_snippet,
'include': Include_snippet,
}
# 'verb',
'singleline_comment',
'lilypond_file',
- 'lilypond_version',
'include',
'lilypond',
)