]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: NR - convert A13 from scm to verbatim
authorJames Lowe <pkx166h@gmail.com>
Tue, 7 Jan 2014 21:25:31 +0000 (21:25 +0000)
committerDavid Kastrup <dak@gnu.org>
Sun, 12 Jan 2014 06:59:53 +0000 (07:59 +0100)
Issue 1189

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"
  }''',
     },