Re: Inline score inside markup - bugs in music alignment

2009-10-30 Thread Jiri Zurek (Prague)

Dear Neil,
your tweak of the score inside markup is indeed a GREAT improvement. I
altered the scm/define-markup-commands.scm according to you suggestion and
the score inside markuplines is now split into multiple lines as necessary.
Nevertheless, for flawless output, I can see still one problem, regarding
the start of the staff. The staff always begins at the start of a new line,
leaving the previous line of the text half empty. This is not the case when
the music is very short: then it is exactly in-line (i.e. staying at the
same line as the surrounding text), but when the music is multi-line, it
always tends to start at a new line. This is not so big problem, but when
you need justified lines in the markupblock - and you do need justified
lines in a top-quality publication - then this will ruin the half-empty line
before the score, since the words will be spaced very wide apart (please see
the appended example). This is not quite acceptable. Either I would need to
let the last text line before the music ragged, or - better - I would need
the staff to start exactly at the same line with the text to fill the rest
of the half empty line, and only then break to a second line. This would be
the most perfect solution. Is this possible, or am I asking too much?

Also, please forgive my inability with Lilypond - I did read the
documentation for the vertical spacing - but I still did not figure out how
to make the systems inside the markuplines block appear closer together.  As
you can see from the example below, I was trying \override VerticalAxisGroup
#'minimum-Y-extent = #'(0 . 0), also between-system-padding = #0.0 and
between-system-space = #0.0 and still, the staves are wider spaced than
necessary. At best, the system vertical spacing should imitate the tight
spacing of the lines of the surrounding text. Any help appreciated.

%begin Lily - Example  
\version 2.12.2 
\markuplines { 
  \justified-lines { 
  the inline music: 
  \vcenter
  \score { \new Staff \relative c' 
{ \repeat unfold 12 {r4 a d f a d f2} } 
\layout { 
  indent = 0.0\cm
  \context { 
\Staff 
fontSize = #-12 
\override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) 
\override StaffSymbol #'staff-space = #(magstep -12) 
\override StaffSymbol #'thickness = #(magstep -12) 
\remove Time_signature_engraver
  } 
  \context {
\Score
\remove Bar_number_engraver
between-system-padding = #0.0
between-system-space = #0.0
  }

} 
  } 
  
   the text continues after the music... 
  } 
} 
%end Lily - Example


Neil Puttock wrote:
 
 If you don't mind amending scm/define-markup-commands.scm, you can try
 the following tweaks.
 (define-builtin-markup-command (score layout props score) [...]
 Despite the rudimentary formatting here (you can only set the distance
 between the systems; paper variables set in \layout will be ignored),
 I think this would be a useful improvement on the current behaviour,
 so I'll prepare a patch with these changes.
 

-- 
View this message in context: 
http://old.nabble.com/Inline-score-inside-markup---bugs-in-music-alignment-tp26111727p26125819.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: RE: centering rests

2009-10-30 Thread Bertalan Fodor
I think that's a bug as R2 is not centered.

  Original message  
From: Erik Appeldoorn ursus.k...@ziggo.nl
Sent: 29 Oct 2009 18:39 +01:00
To: 'Kieren MacMillan' kieren_macmil...@sympatico.ca
Cc:  lilypond-user@gnu.org
Subject: RE: centering rests

You are quite right, and I have never even bothered to check. Although I
have a quite substantial library and am over 25 years active with music.

Erik

 -Original Message-
 From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca]
 Sent: donderdag 29 oktober 2009 18:29
 To: Erik Appeldoorn
 Cc: lilypond-user@gnu.org
 Subject: Re: centering rests
 
 Hi Erik,
  when I want to use r2 at the start (or R2) of the bar it looks
  awfull. So how do I align these rests centered?
 
 If you mean that you want the (e.g.) half-note rest to be mid-way
 through the first half of the measure, rather than left-aligned at
 the first beat, then... you don't/shouldn't.
 
 In standard music engraving practice, the full-measure rest is the
 *only* one that is centered in its [horizontal] duration-space - all
 other rests are placed at the position where they first happen in the
 flow of time, just like their sounding-note equivalent(s).
 
 Hope this helps!
 Kieren.=



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





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


Re: website so close, and yet so far

2009-10-30 Thread Federico Bruni

Patrick McCarty wrote:

On Thu, Oct 29, 2009 at 12:58 PM, Reinhold Kainhofer
reinh...@kainhofer.com wrote:

Am Donnerstag, 29. Oktober 2009 17:23:18 schrieb Frank Steinmetzger:

Am Donnerstag, 29. Oktober 2009 schrieb Valentin Villenave:

On Tue, Oct 27, 2009 at 12:01 PM, Federico Bruni brunol...@gmx.com

wrote:

I have to admit I'm pretty disappointed with the user community.

Wow, is this normal:

http://lilypond.org/doc/v2.13/Documentation/

This link points to the non-officially-published website's homepage???

I just look on it and would like to mention that the site has some problems
with Konqueror 3:
The content from the heading (Documentation for Lilypond 2.13.6) to above
 of the footer is embedded in a scrolling area. (see attached screen shot).

Yes, because it's a div with overflow set to scrolling in the CSS...


IIRC, this hack is needed to push the footer to the bottom of each web
page (over the floating content).  It works in every browser I've
tested, but apparently there are issues with Konqueror 3.



there is the same issue with Konqueror 4


If anyone has a more portable fix, please let me know.



I would use this solution, it's reported to work fine also with Konqueror:
http://www.cssstickyfooter.com/

Cheers,
Federico

--
Federico Bruni  |  http://www.gnurag.net/blog/

LibrePlanet Italia
http://groups.fsf.org/wiki/LibrePlanetItalia



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


Re: centering rests

2009-10-30 Thread Mats Bengtsson



Bertalan Fodor wrote:

I think that's a bug as R2 is not centered.
  

??? An R2 is certainly centered within the measure if you have 2/4 time:


 \new Staff \relative c'{ \time 2/4 c8 d e f }
 \new Staff {R2 }


However, as was pointed out by Kieren, a half note rest in the beginning 
of a 4/4 measure should be left aligned with the first note of the 
measure, not centered in the first half of the measure, according to 
common typesetting practice.


   /Mats

  Original message  
From: Erik Appeldoorn ursus.k...@ziggo.nl

Sent: 29 Oct 2009 18:39 +01:00
To: 'Kieren MacMillan' kieren_macmil...@sympatico.ca
Cc:  lilypond-user@gnu.org
Subject: RE: centering rests

You are quite right, and I have never even bothered to check. Although I
have a quite substantial library and am over 25 years active with music.

Erik

  

-Original Message-
From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca]
Sent: donderdag 29 oktober 2009 18:29
To: Erik Appeldoorn
Cc: lilypond-user@gnu.org
Subject: Re: centering rests

Hi Erik,


when I want to use r2 at the start (or R2) of the bar it looks
awfull. So how do I align these rests centered?

  

If you mean that you want the (e.g.) half-note rest to be mid-way
through the first half of the measure, rather than left-aligned at
the first beat, then... you don't/shouldn't.

In standard music engraving practice, the full-measure rest is the
*only* one that is centered in its [horizontal] duration-space - all
other rests are placed at the position where they first happen in the
flow of time, just like their sounding-note equivalent(s).

Hope this helps!
Kieren.=





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





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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



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


bracket and staff names

2009-10-30 Thread Erik Appeldoorn
I have a snipped of code that doesn't quite come out is expected / wanted.
The score is a choir SATB with organ (two staffs)

 

I would like the normal bracket to be in front of the SATB staffs. It now
extends to the last staf.

 

2nd I'm missing the names of the voices before the staves although I use the
\set Staff.instrumentName.

 

Any other hints also very welcome.

 

 

\score {

\new ChoirStaff

 

{

\new Staff = Sopraan \sop

\set Staff.instrumentName = #Sopraan

}

{

\new Staff = Alt \alt

\set Staff.instrumentName = #Alt

}

{

\new Staff = Tenor \ten

\set Staff.instrumentName = #Tenor

}

{

\new Staff = Bas \bas

\set Staff.instrumentName = #Bas

}

 

\new PianoStaff 

   \new Staff = ManualOne 

 \new Voice { \rh }

   

   \new Staff = ManualTwo 

 \new Voice { \lh }

   

 

 

}

 

Hou je goed / Keep well,

 

Erik

 

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


Re: website so close, and yet so far

2009-10-30 Thread Patrick McCarty
On Fri, Oct 30, 2009 at 1:03 AM, Federico Bruni brunol...@gmx.com wrote:
 Patrick McCarty wrote:

 On Thu, Oct 29, 2009 at 12:58 PM, Reinhold Kainhofer
 reinh...@kainhofer.com wrote:

 there is the same issue with Konqueror 4

 If anyone has a more portable fix, please let me know.


 I would use this solution, it's reported to work fine also with Konqueror:
 http://www.cssstickyfooter.com/

That looks great!  Would you be willing to add this to our CSS
stylesheet?  I don't really have the time/interest right now to pursue
this.

If you or anyone else are interested, the current stylesheet is located here:

http://lilypond.org/doc/v2.13/Documentation/lilypond-web.css

Thanks,
Patrick


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


Re: bracket and staff names

2009-10-30 Thread Mats Bengtsson



Erik Appeldoorn wrote:


I have a snipped of code that doesn’t quite come out is expected / 
wanted. The score is a choir SATB with organ (two staffs)


I would like the normal bracket to be in front of the SATB staffs. It 
now extends to the last staf.


Yes, since you include all the staves within the ChoirStaff. I think you 
rather want to follow the structure used in the Learning Manual template 
SATB + piano:

\score{

\new ChoirStaff 
% Here comes the two staves for the SATB ...

\new PianoStaff 
% Here comes the two staves for the organ


}

I would recommend to use indentation as I did above and as is done in 
the examples in the manual, to make it easier to see the overall 
hierarchical structure of the score.


/Mats


2^nd I’m missing the names of the voices before the staves although I 
use the \set Staff.instrumentName.


Any other hints also very welcome.

\score {

\new ChoirStaff



{

\new Staff = Sopraan \sop

\set Staff.instrumentName = #Sopraan

}

{

\new Staff = Alt \alt

\set Staff.instrumentName = #Alt

}

{

\new Staff = Tenor \ten

\set Staff.instrumentName = #Tenor

}

{

\new Staff = Bas \bas

\set Staff.instrumentName = #Bas

}

\new PianoStaff 

\new Staff = ManualOne 

\new Voice { \rh }



\new Staff = ManualTwo 

\new Voice { \lh }







}

//Hou je goed / Keep well,//

//Erik//



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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Inline score inside markup - bugs in music alignment

2009-10-30 Thread David Kastrup
Jiri Zurek (Prague) zu...@ics.cas.cz writes:

 your tweak of the score inside markup is indeed a GREAT improvement. I
 altered the scm/define-markup-commands.scm according to you suggestion
 and the score inside markuplines is now split into multiple lines as
 necessary.  Nevertheless, for flawless output, I can see still one
 problem, regarding the start of the staff. The staff always begins at
 the start of a new line, leaving the previous line of the text half
 empty. This is not the case when the music is very short: then it is
 exactly in-line (i.e. staying at the same line as the surrounding
 text), but when the music is multi-line, it always tends to start at a
 new line. This is not so big problem, but when you need justified
 lines in the markupblock - and you do need justified lines in a
 top-quality publication - then this will ruin the half-empty line
 before the score, since the words will be spaced very wide apart
 (please see the appended example). This is not quite acceptable.

In such an arrangement, justified text is simply a bad idea to use.  The
same problem occurs with typesetting mathematics when writing inline
formulas of more than a few characters in length.  I would always prefer
avoiding music line breaks in text.  To make this work not just by
accident, ragged-right is better to use than justified text.


-- 
David Kastrup



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


Re: bracket and staff names

2009-10-30 Thread -Eluze


Erik Appeldoorn wrote:
 
 
 2nd I'm missing the names of the voices before the staves although I use
 the
 \set Staff.instrumentName.
 
if yout set the instrument names *before* the notes they will be displayed:

  \new Staff = Sopraan {
\set Staff.instrumentName = #Sopraan
\sop
  }

-- 
View this message in context: 
http://old.nabble.com/bracket-and-staff-names-tp26126880p26127716.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


RE: bracket and staff names

2009-10-30 Thread Erik Appeldoorn
Mats, 

Bracket problem solved
I just miscounted the place for the closing 
It now looks slightly different and brackets are in place as I want them.
But still no names before the staffs

Thanks, Erik

 -Original Message-
 From: Mats Bengtsson [mailto:mats.bengts...@ee.kth.se]
 Sent: vrijdag 30 oktober 2009 11:00
 To: Erik Appeldoorn
 Cc: lilypond-user@gnu.org
 Subject: Re: bracket and staff names
 
 
 
 Erik Appeldoorn wrote:
 
  I have a snipped of code that doesn't quite come out is expected /
  wanted. The score is a choir SATB with organ (two staffs)
 
  I would like the normal bracket to be in front of the SATB staffs. It
  now extends to the last staf.
 
 Yes, since you include all the staves within the ChoirStaff. I think you
 rather want to follow the structure used in the Learning Manual template
 SATB + piano:
 \score{
 
 \new ChoirStaff 
 % Here comes the two staves for the SATB ...
  
 \new PianoStaff 
 % Here comes the two staves for the organ
  
  
 }
 
 I would recommend to use indentation as I did above and as is done in
 the examples in the manual, to make it easier to see the overall
 hierarchical structure of the score.
 
 /Mats




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


RE: bracket and staff names

2009-10-30 Thread Erik Appeldoorn
Eluze
Thanks for the explanation, but solving one problem creates a new one.

The names of the staves now are correct. But the lyrics belonging to the
notes are completely misplaced. Lyrics of voices now get collected all in
one go below the bass staff. 

More to learn I guess. Here is how it is looking now.


\score {

\new ChoirStaff


\new Staff = Sopraan {
\set Staff.instrumentName = #Sopraan 
\sop 
}

\new Staff = Alt {
\set Staff.instrumentName = #Alt
\alt
}

\new Staff = Tenor {
\set Staff.instrumentName = #Tenor 
\ten
}

\new Staff = Bas {
\set Staff.instrumentName = #Bas
\bas
}


\new PianoStaff 
   \new Staff = ManualOne 
 \new Voice { \rh }
   
   \new Staff = ManualTwo 
 \new Voice { \lh }
   


}

 -Original Message-
 From: lilypond-user-bounces+ursus.kirk=ziggo...@gnu.org [mailto:lilypond-
 user-bounces+ursus.kirk=ziggo...@gnu.org] On Behalf Of -Eluze
 Sent: vrijdag 30 oktober 2009 11:20
 To: lilypond-user@gnu.org
 Subject: Re: bracket and staff names
 
 
 
 Erik Appeldoorn wrote:
 
 
  2nd I'm missing the names of the voices before the staves although I use
  the
  \set Staff.instrumentName.
 
 if yout set the instrument names *before* the notes they will be
 displayed:
 
   \new Staff = Sopraan {
 \set Staff.instrumentName = #Sopraan
 \sop
   }
 
 --
 View this message in context: http://old.nabble.com/bracket-and-staff-
 names-tp26126880p26127716.html
 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
 
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user



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


Re: Inline score inside markup - bugs in music alignment

2009-10-30 Thread Jiri Zurek (Prague)

Dear David,
thank you for your valuable opinion but, in my case, the text needs to be
justified and the music inside markuplines should wrap along the lines of
the surrounding text. I am using it for a musicological apparatus
accompanying the piece and if the systems of the piece and other texts of
the book are well justified, it makes no sense to interrupt the flow with
ragged-right apparatus. Imagine, this book will have several hundred pages
and hundreds of small musical pieces - liturgical antiphones, each
accompanied by the apparatus. It must be justified.

I still hope there is a solution for my problem, and I even suspect that it
may be again very easy. Imagine, that if you have very short score inside
markup, it is already now printed in-line, not at the new line!!!  So, the
functionality is already present. Therefore, according to my understanding,
there might a function in Lilypond which tells: if you encounter a score
block which is longer than the empty rest of the line, then jump to a new
line. This made sense when there was no break within the score possible.
Now, that thanks to Neil we have the score block inside markuplines
breakable, the function should be simply disabled. The music would start at
the same line with the text and when the end of line is reached, it would
simply break to another one. Any help appreciated.


David Kastrup wrote:
 
 In such an arrangement, justified text is simply a bad idea to use.  The
 same problem occurs with typesetting mathematics when writing inline
 formulas of more than a few characters in length.  I would always prefer
 avoiding music line breaks in text.  To make this work not just by
 accident, ragged-right is better to use than justified text.
 

-- 
View this message in context: 
http://old.nabble.com/Inline-score-inside-markup---bugs-in-music-alignment-tp26111727p26128111.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


RE: bracket and staff names

2009-10-30 Thread Erik Appeldoorn
Thanks again all. I found the problem

\new Staff = Sopraan {
\set Staff.instrumentName = #Sopraan
\sop
}

Should be

\new Staff = Sopraan 
\set Staff.instrumentName = #Sopraan
\sop


And all looks well now. Probably have more questions later, but for now I am
content.

Keep well, Erik



 -Original Message-
 From: lilypond-user-bounces+ursus.kirk=ziggo...@gnu.org [mailto:lilypond-
 user-bounces+ursus.kirk=ziggo...@gnu.org] On Behalf Of Erik Appeldoorn
 Sent: vrijdag 30 oktober 2009 11:45
 To: '-Eluze'
 Cc: lilypond-user@gnu.org
 Subject: RE: bracket and staff names
 
 Eluze
 Thanks for the explanation, but solving one problem creates a new one.
 
 The names of the staves now are correct. But the lyrics belonging to the
 notes are completely misplaced. Lyrics of voices now get collected all in
 one go below the bass staff.
 
 More to learn I guess. Here is how it is looking now.
 
 
 \score {
 
 \new ChoirStaff
 
 
   \new Staff = Sopraan {
   \set Staff.instrumentName = #Sopraan
   \sop
   }
 



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


Scheme code snippet: lyric newlines/paragraphs

2009-10-30 Thread Chris Angelico
Peer review requested!

I've added a snippet to LSR, showcasing my absolute brilliance in
coding Scheme (hey, it's the first thing I've ever done in the
language - gimme a break!!), to solve a problem between vanBasco's
Karaoke Player for Windows, and the printed score. Am I going about
things entirely wrong, and is there a really really easy solution to
the problem?

Snippet is here: http://lsr.dsi.unimi.it/LSR/Item?u=1id=644

ChrisA


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


Re: Inline score inside markup - bugs in music alignment

2009-10-30 Thread David Kastrup
Jiri Zurek (Prague) zu...@ics.cas.cz writes:

 Dear David,
 thank you for your valuable opinion but, in my case, the text needs to
 be justified and the music inside markuplines should wrap along the
 lines of the surrounding text. I am using it for a musicological
 apparatus accompanying the piece and if the systems of the piece and
 other texts of the book are well justified, it makes no sense to
 interrupt the flow with ragged-right apparatus. Imagine, this book
 will have several hundred pages and hundreds of small musical pieces -
 liturgical antiphones, each accompanied by the apparatus. It must be
 justified.

 I still hope there is a solution for my problem,

I recommend magic.  At some point of time reality has to intrude.  If
there is no way to find an arrangement meeting all requirements by hand,
the computer can do no better.

 Now, that thanks to Neil we have the score block inside markuplines
 breakable, the function should be simply disabled. The music would
 start at the same line with the text and when the end of line is
 reached, it would simply break to another one. Any help appreciated.

I happen to be the author of a LaTeX style file that typesets footnotes,
and tries merging several footnotes into one line automagically where
appropriate (TM).  Getting to the point where thousands of pages would
be cranked out with footnotes of wildly varying size (single words to
dozens of pages) _one_ algorithm without pages that would look better
when done manually was quite some hard work.

It involved a lot of fine-tuning and a solid bunch of fuzzy logic.
Applying some of this to the context of scores, you would not want to
have a _multi-line_ excerpt broken across lines.  And not have one
five-line excerpt end at the start of a line, have a few words of text,
and the next excerpt start in the same line.  And don't break a score
excerpt if you don't save some space.  And so forth and so on.

Justifying text deals with other stretchabilities as justifying music.
They don't match very well.

There is no simple solution for your problem that would yield
satisfactory output.

-- 
David Kastrup



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


Re: Inline score inside markup - bugs in music alignment

2009-10-30 Thread Werner LEMBERG

 I happen to be the author of a LaTeX style file that typesets
 footnotes, [...]

BTW, it is called `bigfoot', and is one of the most ingenious LaTeX
packages IMHO.


   Werner


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


Re: Inline score inside markup - bugs in music alignment

2009-10-30 Thread David Kastrup
Werner LEMBERG w...@gnu.org writes:

 I happen to be the author of a LaTeX style file that typesets
 footnotes, [...]

 BTW, it is called `bigfoot', and is one of the most ingenious LaTeX
 packages IMHO.

Its documentation is lousy.

-- 
David Kastrup



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


RE: bracket and staff names

2009-10-30 Thread -Eluze


Erik Appeldoorn wrote:
 
 Thanks again all. I found the problem
 
 \new Staff = Sopraan {
   \set Staff.instrumentName = #Sopraan
   \sop
   }
 
 Should be
 
 \new Staff = Sopraan 
   \set Staff.instrumentName = #Sopraan
   \sop
   
 
 And all looks well now. 
 
this highly depends on what you have written in \sop!
-- 
View this message in context: 
http://old.nabble.com/bracket-and-staff-names-tp26126880p26129284.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Inline score inside markup - bugs in music alignment

2009-10-30 Thread Jiri Zurek (Prague)


David Kastrup wrote:
 
 I recommend magic.  At some point of time reality has to intrude.  If
 there is no way to find an arrangement meeting all requirements by hand,
 the computer can do no better.
 
I do not think I am trying to do something magical. Although I have to admit
with great respect to the creators of Lilypond that the software is capable
of doing magic things. My deepest reverence towards the authors of Lilypond.
Nevertheless, I have still good hope that there might be an able scheme
coder who could find the function making the score to jump to the start of a
new line when it is a longer excerpt and disable it for me. I am so sorry
that I did not study computer science so that I would understand scheme
coding, but to my greatest misfortune it is above my capabiblities. I am
alone to be blamed for this, but this is the reason that I am looking for
someone to help.


David Kastrup wrote:
 
 I happen to be the author of a LaTeX style file that typesets footnotes,
 
This is EXCELLENT. Do you know that 
http://www.mail-archive.com/bug-lilyp...@gnu.org/msg13795.html I offered
sponsorship  for someone who would built footnotes into the Lilypond? THere
was even a rich man who promissed to make a double match for footnotes to be
programmed. I would be most delighted if you took up the challenge! Of
course, complete markup and score (breakable at any point) and freely
mixable with the text should be native to lilypond footnotes.


David Kastrup wrote:
 
 Applying some of this to the context of scores, you would not want to
 have a _multi-line_ excerpt broken across lines.  And not have one
 five-line excerpt end at the start of a line, have a few words of text,
 and the next excerpt start in the same line.  And don't break a score
 excerpt if you don't save some space.  And so forth and so on.
 
Why do you think I would not like that? I am aiming exactly at that. For me
it would be beneficial, if music would finish at the start of a line, then
few words of a text, and then new excerpt starting - better than when the
new exceprt starts a new line, disturbing the justified half-empty line
above. This is exacly my goal: making from the music and the text something
like one uninterrupted flow which would go from one line to another. If this
function is built into Lilypond for a single line, if we have multi-line
markuplines, if we now have multi-line score inside it, then it should be
minimum effort to make it function for more than one line. We are almost
there, it is enough - in my humble opinion - to disable the function which
instructs the longer score to start a new line. If you wish, I am offering
sponsorhip for this function. Again, help is appreciated and just ask for
reward if it is not a trivial task. Although I am not really rich man, I
would try hard to meet your requirements.


David Kastrup wrote:
 
 Justifying text deals with other stretchabilities as justifying music.
 They don't match very well.
 
This is not quite true. For a single line, the stretchability works
extremely well (see the appended example). Why should it not work for more
than one line?

With the best wishes and best hopes,
Jiri Zurek

%begin lilypond example
\version 2.12.2 
\markuplines {
  \justified-lines {
  1st manuscript variant:   
  \vcenter
  \score {

  \new Voice = cantus { \clef G_8 f g c'( d') e' }
  \new Lyrics \lyricsto cantus { A -- ve, ve -- rum }

 \layout { indent = 0.0\cm 
  \context {
\Staff
\override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) 
fontSize = #-7
\override StaffSymbol #'staff-space = #(magstep -7)
\override StaffSymbol #'thickness = #(magstep -7)
  }
  \context {
\Lyrics
\override LyricText #'font-size = #-4
\override VerticalAxisGroup #'minimum-Y-extent = #'(-0 . 0)
  }
 }
  }
  
and so on; consider 2nd manuscript variant: 
  
  \vcenter
  \score { 
  
  \new Voice = cant { \clef G_8 f4 a4 c' (d') }
  \new Lyrics \lyricsto cant { A -- ve, -- ve. }
  
\layout { indent = 0.0\cm
  \context {
\Staff
\override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) 
fontSize = #-7
\override StaffSymbol #'staff-space = #(magstep -7)
\override StaffSymbol #'thickness = #(magstep -7)
  }
  \context {
  \Lyrics
  \override LyricText #'font-size = #-4
  \override VerticalAxisGroup #'minimum-Y-extent = #'(-0 . 0)
 }
}
  }
and so on... no problem with short excerpts. They are perfectly inline,
music and the text.  
  }
}
%end lilypond example


http://old.nabble.com/file/p26129806/Komentar_s_notama_vice.pdf
Komentar_s_notama_vice.pdf 
-- 
View this message in context: 
http://old.nabble.com/Inline-score-inside-markup---bugs-in-music-alignment-tp26111727p26129806.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user 

Re: Inline score inside markup - bugs in music alignment

2009-10-30 Thread David Kastrup
Jiri Zurek (Prague) zu...@ics.cas.cz writes:

 David Kastrup wrote:
 
 I happen to be the author of a LaTeX style file that typesets
 footnotes,
 
 This is EXCELLENT. Do you know that
 http://www.mail-archive.com/bug-lilyp...@gnu.org/msg13795.html I
 offered sponsorship for someone who would built footnotes into the
 Lilypond? THere was even a rich man who promissed to make a double
 match for footnotes to be programmed. I would be most delighted if you
 took up the challenge! Of course, complete markup and score (breakable
 at any point) and freely mixable with the text should be native to
 lilypond footnotes.

Different problem space.  LaTeX can already do footnotes.  It just has a
number of deficiencies that become particularly glaring once you juggle
with multiple layers and when footnotes start breaking across pages.  In
that case, TeX basically disables all its mechanisms for choosing
aesthetically pleasing page breaks.

The Lilypond challenge is not doing footnotes well.  It is doing them at
all.

 Applying some of this to the context of scores, you would not want to
 have a _multi-line_ excerpt broken across lines.  And not have one
 five-line excerpt end at the start of a line, have a few words of
 text, and the next excerpt start in the same line.  And don't break a
 score excerpt if you don't save some space.  And so forth and so on.
 
 Why do you think I would not like that?

Because I have run through literally years of ok, formally this meets
the specs, but it looks ugly.  If somebody did that manually, he'd do
this differently.  Make this look better somehow or we won't be able to
get this printed.

You are in the phase of handing out the specs.  Been there, done that,
sweated through a lot of T-shirts.

 I am aiming exactly at that.

I have no doubts.  At the current point of time, I think that you'll be
better served by others.

-- 
David Kastrup



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


tempter

2009-10-30 Thread Erik Appeldoorn
Can I tempt anyone?

 

After learning on one voice only pieces, I have now finished my first
multi-voice / multi-file piece.

The resulting pdf looks fine but I'm open to feedback. Would anyone be
tempted to give it the once over and give that feedback?

 

Some info on the project:

For my choir I'm restoring a piece once performed in 1892.

The score has only survived in bits and pieces which I'm attempting to put
together again.

With lylipond I have started with part 4. choir SATB and organ. Choir 44
bars text and notes. Organ notes completely missing at this point.

Project has 8 files. SATB, organ RH and LH, a style file to replace the time
signature and the main file that binds it all together.

 

Hou je goed / Keep well,

 

Erik

 

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


Re: tempter

2009-10-30 Thread Valentin Villenave
On Fri, Oct 30, 2009 at 4:00 PM, Erik Appeldoorn ursus.k...@ziggo.nl wrote:
 The resulting pdf looks fine but I’m open to feedback. Would anyone be
 tempted to give it the once over and give that feedback?

I'm not sure what you mean by that; I can have a look at your code if
you send me the .ly files. (I'm not an expert but I've been using
LilyPond quite a lot.)

Regards,
Valentin


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


Re: centering rests

2009-10-30 Thread Bertalan Fodor

But in 4/4 with partial? I don't have access to lily now but i think i saw that 
failing.

  Original message  
From: Mats Bengtsson mats.bengts...@ee.kth.se
Sent: 30 Oct 2009 10:00 +01:00
To: Bertalan Fodor lilypondt...@organum.hu
Cc: Erik Appeldoorn ursus.k...@ziggo.nl,  lilypond-user@gnu.org
Subject: Re: centering rests



Bertalan Fodor wrote:
 I think that's a bug as R2 is not centered.
   
??? An R2 is certainly centered within the measure if you have 2/4 time:


  \new Staff \relative c'{ \time 2/4 c8 d e f }
  \new Staff {R2 }
 

However, as was pointed out by Kieren, a half note rest in the beginning 
of a 4/4 measure should be left aligned with the first note of the 
measure, not centered in the first half of the measure, according to 
common typesetting practice.

/Mats

   Original message  
 From: Erik Appeldoorn ursus.k...@ziggo.nl
 Sent: 29 Oct 2009 18:39 +01:00
 To: 'Kieren MacMillan' kieren_macmil...@sympatico.ca
 Cc:  lilypond-user@gnu.org
 Subject: RE: centering rests

 You are quite right, and I have never even bothered to check. Although I
 have a quite substantial library and am over 25 years active with music.

 Erik

   
 -Original Message-
 From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca]
 Sent: donderdag 29 oktober 2009 18:29
 To: Erik Appeldoorn
 Cc: lilypond-user@gnu.org
 Subject: Re: centering rests

 Hi Erik,
 
 when I want to use r2 at the start (or R2) of the bar it looks
 awfull. So how do I align these rests centered?

   
 If you mean that you want the (e.g.) half-note rest to be mid-way
 through the first half of the measure, rather than left-aligned at
 the first beat, then... you don't/shouldn't.

 In standard music engraving practice, the full-measure rest is the
 *only* one that is centered in its [horizontal] duration-space - all
 other rests are placed at the position where they first happen in the
 flow of time, just like their sounding-note equivalent(s).

 Hope this helps!
 Kieren.=
 



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





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

-- 
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=






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


Lilypond Editing Environments and output file names

2009-10-30 Thread Ian Hulin
This is a heads up for those like Bert and Wilbert who write editing 
support environments for Lilypond.


I currently have a patch in for review which will allow Lily to redirect 
the backend output to another file for particular \book blocks. 
Currently you do this by setting environment variables like output-suffix.


I've noticed that LilypondTool and Frescobaldi can get fooled using 
their internal pdf viewers about where the successfully compiled output is.


I wonder if you editor guys can take an enhancement to make your PDF 
viewers sensitive to the code writing the final format to a different 
file name?


Tracker no is 836, Patch code is at 
http://codereview.appspot.com/143055/show if you want to see what's there.


Hope this helps you to keep your Lilypond layered projects ready for 
2.14.  (If my patch gets through, that is).


Cheers,
Ian


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


Re: Inline score inside markup - bugs in music alignment

2009-10-30 Thread Patrick Horgan

Jiri Zurek (Prague) wrote:

...elision by Patrick ... I am so sorry
that I did not study computer science so that I would understand scheme
coding, but to my greatest misfortune it is above my capabiblities. I am
alone to be blamed for this, but this is the reason that I am looking for
someone to help.
  
Don't feel bad.  I have a Masters in Computer Science and I don't 
understand Scheme at all in spite of having an AI class that used Scheme 
about a million years ago.


Patrick



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


Re: Inline score inside markup - bugs in music alignment

2009-10-30 Thread Graham Percival
On Fri, Oct 30, 2009 at 7:55 PM, Patrick Horgan phorg...@yahoo.com wrote:
 Jiri Zurek (Prague) wrote:

 I am so sorry
 that I did not study computer science so that I would understand scheme
 coding, but to my greatest misfortune it is above my capabiblities.

 Don't feel bad.  I have a Masters in Computer Science and I don't understand
 Scheme at all in spite of having an AI class that used Scheme about a
 million years ago.

sarcasm
Yes, don't feel bad.  Despite speaking, reading, and writing a
language (English) for over 20 years, I can't understand a single
sentence of Turkish.
/sarcasm

Scheme is not hard to learn if you want to learn it.  If you make no
attempt to learn it, then you obviously won't understand it!  We have
contributers writing scheme who haven't taken a single CS class, let
alone getting a degree in the subject.  I have no problem with Jiri's
initial request for help, but don't claim that scheme is hard to
learn.

Cheers,
- Graham


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


Re: Inline score inside markup - bugs in music alignment

2009-10-30 Thread Patrick Horgan




Graham Percival wrote:

  On Fri, Oct 30, 2009 at 7:55 PM, Patrick Horgan phorg...@yahoo.com wrote:
  
  
Don't feel bad. I have a Masters in Computer Science and I don't understand
Scheme at all in spite of having an AI class that used Scheme about a
million years ago.

  
  
sarcasm
Yes, don't feel bad.  Despite speaking, reading, and writing a
language (English) for over 20 years, I can't understand a single
sentence of Turkish.
/sarcasm

Scheme is not hard to learn if you want to learn it.  If you make no
attempt to learn it, then you obviously won't understand it!  We have
contributers writing scheme who haven't taken a single CS class, let
alone getting a degree in the subject.  I have no problem with Jiri's
initial request for help, but don't claim that scheme is hard to
learn.
  

Now Graham, you know I never once claimed it was hard to learn.

Best regards,

Patrick





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


Re: new website, alternate input: Frescobaldi information

2009-10-30 Thread Graham Percival
Thanks, added.  I'd rather keep the links, for added readability
in (espeically printed) pdf docs.

Cheers,
- Graham

On Tue, Oct 27, 2009 at 03:50:09PM +0100, Wilbert Berendsen wrote:
 Hi,
 
 at http://kainhofer.com/~lilypond/Documentation/Alternate-input.html the 
 Frescobaldi description is missing a link to its homepage: www.frescobaldi.org
 (and the image is not linked to its larger version[1]).
 
 Maybe it's best to just make the first word (Frescobaldi) of the 
 description 
 clickable or add a sentence like Frescobaldi's homepage can be found at 
 www.frescobaldi.org.
 
 [1] available at http://www.xs4all.nl/~wbsoft/files/frescobaldi-lilypond-
 editor.png
 
 best,
 Wilbert Berendsen
 
 -- 
 Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/
 Nederlands LilyPond forum: http://www.lilypondforum.nl/
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: Lilypond Editing Environments and output file names

2009-10-30 Thread Wilbert Berendsen
Op vrijdag 30 oktober 2009 schreef Ian:

 I've noticed that LilypondTool and Frescobaldi can get fooled using 
 their internal pdf viewers about where the successfully compiled output is.
 
 I wonder if you editor guys can take an enhancement to make your PDF 
 viewers sensitive to the code writing the final format to a different 
 file name?

It is no problem to implement, Frescobaldi will probably implement support for 
this as soon as it reaches stable LilyPond and is documented.

Currently Frescobaldi looks for files with the same basename and globs for 
possible suffixes.

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/
Nederlands LilyPond forum: http://www.lilypondforum.nl/


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


Re: website so close, and yet so far

2009-10-30 Thread Graham Percival
On Tue, Oct 27, 2009 at 12:01:24PM +0100, Federico Bruni wrote:
 Unfortunately, I haven't figured out how to add the tweaks suggested by 
 Graham.
 So if someone else is able to do it, he's free to emprove the (attached) 
 file (read the TODO section in the beginning).

Ok, well, I give up.  I've added this as it is.

I suppose that even with the collisions and whatnot, it still
looks more impressive than the current example.  It would be nice
if somebody could spend 10 minutes tweaking it, but I guess we
take what we can get.

- Graham


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


website Features page

2009-10-30 Thread Graham Percival
On Thu, Oct 29, 2009 at 05:44:16PM -0300, Leonardo Herrera wrote:
 Well, I offer my help as web monkey. I don't have time for big
 commitments, but little things (small rendering errors, missing links,
 etc.) I can do.

Great!  Let's tackle the Features page first:
http://kainhofer.com/~lilypond/Documentation/Features.html

Could you check/compare the three old links with the current page.
Have we missed any important info?  If it looks ok to you, I'll
declare this page done, remove the old links, etc.

Cheers,
- Graham


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


X/Y offset tweak...

2009-10-30 Thread Alberto Simões
Hello

Any easier/compacter way to do

  d8 -\tweak #'X-offset #-6 -\tweak #'Y-offset #-2 -\mf

Thanks :)
ALberto

Alberto Simões


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


Re: Harmonica tablature notation

2009-10-30 Thread Trevor Daniels


bradford powell wrote Sunday, October 25, 2009 2:32 AM

I would appreciate any comments. One area in particular that I 
have
questions about is cleaning up the case statement that converts 
pitch
to markup-- specifically in that I am weirdly interspersing 
lilypond

syntax (with the '(markup #:flat #:flat #:circle 2)'-type
statements). I would prefer to have a function like for blow and 
for
draw that can incorporate parameters for the hole and the number 
of

bends. I've tried:

#(define draw hole bends) (markup (make-list-markup (append (list
#:simple) (make-list bends #:flat) (list hole)

This doesn't work, any suggestions?


This is not very elegant and not very Scheme-like,
but I think it works.  I'm sure someone can show us
how to code a tail-recursive version of this.

#(define (draw hole nbends)
 (define bend-glyphs )
 (while
   ( nbends 0)
   (set! bend-glyphs (markup #:flat bend-glyphs))
   (set! nbends (1- nbends)))
 (markup bend-glyphs #:circle hole))

Call with ((1) (draw 4 1 )) etc in your
case statement.

BTW, thanks for your example showing how to use
\applyMusic - it helped me with a similar problem.

Trevor



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


tempo mark in large score for each group

2009-10-30 Thread Jay Hamilton
I just checked Honegger's score for Jeanne d'Arc and tempo marks are above the 
top staff and then below for the strings.  I've looked in the manual 2.12 and 
snippets and I don't see a way to do this.
I tried setting it for the top instrument in each group and that did not work.
Thanks


Yours-
Jay

Jay Hamilton
www.soundand.com
206-328-7694


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


Re: tempo mark in large score for each group

2009-10-30 Thread Kieren MacMillan

Hi Jay,

I just checked Honegger's score for Jeanne d'Arc and tempo marks  
are above the top staff and then below for the strings.  I've  
looked in the manual 2.12 and snippets and I don't see a way to do  
this.
I tried setting it for the top instrument in each group and that  
did not work.


What about creating a custom RehearsalMarks context, and then adding  
it to your score at the bottom?

It would only have to \consist of a couple of engravers...

Hope this helps!
Kieren.


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