Graham Percival | 1 Aug 2009 01:37
Picon
Favicon

Re: sorting texinfo indices?

On Fri, Jul 31, 2009 at 01:11:02PM -0700, Mark Polesky wrote:
> 
> ...from which texinfo magically generates IR A. "Indices":
> http://kainhofer.com/~lilypond/Documentation/internals/Indices.html
> 
> I'd like the list (and others like it) to be sorted according to
> the algorithm in scm/lily-sort.scm. Judging from recent threads, I
> figure some python tweaking would be necessary? I'm not about to
> learn python, but does anyone know how this could be done?

- download the texinfo source code.  It's in C.
- download the texi2html source code.  It's in perl.
- implement your favorite sorting routine as an optional feature
  in both those projects.  Alternately, add hooks to those
  projects so that users can specify their own sorting routines in
  some language.
- wait 1 year for new releases to come out in those projects
- get the sorting you want in those indexes.

As I said in
http://lists.gnu.org/archive/html/lilypond-devel/2009-07/msg00710.html
it's pretty much beyond our control, and IMO totally not worth the
effort involved.

Cheers,
- Graham
Graham Percival | 1 Aug 2009 02:09
Picon
Favicon

Re: working on the web front page

On Fri, Jul 31, 2009 at 11:51:09AM -0700, Patrick McCarty wrote:
> On Fri, Jul 31, 2009 at 11:03 AM, Francisco Vila<paconet.org <at> gmail.com> wrote:
> > 2009/7/31 Graham Percival <graham <at> percival-music.ca>:
> >
> >> I guess my basic complaint is that the logo doesn't do anything
> >> for me -- a lily pad has nothing to do with notation.  I'd be
> >> happier if it had something musical in it.
> >
> > Here I propose a possible solution. Merge John's snippet (made
> > transparent) with the lily logo and you have a lily logo with music.
> 
> Thanks!  I added this to the web-gop branch.

I like it!  Although, could the lily be shrunk to about 50% of the
current size?  It obscures a bit too much of the music.

We might also want to find a more complicated / fancier snippet;
maybe some lyrics + the top staff of a piano?

Cheers,
- Graham
Graham Percival | 1 Aug 2009 02:13
Picon
Favicon

Re: updating THANKS

On Fri, Jul 31, 2009 at 12:55:47PM -0300, Han-Wen Nienhuys wrote:
> On Thu, Jul 30, 2009 at 11:22 PM, Mark Polesky<markpolesky <at> yahoo.com> wrote:
> > here are some proposed updates for THANKS. I don't know who usually
> > takes care of this and/or who decides which names go where, but here are
> 
> You can make an EMERITUS section and put my name there, I think.  I
> can't recall any major change that I contributed to 2.13.

You reviewed patches and explained some of the internal details.
IMHO, that's plenty.  At least, plenty to be a "development team".
If you'd rather be listed as "Reviewer and emeritus professor" or
something like that, I won't object.  :)   But I still think you
should be in the main team.

Cheers,
- Graham
Patrick McCarty | 1 Aug 2009 03:46
Picon
Gravatar

Re: \eyeglasses bbox problem

On Thu, Jul 30, 2009 at 6:54 AM, Werner LEMBERG<wl <at> gnu.org> wrote:
>
> [git 17492869]
>
> The \eyeglasses example image in notation-big-page.html is apparently
> cut off at the right.  This probably indicates that the bounding box
> of this glyph has incorrect values.

Thanks for the report.

In current git, the bbox should be more accurate.

-Patrick
Mark Polesky | 1 Aug 2009 03:58
Picon
Favicon

Re: cross-staff versions of \arpeggioArrowUp etc.


Mark Polesky wrote:

> Interesting idea. As a first attempt, I tried making the functionality
> of the \arpeggioArrowUp command dependent on the 'connectArpeggios
> context property, but obviously I'm doing something wrong. Does anyone
> know why this doesn't work? Can anyone see how to make this work? If
> not, are there other oppositions to my earlier solution of defining new
> commands?

I think I might have figured out how to make \arpeggioArrowUp and
its kin select the appropriate context depending on whether 
'connectArpeggios is set. Can someone look at this and check to
make sure it's legit?

Thanks!
- Mark

*****************
\version "2.13.3"

#(define (arpeggio-generic context pushpops)
  (let* ((PianoStaff (ly:context-find context 'PianoStaff))
         (target (if (and PianoStaff
                          (eq? #t
                               (ly:context-property PianoStaff
                                                    'connectArpeggios)))
                     PianoStaff
                     context)))
    (for-each
(Continue reading)

Mark Polesky | 1 Aug 2009 04:04
Picon
Favicon

Re: cross-staff versions of \arpeggioArrowUp etc.


Mark Polesky wrote:

>       ;; not sure if the conditional tests are necessary
>       (if PianoStaff
>           (arpeggio-generic PianoStaff
>             `(stencil X-extent arpeggio-direction dash-definition)))
>       (if Staff
>           (arpeggio-generic Staff
>             `(stencil X-extent arpeggio-direction dash-definition)))

One small thing - just figured out that the above conditional
tests *are* necessary.
- Mark
Joe Neeman | 1 Aug 2009 04:13
Picon

Re: cross-staff versions of \arpeggioArrowUp etc.

On Fri, 2009-07-31 at 18:58 -0700, Mark Polesky wrote:
> Mark Polesky wrote:
> 
> > Interesting idea. As a first attempt, I tried making the functionality
> > of the \arpeggioArrowUp command dependent on the 'connectArpeggios
> > context property, but obviously I'm doing something wrong. Does anyone
> > know why this doesn't work? Can anyone see how to make this work? If
> > not, are there other oppositions to my earlier solution of defining new
> > commands?
> 
> I think I might have figured out how to make \arpeggioArrowUp and
> its kin select the appropriate context depending on whether 
> 'connectArpeggios is set. Can someone look at this and check to
> make sure it's legit?

Have you tried using ly:context-property-where-defined instead of
searching for PianoStaff explicitly? There are non-PianoStaff contexts
containing Span_arpeggio_engraver, after all. Other than that, this is a
very cool trick!

Joe
Mark Polesky | 1 Aug 2009 06:05
Picon
Favicon

Re: cross-staff versions of \arpeggioArrowUp etc.


Joe Neeman wrote:

> Have you tried using ly:context-property-where-defined instead of
> searching for PianoStaff explicitly? There are non-PianoStaff contexts
> containing Span_arpeggio_engraver, after all. Other than that, this is a
> very cool trick!

Joe,

Thanks for the tip. I rewrote arpeggio-generic with ly:context-
property-where-defined and also made some changes to arpeggioNormal.

Also, line 281 of property-init.ly says this:

% For drawing vertical chord brackets with \arpeggio
% This is a shorthand for the value of the print-function property 
% of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether 
% cross-staff brackets are desired. 

This is completely false, right? Otherwise these commands would work
without the \applyContext gymnastics I've been coding in this thread.
If my code (below) gets approved, I think I'll either remove the
comment it or change it to:

% These commands look for 'connectArpeggios (cross-staff arpeggios)
% to determine the proper context in which to operate.

Any objections? How close is this to being acceptable? I'll wait for
approval.
(Continue reading)

Mark Polesky | 1 Aug 2009 07:08
Picon
Favicon

Re: cross-staff versions of \arpeggioArrowUp etc.


Mark Polesky wrote:

> Any objections? How close is this to being acceptable? I'll wait for
> approval.

Okay, this is not ready yet. I found a confusing problem. When setting
connectArpeggios to #f after it has been #t, there's some issue with
the unreverted PianoStaff stencil somehow overriding the new Voice
stencil. Or something. I'm not really sure -- it's confusing.

You can see it in action below (note that you need the definitions
from the previous post for this to make sense).

Maybe it's because I'm so tired, but this is so confusing to me that I
feel that anyone who is able to explain this ought to get a special
prize. Unfortunately, I don't have any special prizes to give.

Sometimes computer programming reminds me of this:
http://www.puzzlemethis.com/cgi-bin/puzzle/scan/st=db/ml=33/co=yes/sf=category/se=Disentangle%20%26%20Blacksmith/op=eq.html
Does anyone else feel like this from time to time?
I think I'd feel better if I knew that you guys did!
- Mark

\new PianoStaff \relative <<
  \new Staff {
    <c e g>4\arpeggio
    \set PianoStaff.connectArpeggios = ##t

    %% bizarre...
(Continue reading)

Patrick McCarty | 1 Aug 2009 07:19
Picon
Gravatar

scm/kpathsea.scm

Hello,

Is scm/kpathsea.scm used anymore?  If not, can it be removed from
LilyPond's source?

Thanks,
Patrick

Gmane