Re: Setting paper for bookpart

2017-08-07 Thread David Kastrup
Thomas Morley writes: > Hi David, > > to continue on this [...] > I meanwhile did some experiments: > > Both of > \book { \bookpart { { r1 } } } > \book { \bookpart { \paper {} { r1 } } } > succeed without problems. > > While for > bk-fail = \book { \bookpart { { r1 }

Re: Setting paper for bookpart

2017-08-07 Thread Thomas Morley
Hi David, to continue on this 2017-08-02 23:26 GMT+02:00 David Kastrup : > Thomas Morley writes: > >> 2017-08-02 22:38 GMT+02:00 David Kastrup : >> >>> I think that part of the problem is that looking at the functions in >>> >>>

Re: Setting paper for bookpart

2017-08-02 Thread David Kastrup
Thomas Morley writes: > 2017-08-02 22:38 GMT+02:00 David Kastrup : > >> I think that part of the problem is that looking at the functions in >> >> lily/book-scheme.cc >> >> it seems like bookparts were never intended to have paper blocks. Now >> after

Re: Setting paper for bookpart

2017-08-02 Thread Thomas Morley
2017-08-02 22:38 GMT+02:00 David Kastrup : > Thomas Morley writes: > >> 2017-08-02 18:27 GMT+02:00 David Kastrup : >>> Thomas Morley writes: >>> 2017-08-02 15:46 GMT+02:00 David Kastrup :

Re: Setting paper for bookpart

2017-08-02 Thread David Kastrup
Thomas Morley writes: > 2017-08-02 18:27 GMT+02:00 David Kastrup : >> Thomas Morley writes: >> >>> 2017-08-02 15:46 GMT+02:00 David Kastrup : >>> #(ly:output-def-set-variable! (ly:book-paper bkII) 'ragged-right

Re: Setting paper for bookpart

2017-08-02 Thread Thomas Morley
2017-08-02 18:27 GMT+02:00 David Kastrup : > Thomas Morley writes: > >> 2017-08-02 15:46 GMT+02:00 David Kastrup : >> >>> #(ly:output-def-set-variable! (ly:book-paper bkII) 'ragged-right #f) >> >> This works fine, but only if the bookpart

Re: Setting paper for bookpart

2017-08-02 Thread Thomas Morley
2017-08-02 19:09 GMT+02:00 Timothy Lanfear : > On 02/08/17 16:29, Thomas Morley wrote: >> >> 2017-08-02 15:46 GMT+02:00 David Kastrup : >> >>> #(ly:output-def-set-variable! (ly:book-paper bkII) 'ragged-right #f) >> >> This works fine, but only if the bookpart

Re: Setting paper for bookpart

2017-08-02 Thread Timothy Lanfear
On 02/08/17 16:29, Thomas Morley wrote: 2017-08-02 15:46 GMT+02:00 David Kastrup : #(ly:output-def-set-variable! (ly:book-paper bkII) 'ragged-right #f) This works fine, but only if the bookpart already has \paper In the following example, I start with an empty bookpart and fill

Re: Setting paper for bookpart

2017-08-02 Thread David Kastrup
Thomas Morley writes: > 2017-08-02 15:46 GMT+02:00 David Kastrup : > >> #(ly:output-def-set-variable! (ly:book-paper bkII) 'ragged-right #f) > > This works fine, but only if the bookpart already has \paper So use the LilyPond syntax variant instead? What

Re: Setting paper for bookpart

2017-08-02 Thread Thomas Morley
2017-08-02 15:46 GMT+02:00 David Kastrup : > #(ly:output-def-set-variable! (ly:book-paper bkII) 'ragged-right #f) This works fine, but only if the bookpart already has \paper In the following example, I start with an empty bookpart and fill it with a header and a score. And I want

Re: Setting paper for bookpart

2017-08-02 Thread David Kastrup
Thomas Morley writes: > Hi all, > > consider the following code, setting a header to a bookpart: > > bkI = \bookpart { { r1 } } > #(ly:book-set-header! bkI #{ \header { title = "TITLE" } #}) > #(collect-bookpart-for-book bkI) > > All fine, but how to do with a