Re: How to start Lilypond

2007-03-20 Thread Mats Bengtsson
The simplest way for a newbie to start editing a new LilyPond file in 
Windows,
is simply to double-click on the LilyPond icon on the Desktop. This will 
start

a simple text editor (similar to Notepad) which has no problems with the
.ly file extension. This is also the editor that's started if you 
right-click on

a .ly file and select Edit.

Of course, there are much better editors available, for example
http://lilypondtool.organum.hu/

  /Mats

Bonnie Rogers wrote:

Francisco Vila wrote:

El lun, 19 de mar de 2007, a las 01:33:45 +0100, Francisco Vila dijo:


Really you can simply open notepad and save the document as
whatever.ly and it will keep its given filename extension, so it
should work as a lilypond file.



Not true unless you have experience managing Notepad. When you save 
the Lilypond test file in Notepad, you must not only type the filename 
test.ly but also change the Save as type to All Files. Otherwise 
the result will indeed be test.ly.txt.


Similarly, when you go to open an existing Lilypond file to edit in 
Notepad, you must take care to change the Files of type to All 
Files. Otherwise you won't see the complete file list, and Notepad 
won't be able to find the Lilypond file.


In Notepad, you have to reset the file type to All Files each time 
you open a new Lilypond file, even if you saved another Lilypond file 
immediately before in the same working session. And Notepad lets you 
have only one file open at a time, so you can't easily compare files 
or copy from file to file.


Because of this lack of flexibility, I don't think most Windows 
Lilypond users would choose Notepad, even though it can be made to 
work. There are lots of other editors for Windows, most of them free 
downloads. Windows newbies who don't have an established preference 
should check out


http://en.wikipedia.org/wiki/Comparison_of_text_editors


It would be nice if LilyPond, besides its context menu entry generate
PDF... would also add a new-lilypond text file entry in the
right-click mouse menu. This would simplify things a lot, I think.



To me it seems simpler just to open the file in the text editor of my 
choice. There's lots of typing to be done before the file will be 
ready to run through Lilypond. And I want to be free to try different 
editors and decide for myself which one I like best.  Based on 
previous discussions in this list, there is no one clear choice that 
suits everybody.




___
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: Where the dot belongs to...

2007-03-20 Thread Martin Brodbeck
Am Montag, 19. März 2007 23:45 schrieb Graham Percival:

Hi Graham,

 [...] If you could produce a minimal example of each item
 (ie only one item per snippet), then it will be much easier to discuss
 issues (and potentially file bug reports about them).

You're right. I made a minimum example regarding the dot-problem (although it 
loses some context). Watching the small png image, please note that the dot 
belongs to the f, but lilypond makes it to look that the dot seems to belong 
to the e.

Thanks,
Martin
\version 2.10.20

\include deutsch.ly

\score {
\relative c' {
 {f2. } \\ {a, e'8}  
}
\layout{ ragged-right = ##t }
}


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


Re: Where the dot belongs to...

2007-03-20 Thread Mats Bengtsson
In the source code that handles collisions of note heads 
(lily/note-collision.cc)

I found the following comment:

/* For full collisions, the right hand head may obscure dots, so
make sure the dotted heads go to the right.  */

However, it seems that this doesn't happen in your example (which can be
simplified into
\version 2.10.20
\new Staff \relative c' 
fis4. \\ {e8 e e }

so I would classify this as a bug. However, I seem to remember some related
discussions on the mailing list over the years and I don't remember the
conclusion, so it might be that it was decided to use the current layout 
and

that the comment is left over from before that decision.

  /Mats


José Luis Cruz wrote:

Well, although in this case it's pretty clear that the dot belongs to
the F (can't be any other way), it's true that the disposition is
somehow odd. I entered the same sequence of music in sibelius to see
how that software dealed with that problem. I like it better its
solution than lilypond's one. I provide both pngs.

I added ragged-right prior to compile it (in 2.11.20). And I noticed
also that the sharp in A sharp (third measure) is too much separated
from the notehead.

Maybe the experts in music engraving are able to tell us more.


cheers,


2007/3/19, Martin Brodbeck [EMAIL PROTECTED]:

Hello,

I just wanted to start with a new music sheet. I must admit that I 
haven't
worked with lilypond for a long time and I'm not an expert in music 
notation.
But I noticed an ugly output in the third measure. At first view, it 
is not
clear where the dot belongs to (it belongs to the fis). Now I'm not 
sure if

lilypond is responsible for this or if it's me. :-)










___
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


cadenza and accidentals

2007-03-20 Thread Antanas Budriūnas

Hello,

using \cadenzaOn feature I can't get automatic accidentals working
correctly.
After \cadenzaOff accidentals aren't resetted.
Isn't the bug? How to workaround this?
See simple example attached.

Thanks

Antanas Budriūnas


cadenzaAcci.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


instrument line displaid on the first page

2007-03-20 Thread michel_dissy
I have entered the title of my music on the instrument line in the header
bloc, but the problem is that it displays it under the title on the first page
too, though I read that it would not be displaid on the first page. What do I
need to do about it?
  Here is how I wrote my header bloc, before the music notation:

\version 2.8.8
\header {
 title = Souvenirs d'enfance
 composer = Michel Berteaud
 opus = Le 29 decembre 2005
 instrument = (Souvenirs d'enfance)
 copyright = Copyright ©2006 - Licence libre: usage commercial et
 modifications interdits.
 }

 Second question:
 I would like to know how to put more than one line in the footer on the first
page and on the last page without erasing the Lilypond line.



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


Re: lilypond-book ignores system-count?

2007-03-20 Thread Mats Bengtsson

Now I realize what you really ask about. You are certainly right that
lilypond-book does not accept options such as
\begin[system-count=10]{lilypond}
...
\end{lilypond}

or
\lilypondfile[system-count=10]{...}

However, you can easily specify the system-count inside your own LilyPond
code, for example:
\begin{lilypond}
 \paper{system-count = 8}
 \score{ \repeat unfold 100 c' }
\end{lilypond}

When first answering your question, I thought that this is what you tried
and what didn't work (but it clearly does, now that I try it).

If you want to use \lilypondfile and don't want to specify system-count 
within

that file, then you could use a trick like
\begin{lilypond}
 \paper{ system-count = 10 }
 \include{myfile.ly}
\end{lilypond}

The only main disadvantage of this solution is that lilypond-book will not
automatically discover if you have made any changes to the .ly file, so you
have to manually clean the generated files to make sure that lilypond-book
processes the .ly file again and doesn't use an old version.

  /Mats

Dmytro O. Redchuk wrote:

Hmm, i did not receive my own post...

Anyway, since i need to have lilypond-book working with system-count
parameter, i modified a lilypond-book script (diff see below).

So, a question to developers.

In the same way it's possible, of course, add another parameters, which
could be present in paper section.

But which is the right way to do this?


---
--- lilypond-book.original  2007-03-19 17:03:47 +0200
+++ lilypond-book   2007-03-19 17:53:29 +0200
@@ -234,6 +234,7 @@
 FONTLOAD = 'fontload'
 FILENAME = 'filename'
 ALT = 'alt'
+SYSTEM_COUNT = 'system-count'
 
 
 # NOTIME has no opposite so it isn't part of this dictionary.

@@ -518,7 +519,8 @@
 VERBATIM,
 FONTLOAD,
 FILENAME,
-ALT
+ALT,
+SYSTEM_COUNT
 ]
 
 ly_options = {

@@ -1064,6 +1066,10 @@
 elif relative  0:
 relative_quotes += ' * relative
 
+# UURGS...

+if SYSTEM_COUNT in override.keys():
+compose_dict[PAPER].append ('system-count = #%(system-count)s')
+
 paper_string = string.join (compose_dict[PAPER],
   '\n  ') % override
 layout_string = string.join (compose_dict[LAYOUT],
---

On Mon, Mar 19, 2007 at 03:18:26PM +0200, Dmytro O. Redchuk wrote:
  

Hello,

I couldn't create pdf page with lilypond-book with system-count
as requested in lilypond source. So, when i set
system-count = #12
and make it with lilypond -- all is well, but processing with
lilypond-book gives me (significantly,) less system-count.

Can anyone help me, please?



  


--
=
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: between-system-space command using OpenOffice

2007-03-20 Thread Mats Bengtsson

You are completely right, in that the spacing between systems is handled
within LaTeX (or HTML or texinfo) if you use lilypond-book. I don't
know anything about the details of the LilyPond support in OpenOffice, but
probably, you can modify the line spacing between the generated EPS
figures within OpenOffice.

As an alternative, you can try to add \book{...} around your full score
(at least if it the full score should fit on a single page). Then, I 
guess that

between-system-space will act as normally, since you will only get a single
EPS file for the full score.

gio wrote:

Hello everybody,

I'm using Lillypond with OpenOffice. I'm not able to set the distance
beetween two systems. It seems to me that the command

\paper {
   between-system-space = 25\mm
}

is disabled by the command:

\include lilypond-book-preamble.ly

Can you help me?? Thanks!!

Giordano


ps. I'm not use to write in english, maybe I've done some grammatical
error..
  

No problems whatsoever!

  /Mats


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


Re: lilypond-book ignores system-count?

2007-03-20 Thread Dmytro O. Redchuk
On Tue, Mar 20, 2007 at 11:07:49AM +0100, Mats Bengtsson wrote:
 Now I realize what you really ask about. You are certainly right that
 lilypond-book does not accept options such as
 \begin[system-count=10]{lilypond}
 .
 \end{lilypond}
 
 or
 \lilypondfile[system-count=10]{...}
 
 However, you can easily specify the system-count inside your own LilyPond
 code, for example:
 \begin{lilypond}
  \paper{system-count = 8}
  \score{ \repeat unfold 100 c' }
 \end{lilypond}
No, it's not a case, too. Now the smallest score spans over four pages, so
i should use \lilypondfile[...]{...}

 When first answering your question, I thought that this is what you tried
 and what didn't work (but it clearly does, now that I try it).
No, i have tried to specify system-count inside \paper block in
myscore.ly file, but almost any option there is ignored by lilypond-book.


 If you want to use \lilypondfile and don't want to specify system-count 
 within that file,
Yes, i do want to specify system-count within lilypond source file!-)
But that didn't work (2.10.20, windows and linux binary versions).

 then you could use a trick like
 \begin{lilypond}
  \paper{ system-count = 10 }
  \include{myfile.ly}
 \end{lilypond}
Great!!!

That works, really. Like this:

\begin{lilypond}
  \paper { system-count = #12 }
  \include myfile.ly
\end{lilypond}


Great, that's much better. Than patching lilypond-book :-D

So, i was definitely doing bad things -- thank's a lot for your help :-)


 The only main disadvantage of this solution is that lilypond-book will not
 automatically discover if you have made any changes to the .ly file, so you
 have to manually clean the generated files to make sure that lilypond-book
 processes the .ly file again and doesn't use an old version.
GNU make will help, i hope :-)

 
   /Mats
 
 -- 
 =
   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
 =

-- 
  _,-=._  /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
 `._ _,-.   )  _,.-'
`G.m-^m`m'Dmytro O. Redchuk



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


Re: lilypond-book ignores system-count?

2007-03-20 Thread Mats Bengtsson



Dmytro O. Redchuk wrote:



When first answering your question, I thought that this is what you tried
and what didn't work (but it clearly does, now that I try it).


No, i have tried to specify system-count inside \paper block in
myscore.ly file, but almost any option there is ignored by lilypond-book.

  


If you want to use \lilypondfile and don't want to specify system-count 
within that file,


Yes, i do want to specify system-count within lilypond source file!-)
But that didn't work (2.10.20, windows and linux binary versions).

  
Are you really sure? I just tried to split the example I sent in my 
earlier email

into a separate .ly file and a LaTeX file that just makes \lilypondfile{...}
and it certainly works to set system-count in a \paper block within the 
included .ly file.



then you could use a trick like
\begin{lilypond}
 \paper{ system-count = 10 }
 \include{myfile.ly}
\end{lilypond}


Great!!!

That works, really. Like this:

  
This should be completely equivalent to doing the same setting within 
myfile.ly

and using \lilypondfile{myfile.ly}.

  /Mats


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


Re: Where the dot belongs to...

2007-03-20 Thread Michael Lauer
José Luis Cruz joseluisjazz at gmail.com writes:

 
 Well, although in this case it's pretty clear that the dot belongs to
 the F (can't be any other way), it's true that the disposition is
 somehow odd. I entered the same sequence of music in sibelius to see
 how that software dealed with that problem. I like it better its
 solution than lilypond's one. I provide both pngs.
 
 I added ragged-right prior to compile it (in 2.11.20). And I noticed
 also that the sharp in A sharp (third measure) is too much separated
 from the notehead.
 
 Maybe the experts in music engraving are able to tell us more.

I don't know what it should look like, but the Sibelius version--with the f
shifted to the right of the e--makes sense to me.  You can get LilyPond to do
that too; see section 6.3.5 of the manual:

\version 2.10.20

\include deutsch.ly

forceShift = \once \override NoteColumn #'force-hshift = #1.7

\score {
\relative c' {
 { \forceShift f2. } \\ {a, e'8}  
}
\layout{ ragged-right = ##t }
}
 
Cheers,
Michael






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


Aligning Square (Vaticana) notes with modern notation in separate staves

2007-03-20 Thread anders stenberg

Hi everybody!

I have just more or less finished a critical edition/ transcription of 
one of the Cantigas de Santa Maria.
That meant putting two different Vaticana staffs and one normal staff in 
the same score.
Eg. entering The notes from the two main sources in square notation and 
a interpretation of  the semi rytmicnotation in the sources in modern 
notation.
The problem so fare is: as the square notes takes about the same space  
as  one quarter in modern notation disregarding if the sign is punctum 
inclinatum, punctum or virga. (As far as I understand this is true also 
in Ligatures.)
Now if  the virga is interpreted as a  long note and punktum as short 
eg. halfnote and quarter note the  notes in the square note staffs will 
not align with  the modern notation after a halfnote is entered in the 
modern staff. Temporaly I solwed this by adding s4 after apropriate 
notes in the Vaticana staff's. See  the following snipp:


escorial =  \new VaticanaVoice = Escorial
  {
  \set Staff.instrumentName=Esc-Codex
  \set Staff.shortInstrumentName = Esc 
  \set VaticanaStaff.middleCPosition = #2
  \set VaticanaStaff.clefPosition = #2 
  \[g\]\[ a\melisma \flexa b \melismaEnd \] \[ c' \]

  \[ \virga a\] s4 \[ b \]
  \[ \virga c' \] s4 \[ \virga d' \] s4 \divisioMaior
  s4 d' \[ d' \melisma \flexa  c'\melismaEnd \] \[ a \] \[ 
b\melisma \auctum \ascendens b\melismaEnd \]
  a \[ \virga g \] \[ a\melisma \flexa \deminutum g\melismaEnd 
\] \[ \virga f\] s4

   \divisioMaior
  


}
escorialVers = \lyricmode
   {
   Nas m^ -- tes sen -- pre -- te^ -- er.
  de -- ve -- mo -- las sas fei^ -- [tu] -- ras

   }
  
toledo =

\new VaticanaVoice = Toledo {
   \set Staff.instrumentName=To- codex
   \set Staff.shortInstrumentName = To 
   \set VaticanaStaff.middleCPosition = #2
  \set VaticanaStaff.clefPosition = #2 
\[ g \] \[ a\melisma \flexa b \melismaEnd \] \[ \inclinatum c'\]

\[ a \] s4 \[ \inclinatum b \] \[ c' \] s4 \[d' \] s4
s4 \[ d' \] \[ d'\melisma \flexa c'\melismaEnd \] \[ a \] \[ b \] 
s4 \[ \inclinatum a \]

\[ g \] \[ a \melisma \flexa g\melismaEnd \] \[ f \] s4
  
}
toledoVers = \lyricmode 
   {

   Nas me^ -- tes sen -- pre te^ -- er
  de -- ve -- mo las sas fei -- tu -- ras
 
   }


transcriptI =
   \relative c' {
  \partial 4*1
  g'4
  a( b) c a2 b4
  c2 d r4 d4
  d4( c) a b2 a4
  g4. a8( g4) f2
   }

 
transcriptVers =   
   \lyricmode {

  Nas men -- tes sen -- pre te -- ner
  de ve -- mo -- las sas fei -- tu -- ras.

  }

transcript  =  \new Staff {
   
   \new Voice = Transcript {
  \set Staff.instrumentName=Transcript
  \set Staff.shortInstrumentName = Tr. 
  \clef treble
  \key c \major
  \time 6/4
  \transcriptI
   }
   \new Lyrics \lyricsto Transcript {
  \transcriptVers
   }
  
  }

\score {

  
  \new VaticanaStaff \with {\override StaffSymbol #'line-count = #5 }
  \escorial

\new Lyrics \lyricsto Escorial {
  \escorialVers
}
  
  
  \new VaticanaStaff \with {\override StaffSymbol #'line-count = #5 }
  \toledo
   
\new Lyrics \lyricsto Toledo {

\toledoVers

}
  
  
  \transcript

  

   
\layout {

indent = 20.0
}
} 
I only wonder: Is there a more elegant solution?  Its not only a 
eastetical quiz: If I also print the Vaticana parts separatly the 
extra spaces are just that: extra spaces botching the normal spacing of 
the notes and giving things a rather weirdo look when not in the mixed 
scorecontext.   Its also a bother to have to edit in/ out the extra 
spaces and somewath time consuming as I had to process the score at 
least a few extra times (at least this first time)  to get alignement 
and overall look right.


Yours
Anders



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


Re: Aligning Square (Vaticana) notes with modern notation in separate staves

2007-03-20 Thread Joseph Haig

Not sure if this solves your problem (I don't really have time at the
moment to read it in detail) but you can add note lengths to Vaticana
notes in the same way as you do with modern notation.  They do not
change the appearance of the notes but they alter how they are aligned
with other staves.

Regards,

Joe

On 20/03/07, anders stenberg [EMAIL PROTECTED] wrote:

Hi everybody!

I have just more or less finished a critical edition/ transcription of
one of the Cantigas de Santa Maria.
That meant putting two different Vaticana staffs and one normal staff in
the same score.
Eg. entering The notes from the two main sources in square notation and
a interpretation of  the semi rytmicnotation in the sources in modern
notation.
The problem so fare is: as the square notes takes about the same space
as  one quarter in modern notation disregarding if the sign is punctum
inclinatum, punctum or virga. (As far as I understand this is true also
in Ligatures.)
Now if  the virga is interpreted as a  long note and punktum as short
eg. halfnote and quarter note the  notes in the square note staffs will
not align with  the modern notation after a halfnote is entered in the
modern staff. Temporaly I solwed this by adding s4 after apropriate
notes in the Vaticana staff's. See  the following snipp:

escorial =  \new VaticanaVoice = Escorial
   {
   \set Staff.instrumentName=Esc-Codex
   \set Staff.shortInstrumentName = Esc 
   \set VaticanaStaff.middleCPosition = #2
   \set VaticanaStaff.clefPosition = #2
   \[g\]\[ a\melisma \flexa b \melismaEnd \] \[ c' \]
   \[ \virga a\] s4 \[ b \]
   \[ \virga c' \] s4 \[ \virga d' \] s4 \divisioMaior
   s4 d' \[ d' \melisma \flexa  c'\melismaEnd \] \[ a \] \[
b\melisma \auctum \ascendens b\melismaEnd \]
   a \[ \virga g \] \[ a\melisma \flexa \deminutum g\melismaEnd
\] \[ \virga f\] s4
\divisioMaior


 }
escorialVers = \lyricmode
{
Nas m^ -- tes sen -- pre -- te^ -- er.
   de -- ve -- mo -- las sas fei^ -- [tu] -- ras

}

toledo =
 \new VaticanaVoice = Toledo {
\set Staff.instrumentName=To- codex
\set Staff.shortInstrumentName = To 
\set VaticanaStaff.middleCPosition = #2
   \set VaticanaStaff.clefPosition = #2
 \[ g \] \[ a\melisma \flexa b \melismaEnd \] \[ \inclinatum c'\]
 \[ a \] s4 \[ \inclinatum b \] \[ c' \] s4 \[d' \] s4
 s4 \[ d' \] \[ d'\melisma \flexa c'\melismaEnd \] \[ a \] \[ b \]
s4 \[ \inclinatum a \]
 \[ g \] \[ a \melisma \flexa g\melismaEnd \] \[ f \] s4

 }
toledoVers = \lyricmode
{
Nas me^ -- tes sen -- pre te^ -- er
   de -- ve -- mo las sas fei -- tu -- ras

}

transcriptI =
\relative c' {
   \partial 4*1
   g'4
   a( b) c a2 b4
   c2 d r4 d4
   d4( c) a b2 a4
   g4. a8( g4) f2
}


transcriptVers =
\lyricmode {
   Nas men -- tes sen -- pre te -- ner
   de ve -- mo -- las sas fei -- tu -- ras.

   }

transcript  =  \new Staff {

\new Voice = Transcript {
   \set Staff.instrumentName=Transcript
   \set Staff.shortInstrumentName = Tr. 
   \clef treble
   \key c \major
   \time 6/4
   \transcriptI
}
\new Lyrics \lyricsto Transcript {
   \transcriptVers
}
   
   }

\score {
 
   
   \new VaticanaStaff \with {\override StaffSymbol #'line-count = #5 }
   \escorial

 \new Lyrics \lyricsto Escorial {
   \escorialVers
 }
   
   
   \new VaticanaStaff \with {\override StaffSymbol #'line-count = #5 }
   \toledo

 \new Lyrics \lyricsto Toledo {
 \toledoVers

 }
   
   
   \transcript

   
 

 \layout {
 indent = 20.0
 }
 }
I only wonder: Is there a more elegant solution?  Its not only a
eastetical quiz: If I also print the Vaticana parts separatly the
extra spaces are just that: extra spaces botching the normal spacing of
the notes and giving things a rather weirdo look when not in the mixed
scorecontext.   Its also a bother to have to edit in/ out the extra
spaces and somewath time consuming as I had to process the score at
least a few extra times (at least this first time)  to get alignement
and overall look right.

Yours
Anders



___
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-book ignores system-count?

2007-03-20 Thread Dmytro O. Redchuk
On Tue, Mar 20, 2007 at 02:34:27PM +0100, Mats Bengtsson wrote:
 
 
 Dmytro O. Redchuk wrote:
 Yes, i do want to specify system-count within lilypond source file!-)
 But that didn't work (2.10.20, windows and linux binary versions).
 
   
 Are you really sure? I just tried to split the example I sent in my 
 earlier email
 into a separate .ly file and a LaTeX file that just makes \lilypondfile{...}
 and it certainly works to set system-count in a \paper block within the 
 included .ly file.
Yes, i'm really sure.

I've re-installed lilypond ten minutes ago.
(LilyPond installer for version 2.10.20 release 1.)


% - ly: ---
\version 2.10.20

\relative c' {
\time 4/4
\partial 4*1
\autoBeamOff
d4
g4. g8 g4 d
g b d4.\fermata b8
b4 b c8 c c c
b4( a) b2
c4 b c d
e4. e8 e4 e
d2 c4 c
b2 a
b1 \fermata
\bar||
}

\paper {
system-count = #5
}
% -

% - tex: --
\documentclass{article}

\begin{document}

\lilypondfile{myscore.ly}

\end{document}
% -

Well, lilypond produces score with five staves, while lilypond-book --
with only two.

A piece of output:

% - output: ---
lilypond-book (GNU LilyPond) 2.10.20
Reading myscore.tex...
Running latex...This is TeX, Version 3.14159 (Web2C 7.4.4)
(/home/fox/tmp/tmpCnToVg.tex
LaTeX2e 2001/06/01
Babel v3.7h and hyphenation patterns for american, french, german, ngerman, r
ussian, ukrainian, nohyphenation, loaded.

(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
No file tmpCnToVg.aux.
textwidth=345.0pt
columnsep=10.0pt
(./tmpCnToVg.aux) )
No pages of output.
Transcript written on tmpCnToVg.log.
Dissecting...
Writing snippets...
Processing...
Running lilypond...GNU LilyPond 2.10.20
Processing `snippet-map.ly'
Разбираю...
Processing `myscore.tex'
Разбираю...
Renaming input to: `myscore.ly'
Interpreting music... [8][10]
Preprocessing graphical objects...
Calculating line breaks... 
Drawing systems... 
Writing lily-eccdaa94dc-systems.tex...
Writing lily-eccdaa94dc-systems.texi...
Layout output to `lily-eccdaa94dc-1.eps'...
Layout output to `lily-eccdaa94dc-2.eps'...
Layout output to `lily-eccdaa94dc.eps'...

Compiling myscore.tex...
Writing `myscore.tex'...
Writing fonts to myscore.psfonts...

DVIPS usage:
dvips -h out/myscore.psfonts out/myscore.dvi
% -


Well, lily-eccdaa94dc.ly contains two paper blocks -- second one is
after notes.

When i use your advice with paper in .tex document -- snippet contains
two paper blocks, but both are before notes.


I don't understand the difference, what's the difference, but
lilypond-book ignores system-count within .ly source. In my case :-)


 This should be completely equivalent to doing the same setting within 
 myfile.ly
 and using \lilypondfile{myfile.ly}.
:-(

Anyway, i can use you prev. example, thank you :-)

 
   /Mats

-- 
  _,-=._  /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
 `._ _,-.   )  _,.-'
`G.m-^m`m'Dmytro O. Redchuk



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


psfonts problem with lilypond-book - strange behaviour?

2007-03-20 Thread Dominic Neumann

[EMAIL PROTECTED],

I´m working with lilypond-book and LaTeX to typeset a songbook. Since
today there´s a problem with the PDF creation.

Here´s a short example:

%%% TEX FILE songbook.lytex %%%

\documentclass{book}

\begin{document}

\lilypondfile{herr_erbarme_dich.ly}

\end{document}

%%% END OF TEX FILE %%%


%%% INPUT FILE herr_erbarme_dich.ly %%%

\version 2.10.20


\header {
title = Herr, erbarme dich
tagline = ##f
%composer = T. u. M.: Fritz Müller
}

\score {
   
   \relative c' {
   \key e \minor
   \time 4/4

   e2 fis
   g4 g8 fis8~ fis2

   \bar |.
   }
   \addlyrics { Herr, er -- bar -- me dich, __ }
   
}
%%% END OF LILYPOND INPUT FILE %%%


The clue is that files that worked only yesterday don´t today. I
already reinstalled lilypond (2.10.20 on WinXP) but nothing changed.

When I comment the line
title = Herr, erbarme dich
out, the compilation produces no errors.

I used the proposed workflow:

lilypond-book --psfonts songbook.lytex
latex songbook.tex
dvips -o -h songbook.psfonts -Ppdf songbook.dvi
ps2pdf songbook.ps

The output of the last command (ps2pdf) is:

%%% START OUTPUT %%%
Error: /invalidfont in --glyphshow--
Operand stack:
  2.39   0.0   h   1.9462   0.0   c   1.2974   0.0   i   2.3217   0.0   d   0.9
902   0.0   space   1.9803   0.0   e   3.346   0.0   m   1.8757   0.0   r   2.15
1   0.0   a   2.2535   0.0   b   1.8096   0.0   r   1.9803   0.0   e   0.9902
0.0   space   0.956   0.0   comma   1.5722   0.0   r   1.8096   0.0   r   1.9803
  0.0   e   3.0388   0.0   16.3019   -2.5949
Execution stack:
  %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval-
-   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   fa
lse   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3
%oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringva
l--   --nostringval--   2   %stopped_push   --nostringval--   17   --nostringval
--   %repeat_continue   --nostringval--
Dictionary stack:
  --dict:1123/1686(ro)(G)--   --dict:0/20(G)--   --dict:71/200(L)--   --dict:10
1/300(L)--   --dict:75/200(L)--
Current allocation mode is local
Current file position is 682942
MiKTeX GPL Ghostscript 8.54: Unrecoverable error, exit code 1
%%% EnD OF OUTPUT %%%

This error description didn´t lead me to a solution to the problem ...

Can anybody help me?

Dominic


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


Re: No time/no bars

2007-03-20 Thread Klaus Muth
Am Montag, 19. März 2007 22:05 schrieb Fred Leason:
 global = {
   \set Staff.whichBar = 
   \set Score.timing = ##f
 }
I wonder what this is supposed to do. I can put it in and it compiles 
without warning - and does nothing. With \cadenzaOn no bars, without 
there are bars...

 at the beginning, and place

 \context {
   \Staff
   \remove Time_signature_engraver
   }
Works like a charm. The 'C' is gone.

 Good Luck
Yeah. I'm now half through Part three of Danses de travers. But I'm not 
sure about the copyright, Satie is dead long enough, but my score is 
marked with (c) 1978.

 On Mar 19, 2007, at 1:13 PM, Klaus Muth wrote:
  But I did not find some description to set music completely without
  time
  and bars... I got lilypond to do no bars by setting \cadenzaOn, but
  the
  default time sign C (4/4) appears. How can I clear that?

-- 
Klaus Muth  privat [EMAIL PROTECTED]
   geschaeftlich [EMAIL PROTECTED]
--
  http://www.hampft.de



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


Re: No time/no bars

2007-03-20 Thread Mats Bengtsson

Klaus Muth wrote:


Am Montag, 19. März 2007 22:05 schrieb Fred Leason:
 


global = {
\set Staff.whichBar = 
\set Score.timing = ##f
}
   

I wonder what this is supposed to do. I can put it in and it compiles 
without warning - and does nothing. With \cadenzaOn no bars, without 
there are bars...


 


This just defines an identifier (a macro) called \global, which
you can use in your score where you want to turn off the
bar lines. It's actually more or less equivalent to \cadenzaOn,
so you can replace your \cadenzaOn with \global. On the other
hand, I don't really see the point of setting whichBar, so
\cadenzaOn is probably a better option.

Yeah. I'm now half through Part three of Danses de travers. But I'm not 
sure about the copyright, Satie is dead long enough, but my score is 
marked with (c) 1978.
 


That's unfortunately a very clear indication about the
copyright status of your particular edition. If you are
lucky, you can find an older edition at some library.

 /Mats


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


Re: lilypond-book ignores system-count?

2007-03-20 Thread Mats Bengtsson
It seems that you have to place the \paper{...} block at the top of the 
.ly file,

before the actual \score. This is strange, since you can place these blocks
in arbitrary order when you process the file directly with lilypond.

  /Mats

Dmytro O. Redchuk wrote:


On Tue, Mar 20, 2007 at 02:34:27PM +0100, Mats Bengtsson wrote:
 


Dmytro O. Redchuk wrote:
   


Yes, i do want to specify system-count within lilypond source file!-)
But that didn't work (2.10.20, windows and linux binary versions).


 

Are you really sure? I just tried to split the example I sent in my 
earlier email

into a separate .ly file and a LaTeX file that just makes \lilypondfile{...}
and it certainly works to set system-count in a \paper block within the 
included .ly file.
   


Yes, i'm really sure.

I've re-installed lilypond ten minutes ago.
(LilyPond installer for version 2.10.20 release 1.)


% - ly: ---
\version 2.10.20

\relative c' {
\time 4/4
\partial 4*1
\autoBeamOff
d4
g4. g8 g4 d
g b d4.\fermata b8
b4 b c8 c c c
b4( a) b2
c4 b c d
e4. e8 e4 e
d2 c4 c
b2 a
b1 \fermata
\bar||
}

\paper {
system-count = #5
}
% -

% - tex: --
\documentclass{article}

\begin{document}

\lilypondfile{myscore.ly}

\end{document}
% -

Well, lilypond produces score with five staves, while lilypond-book --
with only two.

A piece of output:

% - output: ---
lilypond-book (GNU LilyPond) 2.10.20
Reading myscore.tex...
Running latex...This is TeX, Version 3.14159 (Web2C 7.4.4)
(/home/fox/tmp/tmpCnToVg.tex
LaTeX2e 2001/06/01
Babel v3.7h and hyphenation patterns for american, french, german, ngerman, r
ussian, ukrainian, nohyphenation, loaded.

(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
No file tmpCnToVg.aux.
textwidth=345.0pt
columnsep=10.0pt
(./tmpCnToVg.aux) )
No pages of output.
Transcript written on tmpCnToVg.log.
Dissecting...
Writing snippets...
Processing...
Running lilypond...GNU LilyPond 2.10.20
Processing `snippet-map.ly'
Разбираю...
Processing `myscore.tex'
Разбираю...
Renaming input to: `myscore.ly'
Interpreting music... [8][10]
Preprocessing graphical objects...
Calculating line breaks... 
Drawing systems... 
Writing lily-eccdaa94dc-systems.tex...

Writing lily-eccdaa94dc-systems.texi...
Layout output to `lily-eccdaa94dc-1.eps'...
Layout output to `lily-eccdaa94dc-2.eps'...
Layout output to `lily-eccdaa94dc.eps'...

Compiling myscore.tex...
Writing `myscore.tex'...
Writing fonts to myscore.psfonts...

DVIPS usage:
   dvips -h out/myscore.psfonts out/myscore.dvi
% -


Well, lily-eccdaa94dc.ly contains two paper blocks -- second one is
after notes.

When i use your advice with paper in .tex document -- snippet contains
two paper blocks, but both are before notes.


I don't understand the difference, what's the difference, but
lilypond-book ignores system-count within .ly source. In my case :-)


 

This should be completely equivalent to doing the same setting within 
myfile.ly

and using \lilypondfile{myfile.ly}.
   


:-(

Anyway, i can use you prev. example, thank you :-)

 


 /Mats
   



 




--
=
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


Changing fret-diagram muted string symbol

2007-03-20 Thread José Luis Cruz

Hello,

I've searched in manual and in the list archive, but i've been able to
find a way for substituting the 'x' symbol that denotes a muted string
in a fret-diagram.

I want to be able to use another symbol, like a blank space, or
ideally a markup (for changing font's size and attributes).

If someone is so smart for figuring a way, maybe we're lucky and it
can be applied also to substitute any dot inside the fret-diagram for
another symbol? :-)


cheers.


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


Problem that needs help

2007-03-20 Thread Mischa Falkenburg

Running Lilypond 2.10.0 and jEdit 4.3pre8 and Java 1.5.0_10, and
   things have been OK.
   Background...I had a file which I removed ~84 bars from. Decided to
   restore those bars by typing them in.
   Began processing and this is the result...no .pdf file is part of the
   result (but WHY?), and if I try playing the .midi file, what I'm 
hearing

   is some kind of shifting of the treble and bass parts...hearing
   harmonies that are NOT part of the score.
   Here's the output from Console:
   This is a console shell for running LilyPond and related commands.
   Enter %help to see the available special commands.
   LilyPond ready.
   %lilypond %args D:\lilypond\OceanicMusics II\firstmeas.ly
   Processing `D:/lilypond/OceanicMusics II/firstmeas.ly'
   Parsing...
   Interpreting music...
   
[8][16][24][32][40][48][56][64][72][80][88][96][104][112][120][128][136][144][152][160][168][176][184][192][200][208][216][224][232][240][248][256][264][272][280][288][296][304][312][320][328][336][344][352][360][368][376][384][392][400][408][416][424][432]

   Preprocessing graphical objects...
   Interpreting music...
   MIDI output to `firstmeas.midi'...
   Track...
   Layout output to `firstmeas.ps'...

- Ignored:
   While reading gs_patrn.ps:
   Error: /VMerror in --string--
   VM status: 0 332877 348044
   Current file position is 10591
   Unrecoverable error: undefined in .uninstallpagedevice
   Operand stack:
   gs_res.ps  .rfnstring  8192
   Converting to `firstmeas.pdf'...
   Processing time: 2620 seconds
   
   LilyPond ready.
   
   Worst case scenario...do I need to start from scratch and re-enter all

   of the 432 bars to date?
   
   Thanks-in-advance for your help/comments,

   Mischa
  



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