bug-lilypond
[Top][All Lists]
Advanced

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

Re: lilypond-book


From: Han-Wen Nienhuys
Subject: Re: lilypond-book
Date: Wed, 13 Oct 2004 01:37:58 +0200

address@hidden writes:
> 
> 
> Werner LEMBERG wrote:
> >>Are you saying that the trick used in \verb is bad or just that
> >>we should never mention the example below in any documentation
> >>or that we should use the \verb trick but handle pairing characters
> >>specially?
> > 
> > 
> > The last one.  All editors will benefit.
> 
> Agreed! Unfortunately, the implementors will suffer. A direct
> implementation of the \verb trick is a one line change (see the
> attachment), whereas your suggestion is much harder to implement without
> major surgery to the current lilypond-book implementation.

Is it that difficult? I would say it is a matter of doing

  \\lilypond({(?P<code>[^}]+)}|(?P<delim>.)(?P<code>.*)(?P=delim))

-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

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