But if you remove all instances of ' and , then you're assuming that all notes are less than a fifth away from the preceding note - most unlikely.
Nick > -----Original Message----- > From: lilypond-user-bounces+nick.payne=internode.on....@gnu.org > [mailto:lilypond-user-bounces+nick.payne=internode.on....@gnu.org] On > Behalf Of David Bobroff > Sent: Friday, 19 June 2009 3:58 PM > To: Father Gordon Gilbert > Cc: lilypond-user@gnu.org > Subject: Re: getting rid of ' and , in older scores > > jEdit, or any decent editor for that matter, has a 'search/replace' > function. Can't you simply search for ' and , and replace with > <nothing>? This would cost you a few seconds per file. I imagine that > you could also use sed to do this even faster. > > -David > > Father Gordon Gilbert wrote: > > Hi all, > > > > I've quite a number of older scores I've worked on over the years, > starting > > with version 2.2.0 (and some from Mutopia even older than that. I > have > > successfully used convert-ly on them to bring syntax up-to-date. But > I did > > many of them before \relative was as easy-to-use as it is now -- even > just > > using ' and '' and , and ,, to indicate octave ranges. > > > > I'd like to put \relative at the top of all my part sections, and > delete all > > the octave markers. Is there any *elegant* way to go through these > scores > > and eliminate all of the ' and , without deleting each and every one? > > > > I'm using LilyPond 2.12.1 on either Windows XP Home or Ubuntu Jaunty, > with > > jEdit 4.3pre16 and LilyPondTool. > > > > I always appreciate the valuable advice see on this list. > > > > Blessings, > > > > Gordon+ > > > > > > > > --------------------------------------------------------------------- > --- > > > > _______________________________________________ > > lilypond-user mailing list > > lilypond-user@gnu.org > > http://lists.gnu.org/mailman/listinfo/lilypond-user > > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.339 / Virus Database: 270.12.79/2186 - Release Date: > 06/18/09 17:59:00 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user