Re: LilyPond hangs on os x

2012-07-24 Thread m...@apollinemike.com
On 6 juil. 2012, at 08:51, David Kastrup wrote:

 m...@mikesolomon.org m...@mikesolomon.org writes:
 
 Hey all,
 
 I'm running LilyPond on the command line from Mac OS X and it is
 hanging right after printing the version.  I downloaded several
 versions (stable, unstable, previous unstable) and it happens with all
 of them.  This is a recent-ish development (about 5 days ago or so).
 
 So what changed in your setup?
 
 Is there a tool I could use to diagnose on what function call the
 hangup happens?
 
 Have you tried running LilyPond under gdb?  In that case, just pressing
 C-c should get you back into the debugger, and bt should give you a
 backtrace.
 
 -- 
 David Kastrup
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

Oddest thing...running GDB on LilyPond made LilyPond work and now it just 
works...as if LilyPond feared GDB.  I know I do...

Cheers,
MS


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


About Vertical Spacing

2012-07-24 Thread developer
Hello,
I am a lilypond user, lilypond is a very good software that help me 
show scores. In recently, I want to develop something based on lilypond. That 
is a program play a music and showing a scrolled score. I plan to put the 
pdf(lilypond created) as a background and put a cursor on the playing note. In 
the Spacing Chapter of the mumal, I find the horizontal rule of spacing and now 
I can estimate space between two notes. But in vertical, I don't know how to 
estimate to space between to score. 

Could you help me?  Thanks.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Installing LilyPond man pages

2012-07-24 Thread james

On Jul 15, 2012, at 7:58 PM, macula wrote:

 
 Dear collective wisdom,
 
 For the life of me, I have been trying to make the LilyPond man pages
 accessible on MacOS. I am a reasonably experienced user of the Mac terminal
 (Bash shell) but this seemingly simple challenge has defeated me. I have
 tinkered with the /etc/man.conf file, tried the manpaths.d method, even
 tried to just dump the LilyPond man files in the standard
 /usr/local/share/man. Nothing, absolutely nothing has been successful.
 
 In a nutshell: if any of you MacOS users has successfully done this, could
 you please tell me how? Where did  you place the man files? And did you make
 any modifications to /etc/man.conf?
 
 Thank you!

I install the manpages (and info files) on OSX, but, I also build the entire 
documentation along with it. It might be easier to build the entire 
documentation, then the manfiles get installed.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: About Vertical Spacing

2012-07-24 Thread Huang
Do you mind to share how you found the horizontal rule of spacing? I am
interested in it too.

Thanks,
Herbert

On Tue, Jul 24, 2012 at 5:35 AM, developer lcllkz...@gmail.com wrote:

 Hello,
 I am a lilypond user, lilypond is a very good software that help me show
 scores. In recently, I want to develop something based on lilypond. That is
 a program play a music and showing a scrolled score. I plan to put the
 pdf(lilypond created) as a background and put a cursor on the playing note.
 In the Spacing Chapter of the mumal, I find the horizontal rule of spacing
 and now I can estimate space between two notes. But in vertical, I don't
 know how to estimate to space between to score.

 Could you help me?  Thanks.


 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: About Vertical Spacing

2012-07-24 Thread Tim Roberts
developer wrote:
 Hello,
 I am a lilypond user, lilypond is a very good software that help me
 show scores. In recently, I want to develop something based on
 lilypond. That is a program play a music and showing a scrolled score.
 I plan to put the pdf(lilypond created) as a background and put a
 cursor on the playing note. In the Spacing Chapter of the mumal, I
 find the horizontal rule of spacing and now I can estimate space
 between two notes. But in vertical, I don't know how to estimate to
 space between to score.

So, are you just estimating the position of each note, based on nothing
more than elapsed time?  You aren't, for example, parsing the PDF file
to try to determine the actual locations of the notes?

I'm not convinced that such an approach can be made to work.  The rules
that make Lilypond output so beautiful intentionally move notes away
from their strictly time-based position.  Further, notes are sometimes
spread out to fill out a staff that would otherwise be too short.

My apologies if I have misunderstood, but I'd like to know more about
what you're doing.

-- 
Tim Roberts, t...@probo.com
Providenza  Boekelheide, Inc.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


NoteHead-stencil-override from inside a LedgerLineSpanner-override

2012-07-24 Thread Thomas Morley
Hi,

I tried to investigate the impacts of an NoteHead-stencil-override,
concerning Accidentals, Stems and LedgerLines using the override below
(representing a more complicated  one).

\override NoteHead #'stencil =
  #(lambda (grob)
(let* ((stencil (ly:note-head::print grob))
   (new-stil (grob-interpret-markup grob
(markup #:box #:pad-markup 2 #:stencil stencil
new-stil))

Applying this will move Accidentals and Stems away from the
default-note-head, LedgerLines will be elongated.

With great help from Keith I managed to restore the stem-attachment.
→ http://lists.gnu.org/archive/html/lilypond-user/2012-07/msg00230.html

Now I tried to tackle the LedgerLines. But I found no feasible method
to address the LedgerLines from inside a NoteHead-stencil-override.
And more, it only seems to be possible to manipulate Ledgerlines at
the very start of a voice:
http://lists.gnu.org/archive/html/lilypond-user/2011-04/msg00497.html ff,
or with restarting-staff-trickery.

Well, ok, I tried it the other way. Creating a
LedgerLineSpanner-stencil-override:

I'm able to address the note-heads without problems.
Surprisingly Accidentals and Stems aren't moved, the LedgerLine isn't
elongated (why not?), although I've used the same
stencil-override-code for the note-heads.

Disadvantage:
I have to set \startStaff and \stopStaff which inserts some unwanted
additional space.

%%

\version 2.15.42

ls =
\once \override Staff.LedgerLineSpanner #'stencil =
  #(lambda (grob)
(let* ((stencil (ly:ledger-line-spanner::print grob))
   (default-nh-stil (ly:note-head::print grob))
   (new-nh-stil (grob-interpret-markup grob
(markup #:box #:pad-markup 1.7 #:stencil default-nh-stil)))
   (note-head-grobs (ly:grob-array-list
(ly:grob-object grob 'note-heads)))
   (nh-stencils
 (map!
   (lambda (x) (ly:grob-set-property! x 'stencil new-nh-stil))
 note-head-grobs))
)
nh-stencils
stencil))

%---test

\relative c' {
c4 a
\stopStaff \ls \startStaff
cis e''8[ aeses']
\stopStaff \revert Staff.LedgerLineSpanner #'stencil \startStaff
cis, e''8 aeses \break
c4 a cis e''8[ aeses'] cis, e''8 aeses
}

% I added layout and paper to facilitate comparing the lines.
\paper { indent = 0 }

\layout {
\context {
\Staff
\override TimeSignature #'stencil = #empty-stencil
}
}



Questions:
How to avoid or reduce the additional space?
Am I using the side-effects of a bug?

Or is a completely other approach overriding NoteHead-stencils thinkable?


Regards,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user