Hi Kieren/Lukas

Thank you for your answers.

I think it's rather manual. I'm working on a master's thesis and dealing
with 10+ different works. They are different time signatures, \partial
measures et. al. I thought of
1. manually declaring the fragments in a list: fragments = #'((5 8) (15 21)
(52 61)) (meaning, of course, three fragments: the first from measure 5 to
m. 8; the second from m. 15 to m. 21, etc.).
2. manually or automatically declare the clip-regions variable in the
\layout block.
3. automatically insert \break at the end of mm. 4, 14 and 51.
4. run lilypond --png -dclip-regions file.ly and use the resulting PNGs.





El mié, 24 jun 2026 a las 17:21, Lukas-Fabian Moser (<[email protected]>) escribió:

> Hi Federico,
>
> Am 24.06.26 um 21:16 schrieb Federico Sarudiansky:
> >
> > I wonder if this is possible. I have to extract PNG fragments from a
> > bunch of scores. I found the clip-regions variable in the \layout
> > block and the -dclip-systems command line option and they are exactly
> > what I was looking for BUT I need that each fragment begins a new
> > system (in order to have clefs, key signatures, etc.). Is there a way
> > to «insert» \break-s using some kind of function such as, for example,
> > \predefinedBreaks = #(13 18 25 37) so that a \break appears at the end
> > of measures 12, 17, 24 and 36? I've asked IA models to no avail.
> >
> To find out what's the easiest way to deal with this, it would be
> helpful to know if your bars all have the same length, or if time
> signature changes may occur.
>
> Lukas
>
>

Reply via email to