lilypond-user
[Top][All Lists]
Advanced

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

Re: adding to the LSR


From: Reinhold Kainhofer
Subject: Re: adding to the LSR
Date: Wed, 29 Apr 2009 16:53:55 +0200
User-agent: KMail/1.11.2 (Linux/2.6.27-14-generic; KDE/4.2.2; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mittwoch, 29. April 2009 15:57:18 Valentin Villenave wrote:
> 2009/4/29 Graham Percival <address@hidden>:
>
> 2009/4/29 Graham Percival <address@hidden>:
> > Yes and no.  It would be a great strategy, if we had any clue what
> > the status of LSR was.  Until we have some kind of indication as
> > to when the change can happen, and how it should happen, I
> > question whether any of this work is worthwhile.
> > Valentin, what's the latest?
>
> No news from Seba. Of course, we may install a temporary LSR on my
> server (or Reinhold's).

When the LSR had stability problems a while ago, I tried setting up the LSR on 
my server, but I couldn't get the java stuff to work (the kubuntu packages 
don't seem to install all the jars in a directory that is automatically 
available in the classpath, and back then I couldn't give a directory in the 
class path, only individual jars, so the classpath would be several thousand 
characters long...).

> > Is it worth defining our own function
> >  replaceOnly("\\octave", ...)
> > which does
> >  re.sub("\\octave[?a-z,A-Z]", ...)
> > or whatever the regex was?
>
> An even more drastic way would be to redefine re.sub so we don't have
> to search-and-replace through the whole script :-)

That won't work, because some occurrences of re.sub don't check for a static 
string, but contain other arguments, e.g.:

re.sub ('\\\\textstyle([^;]+);',
                             '\\\\property Lyrics . textstyle = \\1', str)

Cheers,
Reinhold

- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJ+GoETqjEwhXvPN0RAk1jAJ9ZmrJSGizrt5IaLxf1gj/okBKEEgCfXqqg
hWiiiaFkT2TQtw/pyhkfrR0=
=ZDgi
-----END PGP SIGNATURE-----




reply via email to

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