Re: Newer version for FreeBSD

2005-06-07 Thread Graham Percival


On 7-Jun-05, at 6:42 PM, Gordon Gilbert wrote:

So.  I've been watching ports for some time now, hoping that Lilypond 
would be upgraded there.  I have tried writing to the maintainer 
listed there as well.  To no avail.  Is there anybody out there 
running FreeBSD 5.3 or thereabouts who could take the time to place a 
newer -- stable -- version in ports?  Or who could step-by-step guide 
us non-geeks in the successful installation of a newer version on our 
machine?


See
http://lists.gnu.org/archive/html/lilypond-devel/2005-06/msg1.html

If it doesn't work, let me know.  The hardest part was making sure all 
the dependencies
are installed -- if there's any warnings or errors in ./autogen.sh, 
don't try to compile it.


Cheers,
- Graham



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


Re: Newer version for FreeBSD

2005-06-07 Thread Gordon Gilbert

Hi all!

I have been using Lilypond now for about 9 months, and have printed out a 
number of different scores for various purposes.  The program works 
great!!  I've had relatively little difficulty tweaking the files to 
produce what I want.


But being a non-geek, I am very much dependent on the ports version 
(2.2.2).  I realise it's possible to install stuff in FreeBSD from 
other sources, but I'm the type of person who belongs in the "Parents 
don't try this without supervision" category.  Anything I try on my own 
usually wrecks several more things that were just fine before ...


So.  I've been watching ports for some time now, hoping that Lilypond 
would be upgraded there.  I have tried writing to the maintainer listed 
there as well.  To no avail.  Is there anybody out there running FreeBSD 
5.3 or thereabouts who could take the time to place a newer -- stable -- 
version in ports?  Or who could step-by-step guide us non-geeks in the 
successful installation of a newer version on our machine?


Blessings,

Father Gordon Gilbert+


+=+
| Angels' Roost Farm  |
|   Rev. Fr. Gordon Gilbert & Susan Gilbert   |
|   705-549-5056  |
|[EMAIL PROTECTED]  |
|[EMAIL PROTECTED] |
+=+


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


jedit and dvi

2005-06-07 Thread Art Hixson
Sorry to bring this up again as there were quite a few posts a while 
ago.  However, I couldn't seem to make much sense of them.


I'm experimenting with Jedit in XP and an unable to get the JDVI 
function to find the music fonts, although the PostScript viewer works fine.


I assume that I need to put the path to fonts somewhere in Jedit but I'm 
not finding a file or dialog in which to do this.


Otherwise, I'm having a grand time with Lilypond.


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.4 - Release Date: 2005/06/06



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


Re: help with 2.4.5 in Debian

2005-06-07 Thread D Josiah Boothby
I have not used Ferenc's packages, but have been using the 2.4.5 that is 
in Debian Sid (I'm a little mystified as to why it didn't make it into the 
Sarge release) without problems.


Correction: the only problem that I had was that when I originally tried 
the Sid packages, the ec-fonts-mftraced was problematic. Maybe it is fixed 
now, but you can download a .deb from the lilypond website:


http://lilypond.org/download/fonts/

Josiah

On Tue, 7 Jun 2005, Sterling Sympatico wrote:


Hi,

I tried to install 2.4.6 in Debian using Ferenc Wagner's sources from
http://tac.ki.iif.hu/.  After having the default ec-fonts-mftraced crash
and downloading the nerwer version (.deb), I got an install.  However,
all attempts to run lilypond on the simplest file resulted in a
segmentation fault.  I tried using the smallest example from the
tutorial and compiling but got crashes.  So I reverted back to version
2.2.6-3 in the Debian Sarge repository and at least it works.  Is this a
common problem with Debian folks?

Also, I am trying to typeset a score choir.  The choir will be split
into 2, then 3, then back to 2 sections.  There are no sung notes, only
rhythmic clapping and stomping.  Some sort of drum mode would be ideal
for scoring but how do I use a mode like that in a piece with 2-3
stanzas?

I am using version 2.2.6-3 right now.

Thanks a lot in advance,

Sterling MacNay


___
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: Argument transfer?

2005-06-07 Thread Nicolas Sceaux
Nicolas Sceaux <[EMAIL PROTECTED]> writes:

> I would like to see a real example where a pre processor is a win over
> using LilyPond's built-in extensibility capabilities, which many seem
> to underestimate.

To be more precise about how extensible LilyPond is, I'll show an
example of a file I'm working on, which is a unit test file for a
`display-lily-music' function: this function takes a music expression
(the scheme internal representation) and outputs a string,
representing the music expression using LilyPond notation. For
instance:

guile> (display-lily-music #{ \bar "||" #})
{ \bar "||"
  }

The test file looks like:

{
  ##[ << { a b } \\ { c d } >> #]
  ##[ < c\1 e\3 >4.*3/4-. #]
  ##[ { c1 \afterGrace { b,16 c } d2 } #]
  ##[ { \makeClusters { c4 g } } #]
  ##[ \tempo 4 = 120 #]
  ##[ \clef "alto_3" #]
  ##[ \time 2/4 #]
  ##[ \bar "|." #]
  ##[ \once \set Score . skipBars = ##t #]
}

What this snippet does, is parsing the expression between #[ and #],
which gives a internal music expression, then calling the
`display-lily-music' function, to get back a string. The input and
this output string are compared, and if they are different, a report
is printed in the output score. For instance, if the file contains:

  {
##[ \figures { < 6 > } #]
  }

Then the resulting score contains the following markups:

  \figures { < 6 > }
  \new FiguredBass \figuremode { < 6 > }

showing that a difference has been found. No preprocessor needed.

For the curious, the definition of the #[ #] syntax, defined in the
top of the test file (no hacking LilyPond's core needed):


%%%
%%% Utilities
%%%
#(begin
  (init-print-lily parser)
  (define gen-lily-sym
;; Generate a lilyvartmpXX symbol, that may be (hopefully) unique.
(let ((var-idx -1))
  (lambda ()
(set! var-idx (1+ var-idx))
(string->symbol (format #f "lilyvartmp~a"
(list->string (map (lambda (chr)
 (integer->char (+ 
(char->integer #\a) (- (char->integer chr)

  (char->integer #\0)
   (string->list 
(number->string var-idx)
  
  (define (my-parse-string-result str parser module)
"Parse `str', which is supposed to contain a music expression."
(let ((music-sym (gen-lily-sym)))
  (ly:parser-parse-string
   parser
   (format #f "
  ~a = \\notemode { ~a }
  #(ly:export '~a)
  #(module-define! (resolve-module '~a) '~a ~a)
  "
   music-sym str music-sym (module-name module) music-sym 
music-sym))
(eval `,music-sym module)))
  
  (define (my-read-lily-expression chr port)
(let ((lily-string (call-with-output-string
(lambda (out)
  (do ((c (read-char port) (read-char port)))
  ((and (char=? c #\#)
(char=? (peek-char port) #\]))
   (read-char port))
(display c out))
  `(let* ((parser-clone (ly:clone-parser parser))
  (input-str (string-trim-both ,lily-string))
  (music (car (ly:music-property 
   (my-parse-string-result input-str parser-clone 
(current-module))
   'elements)))
  (result-str (string-trim-both (print-lily-music music
 (if (string=? input-str result-str)
 (ly:export (make-music 'SequentialMusic))
 (ly:export
  (make-music
   'SimultaneousMusic
   'elements
   (list (make-music
  'ContextSpeccedMusic
  'context-id
  "$uniqueContextId"
  'property-operations
  '()
  'context-type
  'Lyrics
  'element
  (make-music
   'SequentialMusic
   'elements
   (list (make-music
  'EventChord
  'elements
  (list (make-music
 'LyricEvent
 'duration
 (ly:make-duration 2 0 1 1)
 'text
 (markup #:simple input-str)))
 (make-music
  'ContextSpeccedMusic
  'context-id
  "$uniqueContextId"
  'property-operations
  '()
  'context-type
  'Lyrics
  'element
  (make-music
   'SequentialMusic
   'elements
  

Re: Argument transfer?

2005-06-07 Thread Nicolas Sceaux
Erik Sandberg <[EMAIL PROTECTED]> writes:

> On Monday 06 June 2005 20.02, Fairchild wrote:
>> Eric, et. al. -
>>
>> Thanks for the response, even though it hasn't led anywhere.
>>
>> Let's try the question a couple of other ways.
>>
>> Can Scheme code be used within a \score block?
>>
>> Can a variable, defined in the ly file, be reassigned a new value within
>> the \score block?
>
> Unfortunately, you can see variables quite much as macros, i.e. a variable is 
> substituted at once when the variable name is found in an expression.
>
> BTW, if you are in need for parameters, you may want to consider using some 
> preprocessor, e.g. m4 or gpp, for your ly files.

I would like to see a real example where a pre processor is a win over
using LilyPond's built-in extensibility capabilities, which many seem
to underestimate.

The relevant sections of the manual can be found here:

  
http://lilypond.org/doc/v2.5/Documentation/user/out-www/lilypond/Programmer-interfaces-for-input.html

The short answer to Fairchild's question is:

BigOn = #(def-music-function (parser location size) (number?)
  #{ \override NoteHead #'font-size = #$size #})

\relative c'' {
  c c c c
  \BigOn #3
  c c c c
  \BigOn #6
  c c c c
}

nicolas


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


tied chords problem

2005-06-07 Thread VSD

Hi,

it seems that the current Lilypond version (2.5.28) yet don't handles  
properly the ties in chords with small intervals between notes. e.g, in:


4 ~ 

there's a heavy tie collision. The output I get for this example is shown  
at:


http://personales.ya.com/v_s_d/tied_chords.png

this subject has been discussed in the past, but I haven't found any  
solution in the manual nor in the list archives. I currently cheat this  
problem by drawing those ties in postscript, but that's not very  
functional.


Is there some way to set the direction individually for each tie?

I know that the automatic tie positioning algorithm is complicated. Then,  
would it be possible to extend the TieColumn object to have a "direction"  
property for each tie, e.g. in a list? Then the user could override it's  
own positioning "algorithm" more or less like this:



\override TieColumn #'directions = #'(up down down down)
4 ~ 
\tieColumnNeutral   % revert to default


I don't know enough about scheme to know if this makes sense at all. Just  
trying to suggest :)


Vincent


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


help with 2.4.5 in Debian

2005-06-07 Thread Sterling Sympatico
Hi,

I tried to install 2.4.6 in Debian using Ferenc Wagner's sources from
http://tac.ki.iif.hu/.  After having the default ec-fonts-mftraced crash
and downloading the nerwer version (.deb), I got an install.  However,
all attempts to run lilypond on the simplest file resulted in a
segmentation fault.  I tried using the smallest example from the
tutorial and compiling but got crashes.  So I reverted back to version
2.2.6-3 in the Debian Sarge repository and at least it works.  Is this a
common problem with Debian folks?

Also, I am trying to typeset a score choir.  The choir will be split
into 2, then 3, then back to 2 sections.  There are no sung notes, only
rhythmic clapping and stomping.  Some sort of drum mode would be ideal
for scoring but how do I use a mode like that in a piece with 2-3
stanzas?

I am using version 2.2.6-3 right now.

Thanks a lot in advance,

Sterling MacNay


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


Separation of content and lay out [WAS]: lay out

2005-06-07 Thread dax2
On Tue, 07 Jun 2005 12:46:27 +0200
Mats wrote:

> 
> I would claim that this idea clearly has influenced the design
> of LilyPond from the first version. You can set parameters to
> determine the layout in the \layout{...} block.
> However, there will always be special cases where the automatic
> layout decisions taken by the program will not be good enough,
> so therefore we can never get rid of the need to tweak certain
> parameters at a specific place in the score. This means that
> it will be impossible to get a 100% separation of content and
> layout.

I agree and I accept that printed music is a compromise between
lots of different principles with readability at highest priority.

It can be argued that contents cannot and should not be separated
from layout, but as all extremes this opposite point of view is
also misleading.

Which is why Lilypond works well even if there are lots of details
to be mastered when one wants to write orchestral scores (and
voices for the instruments with captions, lead-ins or cue-notes
etc.)

The intelligent nesting of "tweaks" is very promising.


/Donald Axel
-- 
dax2-tele2adsl:dk -- http://d-axel.dk/  Donald Axel


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


Re: Poor error reporting

2005-06-07 Thread Mats Bengtsson

Please send bug reports like these to bug-lilypond (I've included
a cc: there for this one).

  /Mats

Sven Axelsson wrote:
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Subject: Re: Poor error reporting


Does the program run to the end or does it crash in the middle?
I don't think there have been many changes in the printouts from
LilyPond, but if you have happened to trigger a bug that gives a
segmentation fault, then it may happen that you don't get any
useful information.

If you want more help from the mailing list, please at least provide
a copy of the printouts from lilypond --verbose or send the complete
input files.



Ok, I might have come off needlessly annoyed here. Sorry about that. I 
have found what casues this. It looks like some syntax errors inside a 
markup causes Lilypond to produce no output. Here's what triggered the 
error this time (trimmed to a minimum)


\version "2.5.27"

\header {
title = \markup { \fill-line {  } }
}
\relative c'' {
a b c d
}

Note the empty fill-line in the header markup.

Here is the log:

# -*-compilation-*-
Processing `D:/Music/test.ly'
Parsing...
Interpreting music... [1]
Preprocessing graphical objects... 
Calculating line breaks... [2]


So it dies in the "Calculating page breaks" phase.



--
=
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: lay out

2005-06-07 Thread Mats Bengtsson



Aaron Mehl wrote:

continued from preious email that yahoo sent
accidently before I finished :(




If a structural wish list was allowed however here
is
what I would want.

1. A real separation of content and formatting.


   This means that a lilypond file would have no
formatting in it at all. A seperate style sheet would
be the place for this. The advantage is that if you
have style tweaks for multiple docs only one file is
needed to apply these tweaks to all files. This might
require the addition of attributes to permit lower
level styles in and external file...


I would claim that this idea clearly has influenced the design
of LilyPond from the first version. You can set parameters to
determine the layout in the \layout{...} block.
However, there will always be special cases where the automatic
layout decisions taken by the program will not be good enough,
so therefore we can never get rid of the need to tweak certain
parameters at a specific place in the score. This means that
it will be impossible to get a 100% separation of content and
layout.



2. A fixed and clearly defined structure which takes
into account the possible structural pieces that
different scores can contain.

\piece
\movement
\phrase
\motiv
\chorus
etc.

This I know is a fundamental change in the structure
of  lilypond and possibly(probably) hard to impose on
the already existing structure.


The support for titling in LilyPond has always been a bit
primitive, just providing a basic support to add titles to
a piece. So, the structural elements you propose are really
out of scope in todays LilyPond. Up til version 2.2, the titling
layout was really hard coded and it was very seldom that you
could have more than a single \score{...} in a .ly file and
get a useful output. However, from version 2.4 you can
actually redefine how the titling is done, so there are much
better possibilities to actually typeset a full piece with
several movements in a single .ly file. Still, going from that
to what you have in mind is a very long step and I'm not convinced
that it should be top priority. For me it's much more important
that the typesetting withing each movement is top quality.




Truthfully \score etc doesn't say much about the
structure of a composition but are rather containers
for data types to be parsed.


Think of it as one movement of a piece.


This thread was started to understand and I hope
document the file structure.

I would like to see actually a diagram of how and in
what order each block ("container of data") is parsed
in lilypond as well as what block is processed first
second etc.


Parsing is from top to bottom, replacing macro definitions
along the way, so nothing fancy is going on here.

/Mats


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


Re: lay out

2005-06-07 Thread Mats Bengtsson



Aaron Mehl wrote:

Ok I am now getting both unconfused and confused.


But both paper and layout deal with layout.


Up to version 2.2, page layout and score layout was all
lumped together into \paper{...}. Now, there's more
structure to it. The intuitive notion is that \paper{...}
only deals with the page sizes, margins, and other page
layout issues that apply to the full book, whereas
\layout{...} deals with the layout within each \score{...}.





I see that structure  in lilypond is not a
documentation structure. ie a programmers structure.


If I were to build a document I would have formatting
for the page or the entire document and formatting for
the section. 


My  confusion is that lilypond leave the creation of
sections etc to the user in a way.

The logic is not one of nesting I gather but how
things are processed, as in python where each part is
processed going down the page and inner brackets are
done in a certain order.

I could then have I gather

layout anywhere in a document.
I would hate to hazard a guess that paper could also
appear anywhere?

What happens is that the terms become unclear and the
usage blurry.


I agree completely that this is unclear and have requested
clarifications a number of times.

   /Mats


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


Re: lay out

2005-06-07 Thread Graham Percival


On 6-Jun-05, at 11:08 PM, Aaron Mehl wrote:

1. A real separation of content and formatting.

   This means that a lilypond file would have no
formatting in it at all. A seperate style sheet would
be the place for this. The advantage is that if you
have style tweaks for multiple docs only one file is
needed to apply these tweaks to all files.


This is already possible and in use.  See the Mutopia examples.

- Graham



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


Re: Poor error reporting

2005-06-07 Thread Sven Axelsson
> From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
> Subject: Re: Poor error reporting
> 
> Does the program run to the end or does it crash in the middle?
> I don't think there have been many changes in the printouts from
> LilyPond, but if you have happened to trigger a bug that gives a
> segmentation fault, then it may happen that you don't get any
> useful information.
> 
> If you want more help from the mailing list, please at least provide
> a copy of the printouts from lilypond --verbose or send the complete
> input files.

Ok, I might have come off needlessly annoyed here. Sorry about that. I 
have found what casues this. It looks like some syntax errors inside a 
markup causes Lilypond to produce no output. Here's what triggered the 
error this time (trimmed to a minimum)

\version "2.5.27"

\header {
title = \markup { \fill-line {  } }
}
\relative c'' {
a b c d
}

Note the empty fill-line in the header markup.

Here is the log:

# -*-compilation-*-
Processing `D:/Music/test.ly'
Parsing...
Interpreting music... [1]
Preprocessing graphical objects... 
Calculating line breaks... [2]

So it dies in the "Calculating page breaks" phase.

-- 
Sven Axelsson


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


Re: lilypond 2.4.4 package on suse 9.3: dvips problem

2005-06-07 Thread Graham Percival


On 7-Jun-05, at 2:13 AM, Robert Memering wrote:


As for the one-line-staff bug: Any news? Did you reproduce it?


I reproduced it in 2.5.27, but I didn't want to track it down at that 
time.  I tried
it again today (using 2.5.28), prepared to track it down, but it didn't 
occur.  The
template compiled correctly.  (the web docs are broken, but the 
template on

its own is fine, when it wasn't in .27)

Try your score in .28 and see if it happens again.

Cheers,
- Graham



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


Another lilypond-book problem

2005-06-07 Thread Georg Dummer
Hi all,

I think I have the same problem as described by Laura Conrad (28 May; 3
June) on the lilypond.devel-list.
Up to now no one answered this question. So I want to post it to this list:

In my *.lytex file I played around with:
\lilypondfile[quote,noindent,linewidth=170\mm]{Messe/GottMeinGott.ly}
Or
\lilypondfile{Messe/GottMeinGott.ly} ...

But always with the same effect:
The first two systems of a score are placed side by side instead of among
each other. The second systems, needless to say, runs out of the page.
The rest of each piece is ok.

\version 2.5.27
Self-compiled on debian 2.4.27

Any idea?
And many thanks in advance
Georg Dummer



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


Re: lilypond 2.4.4 package on suse 9.3: dvips problem

2005-06-07 Thread Robert Memering
Am Sonntag, 5. Juni 2005 21:09 schrieb Graham Percival:
> Well, yes.  We can't figure out what went wrong without an
> input file.

Nevermind, I figured it out myself. You were right, I was
actually doing something fancy. It was a bar-number trick
that I took from one of the example files:

\override Score.BarNumber  #'break-visibility = #end-of-line-invisible
\set Score.barNumberVisibility = #(every-nth-bar-number-visible 5)
\override Score.BarNumber  #'print-function =
#(make-stencil-boxer 0.1 0.25 0.25 Text_interface::print)
\override Score.BarNumber  #'font-size = #1
\override Score.BarNumber #'extra-offset = #'(1 . 1)

When I deleted the second "0.25" argument it worked.

As for the one-line-staff bug: Any news? Did you reproduce it?


Best regards,
Robert


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


Re: [EMAIL PROTECTED]: Re: more problems with 2.5.27 :)]

2005-06-07 Thread Mats Bengtsson

I wouldn't consider this a specific LilyPond issue. You will have
exactly the same problem if you write a text document or whatever
that requires some special characters. Especially, since people use
different editors and different operating systems, such a FAQ would
have to be extremely long to cover even the most commong cases.
I'm afraid it wouldn't help to have a list of characters in the
documentation either, since there's no guarantee that it works to
use copy/paste from the documentation reader to the editor.

   /Mats


Roman V. Isaev wrote:

Oops, hit reply instead of group reply

- Forwarded message from "Roman V. Isaev" <[EMAIL PROTECTED]> -

Date: Mon, 6 Jun 2005 01:15:10 +0400
From: "Roman V. Isaev" <[EMAIL PROTECTED]>
To: Bertalan Fodor <[EMAIL PROTECTED]>
Subject: Re: more problems with 2.5.27 :)

On 06/05, Bertalan Fodor wrote:


Use the character map. Or copy this: pi??. :-)



	Umm... now that's sure an item for the FAQ :-) Unfortunately 
your letter turned into '??' by too smart MTA. I never understood

why replace foreign symbols with question marks -- just to
make sure that it's unreadable?..
	Anyway it works, unfortunately it doesn't work in vim for 
windows, vim pastes something strange. I had to run notepad to insert 
these symbols.




Bert



kup { \italic "pi\\`u" \dynamic "f" }
   



\`u is a TeX construct.  2.5.x does not use TeX anymore, you can now
use plain ??.
 







--
=
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: Argument transfer?

2005-06-07 Thread Mats Bengtsson

If you want parameterized macros in your scores, I would recommend
to use Scheme functions. You can find several examples in the
mailing list archives and in the documentation.

  /Mats

Erik Sandberg wrote:

On Monday 06 June 2005 00.17, Fairchild wrote:


This code is effective:

\version "2.4.3"
Mag = #3
BigOn  = \override NoteHead #'font-size = \Mag
\score {\relative c'' {
c c c c
\BigOn
c c c c
}}


This shows what I'd like, but it doesn't work:

\version "2.4.3"
BigOn  = \override NoteHead #'font-size = \Mag
\score {\relative c'' {
c c c c
Mag = #3
\BigOn
c c c c
}}


That is, is there a way to pass a parameter into a define
from within \score?



Sorry, this is not possible. If you really need it, you can play around with 
\include:


Mag = #3
BigOn = \include "BigOn.ly"

.. and let BigOn.ly contain only the "\override.. " line.

Erik


___
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: making 2.5.27 (or should I say not making?)

2005-06-07 Thread Mats Bengtsson

The lilypond-user mailing list is mainly intended for general
usage questions and questions related to the stable versions.
Please use lilypond-devel for issues related to the latest
development versions. Of course, now that 2.5.xx is just about
to become the next stable version, it might make sense to
have 2.5.xx related questions on lilypond-user.

My main point here, though, is that you should always search the
mailing list archives for lilypond-devel and bug-lilypond before
asking questions on bugs/problems of the development versions.
If you search for FlexLexer.h, you will find out that what you suffered
from was a failed attempt to work around problems with distributions
that have incompatible versions of gcc and flex. Han-Wen has reverted
this fix in 2.5.28, so hopefully that should work for you.

   /Mats

Aaron Mehl wrote:

Thanks for the response, I did it but it didn't seem
to make a difference..

I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   
-I/usr/include/freetype2   -W -Wall -Wconversion  -o

out/includable-lexer.o includable-lexer.cc
includable-lexer.cc: In member function `void
   Includable_lexer::new_input(String, Sources*)':
includable-lexer.cc:67: error: `yy_buffer_stack'
undeclared (first use this
   function)
includable-lexer.cc:67: error: (Each undeclared
identifier is reported only
   once for each function it appears in.)
includable-lexer.cc:67: error: `yy_buffer_stack_top'
undeclared (first use this
   function)
make[1]: *** [out/includable-lexer.o] Error 1
make[1]: Leaving directory
`/disks/hda2/bakup/tars/lilypond-2.5.27/lily'
make: *** [all] Error 2
theone:/disks/hda2/bakup/tars/lilypond-2.5.27#  


Thanks
Aaron 



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



___
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: Poor error reporting

2005-06-07 Thread Mats Bengtsson

Does the program run to the end or does it crash in the middle?
I don't think there have been many changes in the printouts from
LilyPond, but if you have happened to trigger a bug that gives a
segmentation fault, then it may happen that you don't get any
useful information.

If you want more help from the mailing list, please at least provide
a copy of the printouts from lilypond --verbose or send the complete
input files.

   /Mats

Sven Axelsson wrote:

Has all error reporting been removed from version 2.5?

I am trying to produce a book made up of many included files and 
Lilypond just quits producing no output. How am I supposed to 
find out what went wrong with no indication of the included files

and no error messages whatsoever in the log? Running with the
verbose option adds no useful information, just some counters
and timing.

I don't have 2.4 installed at the moment, but I seem to remember 
that the error reporting was a bit better there,




--
=
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: lilypond-book problem

2005-06-07 Thread Mats Bengtsson



Jamie Bullock wrote:

I get the following error:

! LaTeX Error: The font size command \normalsize is not defined:
  there is probably something wrong with the class file.

Any help would be appreciated.


This looks like a problem with your LaTeX installation and is
not related to LilyPond.

   /Mats


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


Re: lay out

2005-06-07 Thread Mats Bengtsson

Also, to get a nice overview of the changes from version 2.2 to 2.4,
please read the NEWS file for version 2.4:
http://lilypond.org/doc/v2.4/Documentation/topdocs/out-www/NEWS.html
Also, it may be worth to look at the printouts from
convert-ly -s

  /Mats

Mats Bengtsson wrote:

On Sat, 4 Jun 2005, Graham Percival wrote:



On 4-Jun-05, at 4:31 PM, Aaron Mehl wrote:



So am I able to generalize from this that layout
replaces paper (you said not and the docs still say
that paper is still in?)


There is currently a \paper{} and \layout{}.  I really don't
want to talk about anything that happened before 2.4, because
I really don't know what the relationship is.



See http://lists.gnu.org/archive/html/bug-lilypond/2005-04/msg00147.html 
with follow-ups for some input.


   /Mats



___
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: More pictures to manual

2005-06-07 Thread Mats Bengtsson

Have you looked at the Tips and Tricks document and the Regression Test
document in the on-line documentation? They provide exactly what you ask
for. Also, all(?) these examples plus more are also available in the
LilyPond Snippet Repository, see that link at 
http://www.lilypond.org/web/documentation


   /Mats

Roman Käppeler wrote:

Graham Percival wrote:


At the moment this does not suffice for me. The manual just gives 
the basics, but to get the result from this basics is still very, 
very difficult! To write the notes is very, very easy, but to put 
different staves together or something else still drives me gracy. I > could waste many stupid questions if there is a manual with many, 
many more pictures, showing nearly all possibilites to put staves 
and notes together!


Is it possible to make such a manual??


Short answer: no, it's not possible.

Long answer: "nearly all possibilities to put staves and notes 
together" is nearly infinite.  Think about how many instrument combinations are used in the world.  Chamber groups, orchestra, wind band music, opera, masses, choirs... there's no way we can cover all the possibilities.




Yes that's true and I wrote my suggestion a bit inexact. But my opinion
is examples, examples, examples... While trying to do a bit of work I
read the appropriate parts in the manual and the experience was, that
the standard-cases with only few notes logically work without problem,
but put them together to the final result you want to have is still
(too) difficult.

If there are more pictures in the manual, describing more cases with
staves and contexts and so on, it would be a great help!



It's much more useful to explain how to create (or modify) your own templates.



More templates? Maybe, everyone who is interested in contributing can
put a part of his personal .ly file to the web with a picture and others
can take a look to the picture and copy the appropriate parts. Isn't
this possible?


___
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: More pictures to manual

2005-06-07 Thread Roman Käppeler
Graham Percival wrote:

>> At the moment this does not suffice for me. The manual just gives 
>> the basics, but to get the result from this basics is still very, 
>> very difficult! To write the notes is very, very easy, but to put 
>> different staves together or something else still drives me gracy. I > could 
>> waste many stupid questions if there is a manual with many, 
>> many more pictures, showing nearly all possibilites to put staves 
>> and notes together!
>>
>> Is it possible to make such a manual??
>
>Short answer: no, it's not possible.
>
>Long answer: "nearly all possibilities to put staves and notes 
>together" is nearly infinite.  Think about how many instrument combinations 
>are used in the world.  Chamber groups, orchestra, wind band music, opera, 
>masses, choirs... there's no way we can cover all the possibilities.
>
Yes that's true and I wrote my suggestion a bit inexact. But my opinion
is examples, examples, examples... While trying to do a bit of work I
read the appropriate parts in the manual and the experience was, that
the standard-cases with only few notes logically work without problem,
but put them together to the final result you want to have is still
(too) difficult.

If there are more pictures in the manual, describing more cases with
staves and contexts and so on, it would be a great help!

>It's much more useful to explain how to create (or modify) your own templates.
>
More templates? Maybe, everyone who is interested in contributing can
put a part of his personal .ly file to the web with a picture and others
can take a look to the picture and copy the appropriate parts. Isn't
this possible?


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