|
From: | Herbert Liechti |
Subject: | Re: disabling \break |
Date: | Mon, 14 May 2018 16:04:19 +0200 |
If you want a more lightweight way to do it, this function should also work:
⋘
removeBreaks =
#(define-music-function (mus) (ly:music?)
(music-filter
(lambda (v) (not (music-is-of-type? v 'break-event)))
mus))
⋙
On 05/08/18 14:17, Jan-Peter Voigt wrote:
> Hi Herbie,
>
> this is *the* use case for the edition-engraver:
> https://github.com/openlilylib/edition-engraver/
> or the page-layout package
> https://github.com/openlilylib/page-layout
> (which is using the edition-engraver for the conditional breaks)
>
> If you install openLilyLib (https://github.com/openlilylib/oll-core ), you can make use of these packages quite easily. That way you can separate breaks and page-layout from the music-content.
>
> So the short answer is: Yes, it is possible to add a command that avoids certain breaks for certain commands.
>
> If you want to know more about these tools don't hesitate to ask!
>
> HTH
> Jan-Peter
>
>
>
> Am 08.05.2018 um 07:50 schrieb Herbert Liechti:
>> Hello
>>
>> I searched a long time in the forum an internet and could not find an answer for my issue.
>>
>> I write all my music with lilypond and at the end I have two output targets. One is the paper form and one
>> is a page layout for the tablet. The latter layout is optimized so that the screen of the table is used with small
>> margins. I use two book sections for this
>>
>> I often do a line break at the end of each part (i.E. part A, part B, part C). For the paper output this is useful for
>> the tablet it is wasting place.
>>
>> Is it possible to add a command that skips/disables/avoids the manual breaks when creating the tablet version?
>>
>> Thanks & best regards
>> Herbie
>>
>>
>>
>> _______________________________________________
>> lilypond-user mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |