lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do we really offer the future?


From: Stephen MacNeil
Subject: Re: Do we really offer the future?
Date: Wed, 22 Apr 2015 20:56:18 -0400

well you need to
1. remove the space with sed, so music  % 1 becomes  %1 also I added "a" at the end so it wouldn't get confused ie. %1 will also remove %10 %100 etc
2. since you used it after measure one sed can only delete measures after -- so 2 on

you could just input %1x in the files where you need to delete them .... but then why not just delete it :)

I suppose a nice bash script could fix all that though!

HTH
Stephen

On Wed, Apr 22, 2015 at 8:48 PM, Kieren MacMillan <address@hidden> wrote:
Hi Stephen (et al.)

> anyway I tried a few examples and used %1a %2a etc for measures and used the bar check (|) as an end
> eg.
> %1a
> music |

I use

    music   | % 1

Would sed still work?

> worked almost every time, only problem I had was if I had to fix the octave

Yet another reason to deprecate \relative, which I now avoid like the plague. (Unfortunately, I was suckered into using it when I started using Lilypond over a decade ago, so all my legacy code is in \relative mode. Using Frescobaldi, I’m slowly converting all my old code to absolute mode.)

Cheers,
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]