Re: nested staffgroups broken in 2.11.64

2008-12-01 Thread Simon Bailey
is there any way i can get hold of the sources for the  
documentation? i
hope to get time this week to have a look at texinfo, then i'll see  
what

i can come up with ? if that's ok with the documentation ppl.


They're in the main git branch.  If you only want to tweak the
css, it might be easier to play with that independently and send a
patch for that single file.

"AU 1.2.4 Building the docs without compiling lilypond" might help
as well.



thx graham. i'll have a look at it this week.

regards,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



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


Re: nested staffgroups broken in 2.11.64

2008-12-01 Thread Graham Percival
On Mon, Dec 01, 2008 at 11:36:29AM +0100, Simon Bailey wrote:
>
> is there any way i can get hold of the sources for the documentation? i 
> hope to get time this week to have a look at texinfo, then i'll see what 
> i can come up with ? if that's ok with the documentation ppl.

They're in the main git branch.  If you only want to tweak the
css, it might be easier to play with that independently and send a
patch for that single file.

"AU 1.2.4 Building the docs without compiling lilypond" might help
as well.

Cheers,
- Graham


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


Re: nested staffgroups broken in 2.11.64

2008-12-01 Thread Simon Bailey


On Nov 28, 2008, at 8:12 PM, Patrick McCarty wrote:

The documentation does not use frames; the layout is achieved with CSS
only.  The accessibility issue you mention is one primary motivation
behind this.


ah. the full height float on the left was irritating me.


The problem of getting the layout working well with various screen
resolutions is a known issue (it's under `CSS Issues'):

http://wiki.kainhofer.com/lilypond/texi2html_issues

Do you have any ideas for a documentation layout for small resolution
displays (e.g. mobile devices)?



i can think of a few possibilities. one would be to have the menu  
displayed at the bottom of the page, the same way it's displayed in  
text browsers – however accessing the menu would then require you to  
scroll all the way down; painful with long pages. the main problem i  
was having is with mobile safari not liking multiple scroll elements  
on a single page. another idea (which i'd have to play around with)  
would be to create a "mobile" version of the docs with the menu  
structure acting in a drill-down like way and accessing single  
documentation pages that way. (yes, i admit, i'm an iphone user). such  
a menu structure will probably also work for other mobile devices and  
browsers.


usage scenario: on the train, no internet connection except on the  
smartphone and hacking lilypond files after forgetting to download the  
pdf docs before leaving.


is there any way i can get hold of the sources for the documentation?  
i hope to get time this week to have a look at texinfo, then i'll see  
what i can come up with – if that's ok with the documentation ppl.


regards,
sb

--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



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


Re: nested staffgroups broken in 2.11.64

2008-11-28 Thread Patrick McCarty
Hi Simon,

On Fri, Nov 28, 2008 at 2:11 AM, Simon Bailey <[EMAIL PROTECTED]> wrote:
>
> btw, is there a possibility to see the documentation w/out frames? i tried
> browsing it this morning on the way to work on a mobile device, and the
> browser there doesn't support frames. would be nice if there was a version
> without frames. from another point of view, i could imagine that the frame
> setup would be problematic for visually-impaired users (such as hai-peng)
> using screen readers. is this the case?

The documentation does not use frames; the layout is achieved with CSS
only.  The accessibility issue you mention is one primary motivation
behind this.

The problem of getting the layout working well with various screen
resolutions is a known issue (it's under `CSS Issues'):

http://wiki.kainhofer.com/lilypond/texi2html_issues

Do you have any ideas for a documentation layout for small resolution
displays (e.g. mobile devices)?

Thanks,
Patrick


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


Re: nested staffgroups broken in 2.11.64

2008-11-28 Thread Simon Bailey

graham,

On Nov 28, 2008, at 9:29 AM, Graham Percival wrote:
<...SNIP...>
reinhold's site is the official documentation... At least it's the  
one

that everyone links to...


The official documentation is at lilypond.org.


thanks graham for the info.


Guys, please stop pointing to kainhofer.  Use it internally for
doc work, but don't send the URLs to -user.



this has been confusing me for a while. good to see it clarified.

btw, is there a possibility to see the documentation w/out frames? i  
tried browsing it this morning on the way to work on a mobile device,  
and the browser there doesn't support frames. would be nice if there  
was a version without frames. from another point of view, i could  
imagine that the frame setup would be problematic for visually- 
impaired users (such as hai-peng) using screen readers. is this the  
case?


just to clarify, i'm not complaining about the "new" form of the  
documentation. i find the list of contents in a navigation frame  
really handy when using a full fledged browser. i'm just pondering the  
problems that frames may pose to alternate forms of browsing.


regards,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



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


Re: nested staffgroups broken in 2.11.64

2008-11-28 Thread Graham Percival
On Fri, Nov 28, 2008 at 09:19:23AM +0100, Simon Bailey wrote:
> Where's the documentation for the current unstable (i.e. 2.11.64)
> release? I was under the impression that the documentation at
> reinhold's site is the official documentation... At least it's the one
> that everyone links to...

The official documentation is at lilypond.org.


Guys, please stop pointing to kainhofer.  Use it internally for
doc work, but don't send the URLs to -user.

Cheers,
- Graham


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


Re: nested staffgroups broken in 2.11.64

2008-11-28 Thread Simon Bailey
On 11/28/08, Neil Puttock <[EMAIL PROTECTED]> wrote:
> Hi Simon,
>
> The documentation at kainhofer.com reflects the latest build from the
> git repository; the new syntax won't be available until the next
> development release (which is most likely imminent).
>

Where's the documentation for the current unstable (i.e. 2.11.64)
release? I was under the impression that the documentation at
reinhold's site is the official documentation... At least it's the one
that everyone links to...

Thanks for the info though.
Regards,
Sb
> Regards,
> Neil
>


-- 
Do not meddle in the affairs of trombonists, for they are subtle and
quick to anger.


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


Re: nested staffgroups broken in 2.11.64

2008-11-27 Thread Neil Puttock
Hi Simon,

2008/11/27 Simon Bailey <[EMAIL PROTECTED]>:

> on my box (mac os x, leopard using 2.11.64 darwin-ppc) i get the attached
> image "weird-nested-staffgroup.png". what gives?

The documentation at kainhofer.com reflects the latest build from the
git repository; the new syntax won't be available until the next
development release (which is most likely imminent).

Regards,
Neil


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


Re: nested staffgroups broken in 2.11.64

2008-11-27 Thread 今井雄治
Hi, Simon.

Use "InnerStaffGroup" in StaffGroup.
How about like this:

\score {
\new StaffGroup <<
\set StaffGroup.systemStartDelimiterHierarchy
= #'(SystemStartSquare (SystemStartBracket a
(SystemStartBrace b c)) d)
\new Staff {
\set Staff.instrumentName = "Violin I Solo"
\set Staff.shortInstrumentName="Vl. Solo"
\violIsolop
}
\new Staff = "vIupper" {
\set Staff.instrumentName = "Violin I.I"
\set Staff.shortInstrumentName = "VI.I"
<<
\globalScore
\vIupper
>>
}
\new Staff {
\set Staff.instrumentName = "Violin I.II"
\set Staff.shortInstrumentName = "VI.II"
\violIp
}
\new Staff {
\set Staff.instrumentName = "Contrabasso"
\set Staff.shortInstrumentName = "Cb."
\cbp
}
>>
\layout {}
}

2008/11/28 Simon Bailey <[EMAIL PROTECTED]>:
> hi,
>
> according to the documentation at :
> http://kainhofer.com/~lilypond/Documentation/user/lilypond/Displaying-staves.html#Nested-staff-groups
>
> the following code should produce the image shown in the documentation.
>
> \score {
>  \relative c'' {
>\new StaffGroup <<
>  \new Staff { c2 c | c2 c }
>  \new StaffGroup <<
>\new Staff { g2 g | g2 g }
>\new StaffGroup \with {
>  systemStartDelimiter = #'SystemStartSquare
>}
><<
>  \new Staff { e2 e | e2 e }
>  \new Staff { c2 c | c2 c }
>>>
>  >>
>>>
>  }
> }
>
> on my box (mac os x, leopard using 2.11.64 darwin-ppc) i get the attached
> image "weird-nested-staffgroup.png". what gives?
>
> i ran into this while trying to fix a problem with the following code:
>
> %%%
> \score {
>\new StaffGroup <<
>\new StaffGroup <<
>  \new Staff {
>\set Staff.instrumentName = "Violin I Solo"
>\set Staff.shortInstrumentName="Vl. Solo"
>\violIsolop
>  }
>\new StaffGroup  <<
>\new Staff = "vIupper" <<
>  \set Staff.instrumentName = "Violin I.I"
>  \set Staff.shortInstrumentName = "VI.I"
>  \globalScore
>  \vIupper
>>>
>\new Staff {
>  \set Staff.instrumentName = "Violin I.II"
>  \set Staff.shortInstrumentName = "VI.II"
>  \violIp
>}
>>>
>>>
>\new Staff {
>  \set Staff.instrumentName = "Contrabasso"
>  \set Staff.shortInstrumentName = "Cb."
>  \cbp
>}
>>>
>\layout {}
> }
> %%%
>
> this snippet gives me a wrong ordering of the staves. see attached image
> "wrong-staff-order.png" – here you can see that the contrabasso staff is
> printed first, even though common sense would dictate it come last.
> furthermore, the staffgroups aren't nesting properly – Violin I.I & I.II
> should have 3 levels of staffbraces...
>
> help? full source code of my example is in weirdness.ly.
>
> regards,
> sb
> --
> Simon Bailey
> Oompa Loompa of Science
> +43 699 190 631 25
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user


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


nested staffgroups broken in 2.11.64

2008-11-27 Thread Simon Bailey

hi,

according to the documentation at : 
http://kainhofer.com/~lilypond/Documentation/user/lilypond/Displaying-staves.html#Nested-staff-groups

the following code should produce the image shown in the documentation.

\score {
  \relative c'' {
\new StaffGroup <<
  \new Staff { c2 c | c2 c }
  \new StaffGroup <<
\new Staff { g2 g | g2 g }
\new StaffGroup \with {
  systemStartDelimiter = #'SystemStartSquare
}
<<
  \new Staff { e2 e | e2 e }
  \new Staff { c2 c | c2 c }
>>
  >>
>>
  }
}

on my box (mac os x, leopard using 2.11.64 darwin-ppc) i get the  
attached image "weird-nested-staffgroup.png". what gives?


i ran into this while trying to fix a problem with the following code:

%%%
\score {
\new StaffGroup <<
\new StaffGroup <<
  \new Staff {
\set Staff.instrumentName = "Violin I Solo"
\set Staff.shortInstrumentName="Vl. Solo"
\violIsolop
  }
\new StaffGroup  <<
\new Staff = "vIupper" <<
  \set Staff.instrumentName = "Violin I.I"
  \set Staff.shortInstrumentName = "VI.I"
  \globalScore
  \vIupper
>>
\new Staff {
  \set Staff.instrumentName = "Violin I.II"
  \set Staff.shortInstrumentName = "VI.II"
  \violIp
}
>>
>>
\new Staff {
  \set Staff.instrumentName = "Contrabasso"
  \set Staff.shortInstrumentName = "Cb."
  \cbp
}
>>
\layout {}
}
%%%

this snippet gives me a wrong ordering of the staves. see attached  
image "wrong-staff-order.png" – here you can see that the contrabasso  
staff is printed first, even though common sense would dictate it come  
last. furthermore, the staffgroups aren't nesting properly – Violin  
I.I & I.II should have 3 levels of staffbraces...


help? full source code of my example is in weirdness.ly.

regards,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25
<><>

weirdness.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Nested StaffGroups

2004-11-20 Thread Ruud van Silfhout
Hi Aaron,

The syntax for the definition of notes and lyrics has IMO no relation with
the scheme syntax. I think it has more resemblence with TeX than Scheme,
albeit that it is a separate language of its own. The scheme syntax is more
used when parameters are set/tweaked and you can add scheme  functions to
the lilypond code if you want lilypond to do things,  which are not (yet)
possible with lilypond.

The syntax element << >> defines that music is played simultaneously whereas
{ } defines music that is played sequentially.
See also
http://lists.gnu.org/archive/html/lilypond-user/2004-11/msg00494.html

This syntax is briefly described in
http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/Music-expre
ssions-explained.html#Music-expressions-explained

Have fun!

Regards,
Ruud van Silfhout

- Original Message -
From: "Aaron Dalton" <[EMAIL PROTECTED]>
To: "Ruud van Silfhout" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, November 20, 2004 6:50 AM
Subject: Re: Nested StaffGroups


> Ruud van Silfhout wrote:
> > Hi Aaron,
> >
> > In the user manual  is a section on orchestral scores.
> > Using that I made the following example.  Can this be of any help to
you?
> >
> > Ruud
>
> Thank you very much, Ruud!  That cleared up a few misunderstandings I
> was having about syntax.
>
> On that subject, I have never used Scheme in my life.  Is the Lilypond
> syntax closely tied to Scheme syntax?  Would I understand better how to
> write Lilypond scores if I knew Scheme?  I'm just finding it difficult
> to know where to put << >> for example as opposed to { } and other
> piddly things like that.  Is there a section of documentation somewhere
> that goes over the intimate details of Lilypond syntax?
>
> Thanks again for your time and assistance.
> Cheers!
> Aaron



___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Nested StaffGroups

2004-11-19 Thread Aaron Dalton
Ruud van Silfhout wrote:
Hi Aaron,
In the user manual  is a section on orchestral scores. 
Using that I made the following example.  Can this be of any help to you?

Ruud
Thank you very much, Ruud!  That cleared up a few misunderstandings I 
was having about syntax.

On that subject, I have never used Scheme in my life.  Is the Lilypond 
syntax closely tied to Scheme syntax?  Would I understand better how to 
write Lilypond scores if I knew Scheme?  I'm just finding it difficult 
to know where to put << >> for example as opposed to { } and other 
piddly things like that.  Is there a section of documentation somewhere 
that goes over the intimate details of Lilypond syntax?

Thanks again for your time and assistance.
Cheers!
Aaron
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Nested StaffGroups

2004-11-18 Thread Ruud van Silfhout
Hi Aaron,

In the user manual  is a section on orchestral scores. 
Using that I made the following example.  Can this be of any help to you?

\version "2.2.2"
global = \notes { \time 4/4 \key c \major }

\score {
<<
 \new GrandStaff <<
\new Staff \notes \relative c' { \global c1 c }
\new Staff \notes \relative c' { \global c c }
  >>
  \new StaffGroup <<
\new Staff \notes \relative c' { c1 c }
\new Staff \notes \relative c' { c c }
  >>
  \new Staff \notes \relative c' { \global c1 c }
  \new Staff \notes \relative c' { \global c c }
>>
}

Bye,
Ruud
Regards,
Ruud van Silfhout
- Original Message - 
From: "Aaron Dalton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 18, 2004 7:45 PM
Subject: Nested StaffGroups


> I am running Lilypond 2.2.5 via cygwin on an XP box.  I have access to 
> 2.2.3 on my FreeBSD box but I get the same results.
> 
> I am trying to duplicate a section of a Baroque opera score.  I is a 
> single system with 5 staves.  The top 3 are Violin1, Violin2, and Viola. 
>This is followed by a staff for the voice and a staff for the 
> continuo.  All 5 staves should be connected at the beginning with a 
> single line.  The top three staves should be braced, and the the top *2* 
> staves should be further grouped with a bracket.  I have included my 
> current .ly file for examination.  I believe I have correctly followed 
> the example in section 3.3.8 of the documentation.  When I compile this 
> document, I get all 5 staves grouped together with a single brace and 
> all the barlines shared.
> 
> On a side note, I am very new to Lilypond syntax in general.  There 
> *has* to be a way to declare time and key signature for all staves in 
> one place.  If I put it after the \score delcaration I get a syntax 
> error and if I put it after the \notes declaration it only affects the 
> first staff.
> 
> I *greatly* appreciate any help you can offer.
> 
> Cheers!
> Aaron
> 
> -
> 
> \score {
> \notes {
> \context StaffGroup << % groups all 5 staves
> \context StaffGroup << % groups the top 3 staves
> \context StaffGroup << % further groups the top 2 staves
> \new Staff {
> \clef treble
> \time 4/4
> \key a \major
> {s1 | s1}
> }
> \new Staff {
> \clef treble
> \time 4/4
> \key a \major
> {s1 | s1}
> }
> >> % end top 2 staves
> \new Staff {
> \clef alto
> \time 4/4
> \key a \major
> {s1 | s1}
> }
> >> % end top 3 staves
> \new Staff {
> \clef treble
> \time 4/4
> \key a \major
> {s1 | s1}
> } % new staff ungrouped as per documentation section 3.3.8
> \context StaffGroup <<
> \new Staff {
> \clef bass
> \time 4/4
> \key a \major
> {s1 | s1}
> }
> >> % end continuo
> >> % end 5-staff group
> }
> }
> 
> 
> ___
> lilypond-user mailing list
> [EMAIL PROTECTED]
> http://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Nested StaffGroups

2004-11-18 Thread Aaron Dalton
I am running Lilypond 2.2.5 via cygwin on an XP box.  I have access to 
2.2.3 on my FreeBSD box but I get the same results.

I am trying to duplicate a section of a Baroque opera score.  I is a 
single system with 5 staves.  The top 3 are Violin1, Violin2, and Viola. 
  This is followed by a staff for the voice and a staff for the 
continuo.  All 5 staves should be connected at the beginning with a 
single line.  The top three staves should be braced, and the the top *2* 
staves should be further grouped with a bracket.  I have included my 
current .ly file for examination.  I believe I have correctly followed 
the example in section 3.3.8 of the documentation.  When I compile this 
document, I get all 5 staves grouped together with a single brace and 
all the barlines shared.

On a side note, I am very new to Lilypond syntax in general.  There 
*has* to be a way to declare time and key signature for all staves in 
one place.  If I put it after the \score delcaration I get a syntax 
error and if I put it after the \notes declaration it only affects the 
first staff.

I *greatly* appreciate any help you can offer.
Cheers!
Aaron
-
\score {
\notes {
\context StaffGroup << % groups all 5 staves
\context StaffGroup << % groups the top 3 staves
\context StaffGroup << % further groups the top 
2 staves
\new Staff {
\clef treble
\time 4/4
\key a \major
{s1 | s1}
}
\new Staff {
\clef treble
\time 4/4
\key a \major
{s1 | s1}
}
>> % end top 2 staves
\new Staff {
\clef alto
\time 4/4
\key a \major
{s1 | s1}
}
>> % end top 3 staves
\new Staff {
\clef treble
\time 4/4
\key a \major
{s1 | s1}
} % new staff ungrouped as per documentation section 
3.3.8
\context StaffGroup <<
\new Staff {
\clef bass
\time 4/4
\key a \major
{s1 | s1}
}
>> % end continuo
>> % end 5-staff group
}
}
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user