Re: \context for named Staff

2009-08-08 Thread Kieren MacMillan
Hi Nick, From my point of view the main use for smallStaff (or whatever it gets called) is for ossia staves. Except IIRC ossia staves and solo/cue staves are usually of different sizes, yes? Cheers, Kieren. ___ lilypond-user mailing list lilyp

RE: \context for named Staff

2009-08-08 Thread Nick Payne
>From my point of view the main use for smallStaff (or whatever it gets called) is for ossia staves. Nick > -Original Message- > From: lilypond-user-bounces+nick.payne=internode.on@gnu.org > [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On > Behalf Of Jay Anderson

Re: \context for named Staff

2009-08-08 Thread Graham Percival
On Sat, Aug 08, 2009 at 05:18:12PM -0700, Jay Anderson wrote: > If it is a snippet ideally I'd want to do something like: > > \include "small_staff.lyi" BTW, the latest discussion was to use .ily > How would one make small_staff.lyi so this worked? This way it would > be bundled with the other g

Re: \context for named Staff

2009-08-08 Thread Jay Anderson
On Sat, Aug 8, 2009 at 12:57 PM, Dan Eble wrote: > Doesn't this mix up meaning and appearance? What will you do when people > come asking for LargeStaff, TinyStaff, LittleGreenStaff (for Martian music), > and so forth? On Sat, Aug 8, 2009 at 1:45 PM, Alexander Kobel wrote: > Oh, and by the way...

Re: \context for named Staff

2009-08-08 Thread Alexander Kobel
Kieren MacMillan wrote: Just a small point: has anyone confirmed that -3 is a "standard" magstep? Just my thought. I used some values between -2 and -3, depending on what fits for this very score and page size. In "The Essential Dictionary of Music Notation" (Gerou and Lusk) - well, admitte

Re: how to define a boolean?

2009-08-08 Thread Carl Sorensen
On 8/8/09 2:20 PM, "Marc Hohl" wrote: > Carl Sorensen schrieb: >> [...] For the music-function you can do this: % you can also do: % mybool = ##f #(define mybool #f) >> >> Why not just change this to >> >> #(define-public mybool #f) >> >> then use myboo

Re: how to define a boolean?

2009-08-08 Thread Marc Hohl
Carl Sorensen schrieb: [...] For the music-function you can do this: % you can also do: % mybool = ##f #(define mybool #f) Why not just change this to #(define-public mybool #f) then use mybool everywhere else? I tried this first, but it seems that it doesn't work inside a music

Re: \context for named Staff

2009-08-08 Thread Kieren MacMillan
Hi Jay (et al.): Attached is a patch which adds "SmallStaff" to engraver-init.ly. Everywhere that \accepts "Staff" was used I just added \accepts "SmallStaff". Let me know if this looks good. Just a small point: has anyone confirmed that -3 is a "standard" magstep? 1. When looking at hand-en

Re: how to define a boolean?

2009-08-08 Thread Marc Hohl
Mark Polesky schrieb: Marc Hohl wrote: Thank you! At least I can play with this ... The callback is a little trickier for me for the moment. I'll get back to you. Great. I am awaiting your response. Man, this stuff is tricky. Here's the best I can do for right now. I c

Re: how to define a boolean?

2009-08-08 Thread Carl Sorensen
On 8/8/09 11:59 AM, "Marc Hohl" wrote: > Mark Polesky schrieb: >> Marc Hohl wrote: >> >> >>> Sorry if this is a stupid question, but here im totally stuck: >>> >> >> Not a stupid question. This involves "parser variables" which are >> giving us developers troubles, too! If you're curio

Pop versions of classical music

2009-08-08 Thread Mike Blackstock
Just an idea on typesetting popular music that people would recognize but that have copyright issues: quite a number of these songs are, as suggested in another thread, older non-copyrighted songs with new lyrics added and typesetting the originals is one way around the problem. Here's a few that

Re: \context for named Staff

2009-08-08 Thread Jay Anderson
> Jay, Mark, anyone: are you interested in submitting a full patch, with > appropriate documentation, NEWS item etc? If so, we can officially > submit it for inclusion. Attached is a patch which adds "SmallStaff" to engraver-init.ly. Everywhere that \accepts "Staff" was used I just added \accepts

Re: how to define a boolean?

2009-08-08 Thread Mark Polesky
Marc Hohl wrote: > Thank you! At least I can play with this ... > > The callback is a little trickier for me for the moment. > > I'll get back to you. > > > Great. I am awaiting your response. Man, this stuff is tricky. Here's the best I can do for right now. I commented out the third line of

Re: how to define a boolean?

2009-08-08 Thread Marc Hohl
Mark Polesky schrieb: Marc Hohl wrote: Sorry if this is a stupid question, but here im totally stuck: Not a stupid question. This involves "parser variables" which are giving us developers troubles, too! If you're curious, you can follow this long thread: http://lists.gnu.org/archive/

Re: how to define a boolean?

2009-08-08 Thread Mark Polesky
Marc Hohl wrote: > Sorry if this is a stupid question, but here im totally stuck: Not a stupid question. This involves "parser variables" which are giving us developers troubles, too! If you're curious, you can follow this long thread: http://lists.gnu.org/archive/html/lilypond-devel/2009-07/msg

Re: Beam direction with \new Voice

2009-08-08 Thread Kieren MacMillan
Hi Mark, Impressive, Kieren. Looks like your "Autumn of LilyPond" will leave us with another clever schemer! I hope so! =) [I *may* also abandon my vow never to learn C++, if certain of my desired tweaks need it and are low on other programmers' priority lists...] One suggestion, thoug

how to define a boolean?

2009-08-08 Thread Marc Hohl
Sorry if this is a stupid question, but here im totally stuck: I need to define a boolean which is to be changed within a music-function and a stencil callback. I tried #(define mybool #f) at the beginning and later myfunc = #(define-music-function (parser location note) (ly:music?) (set! my

Re: line-width

2009-08-08 Thread Mark Polesky
Kieren MacMillan wrote: > p.s. Valentin (and/or other Doc-tors): Shouldn't we mention in this section > that > ragged-right is true for single-system scores? If not, where is this default > mentioned? If you look up "ragged-right" in the NR index http://kainhofer.com/~lilypond/Documentation/n

[SOLVED] Re: line-width

2009-08-08 Thread Alexandros Droseltis
On Sat, Aug 08, 2009 at 13:17 -0400, Kieren MacMillan wrote: > > If you only have one line of music, Lilypond does not stretch the system by > default — to change the behaviour, play around with > > ragged-right = ##f > ragged-last = ##f > > See >

Re: Beam direction with \new Voice

2009-08-08 Thread Mark Polesky
Kieren MacMillan wrote: > \version "2.13" > #(ly:set-option 'point-and-click #f) > > split = #(define-music-function (parser location upper lower) (ly:music? > ly:music?) > #{ << { \voiceOne $upper } \context Voice = "2" { \voiceTwo $lower } >> > \oneVoice #}) > > splitMusic = \relative > { > c'

Re: line-width

2009-08-08 Thread Kieren MacMillan
Hi Alexandros, but from a point (somewhere after 70\mm) the width remains the same. What do I do wrong? If you only have one line of music, Lilypond does not stretch the system by default — to change the behaviour, play around with ragged-right = ##f ragged-last = ##f See

Re: \context for named Staff

2009-08-08 Thread Valentin Villenave
2009/8/8 Mark Polesky : > > Jay Anderson wrote: > >>     \context >>     { >>       \Staff >>       \type "Engraver_group" >>       \name "SmallStaff" >>       \alias "Staff" >> >>       fontSize = #-3 >>       \override StaffSymbol #'staff-space = #(magstep -3) >>     } > > I like it. Jay, Mark,

line-width

2009-08-08 Thread Alexandros Droseltis
Hello! I am writing some examples and try to make the systems wider, so that I can write many dynamic sings between the notes. I set the width in \paper{ indent=0\mm line-width= 200\mm oddFooterMarkup=##f oddHeaderMarkup=##f bookTitleMarkup = ##f sc

Re: \context for named Staff

2009-08-08 Thread Mark Polesky
Jay Anderson wrote: > \context > { > \Staff > \type "Engraver_group" > \name "SmallStaff" > \alias "Staff" > > fontSize = #-3 > \override StaffSymbol #'staff-space = #(magstep -3) > } I like it. - Mark _

Re: \context for named Staff

2009-08-08 Thread Jay Anderson
On Sat, Aug 8, 2009 at 8:01 AM, Mark Polesky wrote: > > Valentin Villenave wrote: > >> How about creating a FluteStaff context, and invoke it with >> \new FluteStaff >> instead of \with? > > I think "SmallStaff" is more accurate. > - Mark It would be nice if something like this were included in th

Re: problems with learning lilypond

2009-08-08 Thread James E. Bailey
On 08.08.2009, at 17:30, Tim McNamara wrote: On Aug 8, 2009, at 8:54 AM, Simon Mackenzie wrote: Here is my scenario If I create a variable at the top scope how do I reassign its value in a subsequent scope eg. aVariable = \markup { \bold bananas } \book { \bookpart {

Re: Decreasing font size of chord name root note

2009-08-08 Thread Tim McNamara
On Aug 8, 2009, at 8:11 AM, Akira wrote: Please look at -> http://picasaweb.google.co.jp/Lilypondakira/ Lilypond#5367578175183729026 Root name of chord ("/F", "/D") is so large that I can't recognize what is chord name or what is root note, so I want to decrease font size of chord name root

Re: problems with learning lilypond

2009-08-08 Thread Tim McNamara
On Aug 8, 2009, at 8:54 AM, Simon Mackenzie wrote: Here is my scenario If I create a variable at the top scope how do I reassign its value in a subsequent scope eg. aVariable = \markup { \bold bananas } \book { \bookpart { \aVariable % "bananas" \sc

Re: \context for named Staff

2009-08-08 Thread Mark Polesky
Valentin Villenave wrote: > How about creating a FluteStaff context, and invoke it with > \new FluteStaff > instead of \with? I think "SmallStaff" is more accurate. - Mark ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gn

Re: problems with learning lilypond

2009-08-08 Thread Simon Mackenzie
Ahhh! Thank you. Simon On 08/08/2009, at 20:04, Mats Bengtsson wrote: Quoting Simon Mackenzie : Ok it appears to be a scoping issue. So I need to declare variables outside the \book scope? Is this correct? But if my script file is included inside a \book scope how can i then declare new

Re: problems with learning lilypond

2009-08-08 Thread Simon Mackenzie
Simon On 08/08/2009, at 05:41, Trevor Daniels wrote: Simon Mackenzie wrote Friday, August 07, 2009 3:55 PM Eg. What does it mean on page 34 of the Learning Tutorial when it says... "Variables must be defined before the main music expression." Does this mean the \score { } or does it me

Decreasing font size of chord name root note

2009-08-08 Thread Akira
Please look at -> http://picasaweb.google.co.jp/Lilypondakira/Lilypond#5367578175183729026 Root name of chord ("/F", "/D") is so large that I can't recognize what is chord name or what is root note, so I want to decrease font size of chord name root note. I also want to change "/F" to "on F". _

Re: problems with learning lilypond

2009-08-08 Thread Mats Bengtsson
Quoting Simon Mackenzie : Ok it appears to be a scoping issue. So I need to declare variables outside the \book scope? Is this correct? But if my script file is included inside a \book scope how can i then declare new variables inside this scope? You can't! All variables are declared globall

Re: Beam direction with new Voice

2009-08-08 Thread Mats Bengtsson
Quoting "James E. Bailey" : You'll need \voiceOne and \voiceTwo (and \oneVoice) for this construction. You may also need to name your second Voice context. For reference, you'll want to re-read section 1.5.2 of the Notation Reference, Multiple Voices. Don't forget to also read section 3.2.

Re: website: why do you use lilypond?

2009-08-08 Thread Graham Percival
On Fri, Aug 07, 2009 at 02:31:35PM +0100, Tim Rowe wrote: > 2009/8/6 Graham Percival : > > > I don't think that any of his songs would become available until > > 2050 or so -- assuming the big media companies don't extend > > copyright again in a few years. > > As I said originally, Elvis Presley

Re: \context for named Staff

2009-08-08 Thread Valentin Villenave
2009/8/7 Mark Polesky : > At the moment, this is the best I can come up with. > smallStaff = { >  #(define factor 3/4) >  \set Staff.fontSize = #(inverse-magstep factor) >  \override Staff.StaffSymbol #'staff-space = #factor > } How about creating a FluteStaff context, and invoke it with \new Flu

Re: conditionally eliminating lyric extender

2009-08-08 Thread Valentin Villenave
2009/8/5 Kieren MacMillan : > I want to [automagically] conditionally eliminate lyric extenders when >    (1) the end of the syllable which has the extender is after [i.e., to the > right of] the melisma's last note; and, >    (2) the distance to the following syllable is less than the minimum > ex