On 22/01/17 20:12, Thomas Morley wrote:
P.S.
The actual topic of this thread, \layout in scheme, is not answered.
Though, I doubt you still need it. If I'm wrong, please shout and I'll
have a second thought
If you do feel the need to process layouts in Scheme, this may point you
in the right direction.
\version "2.19.54"
BlankStaff =
#(define-void-function (count) (integer?)
(let* ((blankstaff #{ \score { { s1 \break } } #} )
(layout #{ \layout { \context { \Staff \remove
"Bar_engraver" } } #} )
(bookpart (ly:make-book-part (make-list count blankstaff)))
(book (ly:make-book $defaultpaper $defaultheader)))
(ly:output-def-set-variable! layout 'indent (ly:mm 0))
(ly:output-def-set-variable! layout 'ragged-right #f)
(ly:book-add-bookpart! book bookpart)
(ly:book-process book $defaultpaper layout (ly:parser-output-name))
))
\BlankStaff 4
--
Timothy Lanfear, Bristol, UK.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user