]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/book_snippets.py
Doc: NR - convert A13 from scm to verbatim
[lilypond.git] / python / book_snippets.py
index 69fdc4fa6867401cdcd40fecbf16b4e6324ed4b7..12dd5e9d8260c0b8d8badaf7645ecbc8cdee33f0 100644 (file)
@@ -46,6 +46,7 @@ INDENT = 'indent'
 NORAGGED_RIGHT = 'noragged-right'
 NOTES = 'body'
 NOTIME = 'notime'
+NOSTAFF = 'nostaff'
 OUTPUT = 'output'
 OUTPUTIMAGE = 'outputimage'
 PAPER = 'paper'
@@ -62,8 +63,8 @@ VERSION = 'lilypondversion'
 
 
 
-# NOTIME and NOGETTEXT have no opposite so they aren't part of this
-# dictionary.
+# NOTIME, NOSTAFF and NOGETTEXT have no opposite so they aren't part of
+# this dictionary.
 no_options = {
     NOFRAGMENT: FRAGMENT,
     NOINDENT: INDENT,
@@ -133,6 +134,17 @@ snippet_options = {
  \context {
    \Staff
    \remove "Time_signature_engraver"
+ }''',
+        NOSTAFF: r'''
+ \context {
+   \Score
+   timing = ##f
+ }
+ \context {
+   \Staff
+   \remove "Time_signature_engraver"
+   \remove "Clef_engraver"
+   \remove "Staff_symbol_engraver"
  }''',
     },