Re: Editing lilypond files with Geany

2016-04-26 Thread Ivan Kuznetsov
On Mon, Apr 25, 2016 at 2:49 PM, amir  wrote:
>
> i am trying to configure Geany to use it for Lilypond. I have made this File

Do yourself a favor and learn vi.

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


Re: Multi-measure rests and mark collisions ...

2016-04-26 Thread Carl Sorensen
On 4/26/16 3:56 PM, "Thomas Morley"  wrote:

>2016-04-26 2:21 GMT+02:00 Wols Lists :
>> On 25/04/16 05:31, David Wright wrote:
>>> (I still don't know what you're trying to accomplish
>>> [...])
>>>
>> Copy "House Style", maybe?
>> And the whole point of this entire thread has been about
>> SAVING VERTICAL SPACE - it's just plain butt-ugly for markup to stack
>> vertically when a slight shift sideways could save lines - plus there's
>> the high price I put on page turns that could be saved by reclaiming
>> that wasted space.
>
>
>
>Anyway, you seem to want multiple texts applied to a the same BarLine.
>These texts shouldn't be stacked vertically but horizontally, right?

I think that the desired functionality is to allow markups to be loosely
tied to notes, so that if possible, they can shift horizontally some
amount instead of shifting vertically to avoid collisions.

That is, there could potentially be a shift in both X and Y to avoid
collisions, and the shift with the least badness is the one that is chosen
-- perhaps it's one line up in Y and two lines left in X, or something
similar.

If we had some facility for doing such a movement, then it would be
relatively straightforward to assign penalties for taking up more vertical
space, along with penalties for moving horizontally away from the desired
home point.  And we'd choose the layout with the lowest penalty.

But right now, as far as I know, we have no such facility.  I believe that
right now, we horizontally space the music elements to avoid collisions,
and then we vertically shift the outside-staff grobs to avoid collisions,
and then we space the skylined staves to achieve the desired spacing.  And
there's nothing in this algorithm that lets us simultaneously vertically
AND horizontally shift the outside-staff grobs.

Such a feature would be cool to add.  But it's not trivial in any sense of
the word, given the current LilyPond spacing architecture, as I understand
it.

Carl


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


Re: Editing lilypond files with Geany

2016-04-26 Thread Andrew Bernard
Hi Federico,

Since Wilbert mentioned he uses it to develop Frescobaldi, it must be OK! I was 
unaware it is part of LilyDev, which I don’t currenty use. But in that case, 
I’ll have a look into it and see what I can do. Sounds interesting.

Andrew





On 27/04/2016, 2:38 AM, "lilypond-user on behalf of Federico Bruni" 
 wrote:

>I do not use Geany and I'm not motivated to solve these issues.
>But, as it's the default editor in LilyDev, it would be good to ship a 
>working .conf file for LilyPond.


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


Re: error: can't allocate region - layout block?

2016-04-26 Thread Thomas Morley
2016-04-26 23:41 GMT+02:00 Simon Albrecht :
> On 26.04.2016 23:22, Thomas Morley wrote:
>>
>> Right now you code your ossia-staves using one of the methods as
>> recommended in the NR
>>
>> http://lilypond.org/doc/v2.19/Documentation/notation/modifying-single-staves#ossia-staves
>>
>> I.e.:
>>
>> \layout {
>>\context {
>>  \Score
>>  \override VerticalAxisGroup.remove-first = ##t
>>}
>>\context {
>>  \Staff
>>  \RemoveEmptyStaves
>>}
>> }
>>
>>
>> mainI = {
>>c''1 d''
>>\break
>>e''
>><<
>>  f''
>>  \context Staff = "ossiaI" { \startStaff fis'' \stopStaff }
>>>>
>>g''
>> }
>>
>> <<
>>\new Staff = "ossiaI"
>>\with {
>>  \remove "Time_signature_engraver"
>>  \hide Clef
>>  %\magnifyStaff #2/3
>>  \RemoveAllEmptyStaves
>>}
>>{
>>  \stopStaff
>>  s1*5
>>}
>>\new Staff = "mainI" \mainI


>
> Why do you duplicate the staff-removal, once in a top-level \layout and once
> in a \with for the ossia staff? Also, why use \RemoveAllEmptyStaves in one
> case, but not in the other?

Well, too tired, I'd say...

Cheers,
  Harm

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


Re: Multi-measure rests and mark collisions ...

2016-04-26 Thread Thomas Morley
2016-04-26 2:21 GMT+02:00 Wols Lists :
> On 25/04/16 05:31, David Wright wrote:
>> (I still don't know what you're trying to accomplish
>> [...])
>>
> Copy "House Style", maybe?
> And the whole point of this entire thread has been about
> SAVING VERTICAL SPACE - it's just plain butt-ugly for markup to stack
> vertically when a slight shift sideways could save lines - plus there's
> the high price I put on page turns that could be saved by reclaiming
> that wasted space.

Pretty late to the party.

Though, I've to agree with David W.
At least for several mails with lines over lines of text it was _not_
clear to me what you want and I'm not sure I understand now.
As a non-native speaker I always think it may be due to language issues.
Though, the amount of code-lines is remarkable low in the whole thread...
And sometimes images indeed help, even if put together with some
graphic-program.

Anyway, you seem to want multiple texts applied to a the same BarLine.
These texts shouldn't be stacked vertically but horizontally, right?

In LSR and elsewhere some methods for multiple RehearsalMarks are
known, stacking vertically.

Should be possible to adapt it.

How should this texts be aligned over the BarLine?
More general, how should it look?

Maybe you told already, then I missed it.


Cheers,
  Harm

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


Re: error: can't allocate region - layout block?

2016-04-26 Thread matpen3
Many thanks for everything!
 
I've learnt a lot from your review.

Cheers

Matteo

> Il giorno 26 apr 2016, alle ore 23:03, Thomas Morley 
>  ha scritto:
> 
> We should keep this on the list, unless real private things are mentioned.
> Others may chime in with good ideas and it's of interest for all I think.
> Huge projects like yours are always difficult to discuss on a
> mailinglist, but it already happened that some bugs only occured in
> such huge projects.
> 
> 2016-04-25 9:35 GMT+02:00 matpen3@gmail :
> 
>> 
>> 2) Not so clear… Means that I have to put the same time signature to all the 
>> staves?
>> 
>>> I'd use a global-variable for that.
>> Not clear at all… Sorry…
> 
> For large/huge projects I'd define a global voice, containing changes
> of time-signature and other stuff, which should be shared for all
> Staffs.
> 
> Right now you basically do:
> 
> mI = {
>  \time 12/8
>  c''1.
>  |
>  \time 3/4
>  d''2.
>  |
> }
> 
> mII = {
>  e''1.
>  |
>  f''2.
>  |
> }
> 
> <<
>  \new Staff \mI
>  \new Staff \mII
> 
> Ofcourse this is fine at first glance, but when problems needs to be
> tracked down you can't compile it this way:
> <<
>  %\new Staff \mI
>  \new Staff \mII
> Without getting warnings. In a huge project there will be wagonloads
> of warnings, obfuscating anything else.
> 
> Thus:
> 
> global = {
>  \time 12/8
>  s1.
>  \time 3/4
>  s2.
> }
> 
> mIa = {
>  c''1.
>  |
>  d''2.
>  |
> }
> 
> mIIa = {
>  e''1.
>  |
>  f''2.
>  |
> }
> 
> <<
>  \new Staff << \global \mIa >>
>  \new Staff << \global \mIIa >>
> 
> Now you can comment every Staff without getting warnings (about
> barcheck failed).
> Makes life much easier ;)
> 
> Cheers,
>  Harm

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


Re: Shorten only one system

2016-04-26 Thread matpen3
Many thanks Richard and Kieren,

I've thought about hide staff too, but I hoped there were a way without 
inserting a new bar in a rather complex structure with many dependencies…

matteo



> Il giorno 26 apr 2016, alle ore 17:54, Richard Shann 
>  ha scritto:
> 
>> On Tue, 2016-04-26 at 17:26 +0200, matp...@gmail.com wrote:
>> Hi all,
>> 
>> I'm not able to find a solution in the manuals or online…
>> 
>> Is there a way to shorten horizontally only one system? I would need it to 
>> accommodate a dialog just after a precise bar.
>> 
>> Thanks for any help
> 
> I just did this from Denemo, using the Stop Drawing Staff and Notes
> commands for two bars ( b4 a' g' f' are the - random - notes in the two
> bars) it generated this:
> 
> \stopStaff \hideNotes b4 a' g' f'
>  b a' g' f' \startStaff \unHideNotes \bar ""
> 
> I think you might need a line break to ensure it stays at the end of a
> system...
> HTH
> Richard
> 
> 

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


Re: error: can't allocate region - layout block?

2016-04-26 Thread Thomas Morley
2016-04-25 9:35 GMT+02:00 matpen3@gmail :
> 3) I’ll try to understand where I made mistakes.

Skimming over your code I don't see mistakes at all. It's more that
some things are preferable opposed to others.

> Sorry but I’m using Lilypond since about 4 weeks and I have still a lot to 
> learn…

I'm using LilyPond for a plethora more than 4 weeks, I still learn ;)

> For ossia, do you mean that it should be better to create a new staff and 
> hide it when empty, rather than recalling wit \start \stop?

Right now you code your ossia-staves using one of the methods as
recommended in the NR
http://lilypond.org/doc/v2.19/Documentation/notation/modifying-single-staves#ossia-staves

I.e.:

\layout {
  \context {
\Score
\override VerticalAxisGroup.remove-first = ##t
  }
  \context {
\Staff
\RemoveEmptyStaves
  }
}


mainI = {
  c''1 d''
  \break
  e''
  <<
f''
\context Staff = "ossiaI" { \startStaff fis'' \stopStaff }
  >>
  g''
}

<<
  \new Staff = "ossiaI"
  \with {
\remove "Time_signature_engraver"
\hide Clef
%\magnifyStaff #2/3
\RemoveAllEmptyStaves
  }
  {
\stopStaff
s1*5
  }
  \new Staff = "mainI" \mainI
>>

Though, I've still the suspicion it's the cause of the memory problem:
Sending content from one Staff to another out of a simultabeous
music-expression, repeated _very_ often in your file(s)
The bug as mentioned previously may be important as well.

I hesitate to propose it, but maybe it's worth an attempt not to fill
ossia-staves from the main-staves but directly.

I.e.:
\layout {
  \context {
\Score
\override VerticalAxisGroup.remove-first = ##t
  }
  \context {
\Staff
\RemoveEmptyStaves
  }
}

main = {
  c''1 d''
  \break
  \time 2/2
  \key f \major
  e''
  f''
  g''
}

ossia = {
  \stopStaff
  s1*3
  \startStaff
  fis''1
  \stopStaff
  s1
}


<<
  \new Staff = "ossia"
\with {
  \remove "Time_signature_engraver"
  \hide Clef
  %\magnifyStaff #2/3
  \RemoveAllEmptyStaves
}
\ossia
  \new Staff = "main" \main
>>


Cheers,
  Harm

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


Re: error: can't allocate region - layout block?

2016-04-26 Thread Thomas Morley
We should keep this on the list, unless real private things are mentioned.
Others may chime in with good ideas and it's of interest for all I think.
Huge projects like yours are always difficult to discuss on a
mailinglist, but it already happened that some bugs only occured in
such huge projects.

2016-04-25 9:35 GMT+02:00 matpen3@gmail :

>
> 2) Not so clear… Means that I have to put the same time signature to all the 
> staves?
>
>> I'd use a global-variable for that.
> Not clear at all… Sorry…

For large/huge projects I'd define a global voice, containing changes
of time-signature and other stuff, which should be shared for all
Staffs.

Right now you basically do:

mI = {
  \time 12/8
  c''1.
  |
  \time 3/4
  d''2.
  |
}

mII = {
  e''1.
  |
  f''2.
  |
}

<<
  \new Staff \mI
  \new Staff \mII
>>

Ofcourse this is fine at first glance, but when problems needs to be
tracked down you can't compile it this way:
<<
  %\new Staff \mI
  \new Staff \mII
>>
Without getting warnings. In a huge project there will be wagonloads
of warnings, obfuscating anything else.

Thus:

global = {
  \time 12/8
  s1.
  \time 3/4
  s2.
}

mIa = {
  c''1.
  |
  d''2.
  |
}

mIIa = {
  e''1.
  |
  f''2.
  |
}

<<
  \new Staff << \global \mIa >>
  \new Staff << \global \mIIa >>
>>

Now you can comment every Staff without getting warnings (about
barcheck failed).
Makes life much easier ;)

Cheers,
  Harm

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


Re: Gaps in lyrics

2016-04-26 Thread karl
Tim Slattery:
> I'm setting a song with two verses. It's a madrigal, so there are
> fairly long stretches of "fa la la..." that are identical in the two
> verses. I'd like to have them "fa la la" part printed only once.
> 
> So...I've set verse one with all the words, including "fa la la".
> That's fine. I'd like to have verse two show only the different words,
> and leave a space where the "fa la la" is. 
> 
> But I can't figure out how to tell Lily to not match word to the
> stretch of notes that correspond to the "fa la la" for the second
> verse. 
> 
> It looks like I could use \skip ... but I'd have to have one for each
> note to be skipped. Is there a way to tell Lilypond how many notes or
> measures to skip?

 I have an old example in:
http://turkos.aspodata.se/git/musik/songs/anon_uti-vaar-hage.ly

 the result is at page 10 of
http://turkos.aspodata.se/noter/songs/sommar.pdf

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57



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


Re: "concatenating" tweaks

2016-04-26 Thread David Kastrup
Kieren MacMillan  writes:

> Hi Thomas,
>
>> \etc
>
> AH!! I remember seeing that some time ago (in one of David K’s posts
> on another topic), and thinking how great/powerful that probably
> was/is, but not really understanding how to use it. Now I understand.

It's not actually powerful but just a shortcut for existing
functionality.  In those cases where it fits the bill (and tweaks are
likely candidates), it's easier on the eyes than spelling out the music
function definition would be.

-- 
David Kastrup

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


Re: writing a tuplet with \note in \markup

2016-04-26 Thread Ryan Michael
Thank you! for reference here is the solution :


%%%
c4^\markup\teeny{
   \ezscore ##{ { c16 } #}
"="
\ezscore ##{
{
  \tuplet 3/2{c8 \xNote c \xNote c}
}
#}

}
%%

On Tue, Apr 26, 2016 at 12:22 PM, Thomas Morley 
wrote:

> 2016-04-26 20:50 GMT+02:00 Ryan Michael :
> > I have the following :
> >
> > \markup {
> >   \teeny\note #"16" #UP \teeny"=" \teeny \note #"8" #UP
> > }
> >
> > but I would like the sixteenth note that I draw with \note to be
> equivalent
> > to an eighth note within a tuplet ,not just a vanilla eighth note. How
> would
> > that be notated with \note?
> >
> > Thanks!
> > Ryan.
>
>
> Does
> http://lsr.di.unimi.it/LSR/Item?id=1029
> help?
>
> Cheers,
>   Harm
>



-- 
ॐ नमः शिवाय
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: writing a tuplet with \note in \markup

2016-04-26 Thread Thomas Morley
2016-04-26 20:50 GMT+02:00 Ryan Michael :
> I have the following :
>
> \markup {
>   \teeny\note #"16" #UP \teeny"=" \teeny \note #"8" #UP
> }
>
> but I would like the sixteenth note that I draw with \note to be equivalent
> to an eighth note within a tuplet ,not just a vanilla eighth note. How would
> that be notated with \note?
>
> Thanks!
> Ryan.


Does
http://lsr.di.unimi.it/LSR/Item?id=1029
help?

Cheers,
  Harm

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


Re: GUILE error when running lilypond-book

2016-04-26 Thread Matt
Julien Rioux  lyx.org> writes:

> >> when running lilypond-book I get the error:
> >>
> >> lilypond_test.lytex:16:44: error: GUILE signaled an error for the
> >> expressionbeginning here
> >>   \once \override BreathingSign.stencil = #
> >>   ly:breathing-sign::divisio-maior
> >> Unbound variable: ly:breathing-sign::divisio-maior
> >>
> >>
> >
> > Are you using -dsafe ?  That only enables a subset of C++-defined
> > commands which is rather spotty (to say the least).
> >
> 
> The -dsafe argument is likely the reason. If this is compiled by LyX as 
> the provided sample document indicates, then the default configuration 
> will use the -dsafe argument. The call to lilypond-book (and lilypond) 
> can be configured in LyX' converters config dialog, and the -dsafe 
> argument removed.
> 

Yes, I'm using lyx with the default setting which uses the -dsafe (or
--safe) argument in the call to lilypond-book.

I removed the -dsafe argument and things are working fine.

Thanks a lot!



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


writing a tuplet with \note in \markup

2016-04-26 Thread Ryan Michael
I have the following :

\markup {
  \teeny\note #"16" #UP \teeny"=" \teeny \note #"8" #UP
}

but I would like the sixteenth note that I draw with \note to be equivalent
to an eighth note within a tuplet ,not just a vanilla eighth note. How
would that be notated with \note?

Thanks!
Ryan.

-- 
ॐ नमः शिवाय
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Gaps in lyrics

2016-04-26 Thread tim
On 26 Apr 2016 at 17:14, Richard Shann wrote:

> I just did this in Denemo, I selected the notes and chose the Skip
> Syllables in Selection command
> it generated
> \repeat unfold 8 \skip 1

Outstanding! Works perfectly. Thanks for the solution!

-- 
Tim Slattery
t...@risingdove.com


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


Re: "concatenating" tweaks

2016-04-26 Thread David Kastrup
Thomas Morley  writes:

> Thus:
>
> \version "2.19.40"
>
> shared-tweaks =
>   \tweak font-size #12 \etc

Which is the primordial justification for the \etc feature.

-- 
David Kastrup

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


Re: "concatenating" tweaks

2016-04-26 Thread Kieren MacMillan
Hi Thomas,

> \etc

AH!! I remember seeing that some time ago (in one of David K’s posts on another 
topic), and thinking how great/powerful that probably was/is, but not really 
understanding how to use it. Now I understand.

Thank you for the quick and helpful reply
And thank you to David K and whichever other developers were involved in that 
feature.

Best,
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: "concatenating" tweaks

2016-04-26 Thread Thomas Morley
Hi Kieren,

2016-04-26 19:01 GMT+02:00 Kieren MacMillan :
> Hello all,
>
> The following works great:
>
>   SNIPPET BEGINS
> \version "2.19"
>
> tweaked-spanner =
>   \tweak color #red
>   \startTextSpan
>
> music = {
>   c''1\tweaked-spanner 1\stopTextSpan
> }
>
> \score { \music }
>   SNIPPET ENDS
>
> Now I want to have a number of different tweaked spanners which share a bunch 
> of tweaks. But the intuitive (?) extension doesn’t work:
>
>   SNIPPET BEGINS
> \version "2.19"
>
> shared-tweaks =
>   \tweak fontsize #12

You probably meant font-size.
But the expression is not complete. \tweak _needs_ the argument _what_
should be tweaked or \etc

>
> tweaked-spanner =
>   \shared-tweaks
>   \tweak color #red
>   \startTextSpan
>
> music = {
>   c''1\tweaked-spanner 1\stopTextSpan
> }
>
> \score { \music }
>   SNIPPET ENDS
>
> Can anything be done to make this work as intended/expected?

Thus:

\version "2.19.40"

shared-tweaks =
  \tweak font-size #12 \etc

tweaked-spanner =
  \shared-tweaks
  \tweak color #red
  \startTextSpan

music = {
  c''1\tweaked-spanner 1\stopTextSpan
}

\score { \music }

Cheers,
  Harm

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


"concatenating" tweaks

2016-04-26 Thread Kieren MacMillan
Hello all,

The following works great:

  SNIPPET BEGINS
\version "2.19"

tweaked-spanner =
  \tweak color #red
  \startTextSpan

music = {
  c''1\tweaked-spanner 1\stopTextSpan
}

\score { \music }
  SNIPPET ENDS

Now I want to have a number of different tweaked spanners which share a bunch 
of tweaks. But the intuitive (?) extension doesn’t work:

  SNIPPET BEGINS
\version "2.19"

shared-tweaks =
  \tweak fontsize #12

tweaked-spanner =
  \shared-tweaks
  \tweak color #red
  \startTextSpan

music = {
  c''1\tweaked-spanner 1\stopTextSpan
}

\score { \music }
  SNIPPET ENDS

Can anything be done to make this work as intended/expected?
n.b. I’d rather not build a music function here, unless the benefits are quite 
apparent, e.g. if I could write

c’’1\tweaked-spanner #KANGA #ROO

where KANGA and ROO are two markups that get used in the [post-event] function.

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: Editing lilypond files with Geany

2016-04-26 Thread Federico Bruni
Il giorno lun 25 apr 2016 alle 21:49, amir  ha 
scritto:
i am trying to configure Geany to use it for Lilypond. I have made 
this File

: ~/.config/geany/filedefs/filetypes.lilypond.conf with this content:

[styling]
comment=0x808080;0xff;false;true


[settings]
# default extension used when saving files
extension=ly

# block comments
comment_open=%{
comment_close=%}
comment_use_indent=false


[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
compiler=lilypond "%f"
# it is called linker, but here it is an alternative compiler command
# linker=pdflatex --file-line-error-style "%f"
run_cmd=epdfview "%e.pdf"
run_cmd2=timidity "%e.midi"



which i had copied here from the forum from an answer. I have still no
Syntax colors and can not compile the file with F5. But at the bottom 
most

part of the window i see : filetype:lilypond.
Can any one help me setting geany up for lilypond?


The problem is that nobody created a lexer for LilyPond, which is 
needed for syntax highlight to work.

But you can use something "similar" and then adapt it, see:
http://lists.geany.org/pipermail/users/2013-September/008835.html

I tried with:
lexer_filetype=latex

but didn't work

Also, Geany is not able to detect the file type by extension, even if 
I'm using your file, I've added the extension to 
filetype_extensions.conf and reload the settings. When I open a .ly 
file, the file type is None. If I choose the lilypond type file, no 
highlight.


I do not use Geany and I'm not motivated to solve these issues.
But, as it's the default editor in LilyDev, it would be good to ship a 
working .conf file for LilyPond.


Let me know if you manage to make it work!
Thanks
Federico




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


Re: Gaps in lyrics

2016-04-26 Thread Richard Shann
On Tue, 2016-04-26 at 12:11 -0400, Tim Slattery wrote:
> I'm setting a song with two verses. It's a madrigal, so there are
> fairly long stretches of "fa la la..." that are identical in the two
> verses. I'd like to have them "fa la la" part printed only once.
> 
> So...I've set verse one with all the words, including "fa la la".
> That's fine. I'd like to have verse two show only the different words,
> and leave a space where the "fa la la" is. 

I just did this in Denemo, I selected the notes and chose the Skip
Syllables in Selection command
it generated
\repeat unfold 8 \skip 1

where the 8 was the number of notes (syllables, as there were no slurs
etc) in the selection.

HTH

Richard

> 
> But I can't figure out how to tell Lily to not match word to the
> stretch of notes that correspond to the "fa la la" for the second
> verse. 
> 
> It looks like I could use \skip ... but I'd have to have one for each
> note to be skipped. Is there a way to tell Lilypond how many notes or
> measures to skip?
> 



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


Re: Gaps in lyrics

2016-04-26 Thread tisimst
Tim,

On Tue, Apr 26, 2016 at 10:12 AM, Tim Slattery [via Lilypond] <
ml-node+s1069038n190057...@n5.nabble.com> wrote:

> I'm setting a song with two verses. It's a madrigal, so there are
> fairly long stretches of "fa la la..." that are identical in the two
> verses. I'd like to have them "fa la la" part printed only once.
>
> So...I've set verse one with all the words, including "fa la la".
> That's fine. I'd like to have verse two show only the different words,
> and leave a space where the "fa la la" is.
>
> But I can't figure out how to tell Lily to not match word to the
> stretch of notes that correspond to the "fa la la" for the second
> verse.
>
> It looks like I could use \skip ... but I'd have to have one for each
> note to be skipped. Is there a way to tell Lilypond how many notes or
> measures to skip?
>

Yes, use \skip. However, the duration you give it is not important--it will
still skip just one syllable. So, use

\repeat unfold N { \skip 4 }

where N is the number of syllables to skip.

Next time, please provide a small compilable example of what you are trying
so we have something to go off. Thanks!

HTH,
Abraham




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


Gaps in lyrics

2016-04-26 Thread Tim Slattery
I'm setting a song with two verses. It's a madrigal, so there are
fairly long stretches of "fa la la..." that are identical in the two
verses. I'd like to have them "fa la la" part printed only once.

So...I've set verse one with all the words, including "fa la la".
That's fine. I'd like to have verse two show only the different words,
and leave a space where the "fa la la" is. 

But I can't figure out how to tell Lily to not match word to the
stretch of notes that correspond to the "fa la la" for the second
verse. 

It looks like I could use \skip ... but I'd have to have one for each
note to be skipped. Is there a way to tell Lilypond how many notes or
measures to skip?

-- 
Tim Slattery
tim  risingdove  com


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


Re: Shorten only one system

2016-04-26 Thread Richard Shann
On Tue, 2016-04-26 at 17:26 +0200, matp...@gmail.com wrote:
> Hi all,
> 
> I'm not able to find a solution in the manuals or online…
> 
> Is there a way to shorten horizontally only one system? I would need it to 
> accommodate a dialog just after a precise bar.
> 
> Thanks for any help

I just did this from Denemo, using the Stop Drawing Staff and Notes
commands for two bars ( b4 a' g' f' are the - random - notes in the two
bars) it generated this:

 \stopStaff \hideNotes b4 a' g' f'
  b a' g' f' \startStaff \unHideNotes \bar ""

I think you might need a line break to ensure it stays at the end of a
system...
HTH
Richard



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


Re: Shorten only one system

2016-04-26 Thread Kieren MacMillan
Hi Matteo,

> Is there a way to shorten horizontally only one system? I would need it to 
> accommodate a dialog just after a precise bar.
> I'm not able to find a solution in the manuals or online…

Is 

 not sufficiently helpful?

Best,
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


Shorten only one system

2016-04-26 Thread matpen3
Hi all,

I'm not able to find a solution in the manuals or online…

Is there a way to shorten horizontally only one system? I would need it to 
accommodate a dialog just after a precise bar.

Thanks for any help

Matteo



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


(OT) Re: Editing lilypond files with Geany

2016-04-26 Thread Wilbert Berendsen
Op Tue, 26 Apr 2016 19:50:06 +1000
Andrew Bernard  schreef:

> Have you looked at Frescobaldi for lilypond?

I love Geany and use it exclusively for developing Frescobaldi :)

-- 
Wilbert Berendsen, musician
‣ mail: i...@wilbertberendsen.nl
‣ web: www.wilbertberendsen.nl
‣ phone: +31646122877

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


Re: Google Summer of Code projects 2016

2016-04-26 Thread Andrew Bernard
Dear Urs,

Totally wonderful. Well done.

My #1 wish-list item for lilypond is ties across voices/staves etc. It will be 
a boon to us all if this can be achieved. It’s my single main pain point with 
lilypond in my work.

All the best to all involved!

Andrew




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


Re: Editing lilypond files with Geany

2016-04-26 Thread Andrew Bernard
Hi Amir,

Have you looked at Frescobaldi for lilypond?

I’m sorry this does not answer your question directly.

Andrew



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


Re: Python 3, was Re: ANN: Frescobaldi 2.19.0

2016-04-26 Thread Wilbert Berendsen
Op Sun, 24 Apr 2016 10:41:53 +0200
David Kastrup  schreef:

> And I haven't seen _any_ compelling argument yet _why_ there is no
> useful common ground between Python2 and Python3 that could do the job
> without major rewrites of the current code base.

I have maintained the Frescobaldi (written python) codebase for a long
time supporting both python 2.7 and 3.x.

It is not dificult to support both but it is really needed that you
require 2.7 at least when using python 2.

The python-ly library which I'm also the author/maintainer of will
support both Python 2.7 and 3 for the foreseeable future.

I think that gradually making the python codebase in LilyPond work with
2.7 and 3.2+ is doable and that will give enough flexibility for
packagers and distributors.


-- 
Wilbert Berendsen, musician
‣ mail: i...@wilbertberendsen.nl
‣ web: www.wilbertberendsen.nl
‣ phone: +31646122877

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


Re: Fw: new message

2016-04-26 Thread David Kastrup
msk...@ansuz.sooke.bc.ca writes:

> On Mon, 25 Apr 2016, Simon Albrecht wrote:
>> I very much hope that you didn’t click the link. Of course it’s spam. Can we
>> do anything about it?
>
> Blocking HTML messages from the mailing list would block these and most
> other spam messages.

It's worth noting that mailing list attachments like images (inline or
attached) don't require HTML mail.  Attached images have been used for
spam texts regularly a few years ago.  I don't see much of those any
more, however.

-- 
David Kastrup

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


Re: Replying to posts

2016-04-26 Thread David Kastrup
Wols Lists  writes:

> On 25/04/16 23:48, J Martin Rushton wrote:
>> Your comments about broadband being ubiquitous are unfounded.  Even
>> where broadband is claimed, plenty of people still struggle on with
>> around 1Mb/s.  Using BT in the south east of England we only get 1.6
>> Mb/s and I don't appreciate sitting and waiting just so that exploding
>> blancmange can be projected onto my screen.  Stick to ASCII for text
>> and keep the fancy stuff for when it's needed.
>
> I'm lucky - living 100 yards from the exchange, I get 17Mb over copper -
> that is when I've got a working DNS! Half the time it seems my internet
> link is fine, but unusable because BT's DNS has decided to stop working!
>
> (And of course, I can't get the widely touted super-fast Infinity -
> otherwise known as Fibre To The Cabinet - because I don't have a cabinet!!!)

The fiber pipeline for the next town passes not all that far from our
house.  The natural gas pipeline crosses right under our barns.

Guess who isn't large enough to warrant a tap on either.  We still get
something like 2Mbit/s over copper.  Used to be 1Mbit/s before switching
providers, so we're lucky.  But then we didn't have a house mate
watching movies via streaming services yet, so it evens out.

-- 
David Kastrup

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


Re: Replying to posts

2016-04-26 Thread Blöchl Bernhard

Am 26.04.2016 01:16, schrieb Kieren MacMillan:

Hello all,


keep the fancy stuff for when it's needed.


Like PGP?  ;)

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


A PGP signature has typically about 832 Byte. That does mean with 
1Mbit/s this signature needs 0,006656 s to be transfered. You need very, 
very fast thumbs to twiddle your thumbs in that time while waiting.


Best

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