Re: Getting width of markup in a music function

2010-05-11 Thread David Kastrup
Nathan Reed writes: > Hello, > > I'd like to be able to compute the width of a markup inside a music function, > so that I can size another element based on the size of the markup. > > I've figured out how to compute the size inside a markup command: > > (ly:stencil-extent (interpret-markup layou

Re: Getting width of markup in a music function

2010-05-11 Thread Nathan Reed
On Mon, May 10, 2010 at 11:25 PM, Mark Polesky wrote: > Nathan Reed wrote: > > I'd like to be able to compute the width of a markup > > inside a music function, so that I can size another > > element based on the size of the markup. > > Can we see some code? What is the music-function for? > > -

Re: Getting width of markup in a music function

2010-05-11 Thread Carl Sorensen
On 5/11/10 1:17 AM, "Nathan Reed" wrote: > > Here's my code as it stands.  It produces a narration measure as shown in the > image linked in my previous message. > > narration = > #(define-music-function (parser location rest text1 text2) >                         (ly:music? string? string?) >  

Ties over 2 voices

2010-05-11 Thread Phil Holmes
I have a piece of music as shown in the attached image. I've set this in LilyPond using 2 voices, the first having the 2 quavers before the bar, then a tie to the quaver after the bar, together with the barred semi-quavers. This set of 3 notes is forced stem down with \stemDown. In the second

Re: A new LilyPond Report...

2010-05-11 Thread Valentin Villenave
Greetings everybody, the LilyPond Report is back! Since we haven't received as many contributions as we would have hoped for, that leaves us, this time again, with Graham's grumpy touch and the usual fluffy comments by yours truly. I hope you'll enjoy this instalment, and please do remember that

Re: Ties over 2 voices

2010-05-11 Thread -Eluze
Phil Holmes-2 wrote: > > if there's a better way of doing this that doesn't rely on simply writing > one set of notes on top of another identical set. > you can use spacer rests in the second voice where you don't really use notes (like in your example for the tie). see http://lsr.dsi.unimi.

Re: Ties over 2 voices

2010-05-11 Thread Phil Holmes
- Original Message - From: "-Eluze" To: Sent: Tuesday, May 11, 2010 3:04 PM Subject: Re: Ties over 2 voices Phil Holmes-2 wrote: if there's a better way of doing this that doesn't rely on simply writing one set of notes on top of another identical set. you can use spacer rests

Re: Ties over 2 voices

2010-05-11 Thread -Eluze
Phil Holmes-2 wrote: > > I do use spacer rests extensively - I've just posted a small section of > the > music, without showing the spacers. But how would you terminate the tie > on > a spacer? > just wanted to say that you don't have to repeat the whole lot of notes in the second voice if t

first barnumber

2010-05-11 Thread Stefan Thomas
Dear community, is it possible to force lilypond to show the number of the first bar? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: first barnumber

2010-05-11 Thread Graham Percival
On Tue, May 11, 2010 at 07:08:44PM +0200, Stefan Thomas wrote: >is it possible to force lilypond to show the number of the first bar? Yes. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/l

Re: first barnumber

2010-05-11 Thread Xavier Scheuer
2010/5/11 Stefan Thomas : > Dear community, > is it possible to force lilypond to show the number of the first bar? Hi, It is explained as a snippet in the doc: "Printing the bar number for the first measure" http://lilypond.org/doc/v2.13/Documentation/notation/bars.html#Bar-numbers By defaul

Re: first barnumber

2010-05-11 Thread Xavier Scheuer
2010/5/11 Graham Percival : > Yes. Hi Graham, I assumed that Stefan's question was not only "is it possible to..." but that it also included the implicit question "and how?". Your answer was technically correct, but not that much helpful... No offence, :D Xavier -- Xavier Scheuer ___

Re: first barnumber

2010-05-11 Thread Graham Percival
On Tue, May 11, 2010 at 09:42:53PM +0200, Xavier Scheuer wrote: > 2010/5/11 Graham Percival : > > > Yes. > > I assumed that Stefan's question was not only "is it possible to..." > but that it also included the implicit question "and how?". Then he should have asked "how can I make lilypond print

Re: A new LilyPond Report...

2010-05-11 Thread Federico Bruni
On Tue, 2010-05-11 at 14:45 +0200, Valentin Villenave wrote: > Read the full issue on: > http://news.lilynet.net/The-LilyPond-Report-18 > Great! There's a wrong link here: Graham Percival will be at the international Libre Software Meeting 2010. Here’s the pitch: _

Re: A new LilyPond Report...

2010-05-11 Thread Valentin Villenave
On Tue, May 11, 2010 at 11:15 PM, Federico Bruni wrote: > There's a wrong link here: Oh, indeed. Corrected, thanks! Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: OMET: Online Music Editing Tools feedback?

2010-05-11 Thread Mike Blackstock
On Mon, May 10, 2010 at 4:28 AM, Marc Hohl wrote: > > It looks quite interesting and promising - but I am probably not > the right guy for a profound opinion, because I would not use a > web interface for coding lilypond (at least at the moment). >> Yeah it's mostly just to get people started.

Re: Getting width of markup in a music function

2010-05-11 Thread Nathan Reed
On Tue, May 11, 2010 at 5:21 AM, Carl Sorensen wrote: > What if you changed text-event to... > Carl, thanks for the suggestion, but it doesn't have the desired effect - space does appear to one side of the text, but the rehearsal mark does not fall down into place (I guess the hspace in the mark

Re: Getting width of markup in a music function

2010-05-11 Thread Carl Sorensen
Nathan Reed gmail.com> writes: > > Hello,I'd like to be able to compute the width of a markup inside a > music function, > so that I can size another element based on the size of the markup. > I've figured out how to compute the size inside a markup command: > (ly:stencil-extent (interpret-ma

Re: first barnumber

2010-05-11 Thread Stefan Thomas
Dear community, thank You for Your help. I know now, how to do it. Off course, Graham is in principle right: before answering questions, one should read the manual. But: I've read the manual and I've searched for it without success. It was my fault not to search in the snippet repository. So, thank