[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bars
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Bars |
Date: |
30 Apr 2001 12:36:23 +0200 |
User-agent: |
Gnus/5.090003 (Oort Gnus v0.03) Emacs/20.7 |
Juergen Reuter <address@hidden> writes:
> Well, to be honest, I am not very lucky yet...
Wow, do you really need this much code? Will look at it later.
Ok, I don't have much time (we're celebrating Queens day today), but
as a quick hack, you might try to have the bar-lines generated, but
make them very small. In this example they're still big, so that you
see what I mean, but if you make them 0.1 high, they're just as high as
the middle staffline...
\score {
\notes \relative c' \context StaffGroup = groupie <
\context Staff = SA { c1 c1 c1}
\context Lyrics = LA \lyrics <
{ bla1 die bla }
>
\context Staff = SB { a1 a1 a1}
\context Lyrics = LB \lyrics <
{ bla1 die bla }
{ foo bar foo }
>
\context Staff = SC { f1 f1 f1}
\context Lyrics = LC \lyrics <
{ bla1 die bla }
{ foo bar foo }
{ foo bar foo }
>
\context Staff = SD { d1 d1 d1}
\context Lyrics = LD \lyrics <
{ bla1 die bla }
{ foo bar foo }
{ foo bar foo }
{ foo bar foo }
>
>
\paper {
\translator {
\StaffContext
whichBar = #"|."
BarLine \override #'bar-size = #1
}
}
> And, finally, one other thing: PLEASE, PLEASE fix ly2dvi so that it
> aborts with an error message, if lilypond segfaults. It cost me at
> least one hour to track down a silly seg fault, because lily crashed,
> but the output on the screen looked as if lily had exited normally,
> followed by a successful LaTeX run on lily's (due to the crash)
> incomplete output.
That's easy, you could have done that yourself :-) It seems that err
codes returned by os.system are *not* shifted left one byte, as I
thought they always were -- will have to look into this.
Greetings,
Jan.
--- scripts/ly2dvi.py~ Sun Apr 29 13:57:29 2001
+++ scripts/ly2dvi.py Mon Apr 30 12:10:01 2001
@@ -284,7 +284,7 @@
cmd = "sh -c \'%s\'" % cmd
if verbose_p:
progress (_ ("Invoking `%s\'") % cmd)
- st = os.system (cmd) >> 8
+ st = os.system (cmd)
if st:
name = re.match ('[ \t]*([^ \t]*)', cmd).group (1)
msg = name + ': ' + _ ("command exited with value %d") % st
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
- Bars, Juergen Reuter, 2001/04/20
- Bars, Han-Wen Nienhuys, 2001/04/22
- Re: Bars, Rune Zedeler, 2001/04/22
- Re: Bars, Juergen Reuter, 2001/04/24
- Re: Bars, Han-Wen Nienhuys, 2001/04/24
- Re: Bars, Juergen Reuter, 2001/04/29
- Re: Bars,
Jan Nieuwenhuizen <=
- Re: Bars, Han-Wen Nienhuys, 2001/04/30