Re: Offset fermata problem

2015-10-05 Thread Pierre Perol-Schneider
Hi Jacques,

How about:

\version "2.19.28"

\score {
  \relative c'' {
\key f \major \time 2/2 | % 147
\set Score.proportionalNotationDuration = #(ly:make-moment 1/1)
<<
  { a2 r4 }
  { s4 s16 s8.\fermata s4 } %% <= e.g.
>>
\unset Score.proportionalNotationDuration
e16
-\markup{\dynamic "ff" \italic "librement"}
^\markup{\bold "solo"} [ f16 g16 f16 ]
  }

}


Cheers,
Pierre

2015-10-05 17:25 GMT+02:00 Menu Jacques :

> Hello folks,
>
> I’d like to obtain the following from Poulenc, in which the fermata is
> in-between a2 and r4:
>
>
> I tried with:
>
> \version "2.19.28"
>
> \score {
>   \relative c'' {
> \key f \major \time 2/2 | % 147
>
> <<
>   {a2 r4}
>   {s2 s16 \fermata s8.}
> >>
> e16 -\markup{\dynamic "ff" \italic "librement"}  ^\markup{\bold
> "solo"} [ f16 g16 f16 ]
>   }
> }
>
>
> but then the fermata is right over the r4.
>
> Thanks for the help!
>
> JM
>
>
>
>
> ___
> 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: left offsetting dotted note leaves dot unmoved

2015-10-05 Thread Marten
Simon Albrecht  mail.de> writes:

> 
> Hi Marten,
> 
> On 05.10.2015 03:09, Marten wrote:
> > Hi all,
> > I'm trying to left offset a dotted note in a CueVoice, but although 
the
> > note is shifted left as expected, the dot is not moved left.
> > How can I make the dot go left as well?
> 
> I’d have liked to suggest
> 
> %%%
> \version "2.18.2"
> 
> myMusic = <<
>{ \voiceOne g2 }
>\new CueVoice {
>  \voiceTwo
>  \once\override NoteColumn.force-hshift = #-5 g2.
>}
>  >>
> 
> \score {
>\new Voice { \relative c'' \myMusic }
> 
>\layout {
>  \context {
>\Staff
>\remove "Dot_column_engraver"
>  }
>  \context {
>\Voice
>\consists "Dot_column_engraver"
>  }
>  \context {
>\CueVoice
>\consists "Dot_column_engraver"
>  }
>}
> }
> %
> 
> – but it doesn’t work, unfortunately.
> To everybody: should we consider this a bug?
> 
> In the meantime: \once\override Dots.extra-offset. Not nice, but 
effective.
> 
> Yours, Simon
> 
Hi Simon,
Thanks for your replay. To me it looks like a bug, as I would expect the 
dot to move along with the note, as does articulation. But I'll leave 
that to the developers.

In the meantime, Pierre Perol-Schneider mailed me the following 
solutions that will work.

\version "2.18.2"

myMusic = {
<< 
  { \voiceOne g2~ g8[ g] } 
  \new CueVoice = "OddText" 
  {
\voiceTwo
\once \override NoteColumn.force-hshift = #-25 
%% do not work:
%\once \override DotColumn.force-hshift = #1 
%% better use:
\once \override Dots.X-offset = #1 
g2. 
  } 
>> 
\oneVoice
  g8.[ f16]
}

\score {
<<
\new Staff {
\key d \minor
\new Voice {\relative c'' \myMusic }
}
>>
\layout {
  \context {
\Staff
\remove  "Dot_column_engraver"
  }
  \context {
\Voice
\consists "Dot_column_engraver"
  }
}
}

Thanks, Pierre!

Regards,
Marten

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


Handling of objects near barlines

2015-10-05 Thread David Sumbler
For a while I have been thinking about something which I feel could be a
useful modification of Lilypond's behaviour.

Lilypond defaults to standard choices for musical notation, which
generally saves a lot of work - for instance, it assumes that when we
write c4 we want a standard crotchet to appear on the page.  It saves a
lot of time not having to specify that that is what we want, yet we can
still change the appearance of the note into something else if we want
to, with a bit of extra work.

However, I have had a few problems with items near barlines lately, some
of which I had help with from the list, and it occurs to me that
Lilypond is being unnecessarily "helpful" in this area.

Lilypond defaults to putting clef-change signs before the barline, key-
and time-signature after the barline regardless of whether they are
before or after a possible bar check marking.  For instance, the clef,
key signature and time signature changes in the following all appear in
their conventional positions, even though they are (perversely) written
in reverse order, and with a bar check between two of the items.

\version "2.19.24"

\relative c'
\displayMusic { 
  \key g \major c1 \time 3/4 \key f \major |
  \clef "bass" c2. |
}

Even when we write the opposite, Lilypond still conforms to the standard
practice - which is very nice of it, but unnecessary.  Lilypond is a
practical tool, not an educational one, and people using it know the
conventions and can just as easily type a key change etc. before or
after the bar check.  Lilypond's insistence on orthodoxy does not save
us any effort whatsoever.

Now I realise that the bar checks are not generally required in
Lilypond, and they don't really represent barlines anyway, even if they
look like them.  But I think it would be useful if we could use them to
aid the positioning of these various items.

What I am suggesting is that if you don't use a bar check, then Lilypond
would sensibly put items in their conventional positions.  But if you do
use a bar check, and put the time change or whatever on the
unconventional side of it, then Lilypond should respect that.  It would
increase the versatility of the program without losing anything useful.

And it is not necessarily because we are being perverse that we need to
do these apparently strange things: sometimes it is to cope with a
situation which is unusual but which Lilypond doesn't currently cope
with.  For instance, one of my recent problems concerned a clef change
during the "first-time bar" section of a repeated passage; this meant
that at the start of the "second-time" bar it was necessary to have a
clef sign to avoid ambiguity - but it made no sense to have it before
the bar line (i.e. at the end of the first-time section): of necessity
it needed to come after the barline, at the start of the second-time
section.  If Lilypond had understood that

| \clef "bass"

meant that the clef sign should come after the barline, it would have
saved me having to type

\once \override Score.BreakAlignment #'break-align-orders =
#(make-vector 3 '(staff-bar clef key-signature)) \clef "bass"
 
I think it would also be useful, at least for those of us perverse
enough to want to do such things, if we could actually anchor items to
barlines, simply by attaching them to the bar check - I am thinking
particularly about such things as dynamics (notably the \! to end a
hairpin) and fermataMarkup.

Perhaps this feature could be considered for a future version of
Lilypond.  It would not inconvenience those users who don't see the
desirability for it in any way.

David


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


Re: Offset fermata problem

2015-10-05 Thread Menu Jacques
Hello Jean, Phil and Pierre,

Thanks for you help!

As the secondary voice doesn’t need to fill 3 quarter notes, I find that:

\score {
  \relative c'' {
\key f \major \time 2/2 | % 147

<<
  {a2 r4}
  {s4*5/4 s16 \fermata}
>>
e16 -\markup{\dynamic "ff" \italic "librement"}  ^\markup{\bold "solo"} [ 
f16 g16 f16 ]
  }
}

does what I need quite well.

JM

> Le 5 oct. 2015 à 19:42, Pierre Perol-Schneider 
>  a écrit :
> 
> Hi Jacques,
> 
> How about:
> 
> \version "2.19.28"
> 
> \score {
>   \relative c'' {
> \key f \major \time 2/2 | % 147
> \set Score.proportionalNotationDuration = #(ly:make-moment 1/1)
> <<
>   { a2 r4 }
>   { s4 s16 s8.\fermata s4 } %% <= e.g.
> >>
> \unset Score.proportionalNotationDuration
> e16 
> -\markup{\dynamic "ff" \italic "librement"}  
> ^\markup{\bold "solo"} [ f16 g16 f16 ]
>   }
>   
> }
> 
> 
> Cheers,
> Pierre
> 
> 2015-10-05 17:25 GMT+02:00 Menu Jacques  >:
> Hello folks,
> 
> I’d like to obtain the following from Poulenc, in which the fermata is 
> in-between a2 and r4:
> 
> 
> 
> I tried with:
> 
> \version "2.19.28"
> 
> \score {
>   \relative c'' {
> \key f \major \time 2/2 | % 147
> 
> <<
>   {a2 r4}
>   {s2 s16 \fermata s8.}
> >>
> e16 -\markup{\dynamic "ff" \italic "librement"}  ^\markup{\bold "solo"} [ 
> f16 g16 f16 ]
>   }
> }
> 
> 
> but then the fermata is right over the r4.
> 
> Thanks for the help!
> 
> JM
> 
> 
> 
> 
> ___
> 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

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


Re: Offset fermata problem

2015-10-05 Thread Simon Albrecht

Hello Jacques,

On 05.10.2015 17:25, Menu Jacques wrote:

Hello folks,

I’d like to obtain the following from Poulenc, in which the fermata is 
in-between a2 and r4:





based on an idea by David Kastrup I wrote a music function, which 
provides a nice interface for this kind of things:



\version "2.19.28"

after = #(define-music-function (t e m) (ly:duration? ly:music? ly:music?)
   #{ << #m { \skip $t <> -\tweak extra-spacing-width #empty-interval 
$e } >> #})


\score {
  \relative c'' {
\key f \major \time 2/2 | % 147
\after 4*5/4 \fermata a2 r4
e16 -\markup{\dynamic "ff" \italic "librement"}  ^\markup{\bold 
"solo"} [ f16 g16 f16 ]

  }
}
%

It has proved an invaluable tool, mostly with placing dynamics: no need 
to maintain extra <> constructs, much less typing, far easier 
readable code. Only drawback: point-and-click doesn’t work for the grobs 
created thus, it always points to the music function code.
In case you wonder about the order of arguments: I chose it that way 
round to keep it legible with multiple events during one note:

{ \after 4 \< \after 2 \> \after 2. \! c'1 }

Yours, Simon

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


Re: Ties or multiple voices

2015-10-05 Thread Simon Albrecht



On 05.10.2015 19:00, S wrote:
My question may need some clarification. Especially the third example, 
which should look something like this:


Inline afbeelding 1

\relative c''{
   <<{2. r4}\\{4 a8 c}>>
}

The tie starting at the b on the third beat in the second voice looks 
a little awkward. It may be theoretically correct, but it looks 
artificial to me since the only movement at that point is c# to d.


What I basically want to know is when it is OK to introduce a new 
voice to get rid of these ties.


It’s OK whenever it serves legibility or is desired by the composer. 
You’re completely free to add another voice (that would be \voiceTwo for 
the crotchet b and \voiceThree for the beamed quavers group), if you 
find it sensible, or the performer will have less trouble reading the music.


HTH, Simon

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


Re: Handling of objects near barlines

2015-10-05 Thread Simon Albrecht

Hello David,

On 05.10.2015 19:49, David Sumbler wrote:

Even when we write the opposite, Lilypond still conforms to the standard
practice - which is very nice of it, but unnecessary.  Lilypond is a
practical tool, not an educational one, and people using it know the
conventions


I don’t and I’m glad Lily does it right for me.
Part of the point in automated typesetting is to disable people from 
making errors – which, as can be seen in many publications even from 
major houses, happens very easily.



  and can just as easily type a key change etc. before or
after the bar check.  Lilypond's insistence on orthodoxy does not save
us any effort whatsoever.


It saves having to remember and stick to the correct order for anybody 
using bar checks.


I am getting your point, and I hear in your writing the anxiety to make 
the proposal at all, for which I feel sorry. Flexibility and striving 
for perfection do not easily go together…


What about doing it only with explicit \bar "" commands? (That is no 
comment on technical feasibility; others need to judge about that.)


Yours, Simon

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


Re: How write cross-staff slur (in combination with lyrics)

2015-10-05 Thread Simon Albrecht

On 05.10.2015 13:33, Urs Liska wrote:

Remove the slurs in the first two measures completely


Hear, hear! The musicologist deviates from the original notation :-) You 
definitely need to make an editorial remark…

Cheek aside, I think they are phrasing slurs and make sense as such.

Yours, Simon

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


Re: Two questions about key signatures

2015-10-05 Thread Simon Albrecht

On 05.10.2015 11:33, T. Michael Sommers wrote:
Hmmm. When I change from a key with sharps or flats in it to one with 
no sharps or flats, the cancelling accidentals still appear.  I can 
understand that, since otherwise there would be no indication that the 
key had changed, but for my application, it's a little annoying.


{ \key as \minor ces \key c \major c }

How on earth would the performer know that the second one is a c natural 
if there is no key cancellation?


Yours, Simon

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


Re: How write cross-staff slur (in combination with lyrics)

2015-10-05 Thread David Wright
Quoting Simon Albrecht (simon.albre...@mail.de):
> One small amendment: The spacing is less grotesque if you insert
> %%%
> selfAl = #(define-music-function (parser location num) (number?)
> #{ \once \override LyricText . self-alignment-X  = $num #})
> 
> text = \lyricmode {
>   Rid -- ing, | rid -- ing, | \selfAl #.5 ’round \selfAl #-.5 and a
> -- round
> }
> %%%
> instead of the lyrics.

Thanks for another snippet to file away for later use.

However, I just wanted to observe two things about the OP's original:
the words are much smaller, and the first three bars look as though
they are using proportional spacing.

One of the things that I've noticed about LP is that by default the
lyrics are scaled up in size relative to the music, compared with many
publishers' scores, which can lead to a more irregular note spacing.
This isn't a criticism: it's easily "correctable" but I much prefer it
anyway because of my eyesight.

> On 05.10.2015 12:46, jurgen.lams...@telenet.be wrote:
> > Notice: the "full-measure rests" are not shown in the screenshot
> > (beginner piano book), but I want to engrave them anyway.

Might the lack of rests indicate that it is music for one voice/hand?

> – Nitpick: the typographical apostrophe ’ – hard to achieve, alas,
> on most keyboard layouts. And apparently most people don’t seem to
> mind, but I find it much nicer.

Another reason to use curly quotes is that you can write lyrics like
“All hail,” instead of "\"All" "hail,\"" which improves the appearance
of the source as well as the output.

Mind you, I'm not sure why a beginner's piano book has lyrics at all,
particularly placing them between the staves.

Cheers,
David.

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


Re: How write cross-staff slur (in combination with lyrics)

2015-10-05 Thread Phil Holmes
- Original Message - 
From: "Simon Albrecht" 

To: "Urs Liska" ; 
Sent: Monday, October 05, 2015 8:07 PM
Subject: Re: How write cross-staff slur (in combination with lyrics)


On 05.10.2015 13:33, Urs Liska wrote:

> Remove the slurs in the first two measures completely


Hear, hear! The musicologist deviates from the original notation :-) You 
definitely need to make an editorial remark…

Cheek aside, I think they are phrasing slurs and make sense as such.



Yours, Simon


I would definitely argue against removing the slurs from the vocal part. 
Slurs serve two purposes: to show melisma and to show phrasing.  In terms of 
the lilypond input, they're coded differently; in terms of the image in the 
score, they look the same.


Have a look at some of Vaughan Williams' "Songs of Travel" for use of this 
sort of phrasing: "The Roadside Fire" is a good example.


--
Phil Holmes


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


Re: How write cross-staff slur (in combination with lyrics)

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 22:20 schrieb Simon Albrecht:
> On 05.10.2015 22:01, Urs Liska wrote:
>>
>> Am 05.10.2015 um 21:07 schrieb Simon Albrecht:
>>> On 05.10.2015 13:33, Urs Liska wrote:
 Remove the slurs in the first two measures completely
>>> Hear, hear! The musicologist deviates from the original notation :-)
>>> You definitely need to make an editorial
>> Depends on the type of publication of course. Anyway, this obsession to
>> justify and comment on *everything* is a comparably new trend.
>> Traditionally the musicologist would silently ("stillschweigend")
>> correct "obvious errors" ;-)
>>
>>> Cheek aside, I think they are phrasing slurs and make sense as such.
>> I'd also say that this depends too, this time on the style of the music.
>> In most cases I'd consider them dubious. But I deliberately didn't tell
>> the OP to remove the slurs but to *consider* doing so.
>
> I hope you didn’t take my remark too seriously :-)
>

Not at all. But I was afraid that my answer might sound too serious ...

Best
Urs

> Good night, Simon


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


Re: How write cross-staff slur (in combination with lyrics)

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 21:07 schrieb Simon Albrecht:
> On 05.10.2015 13:33, Urs Liska wrote:
>> Remove the slurs in the first two measures completely
>
> Hear, hear! The musicologist deviates from the original notation :-)
> You definitely need to make an editorial

Depends on the type of publication of course. Anyway, this obsession to
justify and comment on *everything* is a comparably new trend.
Traditionally the musicologist would silently ("stillschweigend")
correct "obvious errors" ;-)

> Cheek aside, I think they are phrasing slurs and make sense as such.

I'd also say that this depends too, this time on the style of the music.
In most cases I'd consider them dubious. But I deliberately didn't tell
the OP to remove the slurs but to *consider* doing so.

Urs

>
> Yours, Simon


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


Re: Two questions about key signatures

2015-10-05 Thread Robert Schmaus

> 
> { \key as \minor ces \key c \major c }
> 
> How on earth would the performer know that the second one is a c natural if 
> there is no key cancellation?

S/He wouldn't. Unless (and I quote)

> My application is not an actual score to be played by others, but just a 
> cheat sheet for me, 

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


Re: How write cross-staff slur (in combination with lyrics)

2015-10-05 Thread Simon Albrecht

Hello Jurgen,

On 05.10.2015 12:46, jurgen.lams...@telenet.be wrote:

Hi all,

I'm a complete newbie here, so please bear with me ;-)

I already spent a couple of hours, reading all manuals and mailing lists,


Reading the manuals is always helpful, but at the beginning it’s a huge 
heap – and after four years there are still parts of the NR I discover 
for the first time… but you’ll get the hang :-)



trying to engrave something as simple as this:


Notice: the "full-measure rests" are not shown in the screenshot 
(beginner piano book), but I want to engrave them anyway.


I’d suggest working with spacer rests, for the following reason: There 
is only one voice here, so there is no need for visible rests.



Result: please check lilypond attachment.

2 problems:

1.cross-staff slur:
a. using the list archive, apparently a possible solution is changing 
staffs.


And a very natural solution, given that it’s the same melody in the same 
voice, which only – changes staff :-) Sometimes LilyPond does have quite 
intuitive syntax.


I attach a version, which shows how I’d do it. There is a certain amount 
of indivuality in how everybody uses to code music in LilyPond. But the 
methods I used here tend to be very robust and versatile, so I may 
recommend studying that.

A few comments:
– the `\context SomeContext = "name-of-the-context" \content` command is 
used to reference an already existing context. In this example, the 
\lyricsto can only be used after the associated Voice has been created, 
so I create an empty Lyrics context first and insert the content later.
– Nitpick: the typographical apostrophe ’ – hard to achieve, alas, on 
most keyboard layouts. And apparently most people don’t seem to mind, 
but I find it much nicer.
– LyricHyphen, \shape and phrasing slur have already been explained. I 
really think they are phrasing slurs, especially in the context of such 
an elementary school, where they just indicate the analysis of the form.
– Separating "global" and "aux" variables will come in handy in more 
complicated situations, here it’s not yet necessary.
– \override VerticalAxisGroup.staff-affinity tells the Lyrics context, 
to which staff it belongs – this changes spacing. Default is #UP.


Happy Ponding!
Yours, Simon
\version "2.18.2"

global = {
  \key c \major
  \time 3/4
}

aux = {
  \tempo "Gracefully"
  s2.*4
  \bar "||"
}

melody = \relative {
  e'4\( g2\)  | %m1
  g4\( e2\)  | %m2/right
  f4-\shape #'((-.3 . -6) (0 . -9) (-1.2 . -4.3) (-.3 . -4)) \( d c  | %m3/right
  \change Staff = "left"
  b2.\) |%m4/left
  %\change Staff = right
  %R2.  |%m4/right
}

text = \lyricmode {
  Rid -- ing, | rid -- ing, | ’round and a -- round
}

\score {
  \new PianoStaff \with {
instrumentName = "Pno."
  } <<
\new Lyrics = "text" \with { \override VerticalAxisGroup.staff-affinity = #DOWN }
\new Staff = "right" << \global \aux >>
\new Staff = "left" << \global \clef bass \aux >>
\context Staff = "right" \new Voice = "melody" \melody
\context Lyrics = "text" \lyricsto "melody" \text
  >>
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aw: Re: PDF Links in Windows

2015-10-05 Thread Blöchl Bernhard

Am 05.10.2015 08:27, schrieb msk...@ansuz.sooke.bc.ca:

On Mon, 5 Oct 2015, Blöchl Bernhard wrote:

> Does anyone know if it would be possible to make the links in the regular
> PDF reader go to Frescobaldi?

What is a regular PDF reader? Is it a working one? Which one is 
irregular?


Adobe Acrobat Reader.


OK, if you are convinced, then use Acrobat Reader. Where is the 
question?





> me.  LilyPad is O.K. most of the time too, but it can't handle Unicode! :O



Lilypond DOES unicode:


LilyPad.


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


Re: 2.18.2 - Thoughts so far

2015-10-05 Thread David Kastrup
Blöchl Bernhard  writes:

> Am 05.10.2015 02:29, schrieb Ivan Kuznetsov:
>> On Sat, Oct 3, 2015 at 7:33 PM, Karen S. Billings
>>  wrote:
>
>>>
>>> How would somebody like me gain access to vi (and other Unix-like
>>> tools)?
>>
>
> Recommended: Trash Windows, free yourself and use Linux and Frescobaldi

Frescobaldi, like LilyPond, also runs under Windows.  Even though
Windows 10 is an excellent reason to take the plunge if one hasn't done
so already.

> Second best: http://www.vim.org/download.php/

LilyPond somewhere offers a lilydev VM that can be started under
Windows.  While Cygwin and MSYS offer ways to run UNIX utilities more or
less natively under Windows, there tend to be lots of little problems
and shortcomings that come up whenever you try porting or developing
software.  It is one of the reasons that nobody tries developing
LilyPond natively for Windows.  Instead our Windows offerings are
crosscompiled from GNU/Linux systems.

-- 
David Kastrup

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


Re: 2.18.2 - Thoughts so far

2015-10-05 Thread Blöchl Bernhard

Am 05.10.2015 08:32, schrieb David Kastrup:

...

LilyPond somewhere offers a lilydev VM that can be started under
Windows. ...



http://www.lilypond.org/doc/v2.19/Documentation/contributor/lilydev

There is a chapter

Installing LilyDev in VirtualBox

May be that is what David mentioned?

(I never ever used Windows and never will - so dont ask me for details!)

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


Two questions about key signatures

2015-10-05 Thread T. Michael Sommers

I have a couple of questions about key signatures:

1) When a key change occurs at the end of a printed line, the new key 
signature is printed at the end of the line.  Is there any way to 
suppress that?


2) When the key changes, the new key signature includes a bunch of 
naturals to negate the effects of the previous key.  Is there any way to 
suppress that?  My application is not an actual score to be played by 
others, but just a cheat sheet for me, and all those naturals get in the 
way, so complying with any standards is not an issue, if those naturals 
are standard notation.


Thanks for any help.

--
T.M. Sommers -- tmsomme...@gmail.com -- ab2sb

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


Re: Two questions about key signatures

2015-10-05 Thread Robert Schmaus
Hi T.M.,

Check the Notation Reference, section 5.4.6 - you'll find the answers to your 
questions there. 

http://lilypond.org/doc/v2.18/Documentation/notation/visibility-of-objects

Best, Robert 

__

Truth does not change according to our ability to stomach it.
-- Flannery O'Connor

> On 5 Oct 2015, at 09:16, T. Michael Sommers  wrote:
> 
> I have a couple of questions about key signatures:
> 
> 1) When a key change occurs at the end of a printed line, the new key 
> signature is printed at the end of the line.  Is there any way to suppress 
> that?
> 
> 2) When the key changes, the new key signature includes a bunch of naturals 
> to negate the effects of the previous key.  Is there any way to suppress 
> that?  My application is not an actual score to be played by others, but just 
> a cheat sheet for me, and all those naturals get in the way, so complying 
> with any standards is not an issue, if those naturals are standard notation.
> 
> Thanks for any help.
> 
> -- 
> T.M. Sommers -- tmsomme...@gmail.com -- ab2sb
> 
> ___
> 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: Aw: Re: PDF Links in Windows

2015-10-05 Thread Simon Albrecht

On 05.10.2015 08:30, Blöchl Bernhard wrote:

Am 05.10.2015 08:27, schrieb msk...@ansuz.sooke.bc.ca:

On Mon, 5 Oct 2015, Blöchl Bernhard wrote:
> Does anyone know if it would be possible to make the links in the 
regular

> PDF reader go to Frescobaldi?

What is a regular PDF reader? Is it a working one? Which one is 
irregular?


Adobe Acrobat Reader.


OK, if you are convinced, then use Acrobat Reader. Where is the question?


Please, Bernhard, do read the mails (with context) before replying. The 
question is about the textedit:// links which LilyPond (with 
point-and-click enabled) inserts into the PDF output as pointers to the 
source code.


Yours, Simon

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


Re: Two questions about key signatures

2015-10-05 Thread Robert Schmaus
Actually, so save you some time finding the relevant passages, your question 1 
is answered in the section called "Using break-visibility", and Q2 in section 
"Visibility of cancelling accidentals". 

Best, Robert 

__

Truth does not change according to our ability to stomach it.
-- Flannery O'Connor

> On 5 Oct 2015, at 09:16, T. Michael Sommers  wrote:
> 
> I have a couple of questions about key signatures:
> 
> 1) When a key change occurs at the end of a printed line, the new key 
> signature is printed at the end of the line.  Is there any way to suppress 
> that?
> 
> 2) When the key changes, the new key signature includes a bunch of naturals 
> to negate the effects of the previous key.  Is there any way to suppress 
> that?  My application is not an actual score to be played by others, but just 
> a cheat sheet for me, and all those naturals get in the way, so complying 
> with any standards is not an issue, if those naturals are standard notation.
> 
> Thanks for any help.
> 
> -- 
> T.M. Sommers -- tmsomme...@gmail.com -- ab2sb
> 
> ___
> 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: left offsetting dotted note leaves dot unmoved

2015-10-05 Thread Simon Albrecht

Hi Marten,

On 05.10.2015 03:09, Marten wrote:

Hi all,
I'm trying to left offset a dotted note in a CueVoice, but although the
note is shifted left as expected, the dot is not moved left.
How can I make the dot go left as well?


I’d have liked to suggest

%%%
\version "2.18.2"

myMusic = <<
  { \voiceOne g2 }
  \new CueVoice {
\voiceTwo
\once\override NoteColumn.force-hshift = #-5 g2.
  }
>>

\score {
  \new Voice { \relative c'' \myMusic }

  \layout {
\context {
  \Staff
  \remove "Dot_column_engraver"
}
\context {
  \Voice
  \consists "Dot_column_engraver"
}
\context {
  \CueVoice
  \consists "Dot_column_engraver"
}
  }
}
%

– but it doesn’t work, unfortunately.
To everybody: should we consider this a bug?

In the meantime: \once\override Dots.extra-offset. Not nice, but effective.

Yours, Simon

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


Re: Aw: Re: PDF Links in Windows

2015-10-05 Thread Robert Schmaus
I'm not sure if this what you're looking for, but here goes: I'm using 
frescobaldi on a Mac, and of course it does have a panel where you see the 
engraved score. Frescobaldi does not, however support printing the pdf itself - 
instead it asks if I'd like to open the pdf in the default pdf viewer and print 
it from there. So the print shortcut just opens the pdf in another program. 

I don't know if the windows version reacts the same way, but if you're looking 
for a way to send the pdf to acrobat, you could try the print shortcut and see 
if it opens up in acrobat.

Best, Robert 

__

Truth does not change according to our ability to stomach it.
-- Flannery O'Connor

> On 5 Oct 2015, at 03:57, Thomas WillNot <1137...@acadiau.ca> wrote:
> 
> Hello comrades,
> 
> Thanks for all of your replies!
> Does anyone know if it would be possible to make the links in the regular
> PDF reader go to Frescobaldi?
> I have discovered Frescobaldi (after years of hacking away at LilyPond the
> hard way!) and quite like it!  But I like to use Acrobat Reader for a
> maximized view of my score.
> If it can't be done with Frescobaldi, Notepad or MS-DOS Edit also work for
> me.  LilyPad is O.K. most of the time too, but it can't handle Unicode! :O
> I know how to register a protocol, and those links will help, but I wonder
> which method of scripting glue might work for this.  I fear that anything
> beyond simple batch scripting would be beyond my abilities to figure out!
> 
> Thanks again,
>   Thomas
> 
> 
> ___
> 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: 2.18.2 - Thoughts so far

2015-10-05 Thread Blöchl Bernhard

Am 05.10.2015 02:29, schrieb Ivan Kuznetsov:
On Sat, Oct 3, 2015 at 7:33 PM, Karen S. Billings  
wrote:




How would somebody like me gain access to vi (and other Unix-like 
tools)?




Recommended: Trash Windows, free yourself and use Linux and Frescobaldi

Second best: http://www.vim.org/download.php/

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


Re: 2.18.2 - Thoughts so far

2015-10-05 Thread Jérôme Plût
Quarto Nonas Novembres MMXV scripsit Ivan Kuznetsov :
> > How would somebody like me gain access to vi (and other Unix-like tools)?
> 
> By using Lilypond under Linux.

For the specific case of vi(m), there is a perfectly fine version of
gvim for Windows (this is usually the very first program I install
when I get a new, Windows machine).

If you don't like a modal editor, you may even make it less modal by
using "easy mode" (*) by launching it as "gvim -y". Then it's
more-or-less an enhanced Notepad (but you may still access all of
vi(m)'s power).

(*) (that's the official name BTW, they might as well have called it
"cheat mode enabled")

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


Re: Aw: Re: PDF Links in Windows

2015-10-05 Thread Blöchl Bernhard

Am 05.10.2015 03:57, schrieb Thomas WillNot:

Hello comrades,

Thanks for all of your replies!
Does anyone know if it would be possible to make the links in the 
regular

PDF reader go to Frescobaldi?


What is a regular PDF reader? Is it a working one? Which one is 
irregular?


I have discovered Frescobaldi (after years of hacking away at LilyPond 
the

hard way!) and quite like it!  But I like to use Acrobat Reader for a
maximized view of my score.
If it can't be done with Frescobaldi, Notepad or MS-DOS Edit also work 
for
me.  LilyPad is O.K. most of the time too, but it can't handle Unicode! 
:O
I know how to register a protocol, and those links will help, but I 
wonder
which method of scripting glue might work for this.  I fear that 
anything
beyond simple batch scripting would be beyond my abilities to figure 
out!


Thanks again,
   Thomas



I do not really understand what you want and what you (why) want to do?
Lilypond DOES unicode:
http://lilypond.org/doc/v2.18/Documentation/notation/special-characters



___
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: Aw: Re: PDF Links in Windows

2015-10-05 Thread mskala
On Mon, 5 Oct 2015, Blöchl Bernhard wrote:
> > Does anyone know if it would be possible to make the links in the regular
> > PDF reader go to Frescobaldi?
>
> What is a regular PDF reader? Is it a working one? Which one is irregular?

Adobe Acrobat Reader.

> > me.  LilyPad is O.K. most of the time too, but it can't handle Unicode! :O

> Lilypond DOES unicode:

LilyPad.

-- 
Matthew Skala
msk...@ansuz.sooke.bc.ca People before principles.
http://ansuz.sooke.bc.ca/___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-10-05 Thread Federico Bruni
Il giorno lun 5 ott 2015 alle 9:54, Urs Liska  ha 
scritto:

I think what he wants is the following:
- view the PDF in Acrobat Reader (for its better resolution or 
whatever reason,

  I think he knows how to do that (as it's where he's coming from)
- Click on the note in Acrobat Reader and have Frescobaldi open the 
input file

  at the correct location.

I don't know how to do it but it's a valid request IMHO, and I wanted 
to make it clear.


Once you figured that out could someone please consider writing a 
tutorial for Scores of Beauty?


I made a try but could not find any setting in Adobe Reader DC in my 
virtualized Windows guest. Adobe reader thinks that textedit URIs 
should be opened in a browser..


I found this question with a wrong answer:
https://forums.adobe.com/thread/305151

and this discussion:
http://forums.fofou.org/sumatrapdf/topic?id=934325

I have the feeling that trying to achieve this with a Free (as in 
freeedom) PDF reader for Windows, like Sumatra, would be a better idea.





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


Re: PDF Links in Windows

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 09:50 schrieb Robert Schmaus:
> I'm not sure if this what you're looking for, but here goes: I'm using
> frescobaldi on a Mac, and of course it does have a panel where you see
> the engraved score. Frescobaldi does not, however support printing the
> pdf itself - instead it asks if I'd like to open the pdf in the
> default pdf viewer and print it from there. So the print shortcut just
> opens the pdf in another program. 
>
> I don't know if the windows version reacts the same way, but if you're
> looking for a way to send the pdf to acrobat, you could try the print
> shortcut and see if it opens up in acrobat.
>
> Best, Robert 
>

I think what he wants is the following:
- view the PDF in Acrobat Reader (for its better resolution or whatever
reason,
  I think he knows how to do that (as it's where he's coming from)
- Click on the note in Acrobat Reader and have Frescobaldi open the
input file
  at the correct location.

I don't know how to do it but it's a valid request IMHO, and I wanted to
make it clear.

Once you figured that out could someone please consider writing a
tutorial for Scores of Beauty?

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


Re: Two questions about key signatures

2015-10-05 Thread T. Michael Sommers

On 10/5/2015 3:33 AM, Robert Schmaus wrote:

On 5 Oct 2015, at 09:16, T. Michael Sommers > wrote:


I have a couple of questions about key signatures:

1) When a key change occurs at the end of a printed line, the new key
signature is printed at the end of the line.  Is there any way to
suppress that?

2) When the key changes, the new key signature includes a bunch of
naturals to negate the effects of the previous key.  Is there any way
to suppress that?  My application is not an actual score to be played
by others, but just a cheat sheet for me, and all those naturals get
in the way, so complying with any standards is not an issue, if those
naturals are standard notation.


Check the Notation Reference, section 5.4.6 - you'll find the answers to
your questions there.

http://lilypond.org/doc/v2.18/Documentation/notation/visibility-of-objects


I tried this:

\override Staff.KeySignature.break-visibility = ##(#f #t #t)

along with some variations, but it didn't seem to have any effect. 
Also, I had used that formula in another situation (with the 
TimeSignature, I think), and, although it removed the signature, it left 
the empty staff lines it had occupied dangling off the end of the staff, 
with was a bit unsatisfactory.


--
T.M. Sommers -- tmsomme...@gmail.com -- ab2sb

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


Re: Two questions about key signatures

2015-10-05 Thread T. Michael Sommers

On 10/5/2015 3:42 AM, Robert Schmaus wrote:

Actually, so save you some time finding the relevant passages, your
... Q2 in section "Visibility of cancelling accidentals".


Thanks.  I hadn't seen that while searching the manual.

--
T.M. Sommers -- tmsomme...@gmail.com -- ab2sb

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


Re: PDF Links in Windows

2015-10-05 Thread Federico Bruni
Il giorno lun 5 ott 2015 alle 10:57, Federico Bruni 
 ha scritto:
Il giorno lun 5 ott 2015 alle 9:54, Urs Liska  ha 
scritto:

I think what he wants is the following:
- view the PDF in Acrobat Reader (for its better resolution or 
whatever reason,

  I think he knows how to do that (as it's where he's coming from)
- Click on the note in Acrobat Reader and have Frescobaldi open the 
input file

  at the correct location.

I don't know how to do it but it's a valid request IMHO, and I 
wanted to make it clear.


Once you figured that out could someone please consider writing a 
tutorial for Scores of Beauty?


I made a try but could not find any setting in Adobe Reader DC in my 
virtualized Windows guest. Adobe reader thinks that textedit URIs 
should be opened in a browser..


I found this question with a wrong answer:
https://forums.adobe.com/thread/305151

and this discussion:
http://forums.fofou.org/sumatrapdf/topic?id=934325

I have the feeling that trying to achieve this with a Free (as in 
freeedom) PDF reader for Windows, like Sumatra, would be a better 
idea.




"Custom protocol handlers aren't supported by Adobe Reader X and later 
for security reasons."

https://forums.adobe.com/message/5593888#5593888


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


Re: PDF Links in Windows

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 11:18 schrieb Federico Bruni:
> Il giorno lun 5 ott 2015 alle 10:57, Federico Bruni
>  ha scritto:
>> Il giorno lun 5 ott 2015 alle 9:54, Urs Liska  ha
>> scritto:
>>> I think what he wants is the following:
>>> - view the PDF in Acrobat Reader (for its better resolution or
>>> whatever reason,
>>>   I think he knows how to do that (as it's where he's coming from)
>>> - Click on the note in Acrobat Reader and have Frescobaldi open the
>>> input file
>>>   at the correct location.
>>>
>>> I don't know how to do it but it's a valid request IMHO, and I
>>> wanted to make it clear.
>>>
>>> Once you figured that out could someone please consider writing a
>>> tutorial for Scores of Beauty?
>>
>> I made a try but could not find any setting in Adobe Reader DC in my
>> virtualized Windows guest. Adobe reader thinks that textedit URIs
>> should be opened in a browser..
>>
>> I found this question with a wrong answer:
>> https://forums.adobe.com/thread/305151
>>
>> and this discussion:
>> http://forums.fofou.org/sumatrapdf/topic?id=934325
>>
>> I have the feeling that trying to achieve this with a Free (as in
>> freeedom) PDF reader for Windows, like Sumatra, would be a better idea.
>>
>
> "Custom protocol handlers aren't supported by Adobe Reader X and later
> for security reasons."
> https://forums.adobe.com/message/5593888#5593888

Is this definitive?

Then this should be added to the documentation somewhere (CCing to
bug-lilypond).

Urs

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


Re: Two questions about key signatures

2015-10-05 Thread T. Michael Sommers

On 10/5/2015 5:13 AM, T. Michael Sommers wrote:

On 10/5/2015 3:42 AM, Robert Schmaus wrote:

Actually, so save you some time finding the relevant passages, your
... Q2 in section "Visibility of cancelling accidentals".


Thanks.  I hadn't seen that while searching the manual.


Hmmm.  When I change from a key with sharps or flats in it to one with 
no sharps or flats, the cancelling accidentals still appear.  I can 
understand that, since otherwise there would be no indication that the 
key had changed, but for my application, it's a little annoying.  Not 
annoying enough to do anything about, though.


--
T.M. Sommers -- tmsomme...@gmail.com -- ab2sb

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


Re: Two questions about key signatures

2015-10-05 Thread Robert Schmaus

> 
> I tried this:
> 
>   \override Staff.KeySignature.break-visibility = ##(#f #t #t)
> 
> along with some variations, but it didn't seem to have any effect. Also, I 
> had used that formula in another situation (with the TimeSignature, I think), 
> and, although it removed the signature, it left the empty staff lines it had 
> occupied dangling off the end of the staff, with was a bit unsatisfactory.

I just checked - there seem to be special considerations for the Time Signature 
case. 
You'll need to set the
"explicitKeySignatureVisibility" and possibly the "printKeyCancellation" 
properties - those are also described on that page. 

Best, Robert 



> -- 
> T.M. Sommers -- tmsomme...@gmail.com -- ab2sb
> 
> ___
> 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: Aw: Re: PDF Links in Windows

2015-10-05 Thread BB
I am sorry, I was confusing this thread "PDF Links in Windows" with 
another one: "2.18.2 - Thoughts so far".


But to add to the first thread I reread: It is starting with a posting 
on 27th September 2015 of Thomas WillNot added a link to

http://lilypond.org/doc/v2.6/Documentation/user/lilypond/Point-and-click.html
Headline: Appendix D Point and click
Concerning to the copyright mark from
http://wikitex.org/doc/lilypond.pdf
that document is from
The LilyPond development team
Copyright c 1999–2005 by the authors
And is a documentation of LP version 2.6.6.
Do you like to discuss outdated versions of LP documentation? The go ahead.

Everybody is free to use Acrobat Reader, one starts it with a mouse click.

Sorry, I have to ask again: what's the problem?


On 05.10.2015 09:33, Simon Albrecht wrote:

On 05.10.2015 08:30, Blöchl Bernhard wrote:

Am 05.10.2015 08:27, schrieb msk...@ansuz.sooke.bc.ca:

On Mon, 5 Oct 2015, Blöchl Bernhard wrote:
> Does anyone know if it would be possible to make the links in the 
regular

> PDF reader go to Frescobaldi?

What is a regular PDF reader? Is it a working one? Which one is 
irregular?


Adobe Acrobat Reader.


OK, if you are convinced, then use Acrobat Reader. Where is the 
question?


Please, Bernhard, do read the mails (with context) before replying. 
The question is about the textedit:// links which LilyPond (with 
point-and-click enabled) inserts into the PDF output as pointers to 
the source code.


Yours, Simon



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


Re: Aw: Re: PDF Links in Windows

2015-10-05 Thread BB

I forgot to add the link of Harm/Thomas Morley
http://www.lilypond.org/doc/v2.19/Documentation/usage/point-and-click
Obviously does not describe a Windows solution either ...




On 05.10.2015 11:36, BB wrote:
I am sorry, I was confusing this thread "PDF Links in Windows" with 
another one: "2.18.2 - Thoughts so far".


But to add to the first thread I reread: It is starting with a posting 
on 27th September 2015 of Thomas WillNot added a link to
http://lilypond.org/doc/v2.6/Documentation/user/lilypond/Point-and-click.html 


Headline: Appendix D Point and click
Concerning to the copyright mark from
http://wikitex.org/doc/lilypond.pdf
that document is from
The LilyPond development team
Copyright c 1999–2005 by the authors
And is a documentation of LP version 2.6.6.
Do you like to discuss outdated versions of LP documentation? The go 
ahead.


Everybody is free to use Acrobat Reader, one starts it with a mouse 
click.


Sorry, I have to ask again: what's the problem?


On 05.10.2015 09:33, Simon Albrecht wrote:

On 05.10.2015 08:30, Blöchl Bernhard wrote:

Am 05.10.2015 08:27, schrieb msk...@ansuz.sooke.bc.ca:

On Mon, 5 Oct 2015, Blöchl Bernhard wrote:
> Does anyone know if it would be possible to make the links in 
the regular

> PDF reader go to Frescobaldi?

What is a regular PDF reader? Is it a working one? Which one is 
irregular?


Adobe Acrobat Reader.


OK, if you are convinced, then use Acrobat Reader. Where is the 
question?


Please, Bernhard, do read the mails (with context) before replying. 
The question is about the textedit:// links which LilyPond (with 
point-and-click enabled) inserts into the PDF output as pointers to 
the source code.


Yours, Simon



___
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: Offset fermata problem

2015-10-05 Thread Jacques Menu
Hello Simon,

Thanks a lot to DK and yourself, this « after » function is awesome!

JM

> Le 5 oct. 2015 à 20:38, Simon Albrecht  a écrit :
> 
> Hello Jacques,
> 
> On 05.10.2015 17:25, Menu Jacques wrote:
>> Hello folks,
>> 
>> I’d like to obtain the following from Poulenc, in which the fermata is 
>> in-between a2 and r4:
>> 
>> 
> 
> based on an idea by David Kastrup I wrote a music function, which provides a 
> nice interface for this kind of things:
> 
> 
> \version "2.19.28"
> 
> after = #(define-music-function (t e m) (ly:duration? ly:music? ly:music?)
>   #{ << #m { \skip $t <> -\tweak extra-spacing-width #empty-interval $e } >> 
> #})
> 
> \score {
>  \relative c'' {
>\key f \major \time 2/2 | % 147
>\after 4*5/4 \fermata a2 r4
>e16 -\markup{\dynamic "ff" \italic "librement"}  ^\markup{\bold "solo"} [ 
> f16 g16 f16 ]
>  }
> }
> %
> 
> It has proved an invaluable tool, mostly with placing dynamics: no need to 
> maintain extra <> constructs, much less typing, far easier readable code. 
> Only drawback: point-and-click doesn’t work for the grobs created thus, it 
> always points to the music function code.
> In case you wonder about the order of arguments: I chose it that way round to 
> keep it legible with multiple events during one note:
> { \after 4 \< \after 2 \> \after 2. \! c'1 }
> 
> Yours, Simon
> 
> ___
> 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: Handling of objects near barlines

2015-10-05 Thread Thomas Morley
2015-10-05 19:49 GMT+02:00 David Sumbler :
> For a while I have been thinking about something which I feel could be a
> useful modification of Lilypond's behaviour.
>
> Lilypond defaults to standard choices for musical notation, which
> generally saves a lot of work - for instance, it assumes that when we
> write c4 we want a standard crotchet to appear on the page.  It saves a
> lot of time not having to specify that that is what we want, yet we can
> still change the appearance of the note into something else if we want
> to, with a bit of extra work.
>
> However, I have had a few problems with items near barlines lately, some
> of which I had help with from the list, and it occurs to me that
> Lilypond is being unnecessarily "helpful" in this area.
>
> Lilypond defaults to putting clef-change signs before the barline, key-
> and time-signature after the barline regardless of whether they are
> before or after a possible bar check marking.  For instance, the clef,
> key signature and time signature changes in the following all appear in
> their conventional positions, even though they are (perversely) written
> in reverse order, and with a bar check between two of the items.
>
> \version "2.19.24"
>
> \relative c'
> \displayMusic {
>   \key g \major c1 \time 3/4 \key f \major |
>   \clef "bass" c2. |
> }
>
> Even when we write the opposite, Lilypond still conforms to the standard
> practice - which is very nice of it, but unnecessary.  Lilypond is a
> practical tool, not an educational one, and people using it know the
> conventions and can just as easily type a key change etc. before or
> after the bar check.  Lilypond's insistence on orthodoxy does not save
> us any effort whatsoever.
>
> Now I realise that the bar checks are not generally required in
> Lilypond, and they don't really represent barlines anyway, even if they
> look like them.  But I think it would be useful if we could use them to
> aid the positioning of these various items.
>
> What I am suggesting is that if you don't use a bar check, then Lilypond
> would sensibly put items in their conventional positions.  But if you do
> use a bar check, and put the time change or whatever on the
> unconventional side of it, then Lilypond should respect that.  It would
> increase the versatility of the program without losing anything useful.
>
> And it is not necessarily because we are being perverse that we need to
> do these apparently strange things: sometimes it is to cope with a
> situation which is unusual but which Lilypond doesn't currently cope
> with.  For instance, one of my recent problems concerned a clef change
> during the "first-time bar" section of a repeated passage; this meant
> that at the start of the "second-time" bar it was necessary to have a
> clef sign to avoid ambiguity - but it made no sense to have it before
> the bar line (i.e. at the end of the first-time section): of necessity
> it needed to come after the barline, at the start of the second-time
> section.  If Lilypond had understood that
>
> | \clef "bass"
>
> meant that the clef sign should come after the barline, it would have
> saved me having to type
>
> \once \override Score.BreakAlignment #'break-align-orders =
> #(make-vector 3 '(staff-bar clef key-signature)) \clef "bass"
>
> I think it would also be useful, at least for those of us perverse
> enough to want to do such things, if we could actually anchor items to
> barlines, simply by attaching them to the bar check - I am thinking
> particularly about such things as dynamics (notably the \! to end a
> hairpin) and fermataMarkup.
>
> Perhaps this feature could be considered for a future version of
> Lilypond.  It would not inconvenience those users who don't see the
> desirability for it in any way.
>
> David

A BarCheck is per default nothing else than (make-music 'BarCheck).
You suggest that LilyPond depending on your typed order and the
presence or absence of a BarCheck should order items on the fly.

I've no idea, whether it's possible at all. But please consider that
some items have and should have _different_ order at line-end and
line-begin. How to deal with this situation, if the order should
depend on your typing? I can't see any way to make that work.

At least on the fly.

Though, you can re- and pre-define the pipe-symbol, replacing or
combining the BarCheck with other commands. See this (crazy) example:

\version "2.19.28"

"|" = {
  $(make-music 'BarCheck)
  \once \override Score.BreakAlignment #'break-align-orders =
#(make-vector 3
  '(staff-bar time-signature clef key-signature key-cancellation))
  \once \override Score.TimeSignature.space-alist.clef =
#'(extra-space . 2.0)
  \once \override Score.KeySignature.space-alist.key-cancellation =
#'(extra-space . 0.2)
}

\relative c' {
  \key g \major
  c1
  \time 3/4
  \key f \major
  |
  \clef "bass"
  c2.
  |
}

No need to change the source code at all. ;)

N.b. For line-breaking situation the above 

Re: 2.18.2 - Thoughts so far

2015-10-05 Thread J Martin Rushton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 05/10/15 03:40, Colin Campbell wrote:
> On 15-10-04 06:29 PM, Ivan Kuznetsov wrote:
>> On Sat, Oct 3, 2015 at 7:33 PM, Karen S. Billings
>>  wrote:
>>> I'm a former Bell Labs engineer, where I used Unix (vi, awk,
>>> shell, etc.) everyday. I got so used to using those tools, and
>>> I find I miss their power...
>>> 
>>> I'm really struggling to learn how to use the "tools" available
>>> to me on my PC.  I used to have a version of vi available as
>>> part of MKS toolkit, but it hasn't worked in years...
>>> 
>>> How would somebody like me gain access to vi (and other
>>> Unix-like tools)?
>> By using Lilypond under Linux.
>> 
> 
> If you are required to stay with Windows, you might have a look at 
> cygwin: https://www.cygwin.com/
> 
> Cheers, Colin
> 
Also MobaXterm: http://mobaxterm.mobatek.net/ we use it at work
extensively.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJWEvVVAAoJEAF3yXsqtyBlg3oP/Rrm8fvNuTtGwDUSNRAAnSmY
62Ci2EW591WN3ZP4wd5YcxqZl93e/XJmd2zlL4CxgSOm28tXvnuvxV+4Re1+IJmW
8x2J4vUyBA1bqVE4nwTuEyfSPaQ9JpfKBbhMIGi8kvU+Le44nya449gBv04smYzZ
uT9SaocxDLIurEm8y1hEBEdkrZ1eYrwZqSBvyRKMXS3Se9JiFho4xRu3KFp79stx
8mVWEv1CppgLkMV7FP6Gj+rW974r49YEbyJD2Vj5epVwXIvurJ2++EfJK+ZBkkH+
ujPhlWrDigSgBlpPnCM/DzOJ5rXk+HFsW4l9dv0lz4pUKCyMgcpi4gK8g5rdvPlO
x3h+Nc4upaPS6L+UQFNTPl+AqpbZlfC78z4GkIlw/cjDHfgUlxlTRHlfeEdoQx9x
tBU7ZU+RJskWD5lm6l4M6GnrXnpLMcXrGYyfPCGSDd+TqmwoZHpVLnBPtGAwC5Ox
3/sFfgKrHqnEdp8MYDu/6Re1V39Yj2+GdzPDeCcndcojWqazgGdP36EvU1/LEbY2
0MmvwNQwW0PNj7op2JbpwQujkWwdX2X0MSaE0Z02tI9MHhTaI3Hn6p/QwT3rd7ic
VnkmX//ynvP4BgajRhdkA4IY3VN0o2kH/QXTR9sLWSW+jNgKRMgqNpyDQyDBLje3
rj6wX5zKyVbT642XxX+f
=Yj+7
-END PGP SIGNATURE-

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


Re: How write cross-staff slur (in combination with lyrics)

2015-10-05 Thread Simon Albrecht

On 05.10.2015 22:01, Urs Liska wrote:


Am 05.10.2015 um 21:07 schrieb Simon Albrecht:

On 05.10.2015 13:33, Urs Liska wrote:

Remove the slurs in the first two measures completely

Hear, hear! The musicologist deviates from the original notation :-)
You definitely need to make an editorial

Depends on the type of publication of course. Anyway, this obsession to
justify and comment on *everything* is a comparably new trend.
Traditionally the musicologist would silently ("stillschweigend")
correct "obvious errors" ;-)


Cheek aside, I think they are phrasing slurs and make sense as such.

I'd also say that this depends too, this time on the style of the music.
In most cases I'd consider them dubious. But I deliberately didn't tell
the OP to remove the slurs but to *consider* doing so.


I hope you didn’t take my remark too seriously :-)

Good night, Simon

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


MIDI "volume"

2015-10-05 Thread mskala
The discussion of MIDI in the manual refers to "volume" throughout.  It
appears that at least some of the time, that actually means MIDI velocity,
which is not the same thing.  For instance, dynamic marks like \f and \pp
seem to set the velocity.  Do *all* references to "volume" really mean
velocity, or are there also some LilyPond features that set the true
MIDI volume (control change 7)?

-- 
Matthew Skala
msk...@ansuz.sooke.bc.ca People before principles.
http://ansuz.sooke.bc.ca/

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


Re: How write cross-staff slur (in combination with lyrics)

2015-10-05 Thread Urs Liska
Hi Jurgen,

welcome to this list and LilyPond!

I will answer some of your questions but you'll surely get other
responses as well.

Am 05.10.2015 um 12:46 schrieb jurgen.lams...@telenet.be:
> Hi all,
>
> I'm a complete newbie here, so please bare with me ;-)
>
> I already spent a couple of hours, reading all manuals and mailing
> lists, trying to engrave something as simple as this:
>
>
> Notice: the "full-measure rests" are not shown in the screenshot
> (beginner piano book), but I want to engrave them anyway. Result:
> please check lilypond attachment.
>
> 2 problems:
>
> 1.cross-staff slur:
> a. using the list archive, apparently a possible solution is changing
> staffs.

Yes, this is the most straightforward solution. And if the image you
posted is more or less all you need it is the way to go.

> I'm changing staffs from "right/upper" to "left/under" after note
> "c4", and then I write final note "b2." By doing that, apparently
> there is also an empty 4th measure added automatically to the "right"
> staff. I did not expect that, because I wanted to put a rest "R2."in
> that measure, by changing back from "left" to "right" after I wrote
> final note "b2.",
> but clearly that does not give me the desired result.

The solution is quite simple in your case: you can simply have the "left
hand" rests change staff too. So adding

 \change Staff = right
 R2.

after the third measure in the "left" variable will give you the desired
result.
There are solutions that may be "semantically" more correct, but for
your example this is what I would do.

>
> b. It _does_ give a cross-staff slur, but it is not as "nice" as the
> one in the screenshot. That one starts somewhere at the half of the
> stem of "f4" and ends above lyric "round" that is centered above final
> note "b2.". How can that
> be accomplished?

For changing the shape of a slur (or tie) you can use the function
\shape (as explained here:
http://www.lilypond.org/doc/v2.18/Documentation/notation/modifying-shapes.html)
and enter e.g.

  \shape #'((0.25 . -1.5)(3 . 1)(0 . 0)(0 . -3)) Slur

immediately *before* the note the slur start is attached to.
This is a more general solution than that suggested by David but also a
more (unnecessarily?) complex one.

> But first the lyrics question...
>
> 2. lyrics
> a. I have trouble finding a solution for the lyrics: I want a dash
> between e.g. "Rid" and "ing" (one syllable per note) as in the
> screenshot, but the slur between "e4" and "g2" prevents me from
> getting the desired result. If I remove those round
> brackets (slur), I'm still not getting "Rid - ing" but "Riding" in one
> word without a dash. How can that be accomplished?

First thing: you have to write "Rid -- ing" both times (with a double
hyphen which is surrounded by spaces). This is the way to tell LilyPond
that you want syllables.

The thing with slurs and phrasing slurs (David's suggestion) may warrant
an additional solution. Your original example is actually non-standard
notation: The slurs usually indicate a melisma and therefore the
syllables are distributed differently from what you expect. Therefore
you have to "trick" LilyPond into doing what you want it to do, namely
printing non-standard notation. The trick in this case is that a
phrasing slur doesn't take part in the melisma/non-melisma considerations.

But actually I suggest you consider actually changing the notation:
Remove the slurs in the first two measures completely and use a phrasing
slur over m. 3-4..

HTH
Urs

>
> Thanks in advance!
> Jurgen L.
>
>
> ___
> 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: PDF Links in Windows

2015-10-05 Thread James
Hello,

On 05/10/15 10:23, Urs Liska wrote:
>
> Am 05.10.2015 um 11:18 schrieb Federico Bruni:
>> Il giorno lun 5 ott 2015 alle 10:57, Federico Bruni
>>  ha scritto:
>>> Il giorno lun 5 ott 2015 alle 9:54, Urs Liska  ha
>>> scritto:
 I think what he wants is the following:
 - view the PDF in Acrobat Reader (for its better resolution or
 whatever reason,
   I think he knows how to do that (as it's where he's coming from)
 - Click on the note in Acrobat Reader and have Frescobaldi open the
 input file
   at the correct location.

 I don't know how to do it but it's a valid request IMHO, and I
 wanted to make it clear.

 Once you figured that out could someone please consider writing a
 tutorial for Scores of Beauty?
>>> I made a try but could not find any setting in Adobe Reader DC in my
>>> virtualized Windows guest. Adobe reader thinks that textedit URIs
>>> should be opened in a browser..
>>>
>>> I found this question with a wrong answer:
>>> https://forums.adobe.com/thread/305151
>>>
>>> and this discussion:
>>> http://forums.fofou.org/sumatrapdf/topic?id=934325
>>>
>>> I have the feeling that trying to achieve this with a Free (as in
>>> freeedom) PDF reader for Windows, like Sumatra, would be a better idea.
>>>
>> "Custom protocol handlers aren't supported by Adobe Reader X and later
>> for security reasons."
>> https://forums.adobe.com/message/5593888#5593888
> Is this definitive?
>
> Then this should be added to the documentation somewhere (CCing to
> bug-lilypond).
>
> Urs

Do we have an example of a PDF that he is trying to use here?

I use a number of different readers at work and they all behave
differently and on different operating systems. The information "Custom
protocol handlers aren't supported by Adobe Reader X and later for
security reasons." isn't very explanatory in the context of LilyPond.

To help the bug squad could you articulate more clearly what is needed
here than just forwarding some thread from another list?

It puts people off trying to find out the information to create or
investigate the different behaviour. I've already spent 10 mins trying
to work out what the *specific* problem is, how it relates to LP and how
to even validate this isn't just something on someone's own environment
that might not be a problem elsewhere.

James



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


Re: Two questions about key signatures

2015-10-05 Thread T. Michael Sommers

On 10/5/2015 5:33 AM, Robert Schmaus wrote:


I tried this:

\override Staff.KeySignature.break-visibility = ##(#f #t #t)

along with some variations, but it didn't seem to have any effect.
Also, I had used that formula in another situation (with the
TimeSignature, I think), and, although it removed the signature, it
left the empty staff lines it had occupied dangling off the end of
the staff, with was a bit unsatisfactory.


I just checked - there seem to be special considerations for the Time
Signature case. You'll need to set the
"explicitKeySignatureVisibility" and possibly the
"printKeyCancellation" properties - those are also described on that
page.


Thanks.  I should have read on.  Doing this:

\set Staff.explicitKeySignatureVisibility = #end-of-line-invisible

seems to have done the trick.  printKeyCancellation was already set to 
#f following the suggestion in your other post.


--
T.M. Sommers -- tmsomme...@gmail.com -- ab2sb

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


Re: PDF Links in Windows

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 12:42 schrieb James:
> Hello,
>
> On 05/10/15 10:23, Urs Liska wrote:
>> Am 05.10.2015 um 11:18 schrieb Federico Bruni:
>>> Il giorno lun 5 ott 2015 alle 10:57, Federico Bruni
>>>  ha scritto:
 Il giorno lun 5 ott 2015 alle 9:54, Urs Liska  ha
 scritto:
> I think what he wants is the following:
> - view the PDF in Acrobat Reader (for its better resolution or
> whatever reason,
>   I think he knows how to do that (as it's where he's coming from)
> - Click on the note in Acrobat Reader and have Frescobaldi open the
> input file
>   at the correct location.
>
> I don't know how to do it but it's a valid request IMHO, and I
> wanted to make it clear.
>
> Once you figured that out could someone please consider writing a
> tutorial for Scores of Beauty?
 I made a try but could not find any setting in Adobe Reader DC in my
 virtualized Windows guest. Adobe reader thinks that textedit URIs
 should be opened in a browser..

 I found this question with a wrong answer:
 https://forums.adobe.com/thread/305151

 and this discussion:
 http://forums.fofou.org/sumatrapdf/topic?id=934325

 I have the feeling that trying to achieve this with a Free (as in
 freeedom) PDF reader for Windows, like Sumatra, would be a better idea.

>>> "Custom protocol handlers aren't supported by Adobe Reader X and later
>>> for security reasons."
>>> https://forums.adobe.com/message/5593888#5593888
>> Is this definitive?
>>
>> Then this should be added to the documentation somewhere (CCing to
>> bug-lilypond).
>>
>> Urs
> Do we have an example of a PDF that he is trying to use here?
>
> I use a number of different readers at work and they all behave
> differently and on different operating systems. The information "Custom
> protocol handlers aren't supported by Adobe Reader X and later for
> security reasons." isn't very explanatory in the context of LilyPond.
>
> To help the bug squad could you articulate more clearly what is needed
> here than just forwarding some thread from another list?

The context is the page
http://lilypond.org/doc/v2.19/Documentation/usage/configuring-the-system-for-point-and-click
and the issue of activating point-and-click on Windows in Acrobat Reader.

The message quoted by Federico is an official statement of an Adobe
staff member, and this tells us that from Adobe Reader X onwards it will
not be possible to enable LilyPond's point-and-click links.

My suggestion is to add a note to said LilyPond doc page saying e.g.
"please note that it is not possible to make point-and-click work with
Adobe Reader version X or above." Probably this should go after the
second paragraph.

I think Adobe Reader is important enough for new or potential LilyPond
users on Windows that this disclaimer should be there.

Urs

>
> It puts people off trying to find out the information to create or
> investigate the different behaviour. I've already spent 10 mins trying
> to work out what the *specific* problem is, how it relates to LP and how
> to even validate this isn't just something on someone's own environment
> that might not be a problem elsewhere.
>
> James
>
>


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


Re: PDF Links in Windows

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 11:36 schrieb BB:
> I am sorry, I was confusing this thread "PDF Links in Windows" with
> another one: "2.18.2 - Thoughts so far".
>
> But to add to the first thread I reread: It is starting with a posting
> on 27th September 2015 of Thomas WillNot added a link to
> http://lilypond.org/doc/v2.6/Documentation/user/lilypond/Point-and-click.html
>
> Headline: Appendix D Point and click
> Concerning to the copyright mark from
> http://wikitex.org/doc/lilypond.pdf
> that document is from
> The LilyPond development team
> Copyright c 1999–2005 by the authors
> And is a documentation of LP version 2.6.6.
> Do you like to discuss outdated versions of LP documentation? The go
> ahead.
>
> Everybody is free to use Acrobat Reader, one starts it with a mouse
> click.
>
> Sorry, I have to ask again: what's the problem?

The problem is to make Acrobat Reader open the point-and-click links in
an external editor.
But as Federico has found this is impossible because Adobe has blocked
that option for security reasons.

Urs

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


How write cross-staff slur (in combination with lyrics)

2015-10-05 Thread jurgen . lamsens
Hi all, 

I'm a complete newbie here, so please bare with me ;-) 

I already spent a couple of hours, reading all manuals and mailing lists, 
trying to engrave something as simple as this: 


Notice: the "full-measure rests" are not shown in the screenshot (beginner 
piano book), but I want to engrave them anyway. Result: please check lilypond 
attachment. 

2 problems: 

1.cross-staff slur: 
a. using the list archive, apparently a possible solution is changing staffs. 
I'm changing staffs from "right/upper" to "left/under" after note "c4", and 
then I write final note "b2." By doing that, apparently 
there is also an empty 4th measure added automatically to the "right" staff. I 
did not expect that, because I wanted to put a rest "R2."in that measure, by 
changing back from "left" to "right" after I wrote final note "b2.", 
but clearly that does not give me the desired result. 

b. It _does_ give a cross-staff slur, but it is not as "nice" as the one in the 
screenshot. That one starts somewhere at the half of the stem of "f4" and ends 
above lyric "round" that is centered above final note "b2.". How can that 
be accomplished? But first the lyrics question... 

2. lyrics 
a. I have trouble finding a solution for the lyrics: I want a dash between e.g. 
"Rid" and "ing" (one syllable per note) as in the screenshot, but the slur 
between "e4" and "g2" prevents me from getting the desired result. If I remove 
those round 
brackets (slur), I'm still not getting "Rid - ing" but "Riding" in one word 
without a dash. How can that be accomplished? 

Thanks in advance! 
Jurgen L. 
\version "2.18.2"

right = << \relative c' {
  \tempo "Gracefully"
  \clef "treble"
  \key c \major
  \numericTimeSignature \time 3/4
  e4( g2)  |%m1/right
  g4( e2)  |%m2/right
  f4( d c  |%m3/right
  \change Staff = left
  b2.) |%m4/left
  %\change Staff = right
  %R2.  |%m4/right
}
  \addlyrics {
Rid -- ing | riding, | 'round and a round
  }
>>

left = \relative c' {
  \clef "bass"
  \key c \major
  \numericTimeSignature \time 3/4
 R2. |%m1/left
 R2. |%m2/left
 R2. |%m3/left
 %b2. |%m4/left -> changed to left from right  
}


pianoPart = \new PianoStaff \with { 
  instrumentName = "Pno."
} <<
 \new Staff = "right" \right
 \new Staff = "left" \left
>>


\score {
 <<
 \pianoPart
 % ...
 >>
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How write cross-staff slur (in combination with lyrics)

2015-10-05 Thread David Kastrup
jurgen.lams...@telenet.be writes:

> Hi all,
>
> I'm a complete newbie here, so please bare with me ;-)
>
> I already spent a couple of hours, reading all manuals and mailing
> lists, trying to engrave something as simple as this:
>
> *
>
> Notice: the "full-measure rests" are not shown in the screenshot
> (beginner piano book), but I want to engrave them anyway. Result:
> please check lilypond attachment.

Good.  Attaching your example document makes it easy to just add the
required changes.

> 2 problems:
>
> 1.cross-staff slur: 
> a. using the list archive, apparently a possible solution is changing staffs. 
> I'm
> changing staffs from "right/upper" to "left/under" after note "c4", and then 
> I write
> final note "b2." By doing that, apparently
> there is also an empty 4th measure added automatically to the "right"
> staff.

Changing staves does not rewind time so you have to apply the rest in
parallel.

> b. It _does_ give a cross-staff slur, but it is not as "nice" as the
> one in the screenshot. That one starts somewhere at the half of the
> stem of "f4" and ends above lyric "round" that is centered above final
> note "b2.". How can that be accomplished?

You can relax some constraints.  The below already looks more like what
you are asking for.  I'd probably not bother more than that.

> But first the lyrics question...
>
> 2. lyrics

> a. I have trouble finding a solution for the lyrics: I want a dash
> between e.g. "Rid" and "ing" (one syllable per note) as in the
> screenshot, but the slur between "e4" and "g2" prevents me from
> getting the desired result. If I remove those round brackets (slur),
> I'm still not getting "Rid - ing" but "Riding" in one word without a
> dash. How can that be accomplished?

I am using a phrasing slur here since that's apparently what you are
doing (namely, indicating a legato execution but not continuing
text/notes).

\version "2.18.2"

right = << \relative c' {
  \tempo "Gracefully"
  \clef "treble"
  \key c \major
  \numericTimeSignature \time 3/4
  e4\( g2\)  |%m1/right
  g4\( e2\)  |%m2/right
  f4-\tweak height-limit 5 \( d c  |%m3/right
  << \new Voice { R2. }
 \change Staff = left
 b2.\)
   >> |%m4/left+right
}
  \addlyrics {
Rid -- ing | rid -- ing, | 'round and a -- round
  }
>>

left = \relative c' {
  \clef "bass"
  \key c \major
  \numericTimeSignature \time 3/4
 R2. |%m1/left
 R2. |%m2/left
 R2. |%m3/left
 \skip 2. |%m4/left -> changed to left from right  
}


pianoPart = \new PianoStaff \with { 
  instrumentName = "Pno."
} <<
 \new Staff = "right" \right
 \new Staff = "left" \left
>>


\score {
 <<
 \pianoPart
 % ...
 >>
}

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


Re: PDF Links in Windows

2015-10-05 Thread Henning Hraban Ramm
Am 2015-10-05 um 16:42 schrieb James :

>>> "Custom protocol handlers aren't supported by Adobe Reader X and later
>>> for security reasons."
>>> https://forums.adobe.com/message/5593888#5593888
>> Is this definitive?
>> 
>> Then this should be added to the documentation somewhere (CCing to
>> bug-lilypond).
>> 
>> Urs
> 
> Do we have an example of a PDF that he is trying to use here?
> 
> I use a number of different readers at work and they all behave
> differently and on different operating systems. The information "Custom
> protocol handlers aren't supported by Adobe Reader X and later for
> security reasons." isn't very explanatory in the context of LilyPond.
> 
> To help the bug squad could you articulate more clearly what is needed
> here than just forwarding some thread from another list?
> 
> It puts people off trying to find out the information to create or
> investigate the different behaviour. I've already spent 10 mins trying
> to work out what the *specific* problem is, how it relates to LP and how
> to even validate this isn't just something on someone's own environment
> that might not be a problem elsewhere.

On OSX, my old Acrobat Pro 9 as well as Adobe Reader 11 try to open LilyPond’s 
"textedit://" links with LilyPad, after asking if they may or should block such 
attempts. So the "security reasons" seem to apply only on Windows (I don’t 
believe that, there are enough security issues open on OSX).
I would like to know if and where I can change that protocol handler 
association.

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


Re: PDF Links in Windows

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 15:04 schrieb Henning Hraban Ramm:
> On OSX, my old Acrobat Pro 9 as well as Adobe Reader 11 try to open 
> LilyPond’s "textedit://" links with LilyPad, after asking if they may or 
> should block such attempts. So the "security reasons" seem to apply only on 
> Windows (I don’t believe that, there are enough security issues open on OSX).

No, it is clearly stated that "Custom protocol handlers aren't supported
by Adobe Reader X and later for security reasons."
In AR 9 it was possible to set up point-and-click.

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


Re: PDF Links in Windows

2015-10-05 Thread Robin Bannister

On 05.10.2015 11:23, Urs Liska wrote:

Am 05.10.2015 um 11:18 schrieb Federico Bruni:

>> ...

"Custom protocol handlers aren't supported by Adobe Reader X and later
for security reasons."
https://forums.adobe.com/message/5593888#5593888


Is this definitive?



My last _abandoned_ attempt at getting point-and-click to work
was 4 years ago with Adobe Reader 8 on XP SP3.
It launched a textedit URL successfully, but did it in such a
clumsy manner, that you needed to tidy up afterwards each time.
That was what my ARnok.txt was referring to (earlier in thread).

I link the textedit URL through to jEdit.
This works reliably from SumatraPDF and another program,
on XP, and currently on Windows7.

I tested point-and-click just now with Adobe Reader XI:
 - the tooltip displays the textedit parameters
 - the first-time click brings up a security dialog, cf ARwarning.png
   - I chose 'Allow'
 - but nothing happens when I click (not even a browser activity)

So it would seem so.


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


Re: multiple TextSpanners per voice

2015-10-05 Thread David Nalesnik
Ok, this should do it.

The intention is to provide extra functionality to text spanners.  By using
this code, you have all the functionality of normal text spanners, but you
are able to have multiple spanners per voice.

You simply need to swap the regular engraver for this one in a layout
block, and use the commands I've defined: \startTextSpanOne, and the like.
 (You can change the names, of course, and add more.  This is crying out
for a better interface, I know,)

Regarding difficulties mentioned earlier in the thread:

The spanners should nest properly and maintain their orientation across
line breaks.  Here this is achieved by assigning minute variations of
outside-staff-priority behind the scenes.  (Turns out you can use
outside-staff-priorities like 350.0001 ) You can still override and
tweak outside-staff-priority of TextSpanner if you want.

I believe that this manipulation may be avoided by inventing a new
alignment grob "to bind them all." but I'm not sure.  Since the attached
seems sufficient, this could wait until time came (if ever) to add this to
the code base.

DN

%%%
\version "2.19"

%% Incorporating some code from the rewrite in Scheme of
%% Text_spanner_engraver in input/regression/scheme-text-spanner.ly

#(define (add-bound-item spanner item)
   (if (null? (ly:spanner-bound spanner LEFT))
   (ly:spanner-set-bound! spanner LEFT item)
   (ly:spanner-set-bound! spanner RIGHT item)))

#(define (axis-offset-symbol axis)
   (if (eq? axis X) 'X-offset 'Y-offset))

#(define (set-axis! grob axis)
   (if (not (number? (ly:grob-property grob 'side-axis)))
   (begin
(set! (ly:grob-property grob 'side-axis) axis)
(ly:grob-chain-callback
 grob
 (if (eq? axis X)
 ly:side-position-interface::x-aligned-side
 side-position-interface::y-aligned-side)
 (axis-offset-symbol axis)

#(define (assign-spanner-index spanner orig-ls)
   "Determine the position of a new spanner in an ordered sequence
of spanners.  The goal is for the sequence to begin with zero and
contain no gaps.  Return the index representing the spanner's position."
   (if (null? orig-ls)
   0
   (let loop ((ls orig-ls) (insert? #t) (result 0))
 (cond
  ((null? ls) result)
  ;; position at head of list
  ((and insert? (> (caar orig-ls) 0))
   (loop ls #f 0))
  ;; no gaps, put at end of list
  ((and insert? (null? (cdr ls)))
   (loop (cdr ls) #f (1+ (caar ls
  ;; fill lowest position of gap
  ((and insert?
(> (caadr ls) (1+ (caar ls
   (loop (cdr ls) #f (1+ (caar ls
  (else (loop (cdr ls) insert? result))

alternateTextSpannerEngraver =
#(lambda (context)
   (let (;; a list of pairs comprising a spanner index
  ;;  (not spanner-id) and a spanner which has been begun
  (spanners '())
  (finished '()) ; list of spanners in completion stage
  (start-events '()) ; list of START events
  (stop-events '())) ; list of STOP events
 (make-engraver
  ;; \startTextSpan, \stopTextSpan, and the like create events
  ;; which we collect here.
  (listeners
   ((text-span-event engraver event)
(if (= START (ly:event-property event 'span-direction))
(set! start-events (cons event start-events))
(set! stop-events (cons event stop-events)
  ;; Populate 'note-columns property of spanners.  Bounds are
  ;; set to note columns, and each spanner keeps a record of
  ;; the note columns it traverses.
  (acknowledgers
   ((note-column-interface engraver grob source-engraver)
(for-each (lambda (s)
(ly:pointer-group-interface::add-grob
 (cdr s) 'note-columns grob)
(add-bound-item (cdr s) grob))
  spanners)
;; finished only contains spanners, no indices
(for-each (lambda (f)
(ly:pointer-group-interface::add-grob
 f 'note-columns grob)
(add-bound-item f grob))
  finished)))

  ((process-music trans)
   ;; Move begun spanners from 'span' to 'finished'.  We do this
   ;; on the basis of 'spanner-id.  If we find a match--either
   ;; the strings are the same, or both are unset--a transfer
   ;; can be made.  Return a warning if we find no match: spanner
   ;; hasn't been properly begun.
   (for-each
(lambda (es)
  (let ((es-id (ly:event-property es 'spanner-id)))
(let loop ((sp spanners))
  (if (null? sp)
  (ly:warning "No spanner to end!!")
  (let ((sp-id (ly:event-property
(event-cause (cdar sp)) 'spanner-id)))
(cond
 ((or
   (and
(string? sp-id)
 

Re: Offset fermata problem

2015-10-05 Thread Phil Burfitt
- Original Message - 
From: "Jean Brefort" 
To: "Menu Jacques" ; "Lilypond-user Mailinglist" 


Sent: Monday, October 05, 2015 4:32 PM
Subject: Re: Offset fermata problem



Hi

Use something like:
<<
{a2 r4}
{s4 s16 \fermata s8.}
>>

Regards,
Jean

Le lundi 05 octobre 2015 à 17:25 +0200, Menu Jacques a écrit :

Hello folks,

I’d like to obtain the following from Poulenc, in which the fermata
is in-between a2 and r4:



I tried with:

\version "2.19.28"

\score {
\relative c'' {
\key f \major \time 2/2 | % 147

<<
{a2 r4}
{s2 s16 \fermata s8.}
>>
e16 -\markup{\dynamic "ff" \italic "librement"} ^\markup{\bold
"solo"} [ f16 g16 f16 ]
}
}


but then the fermata is right over the r4.

Thanks for the help!

JM





Or, ditch the second voice of rests and attach the fermata to a2 and 
override its position.


\once \override Script.extra-offset = #'(3 . 0) a2\fermata


Phil.






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


Re: Offset fermata problem

2015-10-05 Thread Jean Brefort
Hi

Use something like:
    <<
      {a2 r4}
      {s4 s16 \fermata s8.}
    >>

Regards,
Jean

Le lundi 05 octobre 2015 à 17:25 +0200, Menu Jacques a écrit :
> Hello folks,
> 
> I’d like to obtain the following from Poulenc, in which the fermata
> is in-between a2 and r4:
> 
> 
> 
> I tried with:
> 
> \version "2.19.28"
> 
> \score {
>   \relative c'' {
>     \key f \major \time 2/2 | % 147
> 
>     <<
>       {a2 r4}
>       {s2 s16 \fermata s8.}
>     >>
>     e16 -\markup{\dynamic "ff" \italic "librement"}  ^\markup{\bold
> "solo"} [ f16 g16 f16 ]
>   }
> }
> 
> 
> but then the fermata is right over the r4.
> 
> Thanks for the help!
> 
> JM
> 
> 
> 
> ___
> 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


Offset fermata problem

2015-10-05 Thread Menu Jacques
Hello folks,

I’d like to obtain the following from Poulenc, in which the fermata is 
in-between a2 and r4:



I tried with:

\version "2.19.28"

\score {
  \relative c'' {
\key f \major \time 2/2 | % 147

<<
  {a2 r4}
  {s2 s16 \fermata s8.}
>>
e16 -\markup{\dynamic "ff" \italic "librement"}  ^\markup{\bold "solo"} [ 
f16 g16 f16 ]
  }
}


but then the fermata is right over the r4.

Thanks for the help!

JM



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


Re: Two questions about key signatures

2015-10-05 Thread Noeck
Hi Michael,

Am 05.10.2015 um 11:33 schrieb T. Michael Sommers:
> Hmmm.  When I change from a key with sharps or flats in it to one with
> no sharps or flats, the cancelling accidentals still appear.  I can
> understand that, since otherwise there would be no indication that the
> key had changed, but for my application, it's a little annoying.  Not
> annoying enough to do anything about, though.

Well, the result is misleading in the last bar, but I guess that is what
you are looking for:

\version "2.19.21"

{
  \textLengthOn  % only for this snippet
  \set Staff.printKeyCancellation = ##f  % removes key cancellation
  a'1
  \key d \major
  a'1
  \key f \major
  a'1 ^"no naturals"
  \key c \major
  a'1 ^"natural"
  \key f \major
  a'1
  \once \omit Staff.KeyCancellation % removes it even for C major
  \key c \major
  b'1 ^"no natural"
}

Cheers,
Joram

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


Re: Ties or multiple voices

2015-10-05 Thread S
My question may need some clarification. Especially the third example,
which should look something like this:

[image: Inline afbeelding 1]

\relative c''{
   <<{2. r4}\\{4 a8 c}>>
}

The tie starting at the b on the third beat in the second voice looks a
little awkward. It may be theoretically correct, but it looks artificial to
me since the only movement at that point is c# to d.

What I basically want to know is when it is OK to introduce a new voice to
get rid of these ties.

Thanks,

Sven

2015-10-03 14:30 GMT+02:00 S :

> I'm not sure if this is the right forum for this question, but I'll post
> it anyway. I think it has more to do with music notation in general, but
> after reading a couple of threads, I'm confident some of you would be able
> to answer the following question about the use of ties or voices.
>
> I'm copying a piano arrangement into lilypond. I'ts a jazz ballad and so
> there is a lot of inner movement going on. The notes in most of these
> passages have been split into multiple voices to accommodate the various
> note lengths. However, every now and then I run into something like this:
>
> 4 c,8 8 4 8 
>
>
> and for some reason that g~ really annoys me. Wouldn't it be better to
> write:
>
> 4 c,8 8 <<{g4. f8}\\{4 8 }>>
>
>
> This way the top notes of the melody get separated from the rest and the
> {g4~ g8} becomes {g4.}
>
> Or in general: When is it OK to introduce a (temporary) new voice to
> substitute for a tie? Or the other way around for that matter?
>
> The following excerpt shows another example:
>
> <<{2. r4}\\{4 a8 c}>>
>
> If we put the b~ in a separate voice and give it a duration or 4 the tie
> wouldn't be needed.
>
> Any thoughts?
>
> ___
> 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