Re: Attaching markup to high-level objects

2011-11-13 Thread Peekay Ex
Hello, On Sun, Nov 13, 2011 at 2:35 AM, lilyp...@umpquanet.com wrote: Failing that, if there were a way to attach markup to a bar line, that (plus perhaps an 'extra-offset') would suffice in the majority of situations I can think of. Is there such a way to attach markup to a high-level

Re: Attaching markup to high-level objects

2011-11-13 Thread Urs Liska
Hi, I also often run into this situation, but it also applies to dynamic marks etc. (e.g. a phrase is repeated eight times, and I need a mf at the beginning and p at the fifth repetition). There probably are more situations where you have this problem. The workaround I sometimes use (if it

\instrumentSwitch applies instrumentCueName to Staff context instead of Voice

2011-11-13 Thread Shevek
\instrumentSwitch applies instrumentCueName to Staff context instead of Voice. Is there a way to change this behavior so it only applies the instrumentCueName to the Voice context? The current behavior makes multiple instrumentCueName markings appear whenever there is simultaneous music on the

Re: Attaching markup to high-level objects

2011-11-13 Thread Kieren MacMillan
Hi, The workaround I sometimes use (if it is less work than changing the variables) is to to use a separate voice that mainly consists of skips. Then I can insert markups wherever I want (with s1^\markup ...). Don't forget that — thanks to David Kastrup's recent work — you can now use the

Re: Attaching markup to high-level objects

2011-11-13 Thread Peekay Ex
Jim, On Sun, Nov 13, 2011 at 9:57 AM, Jim Long ja...@umpquanet.com wrote: Thank you very much, James. No problem - don't forget to cc the list so others see the reply that may contain more information for them to assist. I'll take an earnest look at your suggestion in the morning.  I do

Adding space in lilypond'book

2011-11-13 Thread Alberto Simões
Hello I am using lilypond-book, and I have some scores that get too glued ones to the other (see http://musica-liturgica.net/viewfull.pl/10, for example). What is the canonical way to add some vertical space between staves? Thank you Alberto -- Alberto Simoes CEHUM

Re: Adding space in lilypond'book

2011-11-13 Thread flup2
Hello, At first look, one option would be to add the following line to your LaTeX preamble and playing with the vspace number (here, 5mm) % \newcommand{\betweenLilyPondSystem}[1]{\vspace{5mm}\linebreak} Philippe -- View this message in context:

Re: Adding space in lilypond'book

2011-11-13 Thread Alberto Simões
On 13/11/2011 16:31, flup2 wrote: Hello, At first look, one option would be to add the following line to your LaTeX preamble and playing with the vspace number (here, 5mm) % \newcommand{\betweenLilyPondSystem}[1]{\vspace{5mm}\linebreak} Just great :)

Don't understand this error

2011-11-13 Thread Patrick Karl
The following snippet: \version 2.14.2 notes = \relative b' {a b c d} \score {\new Staff { \notes } \layout { } } \break \score {\new Staff { \transpose c c' \notes } \layout { } } generates the following error: test.ly:10:0: error: syntax error, unexpected \score,

Re: Don't understand this error

2011-11-13 Thread David Kastrup
Patrick Karl pck...@mac.com writes: The following snippet: \version 2.14.2 notes = \relative b' {a b c d} \score {\new Staff { \notes } \layout { } } \break \score {\new Staff { \transpose c c' \notes } \layout { } } generates the following error: test.ly:10:0:

Frenching with pick-ups

2011-11-13 Thread Christopher R. Maden
The recent discussion on hiding unused staffs led me to improve one of my scores, but I ran into a little weirdness. The piece is a waltz (“Si Bheag, Si Mhor”) with a pick-up for every strain. For the anacrucis, if I use a partial-measure rest (\partial 4 r4), the staff won’t get dropped. If I

Re: Frenching with pick-ups

2011-11-13 Thread Phil Holmes
- Original Message - From: Christopher R. Maden cr...@maden.org To: lilypond-user@gnu.org Sent: Sunday, November 13, 2011 5:04 PM Subject: Frenching with pick-ups The recent discussion on hiding unused staffs led me to improve one of my scores, but I ran into a little weirdness. The

Problem with Tags

2011-11-13 Thread Patrick Karl
I'm having a problem trying to learn how to use tags. The following snippet: \version 2.14.2 music = \relative c' { \tag #' low {c} \tag #' high {c'} d e f g a b c } \score {\new Staff { \keepWithTag #'low \music } \layout { } } \score {\new Staff {

Re: Problem with Tags

2011-11-13 Thread David Kastrup
Patrick Karl pck...@mac.com writes: I'm having a problem trying to learn how to use tags. The following snippet: \version 2.14.2 music = \relative c' { \tag #' low {c} \tag #' high {c'} d e f g a b c } \score {\new Staff { \keepWithTag #'low \music }

Re: Attaching markup to high-level objects

2011-11-13 Thread lilypond
On Sun, Nov 13, 2011 at 01:31:31PM +, Peekay Ex wrote: Jim, On Sun, Nov 13, 2011 at 9:57 AM, Jim Long ja...@umpquanet.com wrote: Thank you very much, James. No problem - don't forget to cc the list so others see the reply that may contain more information for them to assist. I

Re: Attaching markup to high-level objects

2011-11-13 Thread lilypond
On Sun, Nov 13, 2011 at 11:39:20AM +0100, Urs Liska wrote: Hi, I also often run into this situation, but it also applies to dynamic marks etc. (e.g. a phrase is repeated eight times, and I need a mf at the beginning and p at the fifth repetition). There probably are more situations

Re: Attaching markup to high-level objects

2011-11-13 Thread lilypond
On Sun, Nov 13, 2011 at 11:39:20AM +0100, Urs Liska wrote: Hi, I also often run into this situation, but it also applies to dynamic marks etc. (e.g. a phrase is repeated eight times, and I need a mf at the beginning and p at the fifth repetition). There probably are more situations

Re: Attaching markup to high-level objects

2011-11-13 Thread Thomas Morley
Hi Jim On Sun, Nov 13, 2011 at 9:57 AM, Jim Long ja...@umpquanet.com wrote: (...) I do recall hitting a wall once when I discovered that Lily won't accept two consecutive 'mark' directives, like for a \mark default \mark \markup \musicglyph #scripts.segno when you want to have

Re: Frenching with pick-ups

2011-11-13 Thread Christopher R. Maden
On 11/13/2011 12:31 PM, Phil Holmes wrote: You only need \partial once. Thanks for that tip. The final rests should be lower case, since they're not strictly Whole Measure: Ah, but that’s the crux: if they are not whole-measure rests, then the staff isn’t considered empty and is not removed.

Re: Frenching with pick-ups

2011-11-13 Thread Phil Holmes
- Original Message - From: Christopher R. Maden cr...@maden.org To: lilypond-user@gnu.org Sent: Sunday, November 13, 2011 8:52 PM Subject: Re: Frenching with pick-ups On 11/13/2011 12:31 PM, Phil Holmes wrote: You only need \partial once. Thanks for that tip. The final rests

Re: Frenching with pick-ups

2011-11-13 Thread Christopher R. Maden
On 11/13/2011 04:06 PM, Phil Holmes wrote: Did you try my code? I only get one staff left. Yes. You made staves Second, Third, and Fourth identical to what I already had for Second (except for the \partial 4 instruction). What version of LilyPond are you using? ~Chris -- Chris Maden, text

Re: \instrumentSwitch applies instrumentCueName to Staff context instead of Voice

2011-11-13 Thread Keith OHara
Shevek saul at saultobin.com writes: \instrumentSwitch applies instrumentCueName to Staff context instead of Voice. Is there a way to change this behavior so it only applies the instrumentCueName to the Voice context? The current behavior makes multiple instrumentCueName markings appear

Re: Frenching with pick-ups

2011-11-13 Thread Phil Holmes
- Original Message - From: Christopher R. Maden cr...@maden.org To: lilypond-user@gnu.org Sent: Sunday, November 13, 2011 9:10 PM Subject: Re: Frenching with pick-ups On 11/13/2011 04:06 PM, Phil Holmes wrote: Did you try my code? I only get one staff left. Yes. You made staves

Re: Frenching with pick-ups

2011-11-13 Thread Francisco Vila
2011/11/13 Christopher R. Maden cr...@maden.org: And yes, I realize this is an older version of LilyPond... but Ubuntu is behind, for some reason, and I’m reluctant to break the integration when everything works OK for me.  Information that this is handled better in a newer version might be

Re: Frenching with pick-ups

2011-11-13 Thread Xavier Scheuer
On 13 November 2011 21:52, Christopher R. Maden cr...@maden.org wrote: Ah, but that’s the crux: if they are not whole-measure rests, then the staff isn’t considered empty and is not removed. I want three things, that appear to be incompatible: 1) Staves with no notes to be removed. 2)

Re: \instrumentSwitch applies instrumentCueName to Staff context instead of Voice

2011-11-13 Thread Shevek
Keith OHara wrote: Shevek saul at saultobin.com writes: \instrumentSwitch applies instrumentCueName to Staff context instead of Voice. Is there a way to change this behavior so it only applies the instrumentCueName to the Voice context? The current behavior makes multiple

Include file from music function 2.15.18

2011-11-13 Thread Jay Anderson
In working on a large set of hymns pre-2.15.18 I could do something like this (a simplified example): === \version 2.15.18 function = #(define-music-function (parser location num) (number?) (let ((file (string-append hymn (number-string num) .ily))) #{ \include $file #}))

Re: Include file from music function 2.15.18

2011-11-13 Thread David Kastrup
Jay Anderson horndud...@gmail.com writes: In working on a large set of hymns pre-2.15.18 I could do something like this (a simplified example): === \version 2.15.18 function = #(define-music-function (parser location num) (number?)   (let ((file (string-append hymn

Re: Include file from music function 2.15.18

2011-11-13 Thread Jay Anderson
On Sun, Nov 13, 2011 at 11:07 PM, David Kastrup d...@gnu.org wrote: \include is special-cased in the lexer in order to accept \stringidentifier.  Previously $xxx in #{ ... #} was translated into \something artificially.  This translation is no longer happening.  But \include does not know what