Re: text encoding compatibility

2008-01-02 Thread Werner LEMBERG

> LilyPond fully supports UTF-8.  Just make sure your editor supports
> it and it is enabled.

... and make sure that you have the corresponding CJK fonts
installed.  However, you might still suffer under the font problems
with current LilyPond releases on the Windows platform...


Werner


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


Re: getting line feeds and page feeds in \markup between scores

2008-01-02 Thread Jay Ricketts
I'm still on 2.10.  But this could be a reason to upgrade!!!

Thanks,

Daf

On Jan 1, 2008 6:43 AM, Nicolas Sceaux <[EMAIL PROTECTED]> wrote:
>
> Le 1 janv. 08 à 00:44, Jay Ricketts a écrit :
>
> > Hi,
> >
> > I'm using \Book to put a hymnal together, and have hit a total snag
> > trying to get some sort of intelligent pagination and line spacing to
> > happen.
> >
> > I'm using \include to pull in stand-alone scores I've written, and
> > using \markup lines between the scores to show title, composer, and
> > copyright info.
> >
> > It all works, sort of, but I can't figure out a way to force page
> > feeds.  LP doesn't like \pageBreak outside of a score context
>
> You didn't mention what version of LilyPond you're using.
> In 2.11.xx series \pageBreak does work at toplevel (or
> inside a \book block).
>
> \markup { blah blah }
> \include "foo.ly"
> \pageBreak
> \markup { hohoho }
> \include "baz.ly"
>
> nicolas
>
>


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


Re: combining little complete pieces in one "book"?

2008-01-02 Thread Mats Bengtsson

As long as you only want a single output PDF file, there's
no need for a \book command. Just make a .ly file which
looks like:

\include "file1.ly"
\include "file2.ly"
% ...


Is there still information in the manual that gives you the
impression that you need \book in these circumstances?
I recall that I tried hard to reformulate all those passages
in the manual, some half a year ago.

   /Mats

Ole Schmidt wrote:


Dear list,

Is it possible to create one file/pdf out of many little files who  
look like below with the

 \include command? (Having all the titles included...)
using the\book { } command...?
I can produce only lots of error warnings...

thanks for a hint

ole

%%
\header {
title = "bla"
}

staffClarinet = \new Staff  {
blablabla   
}

staffTrumpet = \new Staff  {
blablabla
}
\score {
<<
\staffTrumpet
\staffClarinet
>>
\layout  {
\context { \Score
\remove "Bar_number_engraver" }
}
}
%
 



___
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: getting line feeds and page feeds in \markup between scores

2008-01-02 Thread Ole Schmidt

When I try:

\book {

\markup { blah blah }
\include "Benedictus.ly"
}

I get:

Benedictus.ly:13.0: Fehler: syntax error, unexpected STRING
staffClarinet = \new Staff

my Benedictus.ly file looks like this:

staffClarinet = \new Staff  {
blablabla(music)
}
staffTrumpet = \new Staff  {
blablabla(music)
}

\score {
<<
\staffTrumpet
\staffClarinet
>>
\layout  {
\context { \Score
\remove "Bar_number_engraver" }
}
}


What's wrong?

thanks for a hint

ole






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


Re: Leaving: "I can't help"

2008-01-02 Thread Kieren MacMillan

Hi Graham,

Firstly, I wanted to add my voice to the chorus of "Thanks!" for all  
the work you've done -- Lilypond will miss you.  =)


But secondly, I wanted to comment on the following:


I'm spend all my time writing music, so I don't have time!
--
This is my favorite excuse for not getting involved... and by
"favorite", I mean "makes me grind my teeth".  If you're a
professional composer and use lilypond every day, then IMO you
should be the _most_ involved, not the least.  I mean, if the
heaviest users don't contribute to the project, then who else should?


I'm not saying there *aren't* people out there -- including working  
composers -- who could help more than they do.
Nor am I arguing the fact that many people get more out of Lilypond  
-- and the work of people like you and the coding team -- than they  
put in.


However, I *DO* object to the generalized implication that  
"professional composers" who "use Lilypond every day" should be "the  
_most_ [visibly] involved [in documentation and coding efforts]" or  
else they're "not getting involved".


I'm a professional composer.
I use Lilypond (nearly) every day.
I don't actively (i.e., visibly) contribute to Lilypond code or  
documentation... and may not in the near future, despite attempts to  
guilt me into doing so.  ;-)


Does that mean I'm "not getting involved" and "don't contribute to  
the project"?


1. I do more Lilypond "advertising" (i.e., providing positive  
exposure) than anyone else I know. I am constantly putting *REAL*  
Lilypond scores in front of *REAL* working musicians and composers/ 
arrangers. On those rare occasions when I don't get unsolicited  
comments about the quality of the output, I make a point of telling  
anyone who will listen -- and many who won't -- about the benefits of  
Lilypond. The colophon of every published score explicitly mentions  
Lilypond and points to the website. Once I get my own website up and  
running (sometime this month), it will also have Lilypond kudos and  
links.


2. As a result of my being one of "the heaviest users" of Lilypond, I  
am constantly running into REAL-WORLD engraving problems, the kind  
that rarely come up in an "ivory-tower" (i.e., code and docs)  
situation. Not only does that mean I help push Lilypond to be a  
better program (by finding bugs and feature-holes), but it means that  
when another user in the 'Pond runs into similar issues, there's a  
good chance that I've got a solution or workaround to offer. And --  
as you probably are aware -- I constantly monitor the list, and  
contribute said solutions and workarounds when I can.


And finally,

3. I have personally put forward my own hard-earned dollars (well...  
Euros) to sponsor features that make Lilypond better. I continue to  
post sponsorship offers, though, for the record, nobody has taken me  
up on those offers recently. Ironically, I will soon have paid more  
*ACTUAL MONEY* for my use of the "free, open-source" Lilypond than I  
ever did for the "proprietary, commercial" Finale with all its annual  
upgrade fees!


So... if I make you grind your teeth, all I can say is "4 out of 5  
dentists recommend Trident".  =)


Best regards,
Kieren.


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


Re: combining little complete pieces in one "book"?

2008-01-02 Thread Ole Schmidt

oops, I just posted again about this problem

it works perfect as you described it...

I had a vague memory that the \book command exists and read the  
manual again only to see how to use the command and not if I have to  
use it to achive my goal...


What is still unclear to me- There are \headers { } in my .ly files  
that I want to combine. A quick test whith

\include "file1.ly"
\include "file2.ly"


only show the header from the second file. Do I have to erase all the  
\headers in my files that I whish to combine and use \markups in the  
meta-file (or can I use a \header inside a \markup)? Or is there only  
one \header whatsoever?



thanks for your patience

ole


Am 02.01.2008 um 15:26 schrieb Mats Bengtsson:


As long as you only want a single output PDF file, there's
no need for a \book command. Just make a .ly file which
looks like:

\include "file1.ly"
\include "file2.ly"
% ...


Is there still information in the manual that gives you the
impression that you need \book in these circumstances?
I recall that I tried hard to reformulate all those passages
in the manual, some half a year ago.

   /Mats

Ole Schmidt wrote:


Dear list,

Is it possible to create one file/pdf out of many little files  
who  look like below with the

 \include command? (Having all the titles included...)
using the\book { } command...?
I can produce only lots of error warnings...

thanks for a hint

ole

%%
\header {
title = "bla"
}

staffClarinet = \new Staff  {
blablabla   }
staffTrumpet = \new Staff  {
blablabla
}
\score {
<<
\staffTrumpet
\staffClarinet
>>
\layout  {
\context { \Score
\remove "Bar_number_engraver" }
}
}
%


___
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: combining little complete pieces in one "book"?

2008-01-02 Thread Kieren MacMillan

Hi Ole,


only show the header from the second file.


The last included bit of code will override any previous includes (or  
explicit entries).



Or is there only one \header whatsoever?


There's only one title, subtitle, etc.
However, they may be included in separate \header blocks, even  
scattered across several \include-d files.


Hope this helps!
Kieren.


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


Re: remove Time_signature_engraver only partially

2008-01-02 Thread Mats Bengtsson

Kieren MacMillan wrote:



However, you can always turn the time signature engraver OFF for a  
few bars


\override TimeSignature #'stencil = ##f

and then

\override TimeSignature #'stencil = ##t


This won't work, as far as I know!


(or \revert TimeSignature #'stencil)


Which is the preferable solution!


  /Mats


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


Re: combining little complete pieces in one "book"?

2008-01-02 Thread Ole Schmidt
I overlooked that the \header(s) have to be inside the \score blocks  
in the files (and than work only with

piece = " " and opus = " ") as described in the manual (mea culpa...)

ole

Am 02.01.2008 um 16:11 schrieb Kieren MacMillan:


Hi Ole,


only show the header from the second file.


The last included bit of code will override any previous includes  
(or explicit entries).



Or is there only one \header whatsoever?


There's only one title, subtitle, etc.
However, they may be included in separate \header blocks, even  
scattered across several \include-d files.


Hope this helps!
Kieren.




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


Re: Manual Staff switching

2008-01-02 Thread Mats Bengtsson

David Fedoruk wrote:


one other problem with this piece is that when I render this code, I
have an extra treble clef above the two lines of staff I need. What is
the problem with the template I'm using?

## Code 

\version "2.11.36  "
...

\score {
   \new PianoStaff <<
\override SpacingSpanner
#'base-shortest-duration = #(ly:make-moment 1 16)
 


I would suspect that this setting causes the extra stave.
If you want the setting to apply to all staves of this PianoStaff,
you should do \override PianoStaff.SpacingSpanner ...
or even better learn the \with syntax:
\new PianoStaff  \with {
 \override SpacingSpanner
#'base-shortest-duration = #(ly:make-moment 1 16)
 instrumentName = "Piano "
} <<
   \new Staff = "rh" \rh
   \new Staff = "lh" \lh
>>

   /Mats


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


Re: combining little complete pieces in one "book"?

2008-01-02 Thread Francisco Vila
2008/1/2, Ole Schmidt <[EMAIL PROTECTED]>:
> I overlooked that the \header(s) have to be inside the \score blocks
> in the files (and than work only with
> piece = " " and opus = " ") as described in the manual (mea culpa...)

So what would be the proper way to achieve little pieces with
different main (big, centered) titles in a single PDF?

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: files

2008-01-02 Thread Mats Bengtsson

Paul Scott wrote:

I'll check more in a few minutes but I never create a Staff of any 
kind inside a \relative{ ... }.  Try reversing the \relative and \new 
Staff for each hand.


That shouldn't be an issue, see the following example:
\version "2.10.0"
\relative c'' <<
 \new Staff {c d e f }
 \new Staff {c b a g }
>>

  /Mats


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


Few more questions from a beginner

2008-01-02 Thread J. Cohen
I've managed to get this far on Lachrimae from the help that people on
the list have provided so far:
http://www.guitarmiami.com/tank/lachrimae.ly
http://www.guitarmiami.com/tank/lachrimae.pdf

I haven't been able to figure out a few things:

* Put some naturals in parentheses (e.g., measures 8 and 9)

* Move rests to correct height.  Many of the rests aren't appearing at
the same height as their voices. (e.g., measures 3 and 7)

* In 4/4 isn't it better to break 8th notes into groups of two instead
of groups of four? (e.g., last measure) Is it possible to do that in
Lilypond?

* Some of the notes are stacked on top of each other. (e.g., measure 4)
 Should I just use padding to move each note individually?




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


Re: combining little complete pieces in one "book"?

2008-01-02 Thread Mats Bengtsson

Francisco Vila wrote:


2008/1/2, Ole Schmidt <[EMAIL PROTECTED]>:
 


I overlooked that the \header(s) have to be inside the \score blocks
in the files (and than work only with
piece = " " and opus = " ") as described in the manual (mea culpa...)
   



So what would be the proper way to achieve little pieces with
different main (big, centered) titles in a single PDF?
 


Search for "title" in the LSR, http://lsr.dsi.unimi.it/

  /Mats


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


Lne width set in time rather than mm or cm?

2008-01-02 Thread Clifford Racz
I am transcribing music for some music books and I am generating EPS 
files using lilypond-book.


I read the manual and looked at the newsgroup, seeing that line widths 
are set using a block that defines the paper width:

\paper{
  line-width=120\mm
}

I wondered if there was a way to set the line width so that the score is 
spaced somewhat evenly, but the with would vary with the length of the 
score, and not set to some arbitrary size (like 120mm)?


In the documentation here:
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Music-fragment-options

There only lengths can only be specified in [cm | mm | in | pt].

Like to say [1 quarter-notes per cm] or something like that?



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


Re: Lne width set in time rather than mm or cm?

2008-01-02 Thread Kieren MacMillan

Hi Clifford,


Like to say [1 quarter-notes per cm] or something like that?


I think the only way to do that would be to set the music, and then  
manually \break the lines at whatever time-duration you want.


Hope this helps!
Kieren.


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


Re: Few more questions from a beginner

2008-01-02 Thread Tiago Morin
> * Put some naturals in parentheses (e.g., measures 8 and 9)
Section 6.1.3 in the manual ( c? will put accidental in parentheses)

> * Move rests to correct height.  Many of the rests aren't appearing at
> the same height as their voices. (e.g., measures 3 and 7)
Section 6.1.9 (part 2) in the manual (b8\rest will put an 8th rest in
place of b)

> * In 4/4 isn't it better to break 8th notes into groups of two instead
> of groups of four? (e.g., last measure) Is it possible to do that in
> Lilypond?
Section 2.2.5 in the manual (c8[ d] e[ f]); deeper 6.5.5 and 6.5.6

> * Some of the notes are stacked on top of each other. (e.g., measure 4)
>  Should I just use padding to move each note individually?
you were explained here:
http://www.nabble.com/Questions-from-new-lilypond-user-td14564682.html
what meant \voiceOne and so on.
Or you can check Section 6.3 in the manual.


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


Re: Few more questions from a beginner

2008-01-02 Thread Mark Knoop

J. Cohen wrote:

I've managed to get this far on Lachrimae from the help that people on
the list have provided so far:
http://www.guitarmiami.com/tank/lachrimae.ly
http://www.guitarmiami.com/tank/lachrimae.pdf

I haven't been able to figure out a few things:

* Put some naturals in parentheses (e.g., measures 8 and 9)


Use a ? instead of a ! - i.e. d''?32


* Move rests to correct height.  Many of the rests aren't appearing at
the same height as their voices. (e.g., measures 3 and 7)


Specify the position of the rest with: d''4\rest


* In 4/4 isn't it better to break 8th notes into groups of two instead
of groups of four? (e.g., last measure) Is it possible to do that in
Lilypond?


You can manual beam { c8[ d] e[ f] } or change the automatic settings. 
See "9.1.2 Setting automatic beam behavior"



* Some of the notes are stacked on top of each other. (e.g., measure 4)
 Should I just use padding to move each note individually?


Yes, I think so. You could try it in version 2.11 - it handles a lot of 
spacing issues much better.


--
Mark Knoop


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


pedal tremolo

2008-01-02 Thread Stefan Thomas
Dear Lilypond-users,
I have special a question:
I want to write a pedal-tremolo. Therefore I would like to change the
line-style of the piano-pedal bracket. I would like to have the same
kind of line which is also used for trill-spanners.
Can You tell me if and how it is possible?
Thanks,
Stefan



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


Re: Two midi questions

2008-01-02 Thread Mats Bengtsson

Alasdair McAndrew wrote:


   1. I have used

  \set Staff.midiInstrument = "viola"

  but the midi output still seems to contain a piano sound in it. 
  It's as though I can add an instrument sound to the midi file,

  but not turn off the default piano sound.  What's going on, and
  how can I fix it?


This should work. If you include some short example code that
illustrates what you tried, it will be much easier to answer your
question.

  /Mats


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


Re: Few more questions from a beginner

2008-01-02 Thread Mats Bengtsson

Mark Knoop wrote:


* Some of the notes are stacked on top of each other. (e.g., measure 4)
 Should I just use padding to move each note individually?



Yes, I think so.


Not padding! Read about force-hshift in the subsection on
Collision resolution in "Polyphony".

You could try it in version 2.11 - it handles a lot of spacing issues 
much better.


Unfortunately, this particular problem remains in 2.11.

  /Mats


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


Creating a book of music

2008-01-02 Thread Alasdair McAndrew
I'm typesetting up a 17th century manuscript which contains eight pieces.
I'd like to place them all in a book which contains a title page, table of
contents, introduction etc.  I'm very happy to use LaTeX for this, but I'd
like to see examples of other people's work.  I've had a small look around
the mutopia site, but so far the pdf files I've looked at are just
individual scores.

Are there examples of books created with lilpond/LaTeX out there?

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


Re: Creating a book of music

2008-01-02 Thread Nicolas Sceaux


Le 2 janv. 08 à 23:07, Alasdair McAndrew a écrit :

I'm typesetting up a 17th century manuscript which contains eight  
pieces.  I'd like to place them all in a book which contains a title  
page, table of contents, introduction etc.  I'm very happy to use  
LaTeX for this, but I'd like to see examples of other people's  
work.  I've had a small look around the mutopia site, but so far the  
pdf files I've looked at are just individual scores.


Are there examples of books created with lilpond/LaTeX out there?


On my 17-18th score books, there is a title page, a table of
contents, and several scores, but using LilyPond only, not
LaTeX. See for instance (the most simple one, 8 motets without
text):

  

This one has more text:

  

nicolas



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