Re: New, more powerful version of \shape!

2013-10-18 Thread Janek Warchoł
Hi,

2013/10/18 Urs Liska u...@openlilylib.org:
 Am 18.10.2013 00:03, schrieb Janek Warchoł:

 Hi all,

 \shape is an awesome function, indispensable for creating
 publication-quality slurs. However, after using it 1107 times in a
 recent project (this number is not a joke!),

 How do you come up with than number?

 When I run
 grep -r \shape * | wc -l

 on the project folder it returns
 1532
 ???

the reason is 2-fold:
- you didn't excape backslash, so shape strings that aren't actually
\shape calls were counted,
- i counted the number of \shapes from last Friday, which is when i
started working on new \shape.

Janek

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


Re: New, more powerful version of \shape!

2013-10-18 Thread David Kastrup
Janek Warchoł janek.lilyp...@gmail.com writes:

 Hi all,

 \shape is an awesome function, indispensable for creating
 publication-quality slurs. However, after using it 1107 times in a
 recent project (this number is not a joke!),

Well, it should be.  It means that our slur shaping and quanting is
apparently not doing its job.

-- 
David Kastrup


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


Re: New, more powerful version of \shape!

2013-10-18 Thread Urs Liska




David Kastrup d...@gnu.org schrieb:
Janek Warchoł janek.lilyp...@gmail.com writes:

 Hi all,

 \shape is an awesome function, indispensable for creating
 publication-quality slurs. However, after using it 1107 times in a
 recent project (this number is not a joke!),

Well, it should be.  It means that our slur shaping and quanting is
apparently not doing its job.

-- 
David Kastrup



Janek, can you come up with a reliable way of determining the total number of 
slurs, ties etc in the project?
It would be interesting to get a percentage of curves that needed manual 
treatmend. Of course you'd have to take your ft... shorthands into account too.

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


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


Re: New, more powerful version of \shape!

2013-10-18 Thread Janek Warchoł
2013/10/18 SoundsFromSound soundsfromso...@gmail.com:
 Janek  David N:

 Fantastic effort and a solid expansion idea for how to make a great function
 even better.

 I can't speak to how this new version of \shape will fit into the LilyPond
 language/code (i.e. if it will break or harm anything by adding it), but
 from an end-user standpoint I think this would be excellent; I'd say
 continue developing for sure. Very powerful addition from the looks of it.

 I'd be happy to contribute if that would help its progress.

Great!  How much could you give?


2013/10/18 Kieren MacMillan kieren_macmil...@sympatico.ca:
 Hi Janek,

 \shape is an awesome function, indispensable for creating
 publication-quality slurs.

 Is there any way that Lilypond could create publication-quality slurs 
 without \shape?  ;)

 After several days of work i'm proud to present:
 - ability to use input shorthands when specifying offsets with \shape,
 - a version of \shape using polar coordinates.

 Nice!

 I'd like to hear your opinions.  Do you like it?  Should it be added
 to official LilyPond distribution?

 (* 2 Yes)

;-)

 Would anyone want to sponsor further development?

 Yes.
 Especially if it includes my pet feature request: a reinstatement of the 
 #'attachment positioning option(s) that got lost around v2.4.

That's possible, but i don't know how long it would take me.  Could
you send me a few examples of the old behavior (lilypond code,
lilypond output, documentation) so that i could quickly estimate the
difficulty of the task?

thanks!
Janek

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


Re: New, more powerful version of \shape!

2013-10-18 Thread Urs Liska




Urs Liska u...@openlilylib.org schrieb:




David Kastrup d...@gnu.org schrieb:
Janek Warchoł janek.lilyp...@gmail.com writes:

 Hi all,

 \shape is an awesome function, indispensable for creating
 publication-quality slurs. However, after using it 1107 times in a
 recent project (this number is not a joke!),

Well, it should be.  It means that our slur shaping and quanting is
apparently not doing its job.

-- 
David Kastrup



Janek, can you come up with a reliable way of determining the total
number of slurs, ties etc in the project?

Maybe with assistance from Frescobaldi's parser?

It would be interesting to get a percentage of curves that needed
manual treatmend. Of course you'd have to take your ft... shorthands
into account too.

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


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


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


Re: New, more powerful version of \shape!

2013-10-18 Thread Janek Warchoł
2013/10/18 David Nalesnik david.nales...@gmail.com:
 Looks great!  One omission: you've touched on everything here except the
 shorthand you use throughout the attachments--namely using (x y) for (x . y)

Indeed! Using 2-element lists is so much more convenient to me that
i've already almost forgotten that one could add a dot there :)


2013/10/18 Paul Morris p...@paulwmorris.com:
 Janek Warchoł wrote
 I'd like to hear your opinions.  Do you like it?  Should it be added
 to official LilyPond distribution?

 Looks good to me!  Nice work.  I'd say yes and yes.

 What other modes of specifying control-points position do you have in
 mind?

Quite a few:
- specifying absolute control-point coordinates, as if one was
overriding control-points directly (could be useful for using on just
one of the points, while others would be specified with different
modes),
- (for inner points) specifying offsets relative to outer points,
- relative polar coordinates (i.e. move the 2nd point 10 degrees outwards),
- polar coordinates relative to the line connecting outer points
(instead of horizontal line) - my experiences say that this could be
even better than current \polar.

As it would make no sense to have 6 different functions using
different modes, i would merge them together so that one could specify
which mode to use for each control-point.

best,
Janek

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


Re: New, more powerful version of \shape!

2013-10-18 Thread David Kastrup
Urs Liska u...@openlilylib.org writes:

 Urs Liska u...@openlilylib.org schrieb:




David Kastrup d...@gnu.org schrieb:
Janek Warchoł janek.lilyp...@gmail.com writes:

 Hi all,

 \shape is an awesome function, indispensable for creating
 publication-quality slurs. However, after using it 1107 times in a
 recent project (this number is not a joke!),

Well, it should be.  It means that our slur shaping and quanting is
apparently not doing its job.

-- 
David Kastrup



Janek, can you come up with a reliable way of determining the total
number of slurs, ties etc in the project?

 Maybe with assistance from Frescobaldi's parser?

Probably easier to do with assistance from LilyPond's parser.

#(define slur-count 0)

oldSlur = (

( =
#(define-event-function (parser location) ()
  (set! slur-count (1+ slur-count))
  oldSlur)

...
#(format #t \nSlur count: ~S\n slur-count)

Now that's just the number of input slurs.  If you want the number of
output slurs, you probably would make an engraver.

-- 
David Kastrup

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


Re: New, more powerful version of \shape!

2013-10-18 Thread Urs Liska




David Kastrup d...@gnu.org schrieb:
Urs Liska u...@openlilylib.org writes:

 Urs Liska u...@openlilylib.org schrieb:




David Kastrup d...@gnu.org schrieb:
Janek Warchoł janek.lilyp...@gmail.com writes:

 Hi all,

 \shape is an awesome function, indispensable for creating
 publication-quality slurs. However, after using it 1107 times in a
 recent project (this number is not a joke!),

Well, it should be.  It means that our slur shaping and quanting is
apparently not doing its job.

-- 
David Kastrup



Janek, can you come up with a reliable way of determining the total
number of slurs, ties etc in the project?

 Maybe with assistance from Frescobaldi's parser?

Probably easier to do with assistance from LilyPond's parser.

#(define slur-count 0)

oldSlur = (

( =
#(define-event-function (parser location) ()
  (set! slur-count (1+ slur-count))
  oldSlur)

...
#(format #t \nSlur count: ~S\n slur-count)

Now that's just the number of input slurs.  If you want the number of
output slurs, you probably would make an engraver.

-- 
David Kastrup

Cool.


But with Frescobaldi it's basically all there too. I forgot about the 
'accounting' branch of my fork. I'll look into that later today.


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


Re: New, more powerful version of \shape!

2013-10-18 Thread Janek Warchoł
Hi David,

2013/10/18 David Kastrup d...@gnu.org:
 Janek Warchoł janek.lilyp...@gmail.com writes:

 Hi all,

 \shape is an awesome function, indispensable for creating
 publication-quality slurs. However, after using it 1107 times in a
 recent project (this number is not a joke!),

 Well, it should be.  It means that our slur shaping and quanting is
 apparently not doing its job.

You don't say ;-)

I wish i could fix slur formatting in LilyPond, but that's way to
difficult for me.


2013/10/18 Urs Liska u...@openlilylib.org:
 Janek, can you come up with a reliable way of determining the total number of 
 slurs, ties etc in the project?
 It would be interesting to get a percentage of curves that needed manual 
 treatmend.

Indeed, a very interesting statictic.


2013/10/18 David Kastrup d...@gnu.org:
 #(define slur-count 0)

 oldSlur = (

 ( =
 #(define-event-function (parser location) ()
   (set! slur-count (1+ slur-count))
   oldSlur)

 ...
 #(format #t \nSlur count: ~S\n slur-count)

That's nice!  Could you make it work with 2.17.3 (we had to freeze
LilyPond version to ensure that no regressions in the scores appear,
and so we're using 2.17.3 for almost all scores)?

 Now that's just the number of input slurs.  If you want the number of
 output slurs, you probably would make an engraver.

Nah, the above will suffice.

I'm going to make a detailed analysis of the project and publish the
statistics on the LilyPond Blog in a few days.

best,
Janek

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


Re: Lyrics to hymn - new user

2013-10-18 Thread Janek Warchoł
2013/10/17 Colin Campbell c...@shaw.ca:
 PS:
 @Janek: would a library of templates, not snippets, be a useful test for a
 workflow management system?

Blimey, i've almost missed this email!  Please cc me when you have a
question for me, as i'm not able to read the whole list.
To answer your question: of course!

Janek

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


Re: Lyrics to hymn - new user

2013-10-18 Thread Janek Warchoł
2013/10/17 David Kastrup d...@gnu.org:
 Carl Peterson carlopeter...@gmail.com writes:

 With my template system, most hymns take me 1/2 an hour at most, and
 probably 85% of that is music input, 10% of it is linking the template
 files together, and 5% of that is fixing input errors.

 So here is the challenging question: what would be required to have a
 hymn typesetter be able to look at the documentation of LilyPond, and
 start typesetting hymns with the delivered doc and styles within an
 hour?

Just my 2ct (don't have time to elaborate in detail): i believe we
lack a condensed quick-start tutorial. Learning Manual is simply too
long - i imagine that at least 50% of newcomers willing to try
LilyPond turn away when they see that they have to read a 150-page
document first, *and then they'll have to use 800-page-long NR*.  This
translates to at least half day of work until i have any idea how to
use it, and then a week until i'm able to do something useful.

I believe we need something like this:
http://lilypond-stuff.1065243.n5.nabble.com/file/n5705620/LilyPond_introduction.pdf
(it's in Polish, but simply look at the examples).  This is 6 pages
long, about 30 min reading (measured with a watch), and gives one
almost all information needed.

I could translate it later if there is interest.

Janek

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


Re: New, more powerful version of \shape!

2013-10-18 Thread David Kastrup
Janek Warchoł janek.lilyp...@gmail.com writes:

 2013/10/18 David Kastrup d...@gnu.org:
 #(define slur-count 0)

 oldSlur = (

 ( =
 #(define-event-function (parser location) ()
   (set! slur-count (1+ slur-count))
   oldSlur)

 ...
 #(format #t \nSlur count: ~S\n slur-count)

 That's nice!  Could you make it work with 2.17.3 (we had to freeze
 LilyPond version to ensure that no regressions in the scores appear,
 and so we're using 2.17.3 for almost all scores)?

No.  It's not just a matter of replacing ( with parenthesisOpenSymbol.
Previous to 2.17.25, the parser had quite hardwired expectations and
won't take well at all to seeing an event-function instead of an event
here.  And looking at the old parser code, it does not even go through
any hook you could reasonably hijack.  Either you modify the C++ code of
the parser for your counting or you are out of luck.

You really need to use the more complex output slur approach via an
engraver for 2.17.3, putting an acknowledger on slur-interface or
something like that.

But regressions in the score should not really be an issue if you are
just counting slurs once in a while.  It's not like you need perfect
output from the same run of LilyPond.

And the grob acknowledger can also keep statistics on the number of
tweaked slurs.  The event function can't, since the slur is getting
tweaked after it has done its job.

-- 
David Kastrup

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


Re: New, more powerful version of \shape!

2013-10-18 Thread Jan-Peter Voigt

Hi all,

while I am not that active with lilypond these days (distracted from 
family and work ;) ), I'd like to be ...

just my opinion on this topic:
How can lilypond create the publication-quality slurs I or whoever wants?
Yes, of course there is always room for making it better ... but IMO we 
need shape and similar functions, because most times there are more 
than one optimal shape. Technically lilypond may calculate what looks 
best in terms of the predefined rules - but that may fit 19th century 
piano-music best, but might not be optimal for 21th cent. choral-music 
... or whatever.


So I appreciate the afford of making shape more intuitive to use.

Best, Jan-Peter

Am 18.10.13 08:50, schrieb David Kastrup:

\shape is an awesome function, indispensable for creating
publication-quality slurs. However, after using it 1107 times in a
recent project (this number is not a joke!),

Well, it should be.  It means that our slur shaping and quanting is
apparently not doing its job.



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


Re: New, more powerful version of \shape!

2013-10-18 Thread Janek Warchoł
2013/10/18 David Kastrup d...@gnu.org:
 Janek Warchoł janek.lilyp...@gmail.com writes:
 That's nice!  Could you make it work with 2.17.3 (we had to freeze
 LilyPond version to ensure that no regressions in the scores appear,
 and so we're using 2.17.3 for almost all scores)?

 No.  It's not just a matter of replacing ( with parenthesisOpenSymbol.
 Previous to 2.17.25, the parser had quite hardwired expectations and
 won't take well at all to seeing an event-function instead of an event
 here.  And looking at the old parser code, it does not even go through
 any hook you could reasonably hijack.  Either you modify the C++ code of
 the parser for your counting or you are out of luck.

Ok, i understand that this is not a simple fix (contrary to what i expected).
BTW, this is a good opportunity to say: thank you again for making
LilyPond easier to work with!

 But regressions in the score should not really be an issue if you are
 just counting slurs once in a while.  It's not like you need perfect
 output from the same run of LilyPond.

you're right, i'll try this way.

best,
Janek

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


Re: New, more powerful version of \shape!

2013-10-18 Thread Urs Liska

Am 18.10.2013 10:17, schrieb Janek Warchoł:

2013/10/18 David Kastrup d...@gnu.org:

Janek Warchoł janek.lilyp...@gmail.com writes:

That's nice!  Could you make it work with 2.17.3 (we had to freeze
LilyPond version to ensure that no regressions in the scores appear,
and so we're using 2.17.3 for almost all scores)?

No.  It's not just a matter of replacing ( with parenthesisOpenSymbol.
Previous to 2.17.25, the parser had quite hardwired expectations and
won't take well at all to seeing an event-function instead of an event
here.  And looking at the old parser code, it does not even go through
any hook you could reasonably hijack.  Either you modify the C++ code of
the parser for your counting or you are out of luck.

Ok, i understand that this is not a simple fix (contrary to what i expected).
BTW, this is a good opportunity to say: thank you again for making
LilyPond easier to work with!


But regressions in the score should not really be an issue if you are
just counting slurs once in a while.  It's not like you need perfect
output from the same run of LilyPond.

you're right, i'll try this way.


That's right, but of course you'll get _lots_ of compiler messages. 
Probably they won't influence the result, though.


OTOH, if you'd analyse the input files with Frescobaldi you wouldn't 
have to _compile_ all those scores.
I'll have a look if I can easily update my stub (which simply counts all 
kinds of items in the current document) to walk through the whole 
directory structure.


Urs


best,
Janek



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


Automatic accidentals behaviour

2013-10-18 Thread Andreas Edlund
Hello everybody,

I have been getting lots of great help from this list, but now for the first
time I post a question.

In the following example

\version 2.17.17

{ \accidentalStyle dodecaphonic * }

Lilypond shows natural on b and flat on bes, just like I want.

How can I set this behaviour without using the dodecaphonic style?
Accidentals all over is a bit too much for the rest of the music in
question. modern or even piano with this detail added would do fine for
my needs. I tried all the different styles, but of course I might have
missed something.

Greetings,
Andreas





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Automatic-accidentals-behaviour-tp152547.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Automatic accidentals behaviour

2013-10-18 Thread David Kastrup
Andreas Edlund andreas.edl...@gmail.com writes:

 Hello everybody,

 I have been getting lots of great help from this list, but now for the first
 time I post a question.

 In the following example

 \version 2.17.17

 { \accidentalStyle dodecaphonic * }

 Lilypond shows natural on b and flat on bes, just like I want.

I see no b and no bes.

 How can I set this behaviour without using the dodecaphonic style?

Which behavior?

 Accidentals all over is a bit too much for the rest of the music in
 question.

You say you want a behavior showing the accidentals, but without showing
accidentals all over.  What do you mean?

 modern or even piano with this detail added would do fine for my
 needs.

With what detail added?

-- 
David Kastrup


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


Re: Automatic accidentals behaviour

2013-10-18 Thread Andreas Edlund
sorry about that. The snippet should be:





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Automatic-accidentals-behaviour-tp152547p152549.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Automatic accidentals behaviour

2013-10-18 Thread Urs Liska

Am 18.10.2013 10:55, schrieb David Kastrup:

Andreas Edlund andreas.edl...@gmail.com writes:


Hello everybody,

I have been getting lots of great help from this list, but now for the first
time I post a question.

In the following example

\version 2.17.17

{ \accidentalStyle dodecaphonic * }

Lilypond shows natural on b and flat on bes, just like I want.

I see no b and no bes.


How can I set this behaviour without using the dodecaphonic style?

Which behavior?


I think he wants a behaviour like 'piano' but with the addition that b 
and bes always get an accidental as in 'dodecaphonic'.



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


Re: Automatic accidentals behaviour

2013-10-18 Thread Andreas Edlund
Yes, that's it.

The first post did not render the example correctly, my mistake.

So, how to achieve that? Of course I could force the accidental everytime
this particular chord appears, but it would be nice to get it automatically.






--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Automatic-accidentals-behaviour-tp152547p152551.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Automatic accidentals behaviour

2013-10-18 Thread Gilberto Agostinho
In case you are interested in a non-automatic workaround (so you can get your
score done as you want it), you can use the symbol ! to force accidentals:

\version 2.17.17
{
  b! bes'1 |
  c'!4 cis' d'!8\pp dis'!4.\f |   
}

This is described in the documentation on the following link (just scroll
down a bit until Known issues and warnings):
http://www.lilypond.org/doc/v2.17/Documentation/notation/displaying-pitches#automatic-accidentals

 There you will find:

Simultaneous notes are not considered in the automatic determination of
accidentals; only previous notes and the key signature are considered.
Forcing accidentals with ! or ? may be required when the same note name
occurs simultaneously with different alterations, as in ‘f! fis!’.

I hope this will be of any help.
Regards,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Automatic-accidentals-behaviour-tp152547p152552.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Lyrics to hymn - new user

2013-10-18 Thread Eluze
garrettm30 wrote
 What I'm trying to deal with is the fact that the number of lines in the
 verses and the number of lines in the chorus very often do not match. See
 for example the attached image of where the verses and chorus meet in a
 particularly well-known hymn:
 
 You see that the chorus line there is not aligned with any of the verse
 lines, but rather both sides are centered according to the number of lines
 in their own section. I'm imagining some way to explicitly end a lyric
 context so that it won't the affect the spacing of a subsequent context
 when on the same line. I'm really just trying to figure out what is the
 best way to handle the verse/chorus transition. I expect I am going to
 encounter this kind of thing often since a lot of what I do are hymns.

please have a look at http://lsr.dsi.unimi.it/LSR/Item?id=503

this still needs some tweak-ing/override-ing to get the alignment correctly.

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lyrics-to-hymn-new-user-tp152216p152553.html
Sent from the User mailing list archive at Nabble.com.

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


RE: Lyrics to hymn - new user

2013-10-18 Thread Eduardo Silva
Hi, Carl. I like your sample. What do you do to make the verses left aligned 
(and possibly shifted) at the start of a new system? Do you do it manually? I 
know one could do it fairly easy if at the start of every new verse in the 
lyrics one could put the directive to align the syllable to the left. 
I'm looking forward to learning more about your workflow with typesetting 
hymns, if you ever share it, especially your customized part-combine.

Cheers,

Eduardo


___
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: New, more powerful version of \shape!

2013-10-18 Thread Kieren MacMillan
Hi Janek,

 Could you send me a few examples of the old behavior (lilypond code,
 lilypond output, documentation) so that i could quickly estimate the 
 difficulty of the task?

Unfortunately, the docs and download archive only goes back to v2.6, and I'm 
pretty sure we lost Slur #'attachment in v2.4.2, if not earlier.

Here's a search of the list (showing others who feel/felt the same way as I did 
when the feature was withdrawn):
http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=slur+attachmentsubmit=Search!idxname=lilypond-usermax=20result=normalsort=score

The old behaviour was, for example,

\override Slur #'attachment = #'(head . stem)

to force the slur to go from the [left-hand] notehead to the [right-hand] stem 
tip.

In a new implementation it could, I suppose, simply calculate the corresponding 
positions and modify Slur.positions accordingly. In any case, a setting like 
this would save a huge amount of manual effort and trialerror.

BONUS: I would love for something like the following: stem is a constant -1, 
head is a constant +1, so one could use

 \override Slur #'attachment = #'(L . R)

where L and R are numbers representing the position ***relative to 0, which is 
the center of the stem***.

Does all that make sense?

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


Re: Lyrics to hymn - new user

2013-10-18 Thread Carl Peterson
On Fri, Oct 18, 2013 at 9:12 AM, Eduardo Silva eduardo.su...@hotmail.comwrote:

 Hi, Carl. I like your sample. What do you do to make the verses left
 aligned (and possibly shifted) at the start of a new system? Do you do it
 manually? I know one could do it fairly easy if at the start of every new
 verse in the lyrics one could put the directive to align the syllable to
 the left.
 I'm looking forward to learning more about your workflow with typesetting
 hymns, if you ever share it, especially your customized part-combine.

 Cheers,

 Eduardo


Someone on the list (I can't remember who, precisely) wrote a macro that
allows one to left-align all the lyric syllables at an arbitrary musical
point. It looks at all the syllables at that point, figures out the longest
one (as typeset), centers it, and left aligns all the other syllables
relative to the longest one. Search the archive for \tagIt (that's the name
of the macro that was created) and you should get close to it. You need
2.17.something to use, since it uses David's friendlier way of referring to
properties (Something.something, instead of Something #'something), but it
can be translated to pre 2.17 references (I did this when I first used it,
since I was using 2.16 at the time.

This is one of the reasons for the barCheck voice. I use it to specify
where to align syllables, so that I don't have to clutter my lyrics or
assume that the line begins at a certain point. For the example I posted,
this is the \barCheckVerse definition:

barCheckVerse = {
\time 3/4 \key d \major \partial 4
\tagIt s4 s2. s2 s4 s2. s2 \bar  \break
\tagIt s4 s2. s2 s4 s2. s2 \bar  \break \spb
\tagIt s4 s2. s2 s4 s2. s2 \bar  \break
\tagIt s4 s2. s2 s4 s2. s2 \bar |.
}

the \spb macro allows me to define an page break if I am outputting to a
slide layout. In my global include, it is defined as { }, but in my slide
layout header, it is defined as { \pageBreak }.

I am attaching my altered part-combiner.scm file. The essential difference
is that the parameter that defines how large an interval between two voices
is before it separates them (in automatic mode) is reversed so that instead
of breaking intervals greater than an octave (or whatever it was set to),
it breaks intervals less than a third. I have some tweaks that I didn't
include in my sample to manipulate slurs so that by default, slurs are
doubled (for when voices combine), but are single slurs in the correct
direction when the voices separate.

When I find time, I'll work on creating a clean git repository to house the
basic template/framework I've developed.

Carl


part-combiner.scm
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics to hymn - new user

2013-10-18 Thread Janek Warchoł
2013/10/18 Carl Peterson carlopeter...@gmail.com:
 Someone on the list (I can't remember who, precisely) wrote a macro that
 allows one to left-align all the lyric syllables at an arbitrary musical
 point. It looks at all the syllables at that point, figures out the longest
 one (as typeset), centers it, and left aligns all the other syllables
 relative to the longest one.

It was written by David Nalesnik, and can be found here:
https://github.com/openlilylib/snippets/blob/master/custom-engravers/aligning-first-lyric-syllables.ily

 When I find time, I'll work on creating a clean git repository to house the
 basic template/framework I've developed.

You're welcome to place your stuff in the openlilylib/snippets
repository (https://github.com/openlilylib/snippets) - i think it'd be
good to keep all lilypond stuff together.

Janek

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


Re: Automatic generation of scores skeletons

2013-10-18 Thread Jacques Menu
Hello Johann,Here is what I've come to after some cleanup:menu@mac  ./GenerateLilypondSkeleton.py -h-- Usage: ./GenerateLilypondSkeleton.py [-h|--help] [-d|--debug] [-b|--barNumbers] [(-n|--notes=) aLilypondNoteOrRest] fileNamefor example:./GenerateLilypondSkeleton.py -n dis ThemaAllegroWoO37Trio.jsonFrom the following JSON spec:menu@mac  cat ThemaAllegroWoO37Trio.json{"version": "2.17.19","title" : "Thema allegro","__subtitle"   : "pour instruments en Ut","__subsubtitle"  : "(en Ré majeur, tonalité originale Mib)","composer"   : "Ludwig van Beethoven (1808 -1854)","tagline": "J. Menu - September 2013","enteredby"   : "Jacques Menu","instrumentName": "Bassoon","clef" : "bass","key"  : "g \\major","time" : "2/4","initialUpBeat" : "8*1","firstBarNumber": 129,"finalBarPosition"   : "150:4/8","doubleBarsPositions"  : ["132:4/8"],"barNumbersAtBeginningOflines" : [135, 142, 146],"tempoMarks"  : { "129:1/8":"Thema allegro", "144:1/8":"Coda"},"repeats": [ {"128:4/8-136:3/8": [1, []]}, {"136:4/8-144:3/8": [2, ["144:1/8-144:3/8", "144:1/8-144:4/8"]]} ],"partName"   : "bassoonPart"}the following LP source files can be obtained automatically:

ThemaAllegroWoO37Trio_with_notes.ly
Description: Binary data


ThemaAllegroWoO37Trio_with_all_bar_numbers.ly
Description: Binary data


ThemaAllegroWoO37Trio_without_notes.ly
Description: Binary data
Removing the"barNumbersAtBeginningOflines" can be done simply by writing it"_barNumbersAtBeginningOflines" instead for example, which leads to:

ThemaAllegroWoO37Trio_without_forced_breaks.ly
Description: Binary data
I'm still working on the repeats alternatives, currently not handled, and the reason why I started all this actually.Also,"tempoMarks"could be specified as a list, as "repeats" is,for regularity.The constraints on JSON syntax make the latter a bit complex, I'm afraid, with number of repetitions and list of alternatives...A nice w-e!JM--Jacques MenuCh. de la Pierre 121023 Crissiermailto:jacques.m...@tvtmail.ch

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


cadenza for two hands

2013-10-18 Thread Mark Stephen Mrotek
Hello,

 

Where in the manual (2.16.2) are instructions for coding a cadenza for two
hands (piano)?

 

Thank you,

 

Mark Stephen Mrotek

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


Re: cadenza for two hands

2013-10-18 Thread Simon Bailey
On Fri, Oct 18, 2013 at 6:23 PM, Mark Stephen Mrotek
carsonm...@ca.rr.com wrote:

 Where in the manual (2.16.2) are instructions for coding a cadenza for two
 hands (piano)?

does this help?
http://lilypond.org/doc/v2.16/Documentation/notation/special-rhythmic-concerns#aligning-to-cadenzas

regards,
sb
-- 
Do not meddle in the affairs of trombonists, for they are subtle and
quick to anger.

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


RE: cadenza for two hands

2013-10-18 Thread Mark Stephen Mrotek
Mr. Bailey,

Thank you for your reply.
Actually, I have used that documentation for scoring a cadenza for one hand.
What I am doing is an unmetered cadenza for two hands.

Mark

-Original Message-
From: bina...@gmail.com [mailto:bina...@gmail.com] On Behalf Of Simon Bailey
Sent: Friday, October 18, 2013 9:28 AM
To: Mark Stephen Mrotek
Cc: lilypond-user Mailinglist
Subject: Re: cadenza for two hands

On Fri, Oct 18, 2013 at 6:23 PM, Mark Stephen Mrotek carsonm...@ca.rr.com
wrote:

 Where in the manual (2.16.2) are instructions for coding a cadenza for 
 two hands (piano)?

does this help?
http://lilypond.org/doc/v2.16/Documentation/notation/special-rhythmic-concer
ns#aligning-to-cadenzas

regards,
sb
--
Do not meddle in the affairs of trombonists, for they are subtle and quick
to anger.


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


RE: Lyrics to hymn - new user

2013-10-18 Thread Eduardo Silva


 From: janek.lilyp...@gmail.com
 Date: Fri, 18 Oct 2013 16:36:20 +0200
 Subject: Re: Lyrics to hymn - new user
 To: carlopeter...@gmail.com
 CC: eduardo.su...@hotmail.com; lilypond-user@gnu.org
 
 2013/10/18 Carl Peterson carlopeter...@gmail.com:
  Someone on the list (I can't remember who, precisely) wrote a macro that
  allows one to left-align all the lyric syllables at an arbitrary musical
  point. It looks at all the syllables at that point, figures out the longest
  one (as typeset), centers it, and left aligns all the other syllables
  relative to the longest one.
 
 It was written by David Nalesnik, and can be found here:
 https://github.com/openlilylib/snippets/blob/master/custom-engravers/aligning-first-lyric-syllables.ily
 
  When I find time, I'll work on creating a clean git repository to house the
  basic template/framework I've developed.
 
 You're welcome to place your stuff in the openlilylib/snippets
 repository (https://github.com/openlilylib/snippets) - i think it'd be
 good to keep all lilypond stuff together.
 
 Janek

Thank you, Carl and Janek. Awesome stuff. I liked your simple introduction to 
Lilypond, Janek, even though I don't speak any polish ;-)   
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


2.17 documentation

2013-10-18 Thread Gilberto Agostinho
Hi all,

I came across the following page of LilyPond's documentation now (
http://www.lilypond.org/doc/v2.17/Documentation/changes-big-page.html ) and
its title reads New features in 2.18 since 2.16. I think it was probably
meant to be 2.17 instead of 2.18, am I right? Unless someone released a
version 2.18 and is keeping it secret from me :)

Regards,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/2-17-documentation-tp152562.html
Sent from the User mailing list archive at Nabble.com.

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


Re: 2.17 documentation

2013-10-18 Thread Francisco Vila
2013/10/18 Gilberto Agostinho gilbertohasn...@gmail.com:
 Hi all,

 I came across the following page of LilyPond's documentation now (
 http://www.lilypond.org/doc/v2.17/Documentation/changes-big-page.html ) and
 its title reads New features in 2.18 since 2.16. I think it was probably
 meant to be 2.17 instead of 2.18, am I right? Unless someone released a
 version 2.18 and is keeping it secret from me :)

2.17 is unstable and will become eventually the next stable release.
Right? The changes page is intended to tell what changes 2.18 has
since 2.16 and it is not finished until 2.18 is a reality. I agree in
that, given 2.18 does not exist, the page actually shows changes of
2.17, but you will also agree in that 2.17 is not recommended for
general adoption, instead of hiding the page until 2.18 comes out, we
show it and leave it prepared to serve as an actual 2.18 page.

Or, we could name it 2.17 since 2.16 to be clearer, and change this
to 2.18 on its release. That would indeed be clearer because the page
is under lilypond.org/doc/v2.17/ .

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: 2.17 documentation

2013-10-18 Thread Gilberto Agostinho
Hi Francisco,

I am well aware of everything you wrote about, and my suggestion would be
to rename it to 2.17 since 2.16 as you say, and then change it back to
2.18 since 2.16 when that version is released. I just find it might
confuse people if they come across a page talking about a version of a
software that still does not exist (and particularly when this page in
question is under the 2.17 documentation, as you rightly pointed out).

Take care,
Gilberto


On Fri, Oct 18, 2013 at 8:00 PM, Francisco Vila paconet@gmail.comwrote:

 2013/10/18 Gilberto Agostinho gilbertohasn...@gmail.com:
  Hi all,
 
  I came across the following page of LilyPond's documentation now (
  http://www.lilypond.org/doc/v2.17/Documentation/changes-big-page.html )
 and
  its title reads New features in 2.18 since 2.16. I think it was
 probably
  meant to be 2.17 instead of 2.18, am I right? Unless someone
 released a
  version 2.18 and is keeping it secret from me :)

 2.17 is unstable and will become eventually the next stable release.
 Right? The changes page is intended to tell what changes 2.18 has
 since 2.16 and it is not finished until 2.18 is a reality. I agree in
 that, given 2.18 does not exist, the page actually shows changes of
 2.17, but you will also agree in that 2.17 is not recommended for
 general adoption, instead of hiding the page until 2.18 comes out, we
 show it and leave it prepared to serve as an actual 2.18 page.

 Or, we could name it 2.17 since 2.16 to be clearer, and change this
 to 2.18 on its release. That would indeed be clearer because the page
 is under lilypond.org/doc/v2.17/ .

 --
 Francisco Vila. Badajoz (Spain)
 www.paconet.org , www.csmbadajoz.com

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


Changing the shape of more than one laissezVibrer in chord

2013-10-18 Thread Gilberto Agostinho
Hi all,

I would like to change the shape of more than one laissezVibrer at the same
time in chord, but I can't seem to find an way to do it because they are
simultaneous. Does anyone have any idea how to solve this problem?

\version 2.17.28
\markup {The top laissezVibrer is looking like I want, but not the bottom
one.}
{
  \shape #'((0 . 0) (0 . 0.5) (3 . 0.5) (3 . 0)) LaissezVibrerTie
  c' c''1\laissezVibrer | R1 |
}
\markup {I would like the bottom laissezVibrer to look like this:}
{  
  \shape #'((0 . 0) (0 . -0.5) (3 . -0.5) (3 . 0)) LaissezVibrerTie
  c'1\laissezVibrer | R1 |
}

http://lilypond.1069038.n5.nabble.com/file/n152566/laissezVibrer.png 

I already apologize if this is a silly question, but I can't find the answer
in the documentation. 

Thanks a lot!
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Changing-the-shape-of-more-than-one-laissezVibrer-in-chord-tp152566.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Changing the shape of more than one laissezVibrer in chord

2013-10-18 Thread Thomas Morley
2013/10/18 Gilberto Agostinho gilbertohasn...@gmail.com:
 Hi all,

 I would like to change the shape of more than one laissezVibrer at the same
 time in chord, but I can't seem to find an way to do it because they are
 simultaneous. Does anyone have any idea how to solve this problem?

 \version 2.17.28
 \markup {The top laissezVibrer is looking like I want, but not the bottom
 one.}
 {
   \shape #'((0 . 0) (0 . 0.5) (3 . 0.5) (3 . 0)) LaissezVibrerTie
   c' c''1\laissezVibrer | R1 |
 }
 \markup {I would like the bottom laissezVibrer to look like this:}
 {
   \shape #'((0 . 0) (0 . -0.5) (3 . -0.5) (3 . 0)) LaissezVibrerTie
   c'1\laissezVibrer | R1 |
 }

 http://lilypond.1069038.n5.nabble.com/file/n152566/laissezVibrer.png

 I already apologize if this is a silly question, but I can't find the answer
 in the documentation.

 Thanks a lot!
 Gilberto


Hi Gilberto,

you might be interested in
http://lsr.dsi.unimi.it/LSR/Item?id=715
and/or
http://lilypond.1069038.n5.nabble.com/Tie-over-Repeat-Bar-td150149.html#a150174

HTH,
  Harm

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


Re: Changing the shape of more than one laissezVibrer in chord

2013-10-18 Thread Simon Bailey
On Fri, Oct 18, 2013 at 10:28 PM, Thomas Morley
thomasmorle...@gmail.com wrote:
 2013/10/18 Gilberto Agostinho gilbertohasn...@gmail.com:
 Hi all,

 I would like to change the shape of more than one laissezVibrer at the same
 time in chord, but I can't seem to find an way to do it because they are
 simultaneous. Does anyone have any idea how to solve this problem?

 \version 2.17.28
 \markup {The top laissezVibrer is looking like I want, but not the bottom
 one.}
 {
   \shape #'((0 . 0) (0 . 0.5) (3 . 0.5) (3 . 0)) LaissezVibrerTie
   c' c''1\laissezVibrer | R1 |
 }
 \markup {I would like the bottom laissezVibrer to look like this:}
 {
   \shape #'((0 . 0) (0 . -0.5) (3 . -0.5) (3 . 0)) LaissezVibrerTie
   c'1\laissezVibrer | R1 |
 }

 http://lilypond.1069038.n5.nabble.com/file/n152566/laissezVibrer.png

 I already apologize if this is a silly question, but I can't find the answer
 in the documentation.

i'd probably cheat and do it like this(*):

\version 2.17.27

\new Staff {

  { \shape #'((0 . 0) (0 . 0.5) (3 . 0.5) (3 . 0)) LaissezVibrerTie
c''1\laissezVibrer }
  \\
  { \shape #'((0 . 0) (0 . -0.5) (3 . -0.5) (3 . 0)) LaissezVibrerTie
c'1\laissezVibrer }

c' e' g'1
}

(*) for whole notes with laissezVibrer, otherwise, may become tricky
trying to make it _look_ like a chord.

or, seeing as they're more or less symmetrical, use harm's LSR link above. :)

regards,
sb

-- 
Do not meddle in the affairs of trombonists, for they are subtle and
quick to anger.

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


Re: Changing the shape of more than one laissezVibrer in chord

2013-10-18 Thread Gilberto Agostinho
Hi Harm,

Thanks for your answer. I actually already came across that snippet you sent
me while searching the repository , but it doesn't compile for me. On my
2.17.18, the compiler outputs: Unbound variable: $further

As for the other link which contains your two .LY files, thanks a lot for
it! That is looking promising, I will have a look on it now to see if I
understand how to make it work on my score.

Thanks!
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Changing-the-shape-of-more-than-one-laissezVibrer-in-chord-tp152566p152569.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Changing the shape of more than one laissezVibrer in chord

2013-10-18 Thread Gilberto Agostinho
Now that's very clever! :D

I just need to use this for a couple of two note chords in whole note, so I
guess I will just cheat as well.

Thanks a lot!
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Changing-the-shape-of-more-than-one-laissezVibrer-in-chord-tp152566p152570.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Changing the shape of more than one laissezVibrer in chord

2013-10-18 Thread Thomas Morley
2013/10/18 Gilberto Agostinho gilbertohasn...@gmail.com:
 Hi Harm,

 Thanks for your answer. I actually already came across that snippet you sent
 me while searching the repository , but it doesn't compile for me. On my
 2.17.18, the compiler outputs: Unbound variable: $further

For the LSR-snippet: use convert-ly

 As for the other link which contains your two .LY files, thanks a lot for
 it! That is looking promising, I will have a look on it now to see if I
 understand how to make it work on my score.

 Thanks!
 Gilberto



 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/Changing-the-shape-of-more-than-one-laissezVibrer-in-chord-tp152566p152569.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

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


Is there any lilypond-book programer?

2013-10-18 Thread Marcos Press
Hi list!

I'm still having problems with lilypond-book.
Am I doing something wrong?

The file:

###
\documentclass[a4paper]{article}

\begin{document}
Some text and now\\
\begin[notime]{lilypond}
 \relative{c4 d e f g a b c}
\end{lilypond}
Some notes.
\end{document}
###

Command and terminal output (since is the only output I end up with, no
.aux .log , anything):

###
$ lilypond-book --output=out --pdf test.tex
lilypond-book (GNU LilyPond) 2.17.28
Reading test.tex...
Running `pdflatex' on file `/tmp/tmp_AuT9R.tex' to detect default page
settings.

Dissecting...
Traceback (most recent call last):
  File /home/tdy/lilypond/usr/bin/lilypond-book, line 773, in ?
main ()
  File /home/tdy/lilypond/usr/bin/lilypond-book, line 756, in main
chunks = do_file (files[0])
  File /home/tdy/lilypond/usr/bin/lilypond-book, line 617, in do_file
do_process_cmd (chunks, input_fullname, global_options)
  File /home/tdy/lilypond/usr/bin/lilypond-book, line 475, in
do_process_cmd
output_files = split_output_files (options.lily_output_dir)
  File /home/tdy/lilypond/usr/bin/lilypond-book, line 465, in
split_output_files
for subdir in glob.glob (os.path.join (directory, '[a-f0-9][a-f0-9]')):
  File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
list = glob(dirname)
  File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
list = glob(dirname)
  File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
list = glob(dirname)
  File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 37, in glob
sublist = glob1(dirname, basename)
  File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 50, in glob1
return fnmatch.filter(names,pattern)
  File /home/tdy/lilypond/usr/lib/python2.4/fnmatch.py, line 47, in filter
_cache[pat] = re.compile(res)
  File /home/tdy/lilypond/usr/lib/python2.4/sre.py, line 180, in compile
return _compile(pattern, flags)
  File /home/tdy/lilypond/usr/lib/python2.4/sre.py, line 227, in _compile
raise error, v # invalid expression
sre_constants.error: bad character range
###

I had eliminate lilypond and tex with all their stuff from system
instalation.
I reinstall all (lilypond, TexLive2013).
It doesn't matter the system configuration.
And I still have the exact same problem.

I'm really sorprised since it semas that there is no one else having these
problem.
Actually, I'm thinking on reinstalling my complete system.

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


Re: Is there any lilypond-book programer?

2013-10-18 Thread Urs Liska
Didn't you also have an issue with lilyglyphs because of a wrong character  
 (dash instead of hyphen)?

The current error message points in that direction too. So you might actually 
have something weird in your input file.
Maybe you should send your actual file as an attachment (to rule out email 
mangling) so others can test it.

Best
Urs



Marcos Press tdy.p...@gmail.com schrieb:
Hi list!

I'm still having problems with lilypond-book.
Am I doing something wrong?

The file:

###
\documentclass[a4paper]{article}

\begin{document}
Some text and now\\
\begin[notime]{lilypond}
 \relative{c4 d e f g a b c}
\end{lilypond}
Some notes.
\end{document}
###

Command and terminal output (since is the only output I end up with, no
.aux .log , anything):

###
$ lilypond-book --output=out --pdf test.tex
lilypond-book (GNU LilyPond) 2.17.28
Reading test.tex...
Running `pdflatex' on file `/tmp/tmp_AuT9R.tex' to detect default page
settings.

Dissecting...
Traceback (most recent call last):
  File /home/tdy/lilypond/usr/bin/lilypond-book, line 773, in ?
main ()
  File /home/tdy/lilypond/usr/bin/lilypond-book, line 756, in main
chunks = do_file (files[0])
  File /home/tdy/lilypond/usr/bin/lilypond-book, line 617, in do_file
do_process_cmd (chunks, input_fullname, global_options)
  File /home/tdy/lilypond/usr/bin/lilypond-book, line 475, in
do_process_cmd
output_files = split_output_files (options.lily_output_dir)
  File /home/tdy/lilypond/usr/bin/lilypond-book, line 465, in
split_output_files
for subdir in glob.glob (os.path.join (directory, '[a-f0-9][a-f0-9]')):
  File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
list = glob(dirname)
  File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
list = glob(dirname)
  File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
list = glob(dirname)
  File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 37, in glob
sublist = glob1(dirname, basename)
 File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 50, in glob1
return fnmatch.filter(names,pattern)
File /home/tdy/lilypond/usr/lib/python2.4/fnmatch.py, line 47, in
filter
_cache[pat] = re.compile(res)
File /home/tdy/lilypond/usr/lib/python2.4/sre.py, line 180, in
compile
return _compile(pattern, flags)
File /home/tdy/lilypond/usr/lib/python2.4/sre.py, line 227, in
_compile
raise error, v # invalid expression
sre_constants.error: bad character range
###

I had eliminate lilypond and tex with all their stuff from system
instalation.
I reinstall all (lilypond, TexLive2013).
It doesn't matter the system configuration.
And I still have the exact same problem.

I'm really sorprised since it semas that there is no one else having
these
problem.
Actually, I'm thinking on reinstalling my complete system.

Thanks.
Marcos.




___
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: Is there any lilypond-book programer?

2013-10-18 Thread Marcos Press
Yes.
Somewhere my terminal vim editor interpretates a minus sign copied from
firefox as a dash.
Now lilyglyth, thanks to you, work's prefectly :)

So I'll attach the actual file.


Thanks.
Marcos


2013/10/18 Urs Liska u...@openlilylib.org

 ** Didn't you also have an issue with lilyglyphs because of a wrong
 character (dash instead of hyphen)?

 The current error message points in that direction too. So you might
 actually have something weird in your input file.
 Maybe you should send your actual file as an attachment (to rule out email
 mangling) so others can test it.

 Best
 Urs



 Marcos Press tdy.p...@gmail.com schrieb:

 Hi list!

 I'm still having problems with lilypond-book.
 Am I doing something wrong?

 The file:

 ###
 \documentclass[a4paper]{article}

 \begin{document}
 Some text and now\\
 \begin[notime]{lilypond}
  \relative{c4 d e f g a b c}
 \end{lilypond}
 Some notes.
 \end{document}
 ###

 Command and terminal output (since is the only output I end up with, no
 .aux .log , anything):

 ###
 $ lilypond-book --output=out --pdf test.tex
 lilypond-book (GNU LilyPond) 2.17.28
 Reading test.tex...
 Running `pdflatex' on file `/tmp/tmp_AuT9R.tex' to detect default page
 settings.

 Dissecting...
 Traceback (most recent call last):
   File /home/tdy/lilypond/usr/bin/lilypond-book, line 773, in ?
 main ()
   File /home/tdy/lilypond/usr/bin/lilypond-book, line 756, in main
 chunks = do_file (files[0])
   File /home/tdy/lilypond/usr/bin/lilypond-book, line 617, in do_file
 do_process_cmd (chunks, input_fullname, global_options)
   File /home/tdy/lilypond/usr/bin/lilypond-book, line 475, in
 do_process_cmd
 output_files = split_output_files (options.lily_output_dir)
   File /home/tdy/lilypond/usr/bin/lilypond-book, line 465, in
 split_output_files
 for subdir in glob.glob (os.path.join (directory,
 '[a-f0-9][a-f0-9]')):
   File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
 list = glob(dirname)
   File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
 list = glob(dirname)
   File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
 list = glob(dirname)
   File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 37, in glob
 sublist = glob1(dirname, basename)
   File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 50, in glob1
 return fnmatch.filter(names,pattern)
   File /home/tdy/lilypond/usr/lib/python2.4/fnmatch.py, line 47, in
 filter
 _cache[pat] = re.compile(res)
   File /home/tdy/lilypond/usr/lib/python2.4/sre.py, line 180, in compile
 return _compile(pattern, flags)
   File /home/tdy/lilypond/usr/lib/python2.4/sre.py, line 227, in
 _compile
 raise error, v # invalid expression
 sre_constants.error: bad character range
 ###

 I had eliminate lilypond and tex with all their stuff from system
 instalation.
 I reinstall all (lilypond, TexLive2013).
 It doesn't matter the system configuration.
 And I still have the exact same problem.

 I'm really sorprised since it semas that there is no one else having
 these problem.
 Actually, I'm thinking on reinstalling my complete system.

 Thanks.
 Marcos.

 --

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




test.tex
Description: TeX document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is there any lilypond-book programer?

2013-10-18 Thread Marcos Press
I'm sorry!
I miss type lilyglyphs



2013/10/18 Urs Liska u...@openlilylib.org

 ** Didn't you also have an issue with lilyglyphs because of a wrong
 character (dash instead of hyphen)?

 The current error message points in that direction too. So you might
 actually have something weird in your input file.
 Maybe you should send your actual file as an attachment (to rule out email
 mangling) so others can test it.

 Best
 Urs



 Marcos Press tdy.p...@gmail.com schrieb:

 Hi list!

 I'm still having problems with lilypond-book.
 Am I doing something wrong?

 The file:

 ###
 \documentclass[a4paper]{article}

 \begin{document}
 Some text and now\\
 \begin[notime]{lilypond}
  \relative{c4 d e f g a b c}
 \end{lilypond}
 Some notes.
 \end{document}
 ###

 Command and terminal output (since is the only output I end up with, no
 .aux .log , anything):

 ###
 $ lilypond-book --output=out --pdf test.tex
 lilypond-book (GNU LilyPond) 2.17.28
 Reading test.tex...
 Running `pdflatex' on file `/tmp/tmp_AuT9R.tex' to detect default page
 settings.

 Dissecting...
 Traceback (most recent call last):
   File /home/tdy/lilypond/usr/bin/lilypond-book, line 773, in ?
 main ()
   File /home/tdy/lilypond/usr/bin/lilypond-book, line 756, in main
 chunks = do_file (files[0])
   File /home/tdy/lilypond/usr/bin/lilypond-book, line 617, in do_file
 do_process_cmd (chunks, input_fullname, global_options)
   File /home/tdy/lilypond/usr/bin/lilypond-book, line 475, in
 do_process_cmd
 output_files = split_output_files (options.lily_output_dir)
   File /home/tdy/lilypond/usr/bin/lilypond-book, line 465, in
 split_output_files
 for subdir in glob.glob (os.path.join (directory,
 '[a-f0-9][a-f0-9]')):
   File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
 list = glob(dirname)
   File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
 list = glob(dirname)
   File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 24, in glob
 list = glob(dirname)
   File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 37, in glob
 sublist = glob1(dirname, basename)
   File /home/tdy/lilypond/usr/lib/python2.4/glob.py, line 50, in glob1
 return fnmatch.filter(names,pattern)
   File /home/tdy/lilypond/usr/lib/python2.4/fnmatch.py, line 47, in
 filter
 _cache[pat] = re.compile(res)
   File /home/tdy/lilypond/usr/lib/python2.4/sre.py, line 180, in compile
 return _compile(pattern, flags)
   File /home/tdy/lilypond/usr/lib/python2.4/sre.py, line 227, in
 _compile
 raise error, v # invalid expression
 sre_constants.error: bad character range
 ###

 I had eliminate lilypond and tex with all their stuff from system
 instalation.
 I reinstall all (lilypond, TexLive2013).
 It doesn't matter the system configuration.
 And I still have the exact same problem.

 I'm really sorprised since it semas that there is no one else having
 these problem.
 Actually, I'm thinking on reinstalling my complete system.

 Thanks.
 Marcos.

 --

 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: Lyrics to hymn - new user

2013-10-18 Thread Janek Warchoł
2013/10/18 Janek Warchoł janek.lilyp...@gmail.com:
 2013/10/18 Carl Peterson carlopeter...@gmail.com:
 Someone on the list (I can't remember who, precisely) wrote a macro that
 allows one to left-align all the lyric syllables at an arbitrary musical
 point. It looks at all the syllables at that point, figures out the longest
 one (as typeset), centers it, and left aligns all the other syllables
 relative to the longest one.

 It was written by David Nalesnik, and can be found here:
 https://github.com/openlilylib/snippets/blob/master/custom-engravers/aligning-first-lyric-syllables.ily

Update: there was some renaming in the repository, and the snippet is now here:
https://github.com/openlilylib/snippets/tree/master/notation-snippets/aligning-first-lyric-syllables

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


Re: Lyrics to hymn - new user

2013-10-18 Thread Janek Warchoł
2013/10/18 Eduardo Silva eduardo.su...@hotmail.com:
 Thank you, Carl and Janek. Awesome stuff. I liked your simple introduction
 to Lilypond, Janek, even though I don't speak any polish ;-)

I'm glad you liked it :-)

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


Re: Changing the shape of more than one laissezVibrer in chord

2013-10-18 Thread Nick Payne

On 19/10/13 07:07, Gilberto Agostinho wrote:

Hi all,

I would like to change the shape of more than one laissezVibrer at the same
time in chord, but I can't seem to find an way to do it because they are
simultaneous. Does anyone have any idea how to solve this problem?

\version 2.17.28
\markup {The top laissezVibrer is looking like I want, but not the bottom
one.}
{
   \shape #'((0 . 0) (0 . 0.5) (3 . 0.5) (3 . 0)) LaissezVibrerTie
   c' c''1\laissezVibrer | R1 |
}
\markup {I would like the bottom laissezVibrer to look like this:}
{
   \shape #'((0 . 0) (0 . -0.5) (3 . -0.5) (3 . 0)) LaissezVibrerTie
   c'1\laissezVibrer | R1 |
}


\version 2.17.28

% extend laissez-vibrer tie
extendLV = #(define-music-function (parser location further) (number?) #{
  \once \override LaissezVibrerTie.X-extent = #'(0 . 0)
  \once \override LaissezVibrerTie.details.note-head-gap = #(/ further -2)
  \once \override LaissezVibrerTie.extra-offset = #(cons (/ further 2) 0)
#})

{
  \extendLV #2.5
  c' c''1\laissezVibrer | R1 |
}


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


Frescobaldi now needs git installed

2013-10-18 Thread Nick Payne
The install instructions at http://frescobaldi.org/download.html need to 
add git as a dependency. Without git installed, when trying to run 
Frescobaldi I get:


nick@nick-desktop:~$ /home/nick/source/frescobaldi/frescobaldi
Traceback (most recent call last):
  File /home/nick/source/frescobaldi/frescobaldi, line 3, in module
import frescobaldi_app.main
  File /home/nick/source/frescobaldi/frescobaldi_app/main.py, line 
176, in module

main()
  File /home/nick/source/frescobaldi/frescobaldi_app/main.py, line 
135, in main

import mainwindow   # contains MainWindow class
  File /home/nick/source/frescobaldi/frescobaldi_app/mainwindow.py, 
line 40, in module

import menu
  File /home/nick/source/frescobaldi/frescobaldi_app/menu.py, line 
47, in module

import vcs
  File /home/nick/source/frescobaldi/frescobaldi_app/vcs/__init__.py, 
line 46, in module

app_repo = apprepo.AppRepo()
  File /home/nick/source/frescobaldi/frescobaldi_app/vcs/apprepo.py, 
line 42, in __init__

self._activeBranch = self.current_branch()
  File /home/nick/source/frescobaldi/frescobaldi_app/vcs/gitrepo.py, 
line 151, in current_branch

for branch in self.branches():
  File /home/nick/source/frescobaldi/frescobaldi_app/vcs/gitrepo.py, 
line 137, in branches

return [line.strip() for line in self._run_git_command('branch', args)]
  File /home/nick/source/frescobaldi/frescobaldi_app/vcs/gitrepo.py, 
line 119, in _run_git_command

raise GitError(str(error))
vcs.gitrepo.GitError: /bin/sh: 1: git: not found



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


Ties in complex polyphony

2013-10-18 Thread Joshua Nichols
I'd like to tie the common notes below:

{

{a1~}\\{f4 e}

a1

}

But I'm not sure I'm doing it correctly.

Thoughts?

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


Re: Is there any lilypond-book programer?

2013-10-18 Thread David Kastrup
Marcos Press tdy.p...@gmail.com writes:

 Hi list!

 I'm still having problems with lilypond-book.
 Am I doing something wrong?

 The file:

 ###
 \documentclass[a4paper]{article}

 \begin{document}
 Some text and now\\
 \begin[notime]{lilypond}
  \relative{c4 d e f g a b c}
 \end{lilypond}
 Some notes.
 \end{document}
 ###

You forgot the most important detail of the file: its name.

 ###
 $ lilypond-book --output=out --pdf test.tex
 lilypond-book (GNU LilyPond) 2.17.28
 Reading test.tex...

Rename your file into test.lytex and run lilypond-book --pdf test.lytex
and maybe you have more luck.

-- 
David Kastrup


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


Re: Is there any lilypond-book programer?

2013-10-18 Thread Marcos Press
I already try that with no luck at all.
Even so, I try it again :)

###
$ lilypond-book --pdf -o out test.lytex lilypond-book (GNU LilyPond) 2.17.28
Reading test.lytex...
...
File /home/tdy/lilypond/usr/lib/python2.4/sre.py, line 227, in _compile
raise error, v # invalid expression
sre_constants.error: bad character range
###

So again, nothing...

Tomorrow I have time, so I think I'll try with the system.
Is there any Xubuntu user using lilypond-book? Actualy it should be the
same as any Ubuntu or Kubuntu. But who knows...

Thanks.

Marcos.


2013/10/19 David Kastrup d...@gnu.org

 Marcos Press tdy.p...@gmail.com writes:

  Hi list!
 
  I'm still having problems with lilypond-book.
  Am I doing something wrong?
 
  The file:
 
  ###
  \documentclass[a4paper]{article}
 
  \begin{document}
  Some text and now\\
  \begin[notime]{lilypond}
   \relative{c4 d e f g a b c}
  \end{lilypond}
  Some notes.
  \end{document}
  ###

 You forgot the most important detail of the file: its name.

  ###
  $ lilypond-book --output=out --pdf test.tex
  lilypond-book (GNU LilyPond) 2.17.28
  Reading test.tex...

 Rename your file into test.lytex and run lilypond-book --pdf test.lytex
 and maybe you have more luck.

 --
 David Kastrup


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

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


Re: Is there any lilypond-book programer?

2013-10-18 Thread David Kastrup
Marcos Press tdy.p...@gmail.com writes:

 I already try that with no luck at all.
 Even so, I try it again :)

 ###
 $ lilypond-book --pdf -o out test.lytex lilypond-book (GNU LilyPond) 2.17.28
 Reading test.lytex...
 ...
 File /home/tdy/lilypond/usr/lib/python2.4/sre.py, line 227, in _compile
 raise error, v # invalid expression
 sre_constants.error: bad character range
 ###

 So again, nothing...

Actually, it appears like Python throws an error while file name
globbing.  So either the absolute path of your directory or some file
inside of it likely contains characters that Python is not happy with.
Move your file to C:\MYTEMP or whatever other simply named directory
with no previous content, and try again.

If that works, it should give you a good clue where things go wrong.

-- 
David Kastrup


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


Re: Frescobaldi now needs git installed

2013-10-18 Thread Urs Liska




Nick Payne nick.pa...@internode.on.net schrieb:
The install instructions at http://frescobaldi.org/download.html need
to 
add git as a dependency. 

No, they don't.
We have to sort out this bug instead.

How did you get/download Frescobaldi?
The code that raises this error should only run when Frescobaldi runs inside a 
Git repository - which is why I _assumed_ git to be present too.

So: is your Frescobaldi in a Git repository (it has a .git directory beside 
frescobaldi_app)?
If yes: how did you get it without git installed?

Urs

Without git installed, when trying to run 
Frescobaldi I get:

nick@nick-desktop:~$ /home/nick/source/frescobaldi/frescobaldi
Traceback (most recent call last):
  File /home/nick/source/frescobaldi/frescobaldi, line 3, in module
 import frescobaldi_app.main
   File /home/nick/source/frescobaldi/frescobaldi_app/main.py, line 
176, in module
 main()
   File /home/nick/source/frescobaldi/frescobaldi_app/main.py, line 
135, in main
 import mainwindow   # contains MainWindow class
   File /home/nick/source/frescobaldi/frescobaldi_app/mainwindow.py, 
line 40, in module
 import menu
   File /home/nick/source/frescobaldi/frescobaldi_app/menu.py, line 
47, in module
 import vcs
 File /home/nick/source/frescobaldi/frescobaldi_app/vcs/__init__.py, 
line 46, in module
 app_repo = apprepo.AppRepo()
  File /home/nick/source/frescobaldi/frescobaldi_app/vcs/apprepo.py, 
line 42, in __init__
 self._activeBranch = self.current_branch()
  File /home/nick/source/frescobaldi/frescobaldi_app/vcs/gitrepo.py, 
line 151, in current_branch
 for branch in self.branches():
  File /home/nick/source/frescobaldi/frescobaldi_app/vcs/gitrepo.py, 
line 137, in branches
return [line.strip() for line in self._run_git_command('branch', args)]
  File /home/nick/source/frescobaldi/frescobaldi_app/vcs/gitrepo.py, 
line 119, in _run_git_command
 raise GitError(str(error))
vcs.gitrepo.GitError: /bin/sh: 1: git: not found



___
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