]> git.donarmstrong.com Git - lilypond.git/commitdiff
Exclude headers/top-level markup when processing systems for clipping.
authorNeil Puttock <n.puttock@gmail.com>
Thu, 17 Sep 2009 21:53:24 +0000 (22:53 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Sat, 26 Sep 2009 20:55:38 +0000 (21:55 +0100)
(cherry picked from commit 7b513ca03c3e1c2e5ac0274f50b635cf2a9e1c56)

scm/framework-ps.scm

index c183fb0de5a463616bafc262d107eceb3131c627..84f3a3bec82c553763ef3dd873627a6199bc3618 100644 (file)
@@ -575,11 +575,13 @@ fonts inline."
      #f
      systems)
     (for-each (lambda (system-list)
+               ;; filter out headers and top-level markup
+               (if (pair? system-list)
                (clip-score-systems
                 (if (> count 0)
                     (format "~a-~a" basename count)
                     basename)
-                system-list))
+                system-list)))
              score-system-list)))
 
 (define-public (output-preview-framework basename book scopes fields)