Defining substitution functions

2015-03-28 Thread Timmy Burch
I think is probably a painfully simple question, but I am really struggling to get started with Lilypond, so please take pity! I often have many measures with the same rhythm but different pitches, and I want to write a function that takes as arguments the pitches, and returns the formatted

staff switching in custom contexts not working

2015-03-28 Thread Kieren MacMillan
Hello all, In the attached snippet, I’ve defined some custom contexts (nested/hierarchical) for piano work. I can’t seem to get staff switching to work correctly: I get “ cannot change […] none of these in my family” errors. Any hints would be appreciated. Thanks! Kieren. BEGIN SNIPPET

Re: Defining substitution functions

2015-03-28 Thread Noeck
Hi Timmy, I know that this is not what you asked for, but for your information: Frescobaldi can copy the rhythm to other notes: Tools Rhythm Copy rhythm/Paste rhythm … That saves typing but it is no function like you asked for. Cheers, Joram ___

Re: staff switching in custom contexts not working

2015-03-28 Thread Thomas Morley
2015-03-29 0:43 GMT+01:00 Kieren MacMillan kieren_macmil...@sympatico.ca: Hi Pierre, This warning's caused by a typo here : pfL = { \change PIanoSingleStaff = piano_lower \oneVoice } Eep. That’s embarrassing… Thanks for catching that. However, once it’s fixed, I still get a [different]

Re: Variables in instrumentName markup?

2015-03-28 Thread Mark Knoop
At 14:13 on 28 Mar 2015, Trevor Bača wrote: Hi, Is there a way to do ... foo = #12 \new Staff \with { instrumentName = \markup { \hcenter-in \foo Percussion } } { ... } \new Staff \with { instrumentName = \markup { \hcenter-in \foo Violin } } { ... } ... or

Re: cadenza_and_accidentals-take2

2015-03-28 Thread bobr...@centrum.is
- Original Message - From: Noeck noeck.marb...@gmx.de To: lilypond-user@gnu.org Sent: Saturday, March 28, 2015 3:55:07 PM Subject: Re: cadenza_and_accidentals-take2 A naive question: Could the \cadenzaOff command be changed in a way that it automatically implies the end of a

Re: staff switching in custom contexts not working

2015-03-28 Thread Pierre Perol-Schneider
Hi Kieren, This warning's caused by a typo here : pfL = { \change PIanoSingleStaff = piano_lower \oneVoice } Cheers, Pierre 2015-03-28 22:40 GMT+01:00 Kieren MacMillan kieren_macmil...@sympatico.ca: Hello all, In the attached snippet, I’ve defined some custom contexts (nested/hierarchical)

Re: staff switching in custom contexts not working

2015-03-28 Thread Kieren MacMillan
Hi Harm, it has nothing to do with your custom-contexts. It's issue 1681 Thanks! I simply removed the initial \pfL, and everything seems fine. Best, Kieren. ___ Kieren MacMillan, composer www: http://www.kierenmacmillan.info email: i...@kierenmacmillan.info

Re: staff switching in custom contexts not working

2015-03-28 Thread Kieren MacMillan
Hi Pierre, This warning's caused by a typo here : pfL = { \change PIanoSingleStaff = piano_lower \oneVoice } Eep. That’s embarrassing… Thanks for catching that. However, once it’s fixed, I still get a [different] error: ”not changing to same context type”. Any help for that? Thanks,

Re: Variables in instrumentName markup?

2015-03-28 Thread Thomas Morley
2015-03-28 20:27 GMT+01:00 Mark Knoop m...@opus11.net: At 14:13 on 28 Mar 2015, Trevor Bača wrote: Hi, Is there a way to do ... foo = #12 \new Staff \with { instrumentName = \markup { \hcenter-in \foo Percussion } } { ... } \new Staff \with { instrumentName = \markup {

Re: cadenza_and_accidentals-take2

2015-03-28 Thread Jim Long
On Sat, Mar 28, 2015 at 07:45:51PM +, bobr...@centrum.is wrote: - Original Message - From: Noeck noeck.marb...@gmx.de A naive question: Could the \cadenzaOff command be changed in a way that it automatically implies the end of a measure at that point. I can think of

Re: cadenza_and_accidentals-take2

2015-03-28 Thread Noeck
Hi David, I recall thinking at some point that perhaps LilyPond would count up the stuff not between \cadenzaOn ... \cadenzaOff and place barlines in the correct place (it doesn't). What do you mean here differing from 1) (which is what I also proposed in a previous mail)? I don't

Re: cadenza_and_accidentals-take2

2015-03-28 Thread bobr...@centrum.is
- Original Message - From: Noeck noeck.marb...@gmx.de To: bobr...@centrum.is Cc: lilypond-user@gnu.org Sent: Saturday, March 28, 2015 7:53:58 PM Subject: Re: cadenza_and_accidentals-take2 Hi David, I recall thinking at some point that perhaps LilyPond would count up the

Re: cadenza_and_accidentals-take2

2015-03-28 Thread bobr...@centrum.is
- Original Message - From: Mark Knoop m...@opus11.net To: Lilypond User List lilypond-user@gnu.org Sent: Saturday, March 28, 2015 12:14:36 PM Subject: Re: cadenza_and_accidentals-take2 At 10:49 on 28 Mar 2015, bobr...@centrum.is wrote: - Original Message - From: Andrew

Re: cadenza_and_accidentals-take2

2015-03-28 Thread Mark Knoop
At 10:49 on 28 Mar 2015, bobr...@centrum.is wrote: - Original Message - From: Andrew Bernard andrew.bern...@gmail.com Yes, I have accidentals in the cadenza section. As I stated, however, in the final measure the cadenza has been ended and a bar line has been crossed so the key signature

Re: Upgrading

2015-03-28 Thread Knute Snortum
I would try going to the command line and typing where lilypond. This will tell you all the places LilyPond is installed. Knute Snortum (via Gmail) On Fri, Mar 27, 2015 at 3:38 PM, Daniel Contreras daniel.c.9...@gmail.com wrote: Hello everyone, I'm installing Lily Pond on my Windows machine

Re: Download link to current devel version

2015-03-28 Thread Urs Liska
Am 28. März 2015 11:51:27 MEZ, schrieb Phil Holmes m...@philholmes.net: - Original Message - From: Urs Liska u...@openlilylib.org To: Federico Bruni fedel...@gmail.com Cc: lilypond-user Mailinglist lilypond-user@gnu.org Sent: Saturday, March 28, 2015 8:12 AM Subject: Re: Download link

Re: Download link to current devel version

2015-03-28 Thread Phil Holmes
Original Message - From: Urs Liska u...@openlilylib.org Ah, OK, that would be possible. However, the most convenient interface would be a generic symlink on linuxaudio that (automatically?) gets updated when new versions are uploaded.. Urs I think that's unlikely to be possible: I

Re: Download link to current devel version

2015-03-28 Thread Urs Liska
Am 28. März 2015 12:45:55 MEZ, schrieb Phil Holmes m...@philholmes.net: Original Message - From: Urs Liska u...@openlilylib.org Ah, OK, that would be possible. However, the most convenient interface would be a generic symlink on linuxaudio that (automatically?) gets updated when new

Re: Download link to current devel version

2015-03-28 Thread Phil Holmes
- Original Message - From: Urs Liska u...@openlilylib.org To: Phil Holmes m...@philholmes.net; Federico Bruni fedel...@gmail.com Cc: lilypond-user Mailinglist lilypond-user@gnu.org Sent: Saturday, March 28, 2015 11:51 AM Subject: Re: Download link to current devel version Am 28.

Re: cadenza_and_accidentals-take2

2015-03-28 Thread Noeck
Hi David, how about this: \version 2.18.2 \score { \relative c' { \clef F \key a \major r4-\fermata cis4 ~ cis8.-[ \grace { dis32 cis bis cis } dis!16-] \cadenzaOn e4 ~ \teeny \stemUp e32-[ dis e dis-] \cadenzaOff cis-[ bis! c b-] a-[ gis a gis-] %% 4/4 measure

Variables in instrumentName markup?

2015-03-28 Thread Trevor Bača
Hi, Is there a way to do ... foo = #12 \new Staff \with { instrumentName = \markup { \hcenter-in \foo Percussion } } { ... } \new Staff \with { instrumentName = \markup { \hcenter-in \foo Violin } } { ... } ... or equivalent? (The motivation being to use the same

Re: cadenza_and_accidentals-take2

2015-03-28 Thread Noeck
A naive question: Could the \cadenzaOff command be changed in a way that it automatically implies the end of a measure at that point. Perhaps I overlook cases where this is not wanted, but where I use this command, I want a bar line and a new bar starting with beat one right after it. Any

Re: Download link to current devel version

2015-03-28 Thread Federico Bruni
Il 28/mar/2015 02:48 Urs Liska u...@openlilylib.org ha scritto: Is there a way to point links to the current development version download, i.e. a way to have a link in a program that automatically downloads the current version, without having to manually supply the version? I'm curious: are

Re: cadenza_and_accidentals

2015-03-28 Thread Andrew Bernard
Why don’t you remove the ! after the last cis? Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Download link to current devel version

2015-03-28 Thread Phil Holmes
- Original Message - From: Urs Liska u...@openlilylib.org To: Federico Bruni fedel...@gmail.com Cc: lilypond-user Mailinglist lilypond-user@gnu.org Sent: Saturday, March 28, 2015 8:12 AM Subject: Re: Download link to current devel version Am 28.03.2015 um 07:38 schrieb Federico Bruni:

cadenza_and_accidentals-take2

2015-03-28 Thread bobr...@centrum.is
I provided a bad example in my previous attempt in an effort to be minimal. Here goes with one that actually illustrates the issue: I ran into some seemingly odd output when using \cadenzaOn and \cadenzaOff. According to this:

Re: Download link to current devel version

2015-03-28 Thread Urs Liska
Am 28.03.2015 um 07:38 schrieb Federico Bruni: Il 28/mar/2015 07:33 Federico Bruni fedel...@gmail.com mailto:fedel...@gmail.com ha scritto: Il 28/mar/2015 02:48 Urs Liska u...@openlilylib.org mailto:u...@openlilylib.org ha scritto: Is there a way to point links to the current

Re: cadenza_and_accidentals-take2

2015-03-28 Thread bobr...@centrum.is
- Original Message - From: Andrew Bernard andrew.bern...@gmail.com To: bobr...@centrum.is, Lillypond Users Mailing List lilypond-user@gnu.org Sent: Saturday, March 28, 2015 10:23:40 AM Subject: Re: cadenza_and_accidentals-take2 Well, you have a C natural in the group of 32s, and

Re: Download link to current devel version

2015-03-28 Thread Federico Bruni
Il 28/mar/2015 07:33 Federico Bruni fedel...@gmail.com ha scritto: Il 28/mar/2015 02:48 Urs Liska u...@openlilylib.org ha scritto: Is there a way to point links to the current development version download, i.e. a way to have a link in a program that automatically downloads the current

cadenza_and_accidentals

2015-03-28 Thread bobr...@centrum.is
I ran into some seemingly odd output when using \cadenzaOn and \cadenzaOff. According to this: http://www.lilypond.org/doc/v2.18/Documentation/notation/displaying-rhythms#unmetered-music ...it is clear that using \bar | will not reset accidental display rules. What it doesn't say is that even

Re: cadenza_and_accidentals-take2

2015-03-28 Thread Andrew Bernard
Well, you have a C natural in the group of 32s, and then in the last bar a C#, so generally engravers will put a sharp to revert the previous natural and let the performer know we are back to normal (cadenza or not). That’s how I learned music (I think!). Also, when putting manual beaming, you

Re: Automatic breaks not working?

2015-03-28 Thread Phil Holmes
- Original Message - From: Brian Barker b.m.bar...@btinternet.com To: lilypond-user@gnu.org Cc: A. Sentman asentman...@gmail.com Sent: Saturday, March 28, 2015 1:22 AM Subject: Re: Automatic breaks not working? At 22:47 27/03/2015 +, A. Sentman wrote: I have a couple of files