Documentation, Was: convert-ly problem

2005-08-01 Thread Mats Bengtsson



Han-Wen Nienhuys wrote:

Changing fonts has become so much easier. See

  http://pegasus.rutgers.edu/~elflord/unix/latex/no-bs.html

for what it takes to put a Type1 font into LaTeX (let alone into 
LilyPond) and compare it to  dropping the .pfa into ~/.fonts and doing


 #(define fonts
   (make-pango-font-tree
"Times New Roman" "Helvetica" "Courier"
(/ myStaffSize 20)))


This could certainly be considered "much easier" if it had been
documented in the manual, but it's not even mentioned there, so I would
rather consider it completely impossible for an ordinary user.
OK, after some searching, I found an example in the NEWS file for 2.6
and in the Regression Tests, but still no clear explanation of what
this Scheme code does.

I would claim that no feature can be considered implemented and
available unless it is documented in the manual. Even though Graham has
the main responsibility for the documentation, all the documentation
burden cannot be put on him. Especially, for sponsored features, I
would never pay such a feature unless the resulting documentation was of
the same quality as the implementation. For the pitched trills, for
example, I was very surprised to see that there is no link from
"6.5.5 Running trills" to the new section "8.4.6 Pitched trills"
and that there is no entry in the Index.

   /Mats


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


Re: title page for \book

2005-08-01 Thread Mats Bengtsson

One reason to skip the \book was brought up in
http://lists.gnu.org/archive/html/lilypond-user/2005-06/msg00060.html
namely that you cannot define identifiers within a \book{...}.

   /Mats

Graham Percival wrote:


On 30-Jul-05, at 1:25 PM, Mats Bengtsson wrote:


Do you have any particular reason to use \book{...}?
I don't have a running LilyPond available for the moment, but as
far as I recall, you should get exactly the same result even if you
remove the \book{...}.



As far as I know, if you have multiple toplevel music or markup
expressions, lilypond automatically makes them into a book.

Assuming that is correct, then I suppose that there's no particular
benefit to explicitly declaring
\book{
  \markup{}
  \score{}
  \score{}
}

instead of
\markup{}
\score{}
\score{}

... but then again, I can't see any disadvantage to explicitly declaring
\book.

Cheers,
- Graham



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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


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


Re: time signature above staff AND Notes instead of numbers

2005-08-01 Thread Mats Bengtsson

Just use text markup to typeset whatever you want above the staff.
For example, something like
\score{
  { \mark \markup{ \number 3 \large / \small \note #"4" #1 }
  \time 3/4 \override Staff.TimeSignature #'transparent = ##t
  c d e  }
}
see the section on "Text" in "Advanced Notation" for more information.

For the original question, the same idea can be used. An alternative
could be to just move the ordinary time signature using
\override Staff.TimeSignature #'extra-offset = #'(0 . 5)

   /Mats


Mehmet Okonsar wrote:
- Original Message - 
From: <[EMAIL PROTECTED]>

To: 
Sent: Thursday, July 28, 2005 6:36 AM
Subject: lilypond-user Digest, Vol 32, Issue 52


Also can we have notes (ex. a quarter or a eight note ..) as a denominator.
Like 3 / {here a quarter note} all put above the staff?



Message: 9
Date: Wed, 27 Jul 2005 23:05:50 -0400
From: Bec and John <[EMAIL PROTECTED]>
Subject: time signature above staff
To: "lilypond-user@gnu.org list" 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hi,

I was wondering if it's possible with Lilypond to put the time  
signature above the staff? Thanks.


- John




--




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


Re: title page for \book

2005-08-01 Thread Graham Percival


On 1-Aug-05, at 1:40 AM, Nicolas Sceaux wrote:


This is exactly the kind of comment that I wished when I posted my
example, thanks! (but then, instead of stacks of \hspace #1, why don't
you write \hspace #5 for instance?)


In this:
\markup { \column{
\hspace #1
\hspace #1
foo
}}

there are three entries in the \column, so foo is three lines down.  In 
this:

\markup { \column{
\hspace #15
foo
}

there are two entires in the \column, so foo is two lines down.  There's
a 15-unit blank horizontal space in the line above foo, but that doens't
change the vertical placement of foo.

(recall that hspace is horizontal space; there's no vspace)
- Graham



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


Re: LilyPond uses sans-serif font after 2.6 upgrade

2005-08-01 Thread Mats Bengtsson



Han-Wen Nienhuys wrote:

Graham Percival wrote:

Hrm?  I'm missing something here... I'm still manually doing
# ln -s ~/usr/pkg/lilypond/share/lilypond//fonts/type1 ~/.fonts

is there a way to avoid having to update this every time?



this should no longer necessary, if both fontconfig and pango are 
dynamically linked to Lily


When I had the same problem here, the culprit was that I had a too old
version of fontconfig.

   /Mats


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


Re: lilypond-book and DIN A4 ?!?

2005-08-01 Thread Mats Bengtsson

As has been stated before: As long as you don't specify
the line width (or paper size) within the actual .ly code,
there should be no need to use this workaround.

   /Mats

Martin Brodbeck wrote:

Graham Percival schrieb:


Known issue; please search the lilypond-user and bug-lilypond
mailist archives for discussion and workarounds.
(it was probably discussed on lilypond-devel as well)



After a third watch at lilypond-user I found a workaround:
"\newcommand{\betweenLilyPondSystem}[1]{\linebreak}" in the preamble of 
the LaTeX document fixes the issue.


Thanks,
Martin


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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


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


Re: title page for \book

2005-08-01 Thread Nicolas Sceaux
Graham Percival <[EMAIL PROTECTED]> writes:

>>\column { " " " " " " " " " "
>
> I'm using
> \hspace #1
> instead of
> " "
> since there's no guarantee that lilypond will treat " " in the same
> way in the
> future -- I think that \hspace is a bit more reliable with regards to
> future
> syntax/behavior changes.

This is exactly the kind of comment that I wished when I posted my
example, thanks! (but then, instead of stacks of \hspace #1, why don't
you write \hspace #5 for instance?)

nicolas



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


Re: Gracenote spacing in 2.7

2005-08-01 Thread Mats Bengtsson

I'd recommend to keep discussion on the latest development
version 2.7 in the lilypond-devel mailing list in order to reach
the relevant readers and not confuse ordinary users who stick to
the stable versions.

   /Mats

Sven Axelsson wrote:

Since the Windows stand alone version of Lilypond 2.7.3 just appeared, I
decided to try it out. I use lilypond to write Scottish bagpipe music, and
that uses lots of complex grace notes. In version 2.7 the grace notes are
spaced wider apart than before. I don't like that - how can I change the
defaults to get the old spacing back?

Here is an example of what it looks like:
http://svenax.net/files/2.6.png
http://svenax.net/files/2.7.png



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


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


afterGrace with a slur?

2005-08-01 Thread Bodo
 
Hi,

I want to add two grace notes that are sung on the same syllable as the
preceding note and are connected with a slur to the preceding note. I have
attached a small image that shows what I want to do.

So far I have only found \afterGrace to come close to what I want, but it
doesn't allow me to connect the grace notes with a slur. All my experiments
with using parentheses so far have produced errors.

\acciaccatura and \appoggiatura provide a slur, but only for grace notes
before the slurred-to note, not after.

Any ideas?

 Bodo


gracenoteAfterWithSlur.png
Description: PNG image
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Gracenote spacing in 2.7

2005-08-01 Thread Han-Wen Nienhuys

Sven Axelsson wrote:

Since the Windows stand alone version of Lilypond 2.7.3 just appeared, I
decided to try it out. I use lilypond to write Scottish bagpipe music, and
that uses lots of complex grace notes. In version 2.7 the grace notes are
spaced wider apart than before. I don't like that - how can I change the
defaults to get the old spacing back?

Here is an example of what it looks like:
http://svenax.net/files/2.6.png
http://svenax.net/files/2.7.png



I think this is a bug,  related to the recent rewrites.;  I did some 
more fixes for the spacing, can you bug me if the next 2.7 release 
doesn't fix the problem?


--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: New score, middle of the line?

2005-08-01 Thread Han-Wen Nienhuys

Trevor Baca wrote:

What's the right way to start a new score in the middle of a line?



There isn't right now. The proper solution would be insert a routine
before the page-breaking that tries to fold together fragments that fit 
together on a single line.  I can consider it for your sponsored feature 
list as well, if you like.


--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


french characters in headers

2005-08-01 Thread Jean-marc LEGRAND




Hi list !

Ah... it's been a long long time since I haven't been writting in this list !
As I've directly jumped from 2.2 to 2.6, I have some little pb to solve. Maybe 
the answer is
somewhere already, but I can't find it.

Still using XP (...) and lily 2.6.

I'm using accented characters (like é, û, and è) in my header, and Lily doesn't 
translate them. I
must be a LateX pb, but I can't make it right...

Any help, please ?



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


Re: Instrument Name Spacing

2005-08-01 Thread Mats Bengtsson



dax2 wrote:

I cannot get something like

  \set Staff.instrument = "Violoncello-baroque-longissimo"

to print at all with 2.5.23. It prints with 2.4.5 but the length
of lines are cut on the right margin, and the long-long-name is
still cut on the left side. 


One possible solution is to split the name into several lines,
see the example called "coriolan-margin.ly" in the Tips and Tricks
document.

   /Mats


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


RE: lilypond-book and DIN A4 ?!?

2005-08-01 Thread Georg Dummer
This is my newest achievement:

\newcommand{\preLilyPondExample}{\begin{flushright}}
\newcommand{\betweenLilyPondSystem}[1]{\hfill} % maybe not needed   
\newcommand{\postLilyPondExample}{\end{flushright}} 

This also gives acceptable results if you have set the instrument name. In
this case the first system (eps-picture) normaly has a different width than
the onthers.

Georg

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Mats Bengtsson
Sent: Monday, August 01, 2005 10:01 AM
To: Martin Brodbeck
Cc: lilypond-user@gnu.org
Subject: Re: lilypond-book and DIN A4 ?!?

As has been stated before: As long as you don't specify the line width (or
paper size) within the actual .ly code, there should be no need to use this
workaround.

/Mats

Martin Brodbeck wrote:
> Graham Percival schrieb:
> 
>> Known issue; please search the lilypond-user and bug-lilypond mailist 
>> archives for discussion and workarounds.
>> (it was probably discussed on lilypond-devel as well)
> 
> 
> After a third watch at lilypond-user I found a workaround:
> "\newcommand{\betweenLilyPondSystem}[1]{\linebreak}" in the preamble 
> of the LaTeX document fixes the issue.
> 
> Thanks,
> Martin
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
 Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


___
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: the accent symbol

2005-08-01 Thread Robert T Wyatt

Bruce,

Thanks for the reply.

To everyone,

I am thoroughly shocked to discover that the term referred to was 
"moreable" which seems to be completely made up.


It is used by certain programmers to indicate a field for data entry 
that can be "opened" for more information. So the field may contain a 
symbol like a + when there is no extra data, but the field would contain 
a > to indicate that there is more data.


The field is thus a 'moreable' field and can open a 'moreable' window. 
Turns out they have gone so far as to include instructions to "... space 
over the moreable..." to open the pop-up window.


Now, I must admit that this is more concise than saying "... place a 
space character over the greater than sign..." but really!


For what it's worth, the programmers are using 'Natural' a programming 
language developed by Software AG (a German company). It is possible 
(but I don't know how likely) that the term originated here.


Thanks for your time,

Robert


Fairchild wrote:

Robert -

Maybe you are searching for "marcato" (Italian) or "marcado" (Spanish)

See http://www.dolmetsch.com/musictheory21.htm#accent
http://www.music.indiana.edu/som/courses/rhythm/illustrations/accent.html
http://en.wikipedia.org/wiki/Accent_%28music%29 
http://en.wikipedia.org/wiki/Marcato


   - Bruce




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


Re: non-metrum music

2005-08-01 Thread Kris Shaffer

Try using

\set Score.timing = ##f

inside the \score block.

Kris Shaffer


On Sat, 30 Jul 2005 08:08:03 -0400, Matevz Jekovec  
<[EMAIL PROTECTED]> wrote:



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What's the easiest way of writing non-metrum music in LilyPond (like
chorals). What I want is to hide the time signature symbol and to
manually place any barlines if there are any.


Regards.
- - Matevž
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC622jm1IQqmP8KVgRAkbxAJ0Xt9h5y2rfoQBx1QRZqaKyJEWpdgCfU2Mh
7Jn2KHxhYy/Pfu5wNvIpFws=
=7zCX
-END PGP SIGNATURE-


___
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: New score, middle of the line?

2005-08-01 Thread Trevor Baca
On 8/1/05, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
> Trevor Baca wrote:
> > What's the right way to start a new score in the middle of a line?
> >
> 
> There isn't right now. The proper solution would be insert a routine
> before the page-breaking that tries to fold together fragments that fit
> together on a single line.  I can consider it for your sponsored feature
> list as well, if you like.

Thanks for the response. I think I'll stick with Lily's defaults for
now as the attempts to get the chorales working were just to push
Lily's page layout capabilities (and printing each new small chorale
score to a separate line is an acceptable work-around!).

Trevor.


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


Re: non-metrum music

2005-08-01 Thread Mats Bengtsson

Note that LilyPond will only consider breaking score lines where there
is a bar line. So, if your manually inserted bar lines are very rare,
then you may have to insert some extra invisible bar lines, \bar "",
to allow for line breaks. One alternative to Kris' answer is to set
all default bar lines invisible:
\set Timing.defaultBarType = ""
If you further want to allow for line breaks anywhere, then you can
also set Timing.barAlways, as shown in the example called
"bar-always.ly" in the Tips and Tricks document.

   /Mats

Kris Shaffer wrote:

Try using

\set Score.timing = ##f

inside the \score block.

Kris Shaffer


On Sat, 30 Jul 2005 08:08:03 -0400, Matevz Jekovec  
<[EMAIL PROTECTED]> wrote:



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What's the easiest way of writing non-metrum music in LilyPond (like
chorals). What I want is to hide the time signature symbol and to
manually place any barlines if there are any.


Regards.
- - Matevž
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC622jm1IQqmP8KVgRAkbxAJ0Xt9h5y2rfoQBx1QRZqaKyJEWpdgCfU2Mh
7Jn2KHxhYy/Pfu5wNvIpFws=
=7zCX
-END PGP SIGNATURE-


___
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
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


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


Re: Update on Signed Trills?

2005-08-01 Thread Mats Bengtsson

The solution you refer to is mostly relevant, even though you should
use the TrillSpanner object and the glyph names have changed from
xxx_yyy to xxx.yyy (which convert-ly should update correctly). The
following is the example of running trills from the manual, modified
to provide the two layouts you ask for. (It's possible to tweak this
example to get even nicer layout.)

\version "2.6.0"

\relative c''
{
\new Voice {
  \override TrillSpanner #'edge-text = #(cons (markup #:center-align 
(#:musicglyph "scripts.trill" #:sharp)) "")

  << { c1 \startTrillSpan }
 { s2. \grace { d16[\stopTrillSpan e] } } >>
  \override TrillSpanner #'edge-text = #(cons (markup #:line 
(#:musicglyph "scripts.trill" #:small #:sharp)) "")

  << { c1 \startTrillSpan }
 { s2. \grace { d16[\stopTrillSpan e] } } >>
  c4 }
}

However, the first measure illustrates a bug/limitation, namely that
the trill line is typeset centered on the edge-text and I cannot
find any way to move it down so it is aligned with the "tr" symbol.

/Mats

Will Oram wrote:
There are two kinds of signed trills: ones with tiny accidentals on the 
side and those with ones on top. (At least, those are the trills I work 
with...contemporary trill fun is discounted.) It's a tedious process to 
find good parameter values to properly position and size these 
accidentals. Furthermore, because I have to treat 'tr' as a glyph 
instead of \trill, markup padding is applied. This leaves you with a 
trill sign sitting higher up than the signs around it.


Anyone have good code to achieve both these? The last time this question 
was posed was one year ago (and by someone else), and a lot has changed, 
so I'm bringing it up again. See 
http://lists.gnu.org/archive/html/lilypond-user/2004-06/msg00118.html .


PS...at last, a job interview; Han-Wen and Jan might get donation funds 
from me yet! ;)


Best,
Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu




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


Re: french characters in headers

2005-08-01 Thread Mats Bengtsson



Jean-marc LEGRAND wrote:




Hi list !

Ah... it's been a long long time since I haven't been writting in this list !
As I've directly jumped from 2.2 to 2.6, I have some little pb to solve. Maybe 
the answer is
somewhere already, but I can't find it.

Still using XP (...) and lily 2.6.

I'm using accented characters (like é, û, and è) in my header, and Lily doesn't 
translate them. I
must be a LateX pb, but I can't make it right...


The problem is that you directly relate to LaTeX which is no longer
relevant. Please read the NEWS for version 2.6.

   /Mats


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


Re: New score, middle of the line?

2005-08-01 Thread Mats Bengtsson

Actually, there is a solution available. Since it's possible to
include a full score in a Text Markup, I figured it should be
possible to let the .ly file contain a single Text markup, which
in turn contains a line with the two scores. This is what I came
up with, starting from your example:

\version "2.6.0"
\include "english.ly"

firstsoprano = {
\clef treble
\key g \minor
\time 4/4
g'4 fs'4 g'2\fermata \bar "|."
}

firstbass = {
\clef bass
\key g \minor
\time 4/4
c8 a,8 d4 g,2\fermata \bar "|."
}

figs = \figuremode {
<5 6>4 <_+>4 <_>2 |
}

secondsoprano = {
\clef treble
\key bf \major
\time 4/4
\override Score.RehearsalMark #'self-alignment-X = #-1
\mark \markup \bold \fontsize #2 {Wo ist mein Schäflein, das ich liebe}
r4 bf'4 c''4 d''4 | %1
ef''4 g'4 c''4 bf'4 | %2
af'2 g'4 \bar ":" \noBreak ef''8( f''16 g''16) | %3
}

secondbass = {
\clef bass
\key bf \major
\time 4/4
r4 ef4 af4 g8 f8 | %1
g4 c'8( bf8) af4 ef4 | %2
f4 bf,4 ef4 \bar ":" \noBreak c4 | %3
}

\markup{
\score{\new PianoStaff  <<
\new Staff \firstsoprano
\new Staff \firstbass
>>
\layout{raggedright=##t}}
\score{ \new PianoStaff  <<
\new Staff \secondsoprano
\new Staff \secondbass
>>
\layout{raggedright=##t}}
}


Note that this solution only will work when both
pieces are short enough so the both fit onto a single line, I'm
not sure if that's the case for you. If you have several such
short examples, it may be possible to use the \justify text
markup command that has just been introduced in version 2.7.

Note also that I fixed a couple of other things. For example typesetting
the title using \mark with left alignment, see "8.1.3 Text marks"
in the manual.

  /Mats

Trevor Baca wrote:

On 8/1/05, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:


Trevor Baca wrote:


What's the right way to start a new score in the middle of a line?



There isn't right now. The proper solution would be insert a routine
before the page-breaking that tries to fold together fragments that fit
together on a single line.  I can consider it for your sponsored feature
list as well, if you like.



Thanks for the response. I think I'll stick with Lily's defaults for
now as the attempts to get the chorales working were just to push
Lily's page layout capabilities (and printing each new small chorale
score to a separate line is an acceptable work-around!).

Trevor.



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


Re: lilypond-book and DIN A4 ?!?

2005-08-01 Thread Mats Bengtsson

As far as I can see, the \begin{flushright} doesn't solve
anything as long as you let lilypond-book determine the
line width of the scores, since they will be rather too long
then too short (see my email to bug-lilypond a few minutes ago).
However, if you explicitly set the line width of the music
examples to be shorter than the line width of the remaining
LaTeX document, then it makes sense to use something like
what you propose to work around these bugs.

Since you haven't provided any complete example including both
LaTeX and LilyPond code, it's a bit hard to realize exactly
what problems you try to solve.

   /Mats

Georg Dummer wrote:

This is my newest achievement:

\newcommand{\preLilyPondExample}{\begin{flushright}}
\newcommand{\betweenLilyPondSystem}[1]{\hfill} % maybe not needed   
\newcommand{\postLilyPondExample}{\end{flushright}} 


This also gives acceptable results if you have set the instrument name. In
this case the first system (eps-picture) normaly has a different width than
the onthers.

Georg

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Mats Bengtsson
Sent: Monday, August 01, 2005 10:01 AM
To: Martin Brodbeck
Cc: lilypond-user@gnu.org
Subject: Re: lilypond-book and DIN A4 ?!?

As has been stated before: As long as you don't specify the line width (or
paper size) within the actual .ly code, there should be no need to use this
workaround.

/Mats

Martin Brodbeck wrote:


Graham Percival schrieb:


Known issue; please search the lilypond-user and bug-lilypond mailist 
archives for discussion and workarounds.

(it was probably discussed on lilypond-devel as well)



After a third watch at lilypond-user I found a workaround:
"\newcommand{\betweenLilyPondSystem}[1]{\linebreak}" in the preamble 
of the LaTeX document fixes the issue.


Thanks,
Martin


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



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
 Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


___
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
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


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


Re: New score, middle of the line?

2005-08-01 Thread Trevor Baca
On 8/1/05, Mats Bengtsson <[EMAIL PROTECTED]> wrote:

> Actually, there is a solution available. Since it's possible to
> include a full score in a Text Markup, I figured it should be
> possible to let the .ly file contain a single Text markup, which
> in turn contains a line with the two scores. This is what I came
> up with, starting from your example:



Well, that's remarkable ... I had no idea. Thank you.

(Question: when you render the example, does the baseline of the
second score appear a very small fraction of a space *higher* than the
baseline of the first score?)

> Note that this solution only will work when both
> pieces are short enough so the both fit onto a single line, I'm
> not sure if that's the case for you. If you have several such
> short examples, it may be possible to use the \justify text
> markup command that has just been introduced in version 2.7.

Won't work for the chorales (because they're usually a line and a
half, maybe two, long) but will definitely work for laying of tables
of notation in a type of catalog (another project on the side, for
which I've been using \stopStaff and \startStaff very successfully ...
thanks to Hans Forbich for sponsoring the development!)

> Note also that I fixed a couple of other things. For example typesetting
> the title using \mark with left alignment, see "8.1.3 Text marks"
> in the manual.

Yes, much better, as well. Thank you for both solutions!

Trevor.


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


Re: convert-ly problem

2005-08-01 Thread Laura Conrad
> "HN" == Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:

HN> Discussing decisions beforehand is a nice democratic
HN> tradition, but Lily is not a democracy.

Neither is it a one-man development team for a program used by only
one person.

HN> If you disagree with a change, you're welcome to pose
HN> questions, but I am not going to solicit feedback
HN> beforehand. As one of more brilliant math profs explained to
HN> me: "if you have a good idea, just do it.  Getting permission
HN> beforehand is always more trouble than apologizing afterwards"

For the person who isn't using the results of the decision, clearly.

HN> I have the impression that you think that I break stuff just
HN> for the pleasure of it. 

No, but I think you make some changes without thinking about all the
repercussions.  Some of the lousy old stuff you're throwing out might
have been better if it had been discussed first, and I'm not sure you
aren't implementing some lousy new stuff by just doing what occurs to
you instead of discussing the real problems of real users.  

HN> Funny that you should mention this.  I am not convinced that
HN> NCSB is the best font that we have (there is no bold-condensed
HN> version, which is what I want for lyrics), but I recall we
HN> also had several people applauding the move.

I showed a short piece set by both 2.0 and 2.6 to several users of my
work, and some of them thought the new font was a lot more readable
than the old font.  I don't find this true personally, which is why I
think a wide discussion would be good.

>> now I have to deal with "How
>> do I find the start of the note entry given that there's no longer a
>> '\notes' statement?"

HN> Frankly, I don't understand this remark. We just made the \notes mode 
HN> the default, so it is no longer necessary.

But my scripts that add properties at the beginning of the notes use
it to figure out where the notes begin.  

No, I am not saying that you should make all my little scripts that
you've never seen or used absolutely stable.  But you obviously didn't
know that that change was going to impact real users when you made it.

-- 
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ )
(617) 661-8097  fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139




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


Re: convert-ly problem

2005-08-01 Thread Han-Wen Nienhuys

Laura Conrad wrote:

HN> Discussing decisions beforehand is a nice democratic
HN> tradition, but Lily is not a democracy.

Neither is it a one-man development team for a program used by only
one person.


Well, whatever. Most changes are discussed with Jan, FWIW.
(and no, we don't have records of those, and you wouldn't be able to 
follow anyway)



HN> I have the impression that you think that I break stuff just
HN> for the pleasure of it. 


No, but I think you make some changes without thinking about all the
repercussions.  Some of the lousy old stuff you're throwing out might
have been better if it had been discussed first, and I'm not sure you



aren't implementing some lousy new stuff by just doing what occurs to
you instead of discussing the real problems of real users.  


Well, we've come full circle now. Here you're saying that I have no clue 
of what I'm doing. How constructive.  I propose we end this discussion.



>> now I have to deal with "How
>> do I find the start of the note entry given that there's no longer a
>> '\notes' statement?"

HN> Frankly, I don't understand this remark. We just made the \notes mode 
HN> the default, so it is no longer necessary.


But my scripts that add properties at the beginning of the notes use
it to figure out where the notes begin.  


No, I am not saying that you should make all my little scripts that
you've never seen or used absolutely stable.  But you obviously didn't
know that that change was going to impact real users when you made it.


Being a marker of whatever was something \notes was never intended for.
I do not (and will not) take this kind of "mis-use" as a guide for what 
to do or not do. I hope you understand that. If you want to have your 
own little markers, then do


  myOwnLittleMarker = { }

  ..

  \myOwnLittleMarker

then you can be sure that convert-ly leaves them alone.

--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


font finding problem

2005-08-01 Thread Johan Wettergren

Hello!

I'm afraid I haven't been able to sort out this problem myself. I have recently
installed Lilypond as included in Suse linux 9.3. There seems to be font finding
problems. I tried the folowing (translation from Swedish within []):

[EMAIL PROTECTED]:~/musik/lilytest> export
TEXMF=/usr/share/lilypond/2.4.4:/usr/share/texmf

[EMAIL PROTECTED]:~/musik/lilytest> lilypond test.ly
GNU LilyPond 2.4.4
Processing `test.ly'
Tolkar... [Interpreting...]
Interpreting music... error: kan inte hitta "feta20.afm" [cannot find]
Music font has not been installed properly.  Aborting


There is a feta20.afm file at /usr/share/lilypond/2.4.4/fonts/afm/
Anyone there to spot what I'm doing wrong?

Best regards,

Johan

-- 
 
Johan Wettergren
Kläppegatan 17
431 69 Mölndal


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


Re: LilyPond uses sans-serif font after 2.6 upgrade

2005-08-01 Thread Matthias Neeracher
On Jul 27, 2005, at 11:16 PM, Graham Percival wrote:On 26-Jul-05, at 12:12 PM, Benjamin Esham wrote: On Jul 26, 2005, at 1:23 AM, Matthias Neeracher wrote: What is FONTCONFIG_FILE set to ? "echo $FONTCONFIG_FILE" should give you the value. Usually, I invoke LilyPond from inside Vim; this is a bit of a hack, though, and sometimes not all of the environment variables are set correctly.  That seems to be what happened here.  Everything was fine when I called LilyPond from the terminal, so I realized that FONTCONFIG_FILE wasn't being set by Vim.  I fixed that and now everything runs fine.  Thanks for all of the help! Hrm?  I'm missing something here... I'm still manually doing# ln -s ~/usr/pkg/lilypond/share/lilypond//fonts/type1 ~/.fontsThere should be no need to do that in either the fink or the standalone version.Matthias___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


how to slur grace note with previous note?

2005-08-01 Thread Bodo

Hi,

Every piece of documentation about grace notes I have found so far connects
the grace note with the normal note that follows it.
However, I want to add two grace notes that are sung on the same syllable as
the previous note, and hence they should be connected with a slur to the
previous note.

Consider this fragment:

a'4 \grace { b'16 [a'16] } g'4 

This places the grace notes b and a close to the g. There are no slurs. I
want to grace notes close to the a.

The next thing is almost what I want:

a'4 \appoggiatura { b'16 [a'16] } g'4 

Here slurs are drawn, but between the last 3 notes, not the first three.

What I'm trying to get is something like this:

a'4 ( \grace { b'16 [a'16] } )g'4 

However, this produces an error "unexpected ')'". Is it possible to
associate grace notes to the note preceding them and connect them with a
slur?

 Bodo



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


inputencoding = "TeX"

2005-08-01 Thread Stephen

How does the Embedding TeX commands snippet work in 2.6 - .7?

http://lsr.dsi.unimi.it/LSR/Item?id=107

Stephen


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


Re: convert-ly problem

2005-08-01 Thread Stephen

I have the opposite opinion from Laura.

The first project I did using Lilypond was to convert an old file from 1.3 
to 2.4.


It required a lot of hand editing. In the end, it is easier to hand edit a 
file than to re-input all the notes. I had to manally move all the open 
brackets for beaming over, because convert-ly could not move both 
parentheses and brackets on the same notes.


As I was working, I was pleased to see how much better the new syntax was. 
It was very refreshing to see developers who were willing to change a 
program so much to improve it without regard for compatibility issues. 
Finally, I found a project whose main objective was to be as good as it can 
possibly be.


It is dissapointing to see that many of the changes from 2.4 to 2.6 are to 
make Lilypond more user-friendly. TeX has been replaced by Pango because it 
is smaller and easier to install. I was looking forward to learning how to 
integrate TeX and Lilypond in my *.ly files more and more.


Additionally, the TeX fonts looked better than the Pango fonts do to me. If 
I make a title bold it is too bold now. I think the new font needs a 
slightly less bold bold.


My feeling is that rather than try to increase Lilypond's user base, 
Lilypond should be developed to become such a good tool that no other 
program can rival it and some of the profressional high-end users will not 
be able to use anything else.


Put another way, I think the devolopers should develop Lilypond for their 
own needs and let the other users see for themselves how that makes Lilypond 
more useful for everyone in the long run rather than try to anticpate the 
needs of the fictional "general user".


Stephen 




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


Re: Staff.alignAboveContext and volta brackets

2005-08-01 Thread Stephen


- Original Message - 
From: "Nicolas Sceaux" <[EMAIL PROTECTED]>

To: "Stephen" <[EMAIL PROTECTED]>
Cc: 
Sent: Sunday, July 31, 2005 9:28 AM
Subject: Re: Staff.alignAboveContext and volta brackets



"Stephen" <[EMAIL PROTECTED]> writes:


Why not start with all three staffs and remove the staff from the
first line?

Using:

   \layout {
  \context { \RemoveEmptyStaffContext }
  }

Stephen


Because that does not work either. The "1." volta is not displayed.


Honestly, I thought you would say that, but I had to ask.

Stephen













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


Re: Staff.alignAboveContext and volta brackets

2005-08-01 Thread Stephen


- Original Message - 
From: "Nicolas Sceaux" <[EMAIL PROTECTED]>

To: "Stephen" <[EMAIL PROTECTED]>
Cc: 
Sent: Sunday, July 31, 2005 9:28 AM
Subject: Re: Staff.alignAboveContext and volta brackets



"Stephen" <[EMAIL PROTECTED]> writes:


Why not start with all three staffs and remove the staff from the
first line?

Using:

   \layout {
  \context { \RemoveEmptyStaffContext }
  }

Stephen


Because that does not work either. The "1." volta is not displayed.


Honestly, I thought that would be your answer, but I had to ask.

Stephen













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


Re: french characters in headers

2005-08-01 Thread Imruska

As I've directly jumped from 2.2 to 2.6, I have some little pb to solve.

I'm using accented characters (like é, û, and è) in my header, and Lily doesn't 
translate them. I
must be a LateX pb, but I can't make it right...


Well, as 2.6 is _not_ using LateX any more, it cannot. Now Lilypond 2.6 
can handle accented characters, but in order for that to work you must 
save your files using UTF-8 encoding, rather than Latin1. Give it a try, 
I think this will solve your problems.


Imruska



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


Re: convert-ly problem

2005-08-01 Thread Imruska



Changing fonts has become so much easier. See

  http://pegasus.rutgers.edu/~elflord/unix/latex/no-bs.html

for what it takes to put a Type1 font into LaTeX (let alone into 
LilyPond) and compare it to  dropping the .pfa into ~/.fonts and doing


 #(define fonts
   (make-pango-font-tree
"Times New Roman" "Helvetica" "Courier"
(/ myStaffSize 20)))

You're welcome to reinstate the ec fonts as your private defaults, though.


Well, this (I mean reinstating the ec fonts as my private defaults) is 
what I would like to do, and also asked how this could be done in this 
list three weeks ago. I got, however, no answer. Could you, or someone 
else explain how to do it?


I believe in the above code Times New Roman, Helvetica, Courier stand 
for the serif, sans-serif and fixed width fonts respectively. What 
should I replace them with to have the ec-fonts as defaults?


Imruska




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


Yet another vertical spacing question

2005-08-01 Thread Trevor Baca
Anyone have any idea what's going on with the space between the voice
and the piano staves in the opening of this bit of Mozart?

Clearly the first system is using the spacing of the *second* system,
which looks kinda insane given that the second system has 3 stanzas
while the first system has none.

Also odd is that the end of the song (not include in the already long
snippet) ends as it began: with piano only, no lyrics. For the the
ending -- but not, alas, the beginning -- Lily catches the absence of
lyrics and pushes the voice staff right down to where it should be,
above the piano without such a gap.

Trevor.

%%
%%

\version "2.7.0"
\include "english.ly"
#(set-default-paper-size "letter" 'portrait)

% soprano
mAAA = {
   \clef treble
   \key bf \major
   \time 2/4
   R2 | %1
   R2 | %2
   R2 | %3 
   R2 \break | %4
   \bar "|:" f''4. \appoggiatura ef''16 d''8 | %5
   \appoggiatura c''8 bf'4 r8 bf'8 | %6
   bf'8( ef''4) g'8 | %7
   g'8 f'8 r4 | %8
   f'4. bf'8 | %9
   bf'4( a'8) bf'8 | %10
}

mAAB = \lyricmode {
   \set stanza = "1. "
   Kom -- met | her, ihr | fre -- chen | Sün -- der, |
   seht den | Hei -- land |
}

mAAC = \lyricmode {
   \set stanza = "2. "
   Kom -- met, | seht Ma -- | ri -- am | e -- ben |
   an dem | Fuss __ des |
}

mAAD = \lyricmode {
   \set stanza = "3. "
   Dan -- ket | nun für | sol -- che | Lie -- be, |
   so der | Mut -- ter |
}

% piano rh
mABA = {
   \clef treble
   \key bf \major
   \time 2/4
   \once \override DynamicText #'extra-offset = #'(0 . 1.5)
   f''8.^\fp( bf''16) f''4 ~ | %1
   f''8[ f''8\staccato f''8\staccato f''8\staccato] | %2
   \once \override DynamicText #'extra-offset = #'(0 . 0.5)
   c'''8.^\fp( a''16) f''4 ~ | %3
   f''8 g''16 f''16 \appoggiatura f''16 ef''8 d''16 c''16 | %4
   4 r4 | %5
   r8 8( 8 8) | %6
   8 8 r8 8 | %7
   r8 <<
  \new Voice {\voiceOne f'4 f'8 | %8
 f'4. bf'8 | %9
 bf'4( a'8) bf'8 \oneVoice}
  \new Voice {\voiceTwo bf16.( c'32 d'16.[ bf32 ef'16. c'32]) | %8
 bf4 ~ 8 8 | %9
 r8 d'8([ c'8 bf8]) \oneVoice}
  >> | %10
}


% piano lh
mABB = {
   \clef bass
   \key bf \major
   \time 2/4
   bf,8\f
   \override DynamicText #'extra-offset = #'(0.0 . 1.0)
   8[^\fp( 8 ] | %1
   8^\p)
   \revert DynamicText #'extra-offset
   r8 \clef treble 8 r8 \clef bass | %2
   f,8\f
   \override DynamicText #'extra-offset = #'(0.0 . 1.0)
   8[^\fp( 8 ] | %3
   8^\p)
   \revert DynamicText #'extra-offset
   r8 8 r8 | %4
   4 r4 | %5
   2 ~ | %6
   8 bf8[ bf,8 bf8] | %7
   \voiceOne <<
  {r8 d8[( f8 a8)]}
  \new Voice {\voiceTwo bf,4.( c8) \oneVoice}
   >> \oneVoice | %8
   d8[ f8 d8 bf8] | %9
   \voiceOne <<
  {f4( ef8 d8)}
  \new Voice {\voiceTwo {f,2} \oneVoice}
   >> \oneVoice | %10
}

\header {
   title = "Kommet her, ihr frechen Sünder"
   composer = \markup \override #'(baseline-skip . 2.5) \column
{\center-align {"W. A. Mozart" "K. 146 (1779)"}}
}

\score {
   <<
  \new Staff <<
 \set Staff.instrument = \markup \huge \bold {"Voice" \hspace #1 ""}
 \context Voice = "soprano" {\mAAA}
 \lyricsto "soprano" \new Lyrics \mAAB
 \lyricsto "soprano" \new Lyrics \mAAC
 \lyricsto "soprano" \new Lyrics \mAAD
  >>
  \new PianoStaff <<
 \set PianoStaff.instrument = \markup \huge \bold {"Piano"
\hspace #1 ""}
 \new Staff \mABA
 \new Staff \mABB
  >>
   >>
}

%
%


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


Re: page break in markup

2005-08-01 Thread stk

Graham Percival wrote on 2005 July 29 --

> I'd like to insert a page break in the middle of
> a long \markup section (or between two separate
> \markup sections). This is for a large \book; I'd
> like to have two or three pages of text before
> beginning the music.

One would think that just inserting PostScript page-ejects
would work --

\version "2.6.0"
%  #(set-default-paper-size "a4")
\book {
   \markup { "Page 1 stuff" }
   \markup { \postscript #"showpage" }
   \markup { "Page 2 stuff" }
   \markup { \postscript #"showpage" }
   \markup { "Page 3 stuff" }
   \score  { \new Staff { c c c c } }
}

But it isn't good enough:  the page breaks do indeed occur,
but each successive page has more & more wasted white space
at the top.  I don't know if this is caused by PostScript
or by something having to do with LilyPond margins or
page-headers.  Possibly, fiddling with the settings in a
\paper block might help, but I haven't tried that yet.

Or there might be a vertical back-up command in PostScript,
but my knowledge of the PS language is woefully limited.

Uncommenting the
   % #(set-default-paper-size "a4")
had no effect, and changing the choice (to "letter"
for example) did not change the appearance of the
resulting PDF file either.

-- Tom



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