Re: New LilyPond website

2017-02-07 Thread Werner LEMBERG

>> John, can you set up
>>
>>   http://jmroper.com/lilypond/
>>
>> with `blended' together with a README so that we can inspect the
>> source code, CSS, etc., and the necessary steps to create it?  I
>> think only a direct comparison can answer our questions.
> 
> Yes I can. I also have a Github repository of my own where I can
> store the code.

Excellent, and thanks in advance for your efforts.


Werner

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


Re: Multiple markings

2017-02-07 Thread Kieren MacMillan
Hi David,

> The fact that these workarounds exist prompts the question:
> if the problem can be worked around, why must we continue
> to have a problem to work around?

If the problem that humans can’t fly unassisted can be worked around [by way of 
aircraft], why must we continue to have the problem that humans can’t fly 
unassisted?  ;)

More seriously:

1. Even just adequately defining the problem-space is non-trivial. Feel free to 
shepherd a thread where we do that — I would be happy to contribute!

2. Once the problem-space is adequately defined, someone needs to code the 
changes necessary to make Lilypond “Do The Right Thing™”. This is non-trivial 
in general, and may be even less trivial in this specific case.

But, as is often stated on this list: patch submissions are always welcome!

Best regards,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: aligning dynamics to lowest dynamic mark in system

2017-02-07 Thread Mason Hock
Thanks, Trevor.

Mason

On 7 February 2017 at 13:51, Trevor Daniels  wrote:

> Mason Hock wrote Tuesday, February 07, 2017 12:13 AM
>
> > I would like to align all dynamics within each system with just enough
> padding
> > to avoid collisions. I could do this by using
> > \override DynamicLineSpanner.staff-padding = #x
> > at the beginning of each system, but if I do anything that changes the
> location
> > of system breaks I'll have to start over. Is there a way of
> automatically aligning
> > all dynamics to the lowest dynamic mark in the system?
>
> The best way to achieve this is to use a Dynamics context to hold the
> dynamics.
>
> This is very briefly described right at the end of
>
> http://lilypond.org/doc/v2.19/Documentation/notation/
> expressive-marks-attached-to-notes#dynamics
>
> immediately before Predefined commands.  To see it work, use the example
> there and add a dynamic mark to the spacer rest corresponding to the low E.
> Note you can give music containing notes to a Dynamic context - they'll be
> ignored, so if your music is in variables it should be easy to add.
>
> Trevor
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multiple markings

2017-02-07 Thread David Sumbler
On Tue, 2017-02-07 at 23:01 +0100, Thomas Morley wrote:
> 2017-02-04 15:10 GMT+01:00 David Sumbler :



> > So my question is: is there any good reason why Lilypond still does
> > not
> > allow multiple marks or tempo markings?
> > 
> > If the answer to that question really is "yes", then perhaps we
> > could
> > have an additional grob or 2 which have the same characteristics as
> > the
> > existing one(s) but without the restriction on numbers.  E.g. could
> > we
> > have a TextMark grob in addition to RehearsalMark?
> > 
> > David
> 
> 
> To add my 2cts:
> 
> Consider:
> 
> <<
>   \new Staff {
> R1
> \override Score.RehearsalMark.self-alignment-X = #RIGHT
> \mark "whatever"
> R1
>   }
>   \new Staff {
> R1
> \override Score.RehearsalMark.self-alignment-X = #LEFT
> \mark "whatever-else"
> R1
>   }
> > 
> > > 
> > > 
> Where and how should the RehearsalMark(s) be printed?

I cannot envisage a situation where that would be required.  The Marks
are in a Score context, and are normally only printed once in the score
(usually at the top).  In most cases we put the same marking in every
instrument's input so that the Mark will appear in the the individual
parts as well, if that is what we want.

I cannot see why you would want to have different score-wide Marks
specified in different parts.  But if you did, I would expect them to
be formatted exactly as specified.  If they then conflict, that seems
to me to be the editor's problem more than Lilypond's.

> Meanwhile why not use some of the workarounds?
> 
> (1)
> \mark \markup <\[center-]column> 
> (already mentioned)
> 
> (2)
> http://lsr.di.unimi.it/LSR/Item?id=976
> or
> http://lsr.di.unimi.it/LSR/Item?id=977
> 
> (3)
> http://old.nabble.com/Nice-workaround-for-simultaneous-rehearsal-mark
> s-%E2%80%93-thanks-Neil!-td32212763.html

The last doesn't seem to be reachable, but I found it at
https://lists.gnu.org/archive/html/lilypond-user/2011-08/msg00157.html

I shall need some time to study these (and it won't be tonight!), but
thanks very much for pointing me to them.

The fact that these workarounds exist prompts the question: if the
problem can be worked around, why must we continue to have a problem to
work around?  (If you see what I mean.)

David

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


Re: Multiple markings

2017-02-07 Thread Thomas Morley
2017-02-04 15:10 GMT+01:00 David Sumbler :
> A text mark in Lilypond is represented by a grob called a
> RehearsalMark; the grob for a tempo marking is called a MetronomeMark.
>
> I wonder whether perhaps these names reflect something about the
> history of Lilypond: they are certainly not accurate descriptions of
> what the objects are used for - e.g. very often tempo markings make no
> reference to a metronome.  I also suspect that history gives a clue to
> why Lilypond allows only one of each of these objects at any point in a
> score unless one performs some sort of programming acrobatics to work
> around the restriction.
>
> In fact this restriction, certainly in the case of RehearsalMark, has
> no logic to it.  So either it is somehow hard-wired at a deep level, or
> it must be there presumably because at one time it did make sense.
>
> The clue is in the names, perhaps.  It generally does not make sense to
> have more than one actual rehearsal mark at a single point in a piece
> of music (although I can think of rare circumstances in which there
> might be editorial reasons for doing so).  But the RehearsalMark object
> is now not used only for rehearsal marks.  For instance, even according
> to the documentation it is used for putting a fermata sign over a
> barline.  Now, there is no reason on earth why a fermata sign and a
> rehearsal mark should never appear at the same point, yet Lilypond
> throws out a warning and refuses to print one of the objects unless we
> go to extra lengths to get what we actually want.
>
> A RehearsalMark is actually a very useful thing for aligning something
> with a barline - just recently I wanted it for the titles of the
> various sections of a piece.  Similarly, there might be times when the
> alignment (or other) characteristics of MetronomeMark are useful for
> some other text, which might or might not occur at the same point as an
> actual tempo marking.
>
> The only case where having more than one of either of these objects
> causes a problem (only for midi output and easy for Lilypond to deal
> with, even then) is if 2 actual metronome marks occur at the same
> point.
>
> Would it not make better sense for Lilypond to accept what is asked for
> without complaining and print all the requested items?  We don't
> actually need to have a warning about the supposed error if we can see
> the result in the output.  If it is a genuine mistake (e.g. putting
> "Allegro" in most parts and "allegro" in another) then we can see that,
> and it won't take long to locate the error.
>
> So my question is: is there any good reason why Lilypond still does not
> allow multiple marks or tempo markings?
>
> If the answer to that question really is "yes", then perhaps we could
> have an additional grob or 2 which have the same characteristics as the
> existing one(s) but without the restriction on numbers.  E.g. could we
> have a TextMark grob in addition to RehearsalMark?
>
> David



To add my 2cts:

Consider:

<<
  \new Staff {
R1
\override Score.RehearsalMark.self-alignment-X = #RIGHT
\mark "whatever"
R1
  }
  \new Staff {
R1
\override Score.RehearsalMark.self-alignment-X = #LEFT
\mark "whatever-else"
R1
  }
>>

Where and how should the RehearsalMark(s) be printed?

Meanwhile why not use some of the workarounds?

(1)
\mark \markup <\[center-]column> 
(already mentioned)

(2)
http://lsr.di.unimi.it/LSR/Item?id=976
or
http://lsr.di.unimi.it/LSR/Item?id=977

(3)
http://old.nabble.com/Nice-workaround-for-simultaneous-rehearsal-marks-%E2%80%93-thanks-Neil!-td32212763.html

Cheers,
  Harm

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


Re: aligning dynamics to lowest dynamic mark in system

2017-02-07 Thread Trevor Daniels
Mason Hock wrote Tuesday, February 07, 2017 12:13 AM

> I would like to align all dynamics within each system with just enough 
> padding 
> to avoid collisions. I could do this by using
> \override DynamicLineSpanner.staff-padding = #x
> at the beginning of each system, but if I do anything that changes the 
> location 
> of system breaks I'll have to start over. Is there a way of automatically 
> aligning 
> all dynamics to the lowest dynamic mark in the system?

The best way to achieve this is to use a Dynamics context to hold the dynamics.

This is very briefly described right at the end of

http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-attached-to-notes#dynamics

immediately before Predefined commands.  To see it work, use the example
there and add a dynamic mark to the spacer rest corresponding to the low E.
Note you can give music containing notes to a Dynamic context - they'll be
ignored, so if your music is in variables it should be easy to add.

Trevor

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


Re: Multiple markings

2017-02-07 Thread David Sumbler
On Tue, 2017-02-07 at 14:59 -0600, David Wright wrote:
> How would you deal with the case where \songName landed on a break?
> That's the problem I've had to wrestle with in the past. You'd want
> the fermata at the end of a line but the song title at the start of
> the next.

In the particular case I am currently dealing with, I want the barline
to come in the middle of a line in the score to emphasize the fact that
this is a continuous piece, and that the individual songs are not
intended to be performed separately.  So there is no problem.

In the parts it might be acceptable or preferable to start the new song
on a new line, but it looks as if I shall have to do force \noBreak in
the parts as well, like it or not.

All of which shows how unsatisfactory the current situation is.

I don't pretend to understand the reasons why multiple marks are not
allowed, but clearly the reasons must be pretty deep-seated.  Since I
do not have this understanding, it just seems odd to me that we have
this restriction when at the same time we can apparently have almost
unlimited numbers of items attached to notes.

David

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


Re: Multiple markings

2017-02-07 Thread David Wright
On Tue 07 Feb 2017 at 10:34:14 (+), David Sumbler wrote:
> Thank you all for the various suggestions regarding this problem.
> 
> Some of the latest posts have left me slightly bewildered: I wasn't
> aware that there was a problem with having a RehearsalMark and a
> MetronomeMark at the same point in a piece.  Of course, they are
> formatted and aligned differently by default.
> 
> I am currently using v.2.19.48, so may be I just never needed both at
> the same time when I was using 2.18 or earlier, but if that is the case
> it surprises me.

I've found cases of \tempo and \tempoMark at the start of a piece.
The \version was "2.7.40" but I can't recall where I got that
number from. The files are dated 2007-10-30 and were run with 2.8.7
on Debian etch.

But I'm not clear about exactly what the issue is that we're searching
for because it arose out of a conversation rather than one specific point.

> In the instance that I originally enquired about it is of academic
> importance in any case, because I need a title, a barline fermata and a
> tempo marking all at the same double bar.
> 
> Following Wols's suggestion of formatting multiple marks as a column
> within a single mark, I came up with the following solution, which
> works pretty well.
> 
> 
> \version "2.19.48"
> 
> \markuplist \table-of-contents
> 
> songTitle = "This Song"
> songName = { \once \override 
>              Score.RehearsalMark.self-alignment-X  = #-0.79
>              \mark \markup \column {
>                \transparent "spacer"
>                \bold \songTitle
>                \center-align \musicglyph #"scripts.ufermata" } }
> 
> { c''1
>   \tocItem \songTitle
>   \songName
>   c''2 b' c''1 
> }
> 
> 
> The value of self-alignment-X has to be found by trial and error, but
> is then good, it seems, for score and parts.  The horizontal alignment
> of the title in relation to the fermata (and therefore to the barline)
> could also be altered fairly easily.
> 
> The transparent item is there just to increase the space between this
> system and the preceding one - it's the only way I could find to do it,
> but I am sure there must be better ways.

How would you deal with the case where \songName landed on a break?
That's the problem I've had to wrestle with in the past. You'd want
the fermata at the end of a line but the song title at the start of
the next.

IIRC in my own first incident of this problem, I wanted two
simultaneous marks at the same barline: a right-justified "D.S. al Coda"
and a left-justified Coda sign, but with the former remaining at the
end of the line if broken at that point, and the latter placed at the
start of the next line. I could get away with anchoring the D.S. to
the last note of the measure.

Cheers,
David.

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


Re: Multiple markings

2017-02-07 Thread Simon Albrecht

On 07.02.2017 09:17, David Kastrup wrote:

Flaming Hakama by Elaine  writes:

So my question is: is there any good reason why Lilypond still does
not allow multiple marks or tempo markings?

I can't answer that, but here's a way to get a rehearsal mark and a tempo
mark at the same point in time, using an empty chord:

\version "2.19.15"
{
 R1
 \mark
 <>\tempo Allegro 4=120
 R1
}

Uh, that would be tantamount to

 \mark <>
 \tempo Allegro 4=120

I am skeptical that \mark would be happy about a music expression.


To provide an actual explanation: \mark is a music function which takes 
one argument: a number or a markup. See 
, 
to be found most easily through the LilyPond command index. This 
argument is optional, but due to LilyPond’s syntax, it can’t simply be 
omitted, but must be replaced by \default. Else whatever comes next 
would be gulped by \mark as its argument, and the difference between 
versions arose from different handling of wrong arguments.


Best, Simon

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


Re: Key signature color one item

2017-02-07 Thread Simon Albrecht

On 07.02.2017 21:25, Tiago Morin wrote:

Hi David,

Thank's for the reply. It doesn't seem to work on 2.18.2:


That’s because the code from that linked-to post isn’t in the LilyPond 
core. You have to paste it into your input file, or save it as a library 
file and use \include.

Here it is once more:



#(define (key-signature::special-print alt-color-list)
   (lambda (grob)
 (let* ((inter (/ (ly:staff-symbol-staff-space grob) 2.0))
(mol empty-stencil)
(c0s (ly:grob-property grob 'c0-position))
(is-cancellation? (grob::has-interface grob 
'key-cancellation-interface))
(padding-pairs (ly:grob-property grob 'padding-pairs))
(fm (ly:grob-default-font grob))
(alist (ly:grob-property grob 'glyph-name-alist)))
   (let loop ((s (ly:grob-property grob 'alteration-alist))
  (stil mol)
  (last-glyph-name #f))
 (if (pair? s)
 (let* ((alt (if is-cancellation? 0 (cdar s)))
(glyph-name (ly:assoc-get alt alist))
(acc (ly:font-get-glyph fm glyph-name))
(pos-list
 (key-signature-interface::alteration-positions (car s) c0s 
grob))
(p (car pos-list))
(color (assoc-get p alt-color-list))
(acc
 (if (color? color)
 (stencil-with-color acc color)
 acc))
(padding (ly:grob-property grob 'padding 0.0))
(handle (assoc (cons glyph-name last-glyph-name) 
padding-pairs))
(padding
 (cond
  ((pair? handle) (cdr handle))
  ((and
(string=? glyph-name "accidentals.natural")
; ...
)
   (+ padding 0.3))
  (else padding
 
   (loop (cdr s)

 (ly:stencil-combine-at-edge
  stil
  X
  LEFT
  (ly:stencil-translate-axis acc (* p inter) Y)
  padding)
 glyph-name))
 (ly:stencil-aligned-to stil X LEFT))
%%%

Best, Simon




error: GUILE signaled an error for the expression beginning here
  #
   (key-signature::special-print `((2 . ,red)))
Unbound variable: key-signature::special-print


Any guess?

Thank's

Tiago

On 7 February 2017 at 13:14, David Nalesnik > wrote:


Tiago,

On Tue, Feb 7, 2017 at 6:39 AM, Tiago Morin mailto:tiagomo...@gmail.com>> wrote:
> Is there a way to color just one of the accidentals of a key
signature?
> For example: I'd like to color in red the d sharp of the "\key e
\major" ,
> leaving the rest of the accidentals in default color.
>

Try the code here:
http://www.mail-archive.com/lilypond-user@gnu.org/msg104047.html


For your example, you'd write

 \override Staff.KeySignature.stencil =
  #(key-signature::special-print `((2 . ,red)))
 \key e \major

Hope this helps!

David




___
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: Key signature color one item

2017-02-07 Thread Tiago Morin
Hi David,

Thank's for the reply. It doesn't seem to work on 2.18.2:

 error: GUILE signaled an error for the expression beginning here
  #
   (key-signature::special-print `((2 . ,red)))
Unbound variable: key-signature::special-print


Any guess?

Thank's

Tiago

On 7 February 2017 at 13:14, David Nalesnik 
wrote:

> Tiago,
>
> On Tue, Feb 7, 2017 at 6:39 AM, Tiago Morin  wrote:
> > Is there a way to color just one of the accidentals of a key signature?
> > For example: I'd like to color in red the d sharp of the "\key e \major"
> ,
> > leaving the rest of the accidentals in default color.
> >
>
> Try the code here:
> http://www.mail-archive.com/lilypond-user@gnu.org/msg104047.html
>
> For your example, you'd write
>
>  \override Staff.KeySignature.stencil =
>   #(key-signature::special-print `((2 . ,red)))
>  \key e \major
>
> Hope this helps!
>
> David
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Documentation question.

2017-02-07 Thread Federico Bruni
Yes, brain fart from me :-)
IIRC the problem is when you run the command with --doc in a directory 
different from where the .sh file is located.

Sorry, I'm away from my computer and can't double-check in the tracker.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Documentation question.

2017-02-07 Thread Simon Albrecht

On 07.02.2017 17:15, Federico Bruni wrote:

There's an open issue in the tracker about a bug triggered by the --prefix 
option. If you use --doc without --prefix it should work, but it will be 
installed under /usr/local.


I always use both, so that really can’t be much of a problem.

Best, Simon

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


Re: Multiple markings

2017-02-07 Thread Phil Holmes
Because it was incorrect syntax, but not shown as such in the logfile.  Correct 
syntax was still \mark \default

--
Phil Holmes


  - Original Message - 
  From: Flaming Hakama by Elaine 
  To: Lilypond-User Mailing List 
  Sent: Tuesday, February 07, 2017 6:43 PM
  Subject: Re: Multiple markings




> I mean that the code for RehearsalMark was just a wrapper round an
> ordinary mark. So if you tried to put both on the same barline, the
> underlying engine just saw two ordinary marks, and threw one away. That
> was very frustrating back then.

What exactly do you mean by “back then”?

I can’t even remember a time when this was a problem, and I’ve been using 
Lilypond since 2003.
Perhaps by complete coincidence I just never had \mark and \tempo at the 
same moment until 2.17 (when I know for sure it worked fine).



  Wy back in 2.19.15, this behavior still exists, where the tempo is 
dropped:

  \version "2.19.15"
  {
  R1
  \mark
  \tempo Allegro 4=120
  R1
  }




  David Elaine Alt

  415 . 341 .4954   "Confusion is 
highly underrated"

  ela...@flaminghakama.com

  self-immolation.info
  skype: flaming_hakama
  Producer ~ Composer ~ Instrumentalist
  
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


--


  ___
  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: Multiple markings

2017-02-07 Thread David Kastrup
Flaming Hakama by Elaine  writes:

>> > I mean that the code for RehearsalMark was just a wrapper round an
>> > ordinary mark. So if you tried to put both on the same barline, the
>> > underlying engine just saw two ordinary marks, and threw one away. That
>> > was very frustrating back then.
>>
>> What exactly do you mean by “back then”?
>>
>> I can’t even remember a time when this was a problem, and I’ve been using
>> Lilypond since 2003.
>> Perhaps by complete coincidence I just never had \mark and \tempo at the
>> same moment until 2.17 (when I know for sure it worked fine).
>>
>
> Wy back in 2.19.15, this behavior still exists, where the tempo is
> dropped:
>
> \version "2.19.15"
> {
> R1
> \mark
> \tempo Allegro 4=120
> R1
> }

Have you ever actually tried looking up how \mark is called?

Write \mark \default (as that is likely what you mean here) and of
course \tempo is not affected in any manner.

The problem is that \mark has historically been too lenient in verifying
its argument, so you feed it crap and then make up absurd theories about
what is happening.

The only thing that has changed since that time is that \mark will
actually complain about this kind of rubbish.  If you write stuff
correctly, it will work the same now and then.

-- 
David Kastrup

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


Re: Multiple markings

2017-02-07 Thread Flaming Hakama by Elaine
> > I mean that the code for RehearsalMark was just a wrapper round an
> > ordinary mark. So if you tried to put both on the same barline, the
> > underlying engine just saw two ordinary marks, and threw one away. That
> > was very frustrating back then.
>
> What exactly do you mean by “back then”?
>
> I can’t even remember a time when this was a problem, and I’ve been using
> Lilypond since 2003.
> Perhaps by complete coincidence I just never had \mark and \tempo at the
> same moment until 2.17 (when I know for sure it worked fine).
>

Wy back in 2.19.15, this behavior still exists, where the tempo is
dropped:

\version "2.19.15"
{
R1
\mark
\tempo Allegro 4=120
R1
}



David Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Documentation question.

2017-02-07 Thread David Wright
On Tue 07 Feb 2017 at 11:22:29 (-), Phil Holmes wrote:
> - Original Message - From: "Hwaen Ch'uqi"
> 
> To: 
> Sent: Tuesday, February 07, 2017 10:52 AM
> Subject: Documentation question.
> 
> 
> >Greetings All,
> >
> >I have been trying to install lilypond-2.18.2 along with its
> >documentation. From the command line, I have called
> >
> >sudo sh lilypond-2.18.2-1.linux-64.sh --prefix /usr/ --documentation
> >
> >LilyPond itself installs just fine, but I get these messages relative
> >to the documentation:
> >
> >No ./lilypond-2.18.2-1.documentation.tar.bz2 found, downloading.
> >--2017-02-07 05:19:21--
> >http://lilypond.org/download/binaries/documentation/lilypond-2.18.2-1.documentation.tar.bz2
> >Resolving lilypond.org (lilypond.org)... 82.94.241.173
> >Connecting to lilypond.org (lilypond.org)|82.94.241.173|:80... connected.
> >HTTP request sent, awaiting response... 404 Not Found
> >2017-02-07 05:19:21 ERROR 404: Not Found.
> >
> >Is this a temporary problem? Thanks for any advice.
> >
> >Hwaen Ch'uqi
> 
> 
> I don't understand the Linux command for installing the
> documentation, but I can say that we do not recommend the use of the
> lilypond server for large downloads.  The documentation is mirrored
> at http://download.linuxaudio.org/lilypond/binaries/documentation/

I think the problem is that the installation scripts from at least
2.18.2 through 2.19.36 were rendered out of date by the change that's
proposed in your bug fix:

https://lists.gnu.org/archive/html/bug-lilypond/2016-04/msg00047.html

Naturally all the older installation scripts have:

mirror="http://lilypond.org/download";

instead of:

mirror="http://lilypond.org/downloads";

I hadn't realised there was a mirror in the UK (I assume) until
I read this thread. Are there US ones, etc?

Cheers,
David.

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


Re: Documentation question.

2017-02-07 Thread Federico Bruni
There's an open issue in the tracker about a bug triggered by the --prefix 
option. If you use --doc without --prefix it should work, but it will be 
installed under /usr/local.
Il 07 feb 2017 15:18 Hwaen Ch'uqi  ha scritto:
>
> Greetings Phil, 
>
> Thank you so much for the mirroring site. All is now installed. 
>
> Hwaen Ch'uqi 
>
>
> On 2/7/17, Phil Holmes  wrote: 
> > - Original Message - 
> > From: "Hwaen Ch'uqi"  
> > To:  
> > Sent: Tuesday, February 07, 2017 10:52 AM 
> > Subject: Documentation question. 
> > 
> > 
> >> Greetings All, 
> >> 
> >> I have been trying to install lilypond-2.18.2 along with its 
> >> documentation. From the command line, I have called 
> >> 
> >> sudo sh lilypond-2.18.2-1.linux-64.sh --prefix /usr/ --documentation 
> >> 
> >> LilyPond itself installs just fine, but I get these messages relative 
> >> to the documentation: 
> >> 
> >> No ./lilypond-2.18.2-1.documentation.tar.bz2 found, downloading. 
> >> --2017-02-07 05:19:21-- 
> >> http://lilypond.org/download/binaries/documentation/lilypond-2.18.2-1.documentation.tar.bz2
> >>  
> >> Resolving lilypond.org (lilypond.org)... 82.94.241.173 
> >> Connecting to lilypond.org (lilypond.org)|82.94.241.173|:80... connected. 
> >> HTTP request sent, awaiting response... 404 Not Found 
> >> 2017-02-07 05:19:21 ERROR 404: Not Found. 
> >> 
> >> Is this a temporary problem? Thanks for any advice. 
> >> 
> >> Hwaen Ch'uqi 
> > 
> > 
> > I don't understand the Linux command for installing the documentation, but 
> > I 
> > 
> > can say that we do not recommend the use of the lilypond server for large 
> > downloads.  The documentation is mirrored at 
> > http://download.linuxaudio.org/lilypond/binaries/documentation/ 
> > 
> > -- 
> > Phil Holmes 
> > 
> > 
>
> ___ 
> 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: Multiple markings

2017-02-07 Thread David Kastrup
Wols Lists  writes:

> On 07/02/17 13:39, Kieren MacMillan wrote:
>> Hi Wols,
>> 
>>> I mean that the code for RehearsalMark was just a wrapper round an
>>> ordinary mark. So if you tried to put both on the same barline, the
>>> underlying engine just saw two ordinary marks, and threw one away. That
>>> was very frustrating back then.
>> 
>> What exactly do you mean by “back then”?
>> 
>> I can’t even remember a time when this was a problem, and I’ve been
>> using Lilypond since 2003.
>> Perhaps by complete coincidence I just never had \mark and \tempo at
>> the same moment until 2.17 (when I know for sure it worked fine).
>> 
> Before then :-) - some time last century :-)
>
> I started using lily with 2.4, and I was forever cursing that "feature".
> I don't know if the empty chord workaround worked then, either.
> Certainly I didn't know of it.
>
> I thought you wrote the code that sorted it.

You are probably confusing Kieren MacMillan with Keith O'Hara.

-- 
David Kastrup

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


Re: Multiple markings

2017-02-07 Thread Wols Lists
On 07/02/17 14:33, Kieren MacMillan wrote:
> Hi Wols,
> 
>> Before then :-) - some time last century :-)
> 
> Is there anyone on the list who can verify when this was a problem? i.e., 
> which version it stopped being a problem.
> I’m seriously curious!
> 
>> I started using lily with 2.4, and I was forever cursing that "feature”.
> 
> Hmm… I started with 2.1, and I honestly don’t remember having this problem!

It was probably "work-around-able" back then, I just couldn't do it. I
think I was probably pointed at stuff, but iirc it was along the lines
of "write this code that's a mix of lilypond and scheme and it'll work"
and I just couldn't get my head round it. I can be a bit grumpy at times
as I'm sure you well know :-) and for something as basic as multiple
marks on a barline, well I know I did get very grumpy over it! :-)

Not helped, of course, because almost invariably I wanted to combine
another mark with \mark \default, and even now I find Scheme a bit
frightening :-) At heart I'm a "database and C/FORTRAN" guy, so lily's
internals are another world :-)
> 
>> I thought you wrote the code that sorted it.
> 
> Definitely not (though I wish I could write Lilypond at that level!). You are 
> probably thinking of the syntactic sugar I’ve sprinkled on the list over the 
> years to handle fancy tempo markings, spacing issues between \mark and \tempo 
> grobs, etc.
> 
Almost certainly. And I'm extremely grateful for it :-) - it's turned
what I considered almost a show-stopper problem into something that's
relatively simple (if you can say that about any complex formatting in
lily :-)

> Cheers,
> Kieren.

Cheers,
Wol


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


Re: Multiple markings

2017-02-07 Thread Kieren MacMillan
Hi Wols,

> Before then :-) - some time last century :-)

Is there anyone on the list who can verify when this was a problem? i.e., which 
version it stopped being a problem.
I’m seriously curious!

> I started using lily with 2.4, and I was forever cursing that "feature”.

Hmm… I started with 2.1, and I honestly don’t remember having this problem!

> I thought you wrote the code that sorted it.

Definitely not (though I wish I could write Lilypond at that level!). You are 
probably thinking of the syntactic sugar I’ve sprinkled on the list over the 
years to handle fancy tempo markings, spacing issues between \mark and \tempo 
grobs, etc.

Cheers,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: Documentation question.

2017-02-07 Thread Hwaen Ch'uqi
Greetings Phil,

Thank you so much for the mirroring site. All is now installed.

Hwaen Ch'uqi


On 2/7/17, Phil Holmes  wrote:
> - Original Message -
> From: "Hwaen Ch'uqi" 
> To: 
> Sent: Tuesday, February 07, 2017 10:52 AM
> Subject: Documentation question.
>
>
>> Greetings All,
>>
>> I have been trying to install lilypond-2.18.2 along with its
>> documentation. From the command line, I have called
>>
>> sudo sh lilypond-2.18.2-1.linux-64.sh --prefix /usr/ --documentation
>>
>> LilyPond itself installs just fine, but I get these messages relative
>> to the documentation:
>>
>> No ./lilypond-2.18.2-1.documentation.tar.bz2 found, downloading.
>> --2017-02-07 05:19:21--
>> http://lilypond.org/download/binaries/documentation/lilypond-2.18.2-1.documentation.tar.bz2
>> Resolving lilypond.org (lilypond.org)... 82.94.241.173
>> Connecting to lilypond.org (lilypond.org)|82.94.241.173|:80... connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2017-02-07 05:19:21 ERROR 404: Not Found.
>>
>> Is this a temporary problem? Thanks for any advice.
>>
>> Hwaen Ch'uqi
>
>
> I don't understand the Linux command for installing the documentation, but I
>
> can say that we do not recommend the use of the lilypond server for large
> downloads.  The documentation is mirrored at
> http://download.linuxaudio.org/lilypond/binaries/documentation/
>
> --
> Phil Holmes
>
>

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


Re: Multiple markings

2017-02-07 Thread Wols Lists
On 07/02/17 13:39, Kieren MacMillan wrote:
> Hi Wols,
> 
>> I mean that the code for RehearsalMark was just a wrapper round an
>> ordinary mark. So if you tried to put both on the same barline, the
>> underlying engine just saw two ordinary marks, and threw one away. That
>> was very frustrating back then.
> 
> What exactly do you mean by “back then”?
> 
> I can’t even remember a time when this was a problem, and I’ve been using 
> Lilypond since 2003.
> Perhaps by complete coincidence I just never had \mark and \tempo at the same 
> moment until 2.17 (when I know for sure it worked fine).
> 
Before then :-) - some time last century :-)

I started using lily with 2.4, and I was forever cursing that "feature".
I don't know if the empty chord workaround worked then, either.
Certainly I didn't know of it.

I thought you wrote the code that sorted it.

Cheers,
Wol

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


Re: Find objects within a spanner

2017-02-07 Thread Urs Liska


Am 07.02.2017 um 14:50 schrieb David Nalesnik:
>> You can "go higher," too: use parentage (ly:grob-parent), or get the
>> grob's associated paper column with ly:item::get-column.
> Use ly:item::get-column on the spanner's bounds (ly:spanner-bound) or
> on any *Item*, for example, one of the spanned NoteColumns.

OK, I already have the results of ly:spanner-bound in the function, so I
can simply reuse the result ...

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org

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


Re: Pedal style doesn't seem to work

2017-02-07 Thread David Kastrup
Noeck  writes:

> Dear Peter,
>
> Am 07.02.2017 um 14:04 schrieb Peter Toye:
>> I'd have expected a Dynamic staff to be a descendent of Staff. I was wrong!
>
> This is wrong in your case. But it is not completely out of scope. A
> TabStaff for instance is derived from a Staff:
>
> \new TabStaff {
>   \override Staff.Clef.font-size = -5
>   a b c d
> }

It isn't as much "derived from" as it is a redefined copy.  But the act
of copying is a red herring here: it would make no difference if you
defined it in the same manner from scratch.

The important thing is that the definition of TabStaff contains a line

\alias "Staff"

and it is that line and nothing else which makes Staff-level overrides
register on a TabStaff.

The original code would have worked fine after

\layout {
  \context {
\Dynamics
\alias "Staff"
  }
}

as well, but I am skeptical that one would _want_ such an alias.

-- 
David Kastrup

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


Re: Find objects within a spanner

2017-02-07 Thread Urs Liska
Hi David,

thank you for the hints and explanations.


Am 07.02.2017 um 14:34 schrieb David Nalesnik:
> Hi Urs,
>
> On Mon, Feb 6, 2017 at 5:26 AM, Urs Liska  wrote:
>> Hi all,
>>
>> if I override a Tie/Slur's stencil I can easily (well, now, after your
>> help ...) get to the note columns at both ends.
>>
>> Is it possible to retrieve a list of all objects *between* those ends too?
>> Concretely I would like to know if there are ties within a slurred
>> phrase and to determine peak notes/stems in order to do some sort of
>> collision-handling-like layout decisions.
>>
> One way would be to follow pointers.  Most objects store references to
> other objects.  In the case of Slur, consulting Internal Properties at
> http://lilypond.org/doc/v2.19/Documentation/internals/slur_002dinterface
> shows that a grob array of note columns traversed is available through
> the 'note-columns property (which you would access through
> ly:grob-object). BTW, you'd probably want to use ly:grob-array->list
> to work with the array more conveniently..
>
> There are then pointers to other objects held by each NoteColumn grob.
>
> You can "go higher," too: use parentage (ly:grob-parent), or get the
> grob's associated paper column with ly:item::get-column.  PaperColumn
> and NonMusicalPaperColumn will store references to many grobs (through
> the 'elements property from the axis-group-interface)
>
> --
>
> Or, you could get all elements on a line (through the 'all-elements
> property of the System grob) and filter by location.  This seems a bit
> inefficient to me.
>
> Sorry, no time right now for a working code snippet, but I hope this is 
> helpful.

Of course I'll have to look into it, but it seems like sufficient to
find something. Please don't bother coming up with some code - I'd like
to find out on my own ;-)

Just one question: Will the 'note-columns property give me access to
*all* elements in the staff or only to the ones in the current voice
context? Of course if I need some sort of skyline it has to look at all
elements. If the answer is "no" that would be a striking argument for
iterating over the whole system.

Am 07.02.2017 um 14:40 schrieb David Nalesnik:
> It strikes me that this could be a good subject to attack a user
> documentation for LilyPond internals.  Certainly as a Scores of Beauty
> tutorial.  It was one of the first things I wanted to know.

Actually I already have the intention to do this, once I'm through with
the challenge.

Best
Urs

>
> Best,
> David

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


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


Re: Pedal style doesn't seem to work

2017-02-07 Thread Noeck
Dear Peter,

Am 07.02.2017 um 14:04 schrieb Peter Toye:
> I'd have expected a Dynamic staff to be a descendent of Staff. I was wrong!

This is wrong in your case. But it is not completely out of scope. A
TabStaff for instance is derived from a Staff:

\new TabStaff {
  \override Staff.Clef.font-size = -5
  a b c d
}

Best,
Joram

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


Re: Find objects within a spanner

2017-02-07 Thread David Nalesnik
On Tue, Feb 7, 2017 at 7:34 AM, David Nalesnik  wrote:
> Hi Urs,
>
> On Mon, Feb 6, 2017 at 5:26 AM, Urs Liska  wrote:
>> Hi all,
>>
>> if I override a Tie/Slur's stencil I can easily (well, now, after your
>> help ...) get to the note columns at both ends.
>>
>> Is it possible to retrieve a list of all objects *between* those ends too?
>> Concretely I would like to know if there are ties within a slurred
>> phrase and to determine peak notes/stems in order to do some sort of
>> collision-handling-like layout decisions.
>>
>
> One way would be to follow pointers.  Most objects store references to
> other objects.  In the case of Slur, consulting Internal Properties at
> http://lilypond.org/doc/v2.19/Documentation/internals/slur_002dinterface
> shows that a grob array of note columns traversed is available through
> the 'note-columns property (which you would access through
> ly:grob-object). BTW, you'd probably want to use ly:grob-array->list
> to work with the array more conveniently..
>
> There are then pointers to other objects held by each NoteColumn grob.
>
> You can "go higher," too: use parentage (ly:grob-parent), or get the
> grob's associated paper column with ly:item::get-column.

Use ly:item::get-column on the spanner's bounds (ly:spanner-bound) or
on any *Item*, for example, one of the spanned NoteColumns.

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


Re: Find objects within a spanner

2017-02-07 Thread David Nalesnik
On Tue, Feb 7, 2017 at 7:34 AM, David Nalesnik  wrote:
> Hi Urs,
>
> On Mon, Feb 6, 2017 at 5:26 AM, Urs Liska  wrote:
>> Hi all,
>>
>> if I override a Tie/Slur's stencil I can easily (well, now, after your
>> help ...) get to the note columns at both ends.
>>
>> Is it possible to retrieve a list of all objects *between* those ends too?
>> Concretely I would like to know if there are ties within a slurred
>> phrase and to determine peak notes/stems in order to do some sort of
>> collision-handling-like layout decisions.
>>
>
> One way would be to follow pointers.  Most objects store references to
> other objects.  In the case of Slur, consulting Internal Properties at
> http://lilypond.org/doc/v2.19/Documentation/internals/slur_002dinterface
> shows that a grob array of note columns traversed is available through
> the 'note-columns property (which you would access through
> ly:grob-object). BTW, you'd probably want to use ly:grob-array->list
> to work with the array more conveniently..
>
> There are then pointers to other objects held by each NoteColumn grob.
>
> You can "go higher," too: use parentage (ly:grob-parent), or get the
> grob's associated paper column with ly:item::get-column.  PaperColumn
> and NonMusicalPaperColumn will store references to many grobs (through
> the 'elements property from the axis-group-interface)
>
> --
>
> Or, you could get all elements on a line (through the 'all-elements
> property of the System grob) and filter by location.  This seems a bit
> inefficient to me.
>
> Sorry, no time right now for a working code snippet, but I hope this is 
> helpful.
>

It strikes me that this could be a good subject to attack a user
documentation for LilyPond internals.  Certainly as a Scores of Beauty
tutorial.  It was one of the first things I wanted to know.

David

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


Re: Multiple markings

2017-02-07 Thread Kieren MacMillan
Hi Wols,

> I mean that the code for RehearsalMark was just a wrapper round an
> ordinary mark. So if you tried to put both on the same barline, the
> underlying engine just saw two ordinary marks, and threw one away. That
> was very frustrating back then.

What exactly do you mean by “back then”?

I can’t even remember a time when this was a problem, and I’ve been using 
Lilypond since 2003.
Perhaps by complete coincidence I just never had \mark and \tempo at the same 
moment until 2.17 (when I know for sure it worked fine).

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: Find objects within a spanner

2017-02-07 Thread David Nalesnik
Hi Urs,

On Mon, Feb 6, 2017 at 5:26 AM, Urs Liska  wrote:
> Hi all,
>
> if I override a Tie/Slur's stencil I can easily (well, now, after your
> help ...) get to the note columns at both ends.
>
> Is it possible to retrieve a list of all objects *between* those ends too?
> Concretely I would like to know if there are ties within a slurred
> phrase and to determine peak notes/stems in order to do some sort of
> collision-handling-like layout decisions.
>

One way would be to follow pointers.  Most objects store references to
other objects.  In the case of Slur, consulting Internal Properties at
http://lilypond.org/doc/v2.19/Documentation/internals/slur_002dinterface
shows that a grob array of note columns traversed is available through
the 'note-columns property (which you would access through
ly:grob-object). BTW, you'd probably want to use ly:grob-array->list
to work with the array more conveniently..

There are then pointers to other objects held by each NoteColumn grob.

You can "go higher," too: use parentage (ly:grob-parent), or get the
grob's associated paper column with ly:item::get-column.  PaperColumn
and NonMusicalPaperColumn will store references to many grobs (through
the 'elements property from the axis-group-interface)

--

Or, you could get all elements on a line (through the 'all-elements
property of the System grob) and filter by location.  This seems a bit
inefficient to me.

Sorry, no time right now for a working code snippet, but I hope this is helpful.

Best,
David

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


Re: Key signature color one item

2017-02-07 Thread David Nalesnik
Tiago,

On Tue, Feb 7, 2017 at 6:39 AM, Tiago Morin  wrote:
> Is there a way to color just one of the accidentals of a key signature?
> For example: I'd like to color in red the d sharp of the "\key e \major" ,
> leaving the rest of the accidentals in default color.
>

Try the code here:
http://www.mail-archive.com/lilypond-user@gnu.org/msg104047.html

For your example, you'd write

 \override Staff.KeySignature.stencil =
  #(key-signature::special-print `((2 . ,red)))
 \key e \major

Hope this helps!

David

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


Re: Pedal style doesn't seem to work

2017-02-07 Thread Peter Toye
Mark,

Thanks. I'm used to object-oriented programming, in which I'd have expected a 
Dynamic staff to be a descendent of Staff. I was wrong!

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Tuesday, February 7, 2017, 12:01:40 PM, you wrote:

> At 11:52 on 07 Feb 2017, Peter Toye wrote:
>>Wanting to use bracket style pedals. The snippet below gives me 19-th
>>century style "Ped" mark. What am I doing wrong please?

> A Dynamics context is not a Staff context. See below...

>>\version "2.19.52"

>>\language "english"

>>\score {
>>  <<
>>\new Staff {
>>  \clef "treble"
>>  \relative {
>>c''4 d e f | g f e d | c d e f
>>  }
>>}

>>\new Dynamics {
>   % \set Staff.pedalSustainStyle = #'bracket
>   % use Dynamics
>   \set Dynamics.pedalSustainStyle = #'bracket
>   % or specify no context
>   \set pedalSustainStyle = #'bracket
>>  s1\sustainOn
>>  s1\sustainOff\sustainOn
>>  s1\sustainOff
>>}

>>  >>
>>}

> --
> Mark Knoop___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Key signature color one item

2017-02-07 Thread Tiago Morin
Is there a way to color just one of the accidentals of a key signature?
For example: I'd like to color in red the d sharp of the "\key e \major" ,
leaving the rest of the accidentals in default color.

Thanks in advance.

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


Re: Pedal style doesn't seem to work

2017-02-07 Thread Mark Knoop
At 11:52 on 07 Feb 2017, Peter Toye wrote:
>Wanting to use bracket style pedals. The snippet below gives me 19-th
>century style "Ped" mark. What am I doing wrong please?

A Dynamics context is not a Staff context. See below...

>\version "2.19.52"
>
>\language "english"
>
>\score {
>  <<
>\new Staff {
>  \clef "treble"
>  \relative {
>c''4 d e f | g f e d | c d e f
>  }
>}
>
>\new Dynamics {
  % \set Staff.pedalSustainStyle = #'bracket
  % use Dynamics
  \set Dynamics.pedalSustainStyle = #'bracket
  % or specify no context
  \set pedalSustainStyle = #'bracket
>  s1\sustainOn
>  s1\sustainOff\sustainOn
>  s1\sustainOff
>}
>
>  >>
>}

--
Mark Knoop

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


Pedal style doesn't seem to work

2017-02-07 Thread Peter Toye
Wanting to use bracket style pedals. The snippet below gives me 19-th century 
style "Ped" mark. What am I doing wrong please?

\version "2.19.52"

\language "english"

\score {
  <<
\new Staff {
  \clef "treble"
  \relative {
c''4 d e f | g f e d | c d e f
  }
}

\new Dynamics {
  \set Staff.pedalSustainStyle = #'bracket  
  s1\sustainOn
  s1\sustainOff\sustainOn
  s1\sustainOff 
}

  >>
}

 
Thanks in advance,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Bar counts and repeats in repetitive music

2017-02-07 Thread Peter Toye
I'm trying to engrave a highly repetitive piano part using repeats as much as 
possible to save page-turns, but I need to display the bar numbers as if the 
repeats were written out (other parts don't repeat). It seems to me that this 
raises three issues, to none of which have I found a solution in the manuals.

1) Notating the number of repeats automatically . One can do a markup of "3×" 
on the repeat bar, so it's not a major problem, but Lilypond doesn't seem to do 
this automatically, which is a bit of a shame.

2) Adjusting the bar count to take the repeated bars into account. For example, 
if an 8-bar phrase is repeated 4 times, the bar count after the end of the 
section is 33, rather than 9. Again, this can be done by setting the bar 
number, but it would be useful to have a computer do the arithmetic.

3) Displaying the multiple bar numbers. In the above example, displaying 
something like "1-9-17-25". Without this, rehearsals will be a bit fraught!
 
Any help gratefully received,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Documentation question.

2017-02-07 Thread Phil Holmes
- Original Message - 
From: "Hwaen Ch'uqi" 

To: 
Sent: Tuesday, February 07, 2017 10:52 AM
Subject: Documentation question.



Greetings All,

I have been trying to install lilypond-2.18.2 along with its
documentation. From the command line, I have called

sudo sh lilypond-2.18.2-1.linux-64.sh --prefix /usr/ --documentation

LilyPond itself installs just fine, but I get these messages relative
to the documentation:

No ./lilypond-2.18.2-1.documentation.tar.bz2 found, downloading.
--2017-02-07 05:19:21--
http://lilypond.org/download/binaries/documentation/lilypond-2.18.2-1.documentation.tar.bz2
Resolving lilypond.org (lilypond.org)... 82.94.241.173
Connecting to lilypond.org (lilypond.org)|82.94.241.173|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-07 05:19:21 ERROR 404: Not Found.

Is this a temporary problem? Thanks for any advice.

Hwaen Ch'uqi



I don't understand the Linux command for installing the documentation, but I 
can say that we do not recommend the use of the lilypond server for large 
downloads.  The documentation is mirrored at 
http://download.linuxaudio.org/lilypond/binaries/documentation/


--
Phil Holmes 



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


Re: New LilyPond website

2017-02-07 Thread John Roper
>
> John, can you set up
>
>   http://jmroper.com/lilypond/
>
> with `blended' together with a README so that we can inspect the
> source code, CSS, etc., and the necessary steps to create it?  I think
> only a direct comparison can answer our questions.
>

Yes I can. I also have a Github repository of my own where I can store the
code.

-- 
John Roper
Freelance Developer and Simulation Artist
Boston MA, USA
http://jmroper.com/
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Documentation question.

2017-02-07 Thread Hwaen Ch'uqi
Greetings All,

I have been trying to install lilypond-2.18.2 along with its
documentation. From the command line, I have called

sudo sh lilypond-2.18.2-1.linux-64.sh --prefix /usr/ --documentation

LilyPond itself installs just fine, but I get these messages relative
to the documentation:

No ./lilypond-2.18.2-1.documentation.tar.bz2 found, downloading.
--2017-02-07 05:19:21--
http://lilypond.org/download/binaries/documentation/lilypond-2.18.2-1.documentation.tar.bz2
Resolving lilypond.org (lilypond.org)... 82.94.241.173
Connecting to lilypond.org (lilypond.org)|82.94.241.173|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-07 05:19:21 ERROR 404: Not Found.

Is this a temporary problem? Thanks for any advice.

Hwaen Ch'uqi

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


Re: Multiple markings

2017-02-07 Thread David Sumbler
Thank you all for the various suggestions regarding this problem.

Some of the latest posts have left me slightly bewildered: I wasn't
aware that there was a problem with having a RehearsalMark and a
MetronomeMark at the same point in a piece.  Of course, they are
formatted and aligned differently by default.

I am currently using v.2.19.48, so may be I just never needed both at
the same time when I was using 2.18 or earlier, but if that is the case
it surprises me.

In the instance that I originally enquired about it is of academic
importance in any case, because I need a title, a barline fermata and a
tempo marking all at the same double bar.

Following Wols's suggestion of formatting multiple marks as a column
within a single mark, I came up with the following solution, which
works pretty well.


\version "2.19.48"

\markuplist \table-of-contents

songTitle = "This Song"
songName = { \once \override 
             Score.RehearsalMark.self-alignment-X  = #-0.79
             \mark \markup \column {
               \transparent "spacer"
               \bold \songTitle
               \center-align \musicglyph #"scripts.ufermata" } }

{ c''1
  \tocItem \songTitle
  \songName
  c''2 b' c''1 
}


The value of self-alignment-X has to be found by trial and error, but
is then good, it seems, for score and parts.  The horizontal alignment
of the title in relation to the fermata (and therefore to the barline)
could also be altered fairly easily.

The transparent item is there just to increase the space between this
system and the preceding one - it's the only way I could find to do it,
but I am sure there must be better ways.

David

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


Re: Multiple markings

2017-02-07 Thread Trevor Daniels

Trevor Daniels wrote Tuesday, February 07, 2017 9:21 AM


> 
> Flaming Hakama by Elaine wrote Tuesday, February 07, 2017 2:00 AM
> 
>> I can't answer that, but here's a way to get a rehearsal mark and a tempo 
>> mark at the same point in time, using an empty chord:
> 
> 
> \version "2.19.15"
> {
>R1
>\mark
><>\tempo Allegro 4=120
>R1
> }
> 
> 
> This works in 2.19.15, but not in recent development releases.  The correct 
> way is this:
> 
> \version "2.19.15"
> {
>R1
>\mark \default
>\tempo Allegro 4=120
>R1
> }
> 
> which works fine in 2.19 (at least in 2.15 and recent releases).

I meant "at least in 2.19.15 ..." of course.

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


Re: Multiple markings

2017-02-07 Thread Trevor Daniels

Flaming Hakama by Elaine wrote Tuesday, February 07, 2017 2:00 AM

> I can't answer that, but here's a way to get a rehearsal mark and a tempo 
> mark at the same point in time, using an empty chord:


\version "2.19.15"
{
R1
\mark
<>\tempo Allegro 4=120
R1
}


This works in 2.19.15, but not in recent development releases.  The correct way 
is this:

\version "2.19.15"
{
R1
\mark \default
\tempo Allegro 4=120
R1
}

which works fine in 2.19 (at least in 2.15 and recent releases).

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


Re: Multiple markings

2017-02-07 Thread David Kastrup
Flaming Hakama by Elaine  writes:

>> > > So my question is: is there any good reason why Lilypond still does
>> > > not allow multiple marks or tempo markings?
>>
>
> I can't answer that, but here's a way to get a rehearsal mark and a tempo
> mark at the same point in time, using an empty chord:
>
> \version "2.19.15"
> {
> R1
> \mark
> <>\tempo Allegro 4=120
> R1
> }

Uh, that would be tantamount to

\mark <>
\tempo Allegro 4=120

I am skeptical that \mark would be happy about a music expression.

-- 
David Kastrup

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