Re: How to build LilyPond.app on macOS?

2016-12-05 Thread Michael Gerdau
Hi Mojca,

> Can someone please provide me a hint about how to build LilyPond.app
> on macOS (natively, without any cross-compiling, ideally without
> compiling any dependencies like ghostscript etc.)?

you won't like this:
It is not meant to be compiled natively.

If you want to do that anyway you'd have to do the porting all for
yourself.

Note I'm not saying it can't be done.

Kind regards,
Michael
-- 
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How to build LilyPond.app on macOS?

2016-12-05 Thread Mojca Miklavec
Hi,

Can someone please provide me a hint about how to build LilyPond.app
on macOS (natively, without any cross-compiling, ideally without
compiling any dependencies like ghostscript etc.)?

I checked lilypond-2.19.51.tar.gz, but it's not clear to me where the
sources for that would be. There is no obvious configure option and I
didn't find the relevant/needed files like Info.plist.

I found
http://lilypond.org/doc/v2.18/Documentation/contributor-big-page
(didn't read it all) and only suspect that some logic might live in
GUB, but I'm pretty much lost for the moment.

I would like to see LilyPond.app being distributed in a package
manager, but for that to happen I first need to understand how to
build it.

Bonus question (I'll probably ask separately). PDF viewer shows hyperlinks to
textedit://path/to/file.ly
How does the OS know that it has to open LilyPond.app for that as is
there a way to configure that, so that the file gets opened in another
editor? I configured the system to open my favourite text editor on
double-clicking, but it has no effect when I click on a hyperlink.

Thank you,
Mojca

(please CC me)

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


Re: Accidental in brackets

2016-12-05 Thread Urs Liska
Hi David,


Am 05.12.2016 um 17:41 schrieb David Nalesnik:
> Hi Urs,
>
> On Mon, Dec 5, 2016 at 10:30 AM, tisimst  wrote:
>> ...
> Haven't examined the other alternatives proposed, but here's something
> I just did.  It's based on a rewrite of functions in
> lily/accidental.cc
>
> HTH,
> David

Thanks for this. Seems to work perfectly.
I renamed your parenthesize function because it would break the regular
\parenthesize command.

Best
Urs

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


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread Brin Solomon
On Mon, Dec 5, 2016 at 7:37 PM, Thomas Morley 
wrote:

> 2016-12-06 0:48 GMT+01:00 Brin Solomon :
> >
> >
> > On Mon, Dec 5, 2016 at 4:35 PM, Thomas Morley 
> > wrote:
> >>
> >> 2016-12-05 16:52 GMT+01:00 Brin Solomon :
> >> > Hello all,
> >> >
> >> > I'm trying to typeset a piece where one player has an unmetered
> cadenza
> >> > while every other player rests. I'm trying to use mmrest-of-length to
> >> > generate the rests, but if I use \cadenzaOn, I get the error
> >> > "programming
> >> > error: Multi_measure_rest::get_rods (): I am not spanned!" and the
> rests
> >> > are
> >> > not printed. This error doesn't happen if I use skip-of-rest instead,
> >> > but in
> >> > that case, I don't get the rests.
> >> >
> >> > Here is a minimal example that demonstrates the problem:
> >> >
> >> > %%
> >> >
> >> > \version "2.18.2"
> >> >
> >> > MyCadenza = \relative c' {
> >> >   c4 d8 e f g g4
> >> >   f2 g4 g \bar "|"
> >> > }
> >> >
> >> > \new GrandStaff <<
> >> >   \new Staff {
> >> > \cadenzaOn
> >> > \MyCadenza
> >> > \cadenzaOff c'1
> >> >   }
> >> >   \new Staff {
> >> > \cadenzaOn
> >> > #(mmrest-of-length MyCadenza)
> >> > \cadenzaOff
> >> > c'1
> >> >   }
> >> >>>
> >> >
> >> > %%%
> >> >
> >> > I'm running version 2.18.2 on Mac OS 10.11.6. Is there a different
> >> > command I
> >> > should be using to get a full measure rest while I'm using \cadenzaOn?
> >> >
> >> > Thanks in advance,
> >> > Brin
> >>
> >>
> >> Hi,
> >> found some code on the list (can't say anymore who posted it
> >> initially) and extended it a bit. See attached.
> >> It completely avoids \cadenzaOn/Off, because of the hassle you
> >> experienced.
> >> midi may come out strange (not tested), I don't care about midi, though
> >> ...
> >>
> >> It's 2.15.24 code, but still working. Anyway running convert-ly over
> >> it may be a good idea.
> >>
> >> Maybe it helps,
> >>   Harm
> >
> >
> > Harm,
> >
> > Thanks for finding this! Ideally it would be nice to not have the
> fermatas
> > over the rests, but if that's tricky to do, then this version is fine.
> >
> > Thanks again,
> > Brin
>
> \cadenzaNotes takes three arguments. The first is a boolean, set it
> false to get rid of the fermata over the MultiMeasureRest.
>
> Cheers,
>   Harm
>

Ah, great, thank you!
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread Thomas Morley
2016-12-06 0:48 GMT+01:00 Brin Solomon :
>
>
> On Mon, Dec 5, 2016 at 4:35 PM, Thomas Morley 
> wrote:
>>
>> 2016-12-05 16:52 GMT+01:00 Brin Solomon :
>> > Hello all,
>> >
>> > I'm trying to typeset a piece where one player has an unmetered cadenza
>> > while every other player rests. I'm trying to use mmrest-of-length to
>> > generate the rests, but if I use \cadenzaOn, I get the error
>> > "programming
>> > error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests
>> > are
>> > not printed. This error doesn't happen if I use skip-of-rest instead,
>> > but in
>> > that case, I don't get the rests.
>> >
>> > Here is a minimal example that demonstrates the problem:
>> >
>> > %%
>> >
>> > \version "2.18.2"
>> >
>> > MyCadenza = \relative c' {
>> >   c4 d8 e f g g4
>> >   f2 g4 g \bar "|"
>> > }
>> >
>> > \new GrandStaff <<
>> >   \new Staff {
>> > \cadenzaOn
>> > \MyCadenza
>> > \cadenzaOff c'1
>> >   }
>> >   \new Staff {
>> > \cadenzaOn
>> > #(mmrest-of-length MyCadenza)
>> > \cadenzaOff
>> > c'1
>> >   }
>> >>>
>> >
>> > %%%
>> >
>> > I'm running version 2.18.2 on Mac OS 10.11.6. Is there a different
>> > command I
>> > should be using to get a full measure rest while I'm using \cadenzaOn?
>> >
>> > Thanks in advance,
>> > Brin
>>
>>
>> Hi,
>> found some code on the list (can't say anymore who posted it
>> initially) and extended it a bit. See attached.
>> It completely avoids \cadenzaOn/Off, because of the hassle you
>> experienced.
>> midi may come out strange (not tested), I don't care about midi, though
>> ...
>>
>> It's 2.15.24 code, but still working. Anyway running convert-ly over
>> it may be a good idea.
>>
>> Maybe it helps,
>>   Harm
>
>
> Harm,
>
> Thanks for finding this! Ideally it would be nice to not have the fermatas
> over the rests, but if that's tricky to do, then this version is fine.
>
> Thanks again,
> Brin

\cadenzaNotes takes three arguments. The first is a boolean, set it
false to get rid of the fermata over the MultiMeasureRest.

Cheers,
  Harm

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


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread Brin Solomon
On Mon, Dec 5, 2016 at 4:35 PM, Thomas Morley 
wrote:

> 2016-12-05 16:52 GMT+01:00 Brin Solomon :
> > Hello all,
> >
> > I'm trying to typeset a piece where one player has an unmetered cadenza
> > while every other player rests. I'm trying to use mmrest-of-length to
> > generate the rests, but if I use \cadenzaOn, I get the error "programming
> > error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests
> are
> > not printed. This error doesn't happen if I use skip-of-rest instead,
> but in
> > that case, I don't get the rests.
> >
> > Here is a minimal example that demonstrates the problem:
> >
> > %%
> >
> > \version "2.18.2"
> >
> > MyCadenza = \relative c' {
> >   c4 d8 e f g g4
> >   f2 g4 g \bar "|"
> > }
> >
> > \new GrandStaff <<
> >   \new Staff {
> > \cadenzaOn
> > \MyCadenza
> > \cadenzaOff c'1
> >   }
> >   \new Staff {
> > \cadenzaOn
> > #(mmrest-of-length MyCadenza)
> > \cadenzaOff
> > c'1
> >   }
> >>>
> >
> > %%%
> >
> > I'm running version 2.18.2 on Mac OS 10.11.6. Is there a different
> command I
> > should be using to get a full measure rest while I'm using \cadenzaOn?
> >
> > Thanks in advance,
> > Brin
>
>
> Hi,
> found some code on the list (can't say anymore who posted it
> initially) and extended it a bit. See attached.
> It completely avoids \cadenzaOn/Off, because of the hassle you experienced.
> midi may come out strange (not tested), I don't care about midi, though ...
>
> It's 2.15.24 code, but still working. Anyway running convert-ly over
> it may be a good idea.
>
> Maybe it helps,
>   Harm
>

Harm,

Thanks for finding this! Ideally it would be nice to not have the fermatas
over the rests, but if that's tricky to do, then this version is fine.

Thanks again,
Brin
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Header fields in custom footer

2016-12-05 Thread Thomas Morley
2016-12-02 0:43 GMT+01:00 Noeck :
> Hi Harm,
>
> hm, I am still not getting what I want. I fear that's what you meant by
> the limitations concerning the $defaultheader.

Yep.
\headers can be set at very different levels, I simply don't know how
to catch others than the first instance at toplevel.

> Can this be solved?

Falling back to markup-commands may work. See below.
Though, I fear you'll have no difficulties to get it broken. Regard it
as a first sketch.

#(define-markup-command (my-with-url layout props url arg)
  (markup? markup?)
  #:properties ((proc '()))
  (let* ((stil (interpret-markup layout props arg))
 (xextent (ly:stencil-extent stil X))
 (yextent (ly:stencil-extent stil Y))
 (old-expr (ly:stencil-expr stil))
 (possible-url-string (chain-assoc-get (last url) props))
 ;; be aware: not recursing!!!
 (url-string
   (if (string? possible-url-string)
   (if (null? proc)
   possible-url-string
   (proc possible-url-string))
   ""))
 (url-expr
   (list 'url-link url-string `(quote ,xextent) `(quote ,yextent
(ly:stencil-add (ly:make-stencil url-expr xextent yextent) stil)))

#(define test-proc
  (lambda (strg)
(if (string? strg)
(format #f "https://creativecommons.org/licenses/~a/4.0/;
(substring strg 3))
strg)))

\header {
  composer = "Mozart"
  maintainer = "NameName"
  maintainerWeb = "http://example.com;
  license = "cc-by-sa"
}

\paper {
  oddFooterMarkup =
  \markup \column {
\fill-line {
  \on-the-fly #first-page
\line {
  "By"
  \my-with-url
\fromproperty #'header:maintainerWeb
\fromproperty #'header:maintainer
  "-"
  \override #`(proc . ,test-proc)
  \my-with-url
   \fromproperty #'header:license
   \line { "License:" \smaller #(module-ref $defaultheader 'license) }
}
}

\fill-line {
  %% Tagline header field only on last page in the book.
  \on-the-fly #last-page \fromproperty #'header:tagline
}
  }
}

{ a1 \pageBreak a \pageBreak a }

Cheers,
  Harm

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


Re: Changing context plugins

2016-12-05 Thread Thomas Morley
2016-12-05 16:29 GMT+01:00 David Sumbler :

> But two questions have occurred to me arising out of this.
>
> 1) Plug-ins for most contexts can be added or removed either in a
> \layout block, as above, or when creating the context, e.g.
>
> \new \Staff \with { consists Mark_engraver }

This is invalid syntax, you probably meant:
\new Staff \with { \consists Mark_engraver }

>
> But this second method can't, so far as I can see, be used with a Score
> context, because '\new \Score' is not allowed.  Can Score plug-ins only
> be added or removed within a \layout block?

'\new \Score' is invalid syntax as well, but

\new Score \with { \remove "Mark_engraver" }
<<
\new Staff
  \relative c'' { c4 \mark \default s c2 }
\new Staff \with { \consists "Mark_engraver" }
  \relative c'' { c4 s \mark \default c2 }
>>

works fine. Though, it could easily be written like:

\score {
  <<
  \new Staff
\relative c'' { c4 \mark \default s c2 }
  \new Staff \with { \consists "Mark_engraver" }
\relative c'' { c4 s \mark \default c2 }
  >>
  \layout {
\context {
  \Score
  \remove "Mark_engraver"
}
  }
}

I vagely remember discussions about the topic years ago. Everyone
agreed, so the possibility to write
\new Score \with ...
is not mentioned anywhere at all, but still valid syntax.

>
> 2) More importantly, is it possible to change these settings at an
> arbitrary point in the music, i.e. after the context has been created?

Nope, not for the engravers being in the context or not.
You have to go for properties of context/grob/whatever read/written by
the relevant engravers.

Cheers,
 Harm

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


Re: Spacing for s4

2016-12-05 Thread Thomas Morley
2016-12-04 17:50 GMT+01:00 Carl Sorensen :
>
>
> On 12/3/16 7:12 AM, "PMA"  wrote:
>
>>
>>With such a simple solution (my using 'r' instead & setting
>>rests to transparent), I'm not inclined to pursue the issue.
>
> I suspect (although I haven't tried it) that using 'r' and setting the
> stencil to #f would produce exactly the same output as using s.
>
>>
>>I do wonder, though, if spacers are not to make space (for
>>themselves, so of course nudging the next event rightward),
>>why they are called "spacers" at all.
>
> Yes, that is an interesting question.
>
>
> Until I reread the manual I had forgotten that spacer rests are really
> called "invisible rests", which exactly describes what they do.  Perhaps
> we should change the documentation to have most of the text read
> "invisible rest".
>
> Thanks,
>
> Carl



Well, "spacer rests" don't create a NoteColumn, as opposed to Rests
(visible or not) and no grob is assigned to them.
No bug but a feature.

This becomes important once we want to deal with fancy glissandi.
(There may be other use cases apart from glissandi. It's just the one
I use sometimes.)

In the following example only the first measure puts out a glissando at all:

{
  c''4\glissando s c'''2
  \omit Rest
  c''4\glissando r c'''2
  \override Rest.after-line-breaking = #ly:grob-suicide!
  c''4\glissando r c'''2
  \override Rest.before-line-breaking = #ly:grob-suicide!
  c''4\glissando r c'''2
}

Currently I've no idea how we could keep that behavior _and_ giving
spacers some extend of there own, without creating a grob for them.

For the name, "spacer" may be ill-named, internally they are called
SkipEvents, which comes closer. Maybe "timer" would even more
appropiate, but sounds even more strange.

Cheers,
  Harm

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


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread Thomas Morley
2016-12-05 16:52 GMT+01:00 Brin Solomon :
> Hello all,
>
> I'm trying to typeset a piece where one player has an unmetered cadenza
> while every other player rests. I'm trying to use mmrest-of-length to
> generate the rests, but if I use \cadenzaOn, I get the error "programming
> error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests are
> not printed. This error doesn't happen if I use skip-of-rest instead, but in
> that case, I don't get the rests.
>
> Here is a minimal example that demonstrates the problem:
>
> %%
>
> \version "2.18.2"
>
> MyCadenza = \relative c' {
>   c4 d8 e f g g4
>   f2 g4 g \bar "|"
> }
>
> \new GrandStaff <<
>   \new Staff {
> \cadenzaOn
> \MyCadenza
> \cadenzaOff c'1
>   }
>   \new Staff {
> \cadenzaOn
> #(mmrest-of-length MyCadenza)
> \cadenzaOff
> c'1
>   }
>>>
>
> %%%
>
> I'm running version 2.18.2 on Mac OS 10.11.6. Is there a different command I
> should be using to get a full measure rest while I'm using \cadenzaOn?
>
> Thanks in advance,
> Brin


Hi,
found some code on the list (can't say anymore who posted it
initially) and extended it a bit. See attached.
It completely avoids \cadenzaOn/Off, because of the hassle you experienced.
midi may come out strange (not tested), I don't care about midi, though ...

It's 2.15.24 code, but still working. Anyway running convert-ly over
it may be a good idea.

Maybe it helps,
  Harm
\version "2.15.24" 

cadenzaNotes =
#(define-music-function (parser location fermata? music cad-music) (boolean? ly:music? ly:music?)
  (let* ((mus-len (ly:music-length  cad-music))
 (num (ly:moment-main-numerator mus-len))
 (denom (ly:moment-main-denominator mus-len))
 (fermata (make-music 'MultiMeasureTextEvent
 'tweaks (list
  ;; Set the 'text based on the 'direction
  (cons 'text (lambda (grob)
(if (eq? (ly:grob-property grob 'direction) DOWN)
(markup #:musicglyph "scripts.dfermata")
(markup #:musicglyph "scripts.ufermata"
  (cons 'outside-staff-priority 40)
  (cons 'outside-staff-padding 0
(lst (list
  	#{
  	  \set Timing.measureLength = $mus-len
  	  \scaleDurations #(cons num denom) $music 
  	  \unset Timing.measureLength
  	#}))
)
 (make-sequential-music
  (if fermata?
  (cons fermata lst)
  lst


othernotes = \relative c'' { d1 c1 }
cnotes = \relative c'' {  c8[ d e f g]  c,8[ d e f g]}
snotes = { $(skip-of-length cnotes) }
mnotesI = \cadenzaNotes ##t R1 \cnotes
mnotesII = \cadenzaNotes ##f \relative c'' { c2 d } \cnotes


\score {
 <<
   \new Staff { \othernotes \cnotes \othernotes }
   \new Staff { \othernotes \snotes \othernotes }
   \new Staff { \othernotes \mnotesI \othernotes }
   \new Staff { \othernotes \mnotesII \othernotes }
   \new Staff \relative c'' { d1 c1~ \cadenzaNotes ##t { c2\fermata g4\fermata c~ }  \cnotes  c1 d }
   % manually:
   \new Staff { \othernotes R1*10/8\fermataMarkup  \othernotes }
   \new Staff { \othernotes \scaleDurations #'(10 . 8) \relative c'' { c2\fermata g4\fermata c }  \othernotes }
 >>
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Spacing for s4

2016-12-05 Thread PMA

My apologies, Simon.  Just now registered your first request.
Will reform.

On 12/05/2016 03:42 PM, Simon Albrecht wrote:

I don’t understand why you keep going off-list with this.
Best, Simon


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


Re: Spacing for s4

2016-12-05 Thread Simon Albrecht

I don’t understand why you keep going off-list with this.
Best, Simon

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


Re: PyQt5

2016-12-05 Thread Urs Liska


Am 05.12.2016 um 17:13 schrieb Federico Bruni:
> Il giorno lun 5 dic 2016 alle 16:54, Urs Liska  ha
> scritto:
>> I don't worry about the stability of Debian testing but would like to be
>> somewhat assured about the process of switching to it. IIUC it basically
>> boils down to switching the package repositories from stable to testing
>> and upgrading with apt-get, isn't it?
>
> Yes, you can find more on the debian wiki.
> I updated debian stable to testing only once (it's an upgrade that you
> cannot revert).
> The transition was smooth.
>
>>
>> So how high should I consider the risks of substantial complications on
>> the way? And would I have a way to have apt do some kind of rollback?
>
> No rollback, as far as I know.
>
>>
>> Maybe there are other risks stemming from the fact that ... my
>> current setup doesn't refer to vanilla Debian only but has been
>> tailored by the Mint developers?
>
> I guess more than a risk, but you'd better ask on Mint support channels.

Well, since writing the last email I found several posts on the Mint
forums where it is clearly stated that doing this is more or less
*guaranteed* to break the installation.

And I also found a longer article which made me realize one thing: when
I initially installed LMDE it was exactly because it was based on Debian
testing, as a rolling release. Obviously they incrementally stepped back
until they reached the point of basing on Debian stable, which
definitely isn't what I intended.

>
>>
>>>
>>>  My suggestion is switching to Debian testing.
>>>  Why did you choose Linux Mint? Because of desktop environments
>>>  alternative to Gnome which were not available in Debian?
>>
>> Actually I don't really recall what was the trigger for me to switch.
>> Maybe I had some issue with the Debian/Gnome setup I had, or I just
>> wanted to try out something different after reading about Mint?
>> Anyway I chose LMDE, which is a Mint based on Debian instead of Ubuntu
>> repositories.
>> I liked the Cinnamon desktop, and maybe that wasn't (isn't) available
>> under Debian (then)?
>>
>> If I don't have to fear transition quirks I'd also be open to try out
>> others, though.
>
> Cinnamon is available in stable and testing as well:
> https://packages.debian.org/search?keywords=cinnamon
>
> I would install debian testing from scratch.
> What is keeping you from doing so? Migrating your configurations is
> boring?

Exactly. Recreating the tools I use, partially compiled from source,
partially from downloaded packages, partially from the distro's repos.

Additionally, I'm not so sure how I should proceed:
I have one "smaller" partition with ~30 GB, mounted as "/" and used for
the LMDE system. Unfortunately this is marked as the boot partition.
Then there's another partition of about the same size where I have
currently installed Ubuntu Mate (to test Frescobaldi 3), but I'd happily
replace that again with Debian.

Questions:
a) how to proceed with the boot flag? Can I simply mark the "new"
partition as bootable when installing Debian, will I then still be able
to boot into LMDE (which I'd want until I know everything works)?
b) how would I proceed with the (big) /home partition? What I don't like
about dual LInux-Linux boots is sharing a home partition. Well, this is
cool, but I find the configuration files disturbing and potentially
confusing.

Urs


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


Re: Spacing for s4

2016-12-05 Thread Carl Sorensen
In this code, the spacer rest takes up space in the proportional spacing
code. (modified from
http://lilypond.org/doc/v2.19/Documentation/notation/proportional-notation)

So I'm not sure what happened to your code.

%%%

\score {
  <<
\new RhythmicStaff {
  c2 16 16 16 16 \tuplet 5/4 { 16 16 16 16 16 }  |
   s2 c16 16 16 16 \tuplet 5/4 { 16 16 16 16 16 }  |
}
  >>
 \layout {
\context {
  \Score
  proportionalNotationDuration = #(ly:make-moment 1/20)
}
  }
}




Thanks,

Carl



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


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread SoundsFromSound
Nick Baskin wrote
> On Mon, Dec 5, 2016 at 1:16 PM, SoundsFromSound 

> soundsfromsound@

> 
> wrote:
> 
>> Nick Baskin wrote
>> > Hello all,
>> >
>> > I'm trying to typeset a piece where one player has an unmetered cadenza
>> > while every other player rests. I'm trying to use mmrest-of-length to
>> > generate the rests, but if I use \cadenzaOn, I get the error
>> "programming
>> > error: Multi_measure_rest::get_rods (): I am not spanned!" and the
>> rests
>> > are not printed. This error doesn't happen if I use skip-of-rest
>> instead,
>> > but in that case, I don't get the rests.
>> >
>> >
>> > Thanks in advance,
>> > Brin
>> >
>> > ___
>> > lilypond-user mailing list
>>
>> > lilypond-user@
>>
>> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
> 
> Hello Ben,
> 
> Maybe it's an issue with the screen shot, but it looks like there's no
> rest
> in the lower staff in the screenshot? But it's interesting that the error
> message disappears with the development version as opposed to the stable
> one; any thoughts on what might have changed?
> 
> Brin
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user

Hi Brin,

You are correct, however I just thought perhaps you could find it useful if
you knew at least I was not seeing any errors like you were - perhaps you
can try your score in a 2.19 version just as a test? Not sure what's changed
but, no errors here. :) Let us know what happens.



-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/mmrest-of-length-and-cadenzaOn-tp197634p197657.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Spacing for s4

2016-12-05 Thread Simon Albrecht

On 05.12.2016 18:58, PMA wrote:

On 12/05/2016 11:51 AM, Carl Sorensen wrote:

On 12/5/16 8:52 AM, "PMA"  wrote:


On 12/04/2016 12:40 PM, PMA wrote:


Come to think of it, "*spacer rest*" instead actually comes closer --
assuming anyway somewhere a strict definition.

P


..."closer", i.e., in describing the output of Rest.transparent!
(Sorry, I'd switched references.)

P


Yes, I agree that a transparent rest would be better called a spacer 
rest,

as it creates space for the rest.

However, with strict proportional spacing, I am surprised that an
invisible rest (s4) doesn't take up space.  I haven't looked at the code
to see why, but I would expect it to, as the music elements should be
printed exactly according to their start moment in proportional spacing.


Good - a relief to hear the surprise isn't all mine!
So I must now send you this score's setup commands,
which do include some custom stuff c/o You Guys.
Later today


And please on-list.

Best, Simon

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


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread Brin Solomon
On Mon, Dec 5, 2016 at 1:16 PM, SoundsFromSound 
wrote:

> Nick Baskin wrote
> > Hello all,
> >
> > I'm trying to typeset a piece where one player has an unmetered cadenza
> > while every other player rests. I'm trying to use mmrest-of-length to
> > generate the rests, but if I use \cadenzaOn, I get the error "programming
> > error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests
> > are not printed. This error doesn't happen if I use skip-of-rest instead,
> > but in that case, I don't get the rests.
> >
> >
> > Thanks in advance,
> > Brin
> >
> > ___
> > lilypond-user mailing list
>
> > lilypond-user@
>
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>
> Hello,
>
> Not sure this 100% answers your question, but for what it's worth, I just
> copied and pasted your code into my Frescobaldi and the log showed no
> errors
> and it engraved "correctly" as is. No "programming error" at all.
>
> I used LilyPond 2.19.52.
>
> See attached for screenshot.
>
> Ben
>
> works_ok_.png
> 
>
>
>
> -
> composer | sound designer
> LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
> --
> View this message in context: http://lilypond.1069038.n5.
> nabble.com/mmrest-of-length-and-cadenzaOn-tp197634p197654.html
> Sent from the User mailing list archive at Nabble.com.
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

Hello Ben,

Maybe it's an issue with the screen shot, but it looks like there's no rest
in the lower staff in the screenshot? But it's interesting that the error
message disappears with the development version as opposed to the stable
one; any thoughts on what might have changed?

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


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread SoundsFromSound
Nick Baskin wrote
> Hello all,
> 
> I'm trying to typeset a piece where one player has an unmetered cadenza
> while every other player rests. I'm trying to use mmrest-of-length to
> generate the rests, but if I use \cadenzaOn, I get the error "programming
> error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests
> are not printed. This error doesn't happen if I use skip-of-rest instead,
> but in that case, I don't get the rests.
> 
> 
> Thanks in advance,
> Brin
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user

Hello,

Not sure this 100% answers your question, but for what it's worth, I just
copied and pasted your code into my Frescobaldi and the log showed no errors
and it engraved "correctly" as is. No "programming error" at all.

I used LilyPond 2.19.52.

See attached for screenshot.

Ben

works_ok_.png
  



-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/mmrest-of-length-and-cadenzaOn-tp197634p197654.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Accidental in brackets

2016-12-05 Thread David Nalesnik
On Mon, Dec 5, 2016 at 11:39 AM, David Nalesnik
 wrote:
> On Mon, Dec 5, 2016 at 11:34 AM, SoundsFromSound
>  wrote:
>> David Nalesnik wrote
>>> Haven't examined the other alternatives proposed, but here's something
>>> I just did.  It's based on a rewrite of functions in
>>> lily/accidental.cc
>>>
>>> HTH,
>>> David
>>>
>>> ___
>>> lilypond-user mailing list
>>
>>> lilypond-user@
>>
>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>>> accidental-brackets.ly (3K)
>>> http://lilypond.1069038.n5.nabble.com/attachment/197640/0/accidental-brackets.ly;
>>
>> Wow. David, this looks amazing. Perfect and exactly what the doctor ordered
>> - well, for what I need :) Hope it helps others too! Huge thanks for this.
>> Works like a charm.
>>
>> Ben
>>
>
>
> Thanks!
>
> On a side note, I'm becoming more and more convinced that C++ stencil
> stuff should be ported to Scheme.  It makes user modification so much
> easier.
>

Though, on a technical note, I'm unsure of the best way to handle the
pattern of repeatedly modifying a variable's value which the C++
source does in stencil functions.  I've tried to avoid use of set! --
instead declaring new variables in the course of a let* block.  But
maybe set! isn't so un-schemic and is better for eliminating levels of
nesting?

David

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


Re: Accidental in brackets

2016-12-05 Thread SoundsFromSound
David Nalesnik wrote
> Haven't examined the other alternatives proposed, but here's something
> I just did.  It's based on a rewrite of functions in
> lily/accidental.cc
> 
> HTH,
> David
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> accidental-brackets.ly (3K)
> http://lilypond.1069038.n5.nabble.com/attachment/197640/0/accidental-brackets.ly;

Wow. David, this looks amazing. Perfect and exactly what the doctor ordered
- well, for what I need :) Hope it helps others too! Huge thanks for this.
Works like a charm.

Ben



-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Accidental-in-brackets-tp197629p197648.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Accidental in brackets

2016-12-05 Thread David Nalesnik
On Mon, Dec 5, 2016 at 11:34 AM, SoundsFromSound
 wrote:
> David Nalesnik wrote
>> Haven't examined the other alternatives proposed, but here's something
>> I just did.  It's based on a rewrite of functions in
>> lily/accidental.cc
>>
>> HTH,
>> David
>>
>> ___
>> lilypond-user mailing list
>
>> lilypond-user@
>
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>> accidental-brackets.ly (3K)
>> http://lilypond.1069038.n5.nabble.com/attachment/197640/0/accidental-brackets.ly;
>
> Wow. David, this looks amazing. Perfect and exactly what the doctor ordered
> - well, for what I need :) Hope it helps others too! Huge thanks for this.
> Works like a charm.
>
> Ben
>


Thanks!

On a side note, I'm becoming more and more convinced that C++ stencil
stuff should be ported to Scheme.  It makes user modification so much
easier.

David

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


Re: stanza question

2016-12-05 Thread Simon Albrecht

On 05.12.2016 14:03, MING TSANG wrote:

Dear lilyponders:

Is it possible to box (or circle, triangle) the stanza text.  it is a 
bold text now.


To make it non-bold (medium), you can either use
\set stanza = \markup { \box \normal-text "1." }
or
\layout {
  \context {
\Lyrics
\override StanzaNumber.font-series = #'medium
  }
}

Best, Simon

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


Re: fingering context

2016-12-05 Thread Simon Albrecht

On 04.12.2016 23:45, Gianmaria Lari wrote:
Any reason why you use attachment instead to directly copy and paste 
your code? I was thinking that for snippet was better the latter 
because the user can read the code without having to open the file


Good causes can be made for both. Using attachments prevents mangling of 
the code underway due to e.g. encoding issues or reformatting, and you 
can just open the file in Frescobaldi instead of having to copy & paste.


In fact, Thunderbird displays text attachments (and images) without 
having to open them externally, normal attachments as well as the kind 
of ‘inline attachment’ that is apparently supported by the e-mail 
standard, but that I’ve only ever seen used by David, since most mailing 
clients don’t support it…


Best, Simon

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


Re: Changing context plugins

2016-12-05 Thread Carl Sorensen


On 12/5/16 8:29 AM, "David Sumbler"  wrote:

>But this second method can't, so far as I can see, be used with a Score
>context, because '\new \Score' is not allowed.  Can Score plug-ins only
>be added or removed within a \layout block?

I believe you are correct here.

>
>2) More importantly, is it possible to change these settings at an
>arbitrary point in the music, i.e. after the context has been created?

As far as I know, it is not possible to change the engravers that a
context contains.

Thanks,

Carl
'


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


Re: Accidental in brackets

2016-12-05 Thread David Nalesnik
Hi Urs,

On Mon, Dec 5, 2016 at 10:30 AM, tisimst  wrote:
> Urs,
>
> On Mon, Dec 5, 2016 at 7:54 AM, Mike Solomon [via Lilypond] <[hidden email]>
> wrote:
>>
>> Hey!
>>
>> Total hack, but if you check out scm/stencil.scm, you’ll see how
>> parentheses are made…
>>
>> (define-public (parenthesize-stencil
>> stencil half-thickness width angularity padding)
>>   "Add parentheses around @var{stencil}, returning a new stencil."
>>   (let* ((y-extent (ly:stencil-extent stencil Y))
>>  (lp (make-parenthesis-stencil
>>   y-extent half-thickness (- width) angularity))
>>  (rp (make-parenthesis-stencil
>>   y-extent half-thickness width angularity)))
>> (set! stencil (ly:stencil-combine-at-edge stencil X LEFT lp padding))
>> (set! stencil (ly:stencil-combine-at-edge stencil X RIGHT rp padding))
>> stencil))
>>
>> So it looks like you can substitute in make-connected-path-stencil for
>> make-parenthesis-stencil, using sensible parameters for the connected path
>> based on the y extent and the width.
>
>
> Here's another option for you that I created recently that creates brackets
> roughly the same size as the real parentheses glyphs, so I think it (the
> second one I describe in that message) tends to look a little better than
> relying on the stencil of the accidental because, for example, you'll get
> very different results for a flat glyph vs. a natural glyph (as will Mike's
> code):
> http://lists.gnu.org/archive/html/lilypond-user/2016-11/msg00928.html
>
> Best,
> Abraham
>

Haven't examined the other alternatives proposed, but here's something
I just did.  It's based on a rewrite of functions in
lily/accidental.cc

HTH,
David
\version "2.19.46"

% Returns default parens

#(define (parenthesize grob m)
   (let* ((fm (ly:grob-default-font grob))
  (op (ly:font-get-glyph fm "accidentals.leftparen"))
  (cl (ly:font-get-glyph fm "accidentals.rightparen"))
  (m (ly:stencil-combine-at-edge m X LEFT op 0))
  (m (ly:stencil-combine-at-edge m X RIGHT cl 0)))
 m))

% Parens as brackets

#(define (parenthesize grob mol)
   (let* ((ext (ly:stencil-extent mol Y))
  (ss (ly:staff-symbol-staff-space grob))
  (ext (interval-widen ext (/ ss 2.0)))
  ; too thin
  ;(thickness (ly:output-def-lookup (ly:grob-layout grob) 'line-thickness))
  (thickness 0.2)
  (protrusion 0.5)
  (lb (ly:bracket Y ext thickness protrusion))
  (rb (ly:bracket Y ext thickness (- protrusion)))
  (mol (ly:stencil-combine-at-edge mol X LEFT lb 0))
  (mol (ly:stencil-combine-at-edge mol X RIGHT rb 0)))
 mol))

#(define accidental-interface::square-brackets
   (lambda (grob)
 (let* ((fm (ly:grob-default-font grob))
(alist (ly:grob-property grob 'glyph-name-alist))
(alt (ly:grob-property grob 'alteration))
(glyph-name (ly:assoc-get alt alist #f))
(mol (if (string? glyph-name)
 (ly:font-get-glyph fm glyph-name)
 (begin
  (ly:warning (_ "Could not find glyph-name for alteration ~s") alt)
  (ly:font-get-glyph fm "noteheads.s1cross"
(mol (if (eq? #t (ly:grob-property grob 'restore-first))
 (let ((acc (ly:font-get-glyph fm "accidentals.natural")))
   (if (ly:stencil? acc)
   (ly:stencil-combine-at-edge mol X LEFT acc 0.1)
   (begin
(ly:warning "natural alteration glyph not found")
mol)))
 mol)))
   (if (eq? #t (ly:grob-property grob 'parenthesized))
   (parenthesize grob mol)
   mol


{
  cis''?1 ces''? cisis''? ceses''? c''!?
  \override Staff.AccidentalCautionary.stencil = #accidental-interface::square-brackets
  cis''? ces''? cisis''? ceses''? c''!?
  % not cautionary...
  cis''
  
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Accidental in brackets

2016-12-05 Thread tisimst
Urs,

On Mon, Dec 5, 2016 at 7:54 AM, Mike Solomon [via Lilypond] <
ml-node+s1069038n197630...@n5.nabble.com> wrote:

> Hey!
>
> Total hack, but if you check out scm/stencil.scm, you’ll see how
> parentheses are made…
>
> (define-public (parenthesize-stencil
> stencil half-thickness width angularity padding)
>   "Add parentheses around @var{stencil}, returning a new stencil."
>   (let* ((y-extent (ly:stencil-extent stencil Y))
>  (lp (make-parenthesis-stencil
>   y-extent half-thickness (- width) angularity))
>  (rp (make-parenthesis-stencil
>   y-extent half-thickness width angularity)))
> (set! stencil (ly:stencil-combine-at-edge stencil X LEFT lp padding))
> (set! stencil (ly:stencil-combine-at-edge stencil X RIGHT rp padding))
> stencil))
>
> So it looks like you can substitute in make-connected-path-stencil for
> make-parenthesis-stencil, using sensible parameters for the connected path
> based on the y extent and the width.
>

Here's another option for you that I created recently that creates brackets
roughly the same size as the real parentheses glyphs, so I think it (the
second one I describe in that message) tends to look a little better than
relying on the stencil of the accidental because, for example, you'll get
very different results for a flat glyph vs. a natural glyph (as will Mike's
code):
http://lists.gnu.org/archive/html/lilypond-user/2016-11/msg00928.html

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Accidental-in-brackets-tp197629p197639.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PyQt5

2016-12-05 Thread Federico Bruni
Il giorno lun 5 dic 2016 alle 16:54, Urs Liska  ha 
scritto:
I don't worry about the stability of Debian testing but would like to 
be
somewhat assured about the process of switching to it. IIUC it 
basically
boils down to switching the package repositories from stable to 
testing

and upgrading with apt-get, isn't it?


Yes, you can find more on the debian wiki.
I updated debian stable to testing only once (it's an upgrade that you 
cannot revert).

The transition was smooth.



So how high should I consider the risks of substantial complications 
on

the way? And would I have a way to have apt do some kind of rollback?


No rollback, as far as I know.



Maybe there are other risks stemming from the fact that ... my 
current setup doesn't refer to vanilla Debian only but has been

tailored by the Mint developers?


I guess more than a risk, but you'd better ask on Mint support channels.





 My suggestion is switching to Debian testing.
 Why did you choose Linux Mint? Because of desktop environments
 alternative to Gnome which were not available in Debian?


Actually I don't really recall what was the trigger for me to switch.
Maybe I had some issue with the Debian/Gnome setup I had, or I just
wanted to try out something different after reading about Mint?
Anyway I chose LMDE, which is a Mint based on Debian instead of Ubuntu
repositories.
I liked the Cinnamon desktop, and maybe that wasn't (isn't) available
under Debian (then)?

If I don't have to fear transition quirks I'd also be open to try out
others, though.


Cinnamon is available in stable and testing as well:
https://packages.debian.org/search?keywords=cinnamon

I would install debian testing from scratch.
What is keeping you from doing so? Migrating your configurations is 
boring?



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


Re: PyQt5

2016-12-05 Thread Urs Liska


Am 05.12.2016 um 16:37 schrieb Federico Bruni:
> Il giorno lun 5 dic 2016 alle 16:14, Urs Liska  ha
> scritto:
>> Thank you for this explanation, which I could conveniently follow.
>> Until:
>>
>>>
>>> Now the problem is how many dependencies you need to upgrade and the
>>> conflicts that will occur.
>>
>> Well, the first thing was that I would have to pin the python3
>> package as well - and then I was flooded with a bunch of unmatched <=
>> *and* >= dependecies.
>> Which basically is what I was afraid of.
>
> Mmmmh, I see.
>
>>
>> So I think I will have to go for one out of:
>> Waiting until PyQt and Qt are updated in my Distro
>> Switching the whole distro to testing (is that risky? (I mean
>> changing, not running testing, which I did earlier))
>> Completely switching to something else (with the hassle of setting up
>> again everything)
>> working with a dual boot (or VM) only for Frescobaldi work.
>> Actually I don't like any of these ...
>>
>
> I've used Debian testing for several years (switched to Fedora last
> year) and I can tell that it's stable.
> I can't remember any big problem or instability issues.

I had this running as well (I think when 7 was "testing").

> If you happen to be hit by a bug in some package, it will be fixed
> quickly, because it's a rolling release, often updated (this may be
> seen as a drawback, because upgrades and downloads of packages are
> more frequent than in stable releases).
> Debian stable has a very slow release cycle. I've never been able to
> use it because of this.

I don't worry about the stability of Debian testing but would like to be
somewhat assured about the process of switching to it. IIUC it basically
boils down to switching the package repositories from stable to testing
and upgrading with apt-get, isn't it?
So how high should I consider the risks of substantial complications on
the way? And would I have a way to have apt do some kind of rollback?

Maybe there are other risks stemming from the fact that

>
> My suggestion is switching to Debian testing.
> Why did you choose Linux Mint? Because of desktop environments
> alternative to Gnome which were not available in Debian? 

Actually I don't really recall what was the trigger for me to switch.
Maybe I had some issue with the Debian/Gnome setup I had, or I just
wanted to try out something different after reading about Mint?
Anyway I chose LMDE, which is a Mint based on Debian instead of Ubuntu
repositories.
I liked the Cinnamon desktop, and maybe that wasn't (isn't) available
under Debian (then)?

If I don't have to fear transition quirks I'd also be open to try out
others, though.

Best
Urs

> Both Mate and LxQt are available in testing/stretch:
> https://packages.debian.org/testing/lxqt
> https://packages.debian.org/stretch/mate-desktop-environment
>
>
>


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


Re: PyQt5

2016-12-05 Thread Urs Liska
Oops.


Am 05.12.2016 um 16:54 schrieb Urs Liska:
> Maybe there are other risks stemming from the fact that

... my current setup doesn't refer to vanilla Debian only but has been
tailored by the Mint developers?

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


Re: New LilyPond website

2016-12-05 Thread Paul

On 12/03/2016 04:24 PM, Graham Percival wrote:


On Thu, Dec 01, 2016 at 08:10:17PM -0500, Paul wrote:

I just wish that working with texinfo (for the website) was more intuitive
for contributors who know HTML but not texinfo.  For example, an HTML
element with an id and also a number of classes, all used for styling it
with CSS.  I don't know if you can generate that HTML element (with both id
and classes) from texinfo with our current setup.

Here's an example from web.texi:

@divId{quickSummary}
LilyPond is a music engraving program, devoted to producing the
highest-quality sheet music possible.  It brings the aesthetics of
traditionally engraved music to computer printouts.  LilyPond is free
software and part of the @uref{http://gnu.org,GNU Project}.

@divClass{align-right}
Read more in our @ref{Introduction}!

@divEnd
@divEnd


Yes, this works fine here since two divs are needed.  There doesn't seem 
to be a way to produce a single div with both an id and classes (as is 
routine in HTML).  Ideally we'd have a single macro for divs that let 
you assign an id (or not) and classes (or not) to the div. That would be 
more intuitive for those used to HTML.



The macros could be easily extended to add multiple classes (if they
don't do that already; I can't recall).


The uses of divClass in the itexi files appear to have just a single 
class, but I took a look at the divClass macro in common-macros.itexi 
and tested it and it already works for multiple classes:


@divClass {first-class second-class}

And looking at the other macros I see how to write a macro that creates 
a div with ID and classes:


@div {an-id,first-class second-class}

I'll post a proposal on the dev list and/or prepare a patch.

Cheers,
-Paul



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


mmrest-of-length and \cadenzaOn

2016-12-05 Thread Brin Solomon
Hello all,

I'm trying to typeset a piece where one player has an unmetered cadenza
while every other player rests. I'm trying to use mmrest-of-length to
generate the rests, but if I use \cadenzaOn, I get the error "programming
error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests
are not printed. This error doesn't happen if I use skip-of-rest instead,
but in that case, I don't get the rests.

Here is a minimal example that demonstrates the problem:

%%

\version "2.18.2"

MyCadenza = \relative c' {
  c4 d8 e f g g4
  f2 g4 g \bar "|"
}

\new GrandStaff <<
  \new Staff {
\cadenzaOn
\MyCadenza
\cadenzaOff c'1
  }
  \new Staff {
\cadenzaOn
#(mmrest-of-length MyCadenza)
\cadenzaOff
c'1
  }
>>

%%%

I'm running version 2.18.2 on Mac OS 10.11.6. Is there a different command
I should be using to get a full measure rest while I'm using \cadenzaOn?

Thanks in advance,
Brin
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PyQt5

2016-12-05 Thread Federico Bruni
Il giorno lun 5 dic 2016 alle 16:14, Urs Liska  ha 
scritto:

Thank you for this explanation, which I could conveniently follow.
Until:



Now the problem is how many dependencies you need to upgrade and the 
conflicts that will occur.


Well, the first thing was that I would have to pin the python3 
package as well - and then I was flooded with a bunch of unmatched <= 
*and* >= dependecies.

Which basically is what I was afraid of.


Mmmmh, I see.



So I think I will have to go for one out of:
Waiting until PyQt and Qt are updated in my Distro
Switching the whole distro to testing (is that risky? (I mean 
changing, not running testing, which I did earlier))
Completely switching to something else (with the hassle of setting up 
again everything)

working with a dual boot (or VM) only for Frescobaldi work.
Actually I don't like any of these ...



I've used Debian testing for several years (switched to Fedora last 
year) and I can tell that it's stable.
I can't remember any big problem or instability issues. If you happen 
to be hit by a bug in some package, it will be fixed quickly, because 
it's a rolling release, often updated (this may be seen as a drawback, 
because upgrades and downloads of packages are more frequent than in 
stable releases).
Debian stable has a very slow release cycle. I've never been able to 
use it because of this.


My suggestion is switching to Debian testing.
Why did you choose Linux Mint? Because of desktop environments 
alternative to Gnome which were not available in Debian? Both Mate and 
LxQt are available in testing/stretch:

https://packages.debian.org/testing/lxqt
https://packages.debian.org/stretch/mate-desktop-environment




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


Changing context plugins

2016-12-05 Thread David Sumbler
This question arises out of a problem I had in the piece I am currently
setting.  I have certain marks I wish to appear above a bar-line.  I
want one of them to appear only in the lower stave.  In this particular
instance I can get the result I want thus:

%%
\version "2.19.48"

\language "english"

firstmark  = \mark \markup { \whiteout "First" }
secondmark = \mark \markup { \whiteout "Second" }

\score {
  \new StaffGroup {
<<\new Staff { R1 \firstmark R R }
  \new Staff { R1 R \secondmark  R }
>> }
  \layout {
\context { \Score
   \remove Mark_engraver }
\context { \Staff
   \consists Mark_engraver }
  }
}
%%

But two questions have occurred to me arising out of this.

1) Plug-ins for most contexts can be added or removed either in a
\layout block, as above, or when creating the context, e.g.

\new \Staff \with { consists Mark_engraver }

But this second method can't, so far as I can see, be used with a Score
context, because '\new \Score' is not allowed.  Can Score plug-ins only
be added or removed within a \layout block?

2) More importantly, is it possible to change these settings at an
arbitrary point in the music, i.e. after the context has been created?
 I can't find any way to do that, although with my limited
understanding of the internal workings of Lilypond, there doesn't seem
to be any reason why it should not be possible.  (This is what I
started off attempting to do in my piece, without success.  I then
realized that in this particular case I could work around the problem,
as shown above, but in another case one might need to change things
part of the way through a piece.)

David


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


Re: PyQt5

2016-12-05 Thread Urs Liska


Am 05.12.2016 um 13:15 schrieb Federico Bruni:
> Il giorno dom 4 dic 2016 alle 22:19, Urs Liska  ha
> scritto:
>>> Otherwise you may try pinning a package in a different repository.
>>
>> I must say I'm a little bit worried because it's not just PyQt but also
>> Qt itself and IISC a number of other things that all have to match. But
>> I must admit I don't really see through that.
>>
>>>  Don't know how Linux Mint works...
>>
>> I *think* that with regard to packaging it should behave basically like
>> Debian itself. For example, unlike Ubuntu you can't add PPAs.
>
> I found some wiki pages where it was recommended even the opposite,
> that is adding mint repositories to a debian system. So they should
> work fine together.
> You may give it a try. aptitude will tell you what it's going to do
> before proceeding and you'll be able to say no if you see too many
> conflicts with other packages.
>
> Your system is based on debian 8.4, that is Jessie, current stable.
> So try appending this line to /etc/apt/sources.list:
>
> deb http://httpredir.debian.org/debian testing main contrib
>
> Then enable this repo only for the packages you want to take from there.
> Create the file /etc/apt/preferences and try with these lines:
>
> Package: python3-pyqt5
> Pin: release a=testing
> Pin-Priority: 900
>
> Package: *
> Pin: release a=testing
> Pin-Priority: 1
>
> Then update the repositories list and check if the pinning is correct:
>
> aptitude update
> apt-cache policy
> apt-cache policy python3-pyqt5
>
> I think that `aptitude upgrade` should automatically update the package.
> If it doesn't, you can force the upgrade.

Thank you for this explanation, which I could conveniently follow.
Until:

>
> Now the problem is how many dependencies you need to upgrade and the
> conflicts that will occur.

Well, the first thing was that I would have to pin the python3 package
as well - and then I was flooded with a bunch of unmatched <= *and* >=
dependecies.
Which basically is what I was afraid of.

So I think I will have to go for one out of:

  * Waiting until PyQt and Qt are updated in my Distro
  * Switching the whole distro to testing (is that risky? (I mean
changing, not running testing, which I did earlier))
  * Completely switching to something else (with the hassle of setting
up again everything)
  * working with a dual boot (or VM) only for Frescobaldi work.

Actually I don't like any of these ...

Best
Urs


>
>
>

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


Re: Accidental in brackets

2016-12-05 Thread Mike Solomon
Hey!

Total hack, but if you check out scm/stencil.scm, you’ll see how parentheses 
are made…

(define-public (parenthesize-stencil
                stencil half-thickness width angularity padding)
  "Add parentheses around @var{stencil}, returning a new stencil."
  (let* ((y-extent (ly:stencil-extent stencil Y))
         (lp (make-parenthesis-stencil
              y-extent half-thickness (- width) angularity))
         (rp (make-parenthesis-stencil
              y-extent half-thickness width angularity)))
    (set! stencil (ly:stencil-combine-at-edge stencil X LEFT lp padding))
    (set! stencil (ly:stencil-combine-at-edge stencil X RIGHT rp padding))
    stencil))

So it looks like you can substitute in make-connected-path-stencil for 
make-parenthesis-stencil, using sensible parameters for the connected path 
based on the y extent and the width.

~Mike


On 5 December 2016 at 16.46.16, Urs Liska (u...@openlilylib.org) wrote:

Hi all,  

I don't seem to find the right thing, neither in the docs, the LSR nor  
the list archive. I need to put square brackets around some accidentals  
in order to differentiate them from default parentheses.  

I don't find the way to create the respective stencil for this.  

It has to be possible to do that \once, and I assume I'll run into the  
situation where I will need both round and square ones within a chord.  

Any help available?  

Thanks  
Urs  


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


Accidental in brackets

2016-12-05 Thread Urs Liska
Hi all,

I don't seem to find the right thing, neither in the docs, the LSR nor
the list archive. I need to put square brackets around some accidentals
in order to differentiate them from default parentheses.

I don't find the way to create the respective stencil for this.

It has to be possible to do that \once, and I assume I'll run into the
situation where I will need both round and square ones within a chord.

Any help available?

Thanks
Urs


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


Re: fingering context

2016-12-05 Thread ching hsu
Hi, I am a new user of Lilypond.
Since on the topic of finger: As Frescobaldi has a tool of Quick remove
fingering, is there is a way  a snippet to automatically add fingering of
numeric tonic name).
I understand this may be under keybord data-entry issue not a engraver
issue?

ching




\version "2.19.52"
\language english

#(define Ez_numbers_engraver
   (make-engraver
(acknowledgers
 ((note-head-interface engraver grob source-engraver)
  (let* ((context (ly:translator-context engraver))
(tonic-pitch (ly:context-property context 'tonic))
(tonic-name (ly:pitch-notename tonic-pitch))
(grob-pitch
 (ly:event-property (event-cause grob) 'pitch))
(grob-name (ly:pitch-notename grob-pitch))
(delta (modulo (- grob-name tonic-name) 7))
(note-names
 (make-vector 7 (number->string (1+ delta)
(ly:grob-set-property! grob 'note-names note-names))

#(set-global-staff-size 30)

\layout {
  ragged-right = ##t
  \context {
\Voice
\consists \Ez_numbers_engraver
  }
}

\relative c' {
  \key g \major
  \easyHeadsOn
   d4 e fs g
   \easyHeadsOff
   d4-5 e-6 fs-7 g-1
   \break
}
%

On Sun, Dec 4, 2016 at 3:26 AM, David Kastrup  wrote:

> Gianmaria Lari  writes:
>
> > Is there any way to specify the fingering in a specific context? I tried
> > this without success:
> >
> > \version "2.19.49"
> >
> > \score
> > {
> >   <<
> > \new Staff {c' d' e' f'}
> > \new Dynamics {s4-1 s4-2 s4-3 s4-4}
> >   >>
> >   \layout { }
> > }
>
>
>
>
> --
> David Kastrup
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stanza question

2016-12-05 Thread MING TSANG
Dear Michael,
Thank you very much for answering mu question.  Thank you for showing me a 
sample MME that I will remember next time I ask question to the list.
 Ming

  From: "Gerdau, Michael" 
 To: Lilypond-usermailinglist ; MING TSANG 
 
 Sent: Monday, December 5, 2016 8:22 AM
 Subject: Re: stanza question
   
Dear Immanuel,Ming

please always try to create a minimal working example (MWE).

> Is it possible to box (or circle, triangle) the stanza text.  it is a bold
> text now.

You can use any markup, e.g. this:

%%%
\version "2.19.51"

music = \repeat unfold 10 { c' }
lyric = \lyricmode {
  \set stanza = \markup { \box "1" }
  \repeat unfold 10 { la }
}

{ \music \addlyrics \lyric }
%%%

HTH,
Michael
--
Michael Gerdau      email: m...@qata.de
GPG-keys available on request or at public keyserver

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


Re: stanza question

2016-12-05 Thread Gerdau, Michael
Dear Immanuel,Ming

please always try to create a minimal working example (MWE).

> Is it possible to box (or circle, triangle) the stanza text.  it is a bold
> text now.

You can use any markup, e.g. this:

%%%
\version "2.19.51"

music = \repeat unfold 10 { c' }
lyric = \lyricmode {
  \set stanza = \markup { \box "1" }
  \repeat unfold 10 { la }
}

{ \music \addlyrics \lyric }
%%%

HTH,
Michael
--
Michael Gerdau   email: m...@qata.de
GPG-keys available on request or at public keyserver

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


stanza question

2016-12-05 Thread MING TSANG
Dear lilyponders:
Is it possible to box (or circle, triangle) the stanza text.  it is a bold text 
now.
Immanuel,Ming___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Creating marginal comments?

2016-12-05 Thread Knut Petersen

Hi Tapani!

Two problems:
1. I'm producing a hymnal with 100s of entries. To keep things tidy, those
hymns are in separate .ly files, and I then use lilypond-book to compile
them into one document. To embed every music file in a single (massive) .tex
document is not realistic at this stage of the project.


Well, I agree that it is a good idea to keep the hymns in separate files. TeX knows 
"\input".
But I do not know how much work would it be to edit your scores. It might be an 
easy
automatic process using sed, it might be complicated ...


2. I'm too much of a newbie to understand /how/ your method works. Would you
be able to explain it to me in simple/ish terms, or do I just have to go
away and buy a LaTeX manual and really learn the language properly? OR,
alternatively, can I just insert the \newcount commands into my preamble and
use the \def\callback[etc.] argument in the document?

I prepared a somewhat commented version of hymex.tex. Having a LaTex manual
as well as the TeXbook is always a good idea.

cu,
 Knut
\NeedsTeXFormat{LaTeX2e}
%
% Translate with 
% lualatex (or xelatex) --shell-escape
%
% Postprocess the pdf with
% gs -dNOPAUSE -q -sOutputFile=hymexc.pdf -sDEVICE=pdfwrite -dBATCH *.font.ps hymex.pdf
%
\documentclass[10pt]{letter}
%
% We use geometry to define A5 page parameters. After that quire.tex
% from Midnight Macros is used to redefine shipout routines to
% put these pages on A4 sheets. \quire{n} defines the number of A5
% pages for each quire. This probably is the only parameter you want
% to adapt to your needs.
%
% See: tug.ctan.org/macros/generic/midnight/midnight.pdf
%
\usepackage{geometry}
\geometry{a5paper,left=2cm,right=3cm,top=1.5cm,bottom=1.5cm,twoside,
 marginparsep=3mm,marginparwidth=1.9cm}
\input quire.tex
   \paperwidth=2\paperwidth  \shhtotal=\paperwidth   \htotal=0.5\paperwidth
   \vtotal=\paperheight  \horigin=1in\vorigin=1in
   \shvoffset=-1in   \shvcorrection=0pt  \shthickness=0pt
   \shhcorrection=0pt\shoutline=0pt  \shstaplewidth=0pt
   \shstaplelength=0pt   \shcrop=0pt \shfootline={}
   \def\supereject{\par\penalty-2}
   \latexquire
   \quire{8} % You might want to change this, see midnight.pdf

\usepackage[english,german]{babel}
\selectlanguage{german}
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\DeclareUTFcharacter[\UTFencname]{x201C}{\grqq}
\DeclareUTFcharacter[\UTFencname]{x201E}{\glqq}
\setmainfont{CMU Serif}
\setsansfont{CMU Sans Serif}
\setmonofont{CMU Typewriter Text}
\usepackage{graphicx}
\usepackage{shellesc}
\usepackage{soul}
\usepackage{calc}

% Define our name space
%===
% file name prefix for all our temporary files
\def\tmpNamePrefix{tmplily}
% file name prefix for all our fragment files
\def\tmpFragPrefix{\tmpNamePrefix frag}

% Files we construct and use
%
% main lilypond source file
\def\tmpNameMain{\tmpNamePrefix .ly}
\newwrite\tmpFileMain
% head part, included by main file
\def\tmpNameHead{\tmpNamePrefix head.ly}
\newwrite\tmpFileHead
% paper definition part, included by main file
\def\tmpNamePaper{\tmpNamePrefix paper.ly}
\newwrite\tmpFilePaper
% tail part, included by main file  
\def\tmpNameTail{\tmpNamePrefix tail.ly}
\newwrite\tmpFileTail
% name of pdf construced by lilypond from the files above
\def\tmpNamePdf{\tmpNamePrefix .pdf }
% name of fragment count file (also provided by lilypond)
\def\tmpNameFragCount{\tmpNamePrefix -systems.count }
\newread\fragcountfile

% Define some counters
%==
\newcount\fragcount % holds the number of the lilyfrag environment
\newcount\fragpagecount % holds the number of pages in the pdf constructed by lilypond
\newcount\fragpagenum % holds the page number currently processed


% This defines how we call lilypond. Don't change the parameters unless you really
% know what you are doing:

\def\lilycommand{lilypond -b -dbackend=eps -dgs-never-embed-fonts=\#t -dfont-export-dir=./ }

%
% The following code is needed by the definition of the lily* environments below.
% The typical lilypond user does not need to understand what's going on here below:
%

{
  \catcode`|=0 \catcode`[=1 \catcode`]=2 \catcode`\#=12
  \catcode`\{=12 \catcode`\}=12 \catcode`\\=12
  |gdef|eohead[\end{lilyhead}]
  |gdef|eofrag[\end{lilyfrag}]
  |gdef|eotail[\end{lilytail}]
  |gdef|hashtag[#]
  |gdef|escape[\]
  |gdef|definepaper[\definepaper]
]

{
  \obeylines
  \gdef\doline#1
  {
\def\oneline{#1}
\ifx\oneline\eohead\def\next{\end{lilyhead}}\else
\ifx\oneline\eofrag\def\next{\end{lilyfrag}}\else
\ifx\oneline\eotail\def\next{\end{lilytail}}\else 
\ifx\oneline\definepaper\immediate\write\tmpFile{\escape include "\tmpNamePaper"}\let\next\doline
\else\immediate\write\tmpFile{\oneline}\let\next\doline
\fi\fi\fi\fi\next%
  }
}

%
% Define the lilyhead, lilytail and lilyfrag environments.
%
% The lilyhead environment has no arguments. Lilypond 

Re: Non-lyric text in lyrics

2016-12-05 Thread Tom Cook
On Mon, 5 Dec 2016 at 12:19 Gerdau, Michael  wrote:

> > I'm trying to insert instructions mixed up with lyrics.  Actually its
> just
> > the name of the singer, but the name changes half-way through and
> changing
> > vocalName doesn't seem to do the right thing.
>
> A minimal example would be helpful...
> ...but you probably want to try \shortVocalName
>
>
Sorry, I didn't really know how to do a helpful example as I couldn't find
anything close to what I was after.

\shortVocalName gives me the vocal name at the start of each line, which is
not quite what I was after - I wanted to show exactly where (mid-bar) it
changes from one to the other.  Marc's suggestion does what I'm after.

Thanks again,
Tom
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Non-lyric text in lyrics

2016-12-05 Thread Tom Cook
On Mon, 5 Dec 2016 at 12:14  wrote:

>
>
> Am 05.12.2016 12:38 nachm. schrieb Tom Cook :
>
> I've googled for this, and looked through the lilypond snippets
> repository, and can't find anything.
>
> I'm trying to insert instructions mixed up with lyrics.  Actually its just
> the name of the singer, but the name changes half-way through and changing
> vocalName doesn't seem to do the right thing.
>
>
> I use
> \set stanza = "Alice: "
> ... Lyrics for Alice ...
> \set stanza = "Bob: "
> ... Lyrics for Bob ...
> \set stanza = "both: "
> ... Lyrics for both ...
>
> for such situations.
>
>
>
Perfect, thankyou.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Non-lyric text in lyrics

2016-12-05 Thread Gerdau, Michael
> I'm trying to insert instructions mixed up with lyrics.  Actually its just
> the name of the singer, but the name changes half-way through and changing
> vocalName doesn't seem to do the right thing.

A minimal example would be helpful...
...but you probably want to try \shortVocalName

HTH,
Michael
--
Michael Gerdau   email: m...@qata.de
GPG-keys available on request or at public keyserver

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


Re: PyQt5

2016-12-05 Thread Federico Bruni
Il giorno dom 4 dic 2016 alle 22:19, Urs Liska  ha 
scritto:

Otherwise you may try pinning a package in a different repository.


I must say I'm a little bit worried because it's not just PyQt but 
also
Qt itself and IISC a number of other things that all have to match. 
But

I must admit I don't really see through that.


 Don't know how Linux Mint works...


I *think* that with regard to packaging it should behave basically 
like

Debian itself. For example, unlike Ubuntu you can't add PPAs.


I found some wiki pages where it was recommended even the opposite, 
that is adding mint repositories to a debian system. So they should 
work fine together.
You may give it a try. aptitude will tell you what it's going to do 
before proceeding and you'll be able to say no if you see too many 
conflicts with other packages.


Your system is based on debian 8.4, that is Jessie, current stable.
So try appending this line to /etc/apt/sources.list:

deb http://httpredir.debian.org/debian testing main contrib

Then enable this repo only for the packages you want to take from there.
Create the file /etc/apt/preferences and try with these lines:

Package: python3-pyqt5
Pin: release a=testing
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 1

Then update the repositories list and check if the pinning is correct:

aptitude update
apt-cache policy
apt-cache policy python3-pyqt5

I think that `aptitude upgrade` should automatically update the package.
If it doesn't, you can force the upgrade.

Now the problem is how many dependencies you need to upgrade and the 
conflicts that will occur.





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


Re: Non-lyric text in lyrics

2016-12-05 Thread marc
Am 05.12.2016 12:38 nachm. schrieb Tom Cook :I've googled for this, and looked through the lilypond snippets repository, and can't find anything.I'm trying to insert instructions mixed up with lyrics.  Actually its just the name of the singer, but the name changes half-way through and changing vocalName doesn't seem to do the right thing.I use \set stanza = "Alice: "... Lyrics for Alice ...\set stanza = "Bob: "... Lyrics for Bob ...\set stanza = "both: "... Lyrics for both ...for such situations.HTH, Marc .___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Non-lyric text in lyrics

2016-12-05 Thread Tom Cook
I've googled for this, and looked through the lilypond snippets repository,
and can't find anything.

I'm trying to insert instructions mixed up with lyrics.  Actually its just
the name of the singer, but the name changes half-way through and changing
vocalName doesn't seem to do the right thing.

In case that's not very clear, I'm trying to set a duet in three stanzas.
In each stanza, one singer sings the first half and then both sing the
second half together.  I'm trying to put 'Singer 1', 'Singer 2' etc at the
start of the lyrics for each stanza, then 'Both' in half-way through, in a
way that doesn't count as a syllable and creates some extra space in the
notation.

Thanks for any advice.
Tom
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Using volta endings on some parts but not all

2016-12-05 Thread Patrick Hubers

Op 4-12-2016 om 18:04 schreef Richard Shann:


I can't (*) give you detailed advice for doing this within LilyPond (I
think you would need \tag for the different bits), but one thing to
watch for is the bar numbering: the version with first & second time
bars may have different bar numbers from the version without. There is
some syntax to re-set the bar numbering.

Ah, of course, tags! Somehow I hoped that Lilypond had some hidden trick 
to achieve this automatically, but tags will work too. Thanks for the 
tip about the bar numbering: not in issue in this particular piece, but 
might be in other scores.


Thanks!

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