Re: free LilyPond advertising

2008-02-24 Thread Han-Wen Nienhuys
Ok, here's the rub:

we have this mechanism called concave beams, see
http://lilypond.org/doc/v2.11/input/regression/collated-files#beam-concave.ly:

Beams whose inside notes get closer to the beam than the edge notes
should be horizontal.
This is pretty obvious for single-voice notes; for chords it gets
hairier: which part of the chord notes do we use to decide this?
Right now, we use the notes farthest away from the beam. We could use
the top notes (the highest is the melody?) instead.  What do you
think?


[hmmm, the #filename links are broken; we get the full path name now.
Is this something recent?  John?]

2008/2/24, Werner LEMBERG [EMAIL PROTECTED]:
  OK. maybe this isn't advertising, but as a recovering Finale user I
   have been taking notes about what it was like to try LilyPond for the
   first time. The first three installments of those writings are now
   posted on my site and, of course, the LilyPond output looks
   marvellous:
  
   http://www.musicbyandrew.ca/finale-lilypond-1.html


 *Very* nice, especially the references to lilypond bugs :-)



 Werner



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



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


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


Re: Concave beams (was: free LilyPond advertising)

2008-02-24 Thread Han-Wen Nienhuys
2008/2/24, Rune Zedeler [EMAIL PROTECTED]:
 Han-Wen Nienhuys skrev:
   This is pretty obvious for single-voice notes; for chords it gets
   hairier: which part of the chord notes do we use to decide this?

  I think we should look at both top notes and bottom notes. We should
  only make the beam horizontal if they agree that the pattern is concave.
  (I.e. form a pattern of the top notes. Form another pattern of the
  bottom notes. If both patterns are concave then make the beam horizontal)

  If we have something like { \stemUp c d e g f } Then we do not want a
  horizontal beam.

Hmm .. I'm not sure. I've put the 'look at upper note' in Git since it
concords with the data we have, but the real problem is that we're
short of data.  I've created a test file beam-concave-chord.ly, to add
future test cases, to document any decisions we make.

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


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


Re: Collisions in tuplet beams across staffs

2008-02-24 Thread Han-Wen Nienhuys
2008/2/22, Oscar van Eijk [EMAIL PROTECTED]:

  Any suggestions? Is this a bug?

Yes;

without delving deeper into this, I'd say it might be related to the
recent changes wrt. page layout.

Joe?





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


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


Re: Doing \score { ...... } and \context Staff .... in scheme?

2008-02-23 Thread Han-Wen Nienhuys
2008/2/21, Reinhold Kainhofer [EMAIL PROTECTED]:
   \makeScore Test { c'4 d' e' f' g'1 }

 Dang, that looked so promising!
  It worked fine in all my tests, until I started switching my orchestral score
  to my own createscore function... The problem is that cue notes do not appear
  in the score!!!

See scm/lily-library.scm , function scorify-music.  You need to run
toplevel-music-functions over the music first.

Without this,   \\  also doesn't work.

  Apparently your makeScore function is not exactly the same as
  \score {

Correct. If you want to know what lily is up to, best is to look at
lily/parser.yy, where you can see the scorify-music call in the
score_body rule.

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


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


Re: free LilyPond advertising

2008-02-23 Thread Han-Wen Nienhuys
2008/2/23, Andrew Hawryluk [EMAIL PROTECTED]:
 OK. maybe this isn't advertising, but as a recovering Finale user I
  have been taking notes about what it was like to try LilyPond for the
  first time. The first three installments of those writings are now
  posted on my site and, of course, the LilyPond output looks
  marvellous:

  http://www.musicbyandrew.ca/finale-lilypond-1.html

Excellent analysis!

Is the .ly file available for further scrutiny?  The flat beams in the
upper right of the 2nd line look like a bug.

Can someone (one of you documentation guys?) link to this from the
website?  as a news entry on the front-page and from the essay?

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


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


Re: Doing \score { ...... } and \context Staff .... in scheme?

2008-02-19 Thread Han-Wen Nienhuys
2008/2/19, Nicolas Sceaux [EMAIL PROTECTED]:

 +LY_DEFINE (ly_score_set_header_x, ly:score-set-header!,
 +  2, 0, 0, (SCM score, SCM module),
 +  Set the score header.)
 +{
 +  LY_ASSERT_SMOB (Score, score, 1);
 +  SCM_ASSERT_TYPE (ly_is_module (module), module, SCM_ARG2,
 __FUNCTION__,
 +  module);
 +
 +  Score *sc = unsmob_score (score);
 +  return sc-get_header ();
   }


 Shoudn't ly:score-set-header! actually set the header, rather than
 returning it?

ah yes, a cut  paste error.


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


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


Re: Doing \score { ...... } and \context Staff .... in scheme?

2008-02-19 Thread Han-Wen Nienhuys
2008/2/19, Reinhold Kainhofer [EMAIL PROTECTED]:

 Thanks for adding these bindings. However, should ly:score-header always
 return a header module, or do I have to create the header module myself? For

It's inited as empty, so you will need to do (ly:score-set-header!
score (make-module ... ))
in .41

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


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


Re: Doing \score { ...... } and \context Staff .... in scheme?

2008-02-18 Thread Han-Wen Nienhuys
2008/2/17, Reinhold Kainhofer [EMAIL PROTECTED]:
 Thanks for the hint... Works so far (see attached example).

 However, how can I define a function so that instead of scheme, i.e.
  \score { #(createscore test) }
 i can simply do:
  % This does NOT work (syntax error)
  \score { \createscore #test}
 or even better:
  \createscore #test

that's not possible, afaics, but you can have

#(createscore test)

at toplevel.
check out

 toplevel-score-handler

in ly/declarations-init.ly; this shows how to schedule a \score object
for typesetting.

 Now that this works more or less, how can I set 'header:piece only for this
 score? I tried ly:prob-set-property! and ly:context-set-property!, but
 neither works. Which type of object is a score?

It's a scheme module. I think we lack the bindings to set or read the
one in the \score block  from scheme. I'll add some for .41 - when the
bindings are there, it would be

(define header-object (ly:score-header score))
(module-set! header-object 'piece blah)

  2.11.40 adds a ly:score-add-output-def function that will
  allow you define a piece of music

 What exactly does that do? There's no description, and the only use is in the
 incipit example inside a lambda function used as a stencil definition. That's
 wa above my head with regards to lilypond internals.

Sorry, I messed up the explanation.  You can set the \layout block
with this function, which may be useful if you want to set custom
margins programmatically for some reason. Not sure if you need it.

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


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


Re: Several issues transcribing ancient notation (clefs, noteheads, spacing)

2008-02-18 Thread Han-Wen Nienhuys
2008/2/12, till [EMAIL PROTECTED]:

 2. There is a lot of threads here on the list. You can play with all sorts
 of spacing but nothing is yet really convincing. The most simple workaround
 appears to be to scale all note durations to a singe duration, eg. 1/8,
 which can be achieved by appending the note duration: a\breve*1/8 will give
 a breve that takes only the space of 1/8. It should be possible to write a
 scheme expression that does this automatically, but I don't know how.

This is very badly tested, but

\header {
  texidoc = 
In packed mode, pack notes as tight as possible.  This makes
sense mostly in combination with raggedright mode: the notes
are then printed at minimum distance.  This is mostly useful
for ancient notation, but may also be useful for some flavours
of contemporary music.  If not in raggedright mode, lily will
pack as much bars of music as possible into a line, but the
line will then be stretched to fill the whole linewidth.

  }

\version 2.11.40

\layout {
  ragged-right = ##t
}


\relative {
  \override Score.SpacingSpanner #'packed-spacing = ##t
  c2 d4 f8[ g]
}




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


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


Re: Line breaking within ligature brackets

2008-02-18 Thread Han-Wen Nienhuys
I'm pretty sure this is already allowed.  Maybe you have misalignment
of a rhythm somewhere? Can you post a bugreport?

2008/1/23, Greg Swinford [EMAIL PROTECTED]:
 Is it possible to allow line breaking during ligatures (or at least ligature
 brackets) as it is with horizontal (analysis) brackets?



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


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


Re: Error trapping \chordmode in LP 2.11.37 for Windows

2008-02-18 Thread Han-Wen Nienhuys
2008/1/30, Risto Vääräniemi [EMAIL PROTECTED]:
 On Jan 30, 2008 11:19 AM, Valentin Villenave wrote:
  There's a much simpler solution: I could just make a patch against
  lilypond's GUB NSIS script to call lilypond instead of
  lilypond-windows when double-clicking on a .ly file.

 Why are there two executables anyway? Do they perform different things
 or are they sort of equivalent but they are used in different
 contexts.

It's because of the way that DOS/windows handles stdout output.  For
the double-click behavior (create logfiles), we don't want to flash
cmd.exe windows.

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Doing \score { ...... } and \context Staff .... in scheme?

2008-02-17 Thread Han-Wen Nienhuys
2008/2/13, Reinhold Kainhofer [EMAIL PROTECTED]:
 Hi all,

 In the large vocal and orchestral piece that I'm currently typesetting, I have
 lots of score and staff definitions, which look exactly the same, except for
 the variable names. Thus it would make tremendous sense to not hard-code
 them, but generate them on the fly by some scheme function. Unfortunately,
 all my attempts so far have failed...


 In particular, what is the scheme equivalent, producing the same as the
 following lilypond code?

 IChorObIScore = \score {
\IChorObIStaff 
   \header { piece = \IChorPieceName }
 }

 I simply want a scheme function generate-intrument-score piece instr, which
 I would then call as
 \generate-instrument-score #IChor #ObI

 Tha scheme function would then use
(string-symbol (string-concat piece instr #Staff))
 to generate \IChorObIStaff and (eval (string-symbol)) to insert the
 definition of \IChorObIStaff. So, basically, all I need is how to generate
 the \score { ... } in scheme.


You have to use the scheme bindings. There is a ly:make-score
function. 2.11.40 adds a ly:score-add-output-def function that will
allow you define a piece of music

 generate-score = #(define-music-function (parser location piece instr)
 (string string)
   #{
 \score {

IIRC #{ can only contains music expressions.

#(eval (string-symbol (string-append piece instr #Staff))) 

Inside scheme the # before a string is not necessary.

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


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


Re: musicxml2ly problems

2008-02-16 Thread Han-Wen Nienhuys
2008/2/9, Reinhold Kainhofer [EMAIL PROTECTED]:
 The set data type is new in Python 2.3, and is needed in musicxml2ly to
 prevent duplicate definitions (i.e. I store all needed additional definitions

are you sure it's 2.3 ? From the looks, this is a mac, which ships
with 2.3 in /usr/bin . On other platforms, we ship 2.4 inside the
lilypond package.

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


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


Re: Crippled PS/RPM output on RHEL5

2008-02-10 Thread Han-Wen Nienhuys
I'm stumped; I have no idea what is going on.

Sorry.


2008/2/8, Ozgur Yuksel [EMAIL PROTECTED]:
 On Feb 7, 2008 5:00 PM, Han-Wen Nienhuys [EMAIL PROTECTED] wrote:
  2008/2/7, Ozgur Yuksel [EMAIL PROTECTED]:
 I am working with GNU LilyPond 2.11.37 (the problem had existed with
 2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
 output  with my FC7 box, I get crippled output (both PS and PDF) on
 RHEL5. The attached files bad.* show the crippled pdf and ps files of
 test.ly where it looks like good.png with fc7.
   
Can you post the output of a --verbose run on the RHEL5 box?
 
  Mats was right; the problem is in reading the correct fonts.
 
  Can you run an strace of the binary?  You'll probably have to modify
  the wrapper script (bin/lilypond) to be like
 
strace path/to/lilypond 
 
  The output will be huge.  I'm just looking for the places where
  libfontconfig.so.X.Y and libpango.so.X.Y is opened, so grep for
  libfontconfig and libpango
 
  --
 
  Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
 

 Hi,
 I have changed ~/bin/lilypond as follows:

 #!/bin/sh
 me=`basename $0`
 export LD_LIBRARY_PATH=/home/oyuksel/lilypond/usr/lib/
 exec /usr/bin/strace -f -o lily.strace
 /home/oyuksel//lilypond/usr/bin/$me $@

 and got the strace output:

  $ grep libfontconfig  lily.strace
  4126  open(/home/oyuksel/lilypond/usr/lib/libfontconfig.so.1, O_RDONLY) = 3
  $ grep libpango lily.strace
  4126  open(/home/oyuksel/lilypond/usr/lib/libpangoft2-1.0.so.0, O_RDONLY) 
 = 3
  4126  open(/home/oyuksel/lilypond/usr/lib/libpango-1.0.so.0, O_RDONLY) = 3

 that seems OK to me actually.

 Regards,
 Ozgur

 --
 Linux Rulez!...
 http://xceptn.blogspot.com/
 To send encrypted message http://www.xceptn.com/xceptn.gpg



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


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


Re: Crippled PS/RPM output on RHEL5

2008-02-07 Thread Han-Wen Nienhuys
2008/2/7, Ozgur Yuksel [EMAIL PROTECTED]:
   I am working with GNU LilyPond 2.11.37 (the problem had existed with
   2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
   output  with my FC7 box, I get crippled output (both PS and PDF) on
   RHEL5. The attached files bad.* show the crippled pdf and ps files of
   test.ly where it looks like good.png with fc7.
 
  Can you post the output of a --verbose run on the RHEL5 box?

Mats was right; the problem is in reading the correct fonts.

Can you run an strace of the binary?  You'll probably have to modify
the wrapper script (bin/lilypond) to be like

  strace path/to/lilypond 

The output will be huge.  I'm just looking for the places where
libfontconfig.so.X.Y and libpango.so.X.Y is opened, so grep for
libfontconfig and libpango

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


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


Re: Crippled PS/RPM output on RHEL5

2008-02-06 Thread Han-Wen Nienhuys
2008/2/4, Ozgur Yuksel [EMAIL PROTECTED]:
 Hi LilyPonders,

 I am working with GNU LilyPond 2.11.37 (the problem had existed with
 2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
 output  with my FC7 box, I get crippled output (both PS and PDF) on
 RHEL5. The attached files bad.* show the crippled pdf and ps files of
 test.ly where it looks like good.png with fc7.

Can you post the output of a --verbose run on the RHEL5 box?

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


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


Re: Tip / trick: making Adobe fonts available to fontconfig

2008-02-06 Thread Han-Wen Nienhuys
a couple of notes:

- you can also symlink the font files, which takes less space

- the proper place for user settings is ~/.fonts.conf

- The lilypond fontcache lives in (IIRC) ~/.lilypond-fonts-XXX or
~/.fontconfig/ ; I recommend to remove this directory and run lily
again.  Fontconfig has different caching mechanisms across versions,
and /usr/bin/fc-cache and lilypond's Fontconfig may not look at the
same directories.

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


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


Re: lilypond, guile, qt integration

2008-01-29 Thread Han-Wen Nienhuys
writing a backend is a lot of work, and quite hairy because there
needs to various GUILE bindings for the libraries you use.  It's also
highly undocumented. I recommend looking for a component based PDF
viewer for KDE/Qt, so you can embed a PDF viewer in canorus.

2008/1/27, Matevž Jekovec [EMAIL PROTECTED]:
 The last time I checked LilyPond supported guile as a gtk frontend (a
 simple canvas actually) where Lilypond rendered its work. I don't know
 if I completely understood the concept now, but I'm looking for a Qt4
 widget which LilyPond renders to. What I would like is to create a print
 preview option in Canorus which exports notes to Lily fileformat and
 runs it.

 My current plan is to export the notes, run Lily and launch an external
 PDF viewer to show the preview and/or print it. This brings lots of
 problems beside (PDF viewer is external, what if user doesn't have any,
 application is cross-platform etc.).

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: hairpinToBarline (bug or feature?)

2008-01-14 Thread Han-Wen Nienhuys
2008/1/14, Valentin Villenave [EMAIL PROTECTED]:
 2008/1/14, Mats Bengtsson [EMAIL PROTECTED]:
  It seems that this bug is fixed in version 2.11 but unfortunately not in
  2.10.

 Shall I report it as a possible Enhancement for the stable branch?

Generrally we don't do enhancements on the stable branch.

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


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


Re: Leaving: replacements

2008-01-01 Thread Han-Wen Nienhuys
2008/1/1, Paul Scott [EMAIL PROTECTED]:
 Graham Percival wrote:
  An previously announced, am I gradually leaving LilyPond.  This
  leaves a large number of tasks unfilled.ate lilypond knowledge)
 
 I would consider the job of Documentation Editor.  Does it require
 building on multiple platforms?  I have a GNU/Linux x86 box capable of
 doing the builds and a Mac G3 and possible access to an XP box.

That would you also make you a candidate for testing all the different
binary builds. :-)

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


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


Re: OS X 10.5 SDK

2007-12-16 Thread Han-Wen Nienhuys
That's not the problem.  The problem is that we have to have a
versions of the tools that runs on Linux.

2007/12/16, Maurits Lamers [EMAIL PROTECTED]:
 Hi all,

 Following a message from the beginning of this year, I understood the
 development team still has not the SDK for Mac OSX Leopard. 
 (http://article.gmane.org/gmane.comp.gnu.lilypond.devel/12674


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


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


Re: partcombine, but including rests in quiet voices?

2007-12-16 Thread Han-Wen Nienhuys
2007/12/11, Reinhold Kainhofer [EMAIL PROTECTED]:



 Lilypond's partcombine comes quite close tho these guidelines, but in a few
 (but important) cases, it does not, most notably in the last case (where
 lilypond detects a solo also if one instrument is quiet for only one
 quarter!)


Lily's part combine works for a lot of cases but is very fragile, as
it has no notion of note (or rest length); it only looks at onset
times of notes.

I think there is little else to do but writing new code. Since you're
versed with coding C++, it might be something that interests you, and
I would be glad to guide you. Unfortunately, I don't have any time to
take this on myself.

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


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


Re: Beam damping

2007-12-16 Thread Han-Wen Nienhuys
2007/12/10, Rune Zedeler [EMAIL PROTECTED]:
 Thomas Scharkowski skrev:

  is it possible to produce horizontal beams somehow?
  \override Beam #'damping = #10 does not work, as already reported
  last year:

 The value #10 is not big enough
 Try
 \override Beam #'damping = #+inf.0

I think the proper solution is to insert a ideal-dy property, which is read
in Beam::calc_least_squares_position(). If we had that mechanism, you
could set the property to 0 to get horizontal beams.

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


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


Re: font errors but still output

2007-12-02 Thread Han-Wen Nienhuys
2007/11/30, Tim Reeves [EMAIL PROTECTED]:

 I get errors now on any .ly file I process, but still get output.
 Anyone know why I get the errors and how to stop them?

 programming error: Glyph has no name, but font supports glyph naming.
 Skipping glyph U+, file C:/WINDOWS/fonts/CenturySchL-Roma.ttf

Do you know where this font came from? It might help to remove it.
Lily also uses CenturySchoolbook, but this TTF obviously has some
problems.

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


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


Re: font errors but still output

2007-12-02 Thread Han-Wen Nienhuys
2007/12/2, Valentin Villenave [EMAIL PROTECTED]:

   programming error: Glyph has no name, but font supports glyph naming.
   Skipping glyph U+, file C:/WINDOWS/fonts/CenturySchL-Roma.ttf
 
  Do you know where this font came from? It might help to remove it.
  Lily also uses CenturySchoolbook, but this TTF obviously has some
  problems.

 Same error here with XP (2.11.35); however the message mentions the
 following font instead of Tim's:

 c:/Program 
 Files/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf

 (not surprisingly, no error with the Linux version... :)

 Valentin

when did this start? was .34 ok?

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


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


Re: lilypond slowness?

2007-12-01 Thread Han-Wen Nienhuys
2007/11/30, Simon Dahlbacka [EMAIL PROTECTED]:

 didn't find anything 2.7 at
 (http://download.linuxaudio.org/lilypond/binaries/mingw/)
 2.8.0-1 exhibits the same behavior ( i.e. is buggy)

I know that there have been instances of this behavior in the past.
Can anyone confirm for me that the current version doesn't do the
double font caching in XP with these versions?

 ps. what funky business is the uninstaller up to, given that it seems to be
 a magnitude slower to uninstall the files than install them ?

I don't know. Maybe it's a windows thing.

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


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


Re: lilypond slowness?

2007-12-01 Thread Han-Wen Nienhuys
2007/12/1, Mats Bengtsson [EMAIL PROTECTED]:
 Quoting Han-Wen Nienhuys [EMAIL PROTECTED]:

  2007/11/30, Simon Dahlbacka [EMAIL PROTECTED]:
 
  didn't find anything 2.7 at
  (http://download.linuxaudio.org/lilypond/binaries/mingw/)
  2.8.0-1 exhibits the same behavior ( i.e. is buggy)
 
  I know that there have been instances of this behavior in the past.
  Can anyone confirm for me that the current version doesn't do the
  double font caching in XP with these versions?

 Version 2.11.35-2 doesn't seem to rerun the font caching on my XP machine
 (haven't tried to remove any old cache files, though).

Where do the cache files end up on XP? (I think they should be in
$HOME/.lilypond-fontsomething - forgot where that is on windows).

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


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


Re: SOLVED: going backwards in time

2007-11-29 Thread Han-Wen Nienhuys
2007/11/29, Trevor Bača [EMAIL PROTECTED]:

 Excellent. I think what clued me in was the error message about going
 *backwards* in time ...

 And, yes: I think Han-Wen and the gurus really *really* got it right on the
 time-keeping: AFAICS, it's all rationals all the time and so completely
 exact.

Actually, lily should never go backwards in time, not even if you have
really wonky time sigs and tuplets, so this is definitively a bug.
One possibility is that you have an overflow error: the rationals use
32 bit integers, so they easily overflow if you do strange things.

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: SOLVED: going backwards in time

2007-11-29 Thread Han-Wen Nienhuys
2007/11/29, Adam James Wilson [EMAIL PROTECTED]:
 I see -- so even with my arithmetic error (which started as a tiny
 offset of 9/6319), we should expect Lily to render the score.

 I can see that if fractional relations get complex enough to require
 more precision than 32-bit values, there could be a problem.

 Is a possible solution to use 64-bit representation internally?

It's an option, but it's a stopgap measure.   The real solution is to
have a arbitrary precision arithmetic. GUILE already provides that,
but it would have a slight but noticeable performance impact.


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


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


Re: lilypond slowness?

2007-11-29 Thread Han-Wen Nienhuys
2007/11/29, Simon Dahlbacka [EMAIL PROTECTED]:
 I have had a break working with lilypond, but I just downloaded 2.11.35
 (running on Vista x86), and find it *very* slow compared to my recollection.

 We're talking close to thee digit numbers for a simple monophonic score with
 less than 20 bars.. This cannot be right? What am I missing here?

 running with -V seems to indicate that it's Building font database every
 time, how can I avoid this? ..and yes, I have installed it to a directory
 that does not require admin privileges.

Unfortunately, I don't have a vista machine handy to test this.

Can you check if older versions (2.7, 2.8, 2.9, 2.10, etc.) exhibit
the same behavior?  If no, can you use bisection to figure out which
version introduced the slowness?

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


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


Re: 2.11.35 does not run

2007-11-23 Thread Han-Wen Nienhuys
2007/11/23, Francisco Vila [EMAIL PROTECTED]:
 2007/11/22, Han-Wen Nienhuys [EMAIL PROTECTED]:
  I just verified that 2.11.35-2 (I released a -2 yesterday)...

 Thank you, now it works and it seems to be much faster. Or, is it only
 a sensation of mine?

Don't know. On the build side, nothing changed.

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


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


Re: 2.11.35 does not run

2007-11-22 Thread Han-Wen Nienhuys
2007/11/21, Stan Sanderson [EMAIL PROTECTED]:


 I get the same error reported by Paco on Macintosh PPC-Darwin,
 OS 10.4.11.

I just verified that 2.11.35-2 (I released a -2 yesterday) woks on
darwin-x86. Can you check if it does for ppc too?


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


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


Re: page breaks related to header size

2007-11-21 Thread Han-Wen Nienhuys
2007/11/21, Paul Scott [EMAIL PROTECTED]:

  I've just release 2.11.35.
 
 I'll be happy to test it when it's available.

it's already on lilypond.org, however, something must have broken with
our mirroring process to linuxaudio.org

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


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


Re: page breaks related to header size

2007-11-20 Thread Han-Wen Nienhuys
2007/11/17, Joe Neeman [EMAIL PROTECTED]:

 PPPS: In the next version, you will be able to set page-count = #some-number
 in the paper block, which should make these things easier to control.

I've just release 2.11.35.
I've noticed that most examples, take some more vertical space
(mozart: 5 iso. 4 pages, typography-demo 2 iso. 1, wtk1-fugue2: 3 iso
2.)

Was this expected?  It seems the balance has gone too much to avoiding
dense horizontal spacing.


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


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


Re: page breaks related to header size

2007-11-10 Thread Han-Wen Nienhuys
2007/11/11, Paul Scott [EMAIL PROTECTED]:

 Thanks very much.  Sorry I missed the bug report.

 Will there be a 2.11.35?

Yes.  There is finally light at the end of the GUB tunnel, so
hopefully this or next week.




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


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


Re: Description of feathered beams

2007-10-24 Thread Han-Wen Nienhuys
There is one importatnt caveat with the feathering functions: the
numbers in the ratio (here: 2/1) have to be small otherwise our
Rational type overflows.


2007/10/23, Graham Percival [EMAIL PROTECTED]:
 I can't speak to the specifics of feathered beams, but there's two
 general warnings:
 - explanations about what the notation means should go in the glossary.
   I might keep the first sentence in your explanation, but move other
 parts to the glossary.


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


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


Re: Church Rests

2007-10-21 Thread Han-Wen Nienhuys
2007/10/19, Eyolf Østrem [EMAIL PROTECTED]:

  They are completely usual in orchestral parts since I can remember.

 The signs, yes (they go back to mensural notation in the fourteenth
 century), but the name? I've never heard it before, and Grove doesn't
 mention it...

It's a germanism from Kirchenpause ; better ideas warmly appreciated.

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PNG output from lilypond-book using Infotex under Cygwin

2007-10-21 Thread Han-Wen Nienhuys
2007/10/13, Erik Igelström [EMAIL PROTECTED]:
 Hello,

 I'm trying to generate an html from an Infotex file with lilypond-book, under
 Cygwin. After I've put the source through lilypond-book, I seem to end up with
 just about everything I'm supposed to, except for the png files. It gives me 
 eps
 files, and I assume that it's supposed to convert them to png, but it seems to
 skip that step without telling me anything about it. The lines below are what
 happens. Any ideas?

you have to make sure that --format=png gets passed to lilypond when
you run lp-book.

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Strange beamed-extreme-minimum-free-lengths behaviour etc.

2007-10-09 Thread Han-Wen Nienhuys
2007/10/9, Risto Vääräniemi [EMAIL PROTECTED]:
 The behaviour of beamed-lengths beamed-minimum-free-lengths and
 beamed-extreme-minimum-free-lengths is also a bit fuzzy to me. If I've
 understood correctly the beamed-lengths specifies the basic length of the
 stem and beamed-extreme-minimum-free-lengths the shortest possible stem
 length. The beamed-minimum-free-lengths seems to be used for setting the
 stem length when the note is positioned on the middle staff line. Am I
 right?

No, the function seems to be almost the same as beamed-lengths, but
adds the size of any tremolo and the heights of the beams to that as
well.  It's not completely clear to me that these two are independent.
 Unfortunately this code is old and very hairy.

Jan, can you comment?

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond Slow on Vista (2)

2007-10-06 Thread Han-Wen Nienhuys
You could try to run with FC_DEBUG=255, and see if you see hints in
the debug output.  It's a long time ago that I looked at fontconfig
problems, so I forgot most of the details.

2007/10/5, David Gippner [EMAIL PROTECTED]:
 Dear list,

 I recently posted a notion of my problem, that lilypond is very slow on
 Vista. Lilypond seems to build the font cache everytime it starts.
 Why is this and how could one build a permanent font cache under Vista,
 that could be referred to by lilypond on every start?

 Yours sincerely

 David Gippner


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



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


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


Fwd: Users' Manual

2007-09-25 Thread Han-Wen Nienhuys
-- Forwarded message --
From: Jonathan Ano [EMAIL PROTECTED]
Date: 23 sep. 2007 22:07
Subject: Users' Manual
To: [EMAIL PROTECTED]



 Hi, I recently downloaded GNU Lilypond and I don't understand a thing
unless I spend hours reading the manual, which would kill my eyes if I
spent hours reading it off of a computer screen. The users' manual for
the stable branch version is 451 pages long, and it's extremely
inconvenient to print that. I was wondering if you have the manual in
a book form that you ship; something like that would be helpful.
  Thanks,
  Johnny


Connect to the next generation of MSN Messenger  Get it now!

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


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


Re: Fwd: Users' Manual

2007-09-25 Thread Han-Wen Nienhuys
please cc replies to the original poster

2007/9/25, [EMAIL PROTECTED] [EMAIL PROTECTED]:

 From: Jonathan Ano [EMAIL PROTECTED]

 ... The users' manual for
 the stable branch version is 451 pages long, and it's extremely
 inconvenient to print that. I was wondering if you have the manual in
 a book form that you ship; something like that would be helpful.

 i don't know of anyone offering hardcopy of the manual, but most print/copy 
 shops will make a spiral-bound book from a pdf, relatively cheaply. that's 
 probably more efficient than shipping.

 --
 .pltk.


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



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


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


Re: Just another boring question about manual cautionary accidentals...

2007-09-01 Thread Han-Wen Nienhuys
Valentin Villenave escreveu:
 Hello everybody,
 
 after having spent months (if not years) wondering why the hell has
 it to be the way it is?, today it's finally time for me to ask here
 if anyone knows any logical answer to the following question:
 
 The most basic syntax, in LilyPond, is:
 
 notename/accidental/octave/duration, right?
 == example: fis''2
 
 So, if I understand correctly, all accidental-related stuff comes
 right after the note, but *before* the octave indication.
 Then why, when you want to add a cautionary accidental, do you have to put:
 
 notename/accidental/octave/cautionary/duration
 == fis''!2
 instead of
 
 notename/accidental/cautionary/octave/duration
 == fis!''2
 
 and why has the later to cause the compilation to crash?
 
 
 Some of you might answer that since cautionary accidentals are not
 mandatory, it makes sense to put them afterwards, like one would do
 with expressive marks (wrong example: expressive marks come after the
 duration; the cautionaries are the *only* stuff which have to come
 between the octave and the duration).
 But you have to admit that it makes sense to put all
 accidental-related stuff together, such as fis!''2 (it's so natural to
 me that every time I write cautionaries, that means in every bar, I
 use this syntax, launch the compilation, and have to tell me oh,
 right, I forgot... before correcting it).
 
 I'm not asking to change the whole LilyPond syntax of course; but is
 it unreasonable to ask if LilyPond could accept cautionaries before
 *and* after the octave indication? Or at least, ignore it and go on
 with the compilation?
 It wouldn't break anything, and it would make the syntax much more
 flexible and tolerant. It already is, in many ways:
 spaces-insensitiveness, ties notation where you can put the tildes
 wherever you want, bar checks when you want, and many cool features.

From the top of my head, this is because ! and ? only make sense
for notes, where pitches make sense in a broader context. If you 
look at parser.yy, you see

  simple_element:
pitch exclamations questions octave_check optional_notemode_duration 
optional_rest {

there is no place to store exclamations inside a pitch.

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



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


Re: How to deal with Time Signatures horizontal alignment?

2007-08-26 Thread Han-Wen Nienhuys
2007/8/26, Valentin Villenave [EMAIL PROTECTED]:
 As a result, the first TimeSignature of each system is also aligned
 with the left barline (which puts it too far on the left, even before
 the Clef). For the very first TimeSignature, no big deal: one can
 easily add an \once \override. But when the time signature often
 changes, many systems can begin with a new TimeSignature, and it
 becomes almost impossible to correct all of these manually.


I thought that was desired. If you don't do the break-align-symbol
override, the time sig will be after the clef on the start of the
system.

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


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


Request for comments: LilyPond 2.12

2007-08-25 Thread Han-Wen Nienhuys


Hello everyone,

Since most of the horizontal and vertical spacing hacks of Joe have
stabilized, I think it is time now to start considering a new stable
release.  With the current release process, it should be possible to
build a new stable release in a matter of days, so the real question, 
are we in a state for release 2.12?

Historically, the criterion for a new stable release is

1. No regressions

Currently, the bug tracker does not show any regressions.

2. Significant features.  We have plenty:

  - Completely rewritten page breaking/vertical spacing combo, with
skylining spacing and better vertical collision detection

  - Table of contents, multi paragraph text, page references

  - Generic microtone support

  - Doc updates (graham?)

  - Manual translations: french, spanish, german

  - More flexible line spanners.

  - Several performance and resource speedups.

3. no glaring bugs in the new features.

I seem to recall that we have a nasty bug in reverting nested
properties, but except for that I can't recall anything notable.


Comments, ideas?



-- 

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



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


Re: How to deal with Time Signatures horizontal alignment?

2007-08-25 Thread Han-Wen Nienhuys
Joe Neeman escreveu:
 On Tuesday 21 August 2007 20:34, Valentin Villenave wrote:
 That being said, do you think it would be a good idea to make
 TimeSignature accept the break-alignable-interface?
 
 No, because TimeSignature already accepts an interface 
 (break-aligned-interface) that determines its horizontal position; it 
 wouldn't make sense for it to accept another one. The cleanest way of getting 
 this functionality into the lilypond core, in my opinion, would be to create 
 a whole new grob class.

I think you are all thinking in too complicated directions.

layout{
  \context { 
\type Engraver_group
\consists Time_signature_engraver
\consists Axis_group_engraver
\name TimeSig
\override TimeSignature #'font-size = #3
\override TimeSignature #'break-align-symbol = ##f
\override TimeSignature #'X-offset
= #ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature #'self-alignment-X = #0
  }
  \context {
\Score \accepts TimeSig
  }

  \context {
\Staff
\remove Time_signature_engraver
  }
}

timeSignatures = { \time 2/4 s2 \time 3/4 s2. \time 4/4 s1 }
\score {

  \new TimeSig \timeSignatures
\new Staff \relative { c'2  c2.  c1 }
\new Staff { a2 a2. a1}
 
}

-- 

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



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


Re: \rest in \drummode?

2007-08-25 Thread Han-Wen Nienhuys
Ole Schmidt escreveu:
 Dear all,
 
 is there a way to place a rest (higher)  in \drummode? (like with \rest
 command in normal staffs)

\override the staff-position of the Rest, or perhaps using tweak. 
Untested code follows:


\tweak #'staff-position #5 r 

-- 

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



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


Re: engraving question

2007-08-19 Thread Han-Wen Nienhuys
Joe Neeman escreveu:
 On Saturday 18 August 2007 11:48, Han-Wen Nienhuys wrote:
 2007/8/16, Joe Neeman [EMAIL PROTECTED]:
 I'm trying to tweak the spacing code, and I've come across a case where
 I'm not sure what to do. In the attached example, I have a note followed
 by a clef change followed by a bar line. Given that the clef fits in the
 space that would be there anyway, should it take up extra space? Any
 strong opinions (they will be regarded more highly if they come with
 references, of course)?
 
 To follow this up, the default now is to do the tight spacing as suggested by 
 Mark Knoop. To enable looser spacing, I've added a new property to 
 NoteSpacing:
 \override NoteSpacing #'space-to-barline = ##f
 will put more space before a clef. I've made the tight spacing the default 
 because it works with both polyphonic and monophonic music.

This is good as a temporary solution, but there are very, very few people 
that know where to find this kind of option, let alone how to modify them
effectively. I would welcome some more analysis what the Right Thing for 
this is. 

-- 

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



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


Re: engraving question

2007-08-17 Thread Han-Wen Nienhuys
2007/8/16, Joe Neeman [EMAIL PROTECTED]:
 I'm trying to tweak the spacing code, and I've come across a case where I'm
 not sure what to do. In the attached example, I have a note followed by a
 clef change followed by a bar line. Given that the clef fits in the space
 that would be there anyway, should it take up extra space? Any strong
 opinions (they will be regarded more highly if they come with references, of
 course)?

I'm not sure of the answer: we have evidence for the polyphonic cases
that it should not take space, but for monophonic music with changes
(eg. French horn, cello), I've seen both, and personally think that
extra space looks better, provided that there is enough room on the
line.

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


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


Re: scaling problem

2007-08-03 Thread Han-Wen Nienhuys
2007/8/3, Werner LEMBERG [EMAIL PROTECTED]:

  If you want a foolproof solution, define a markup-command, that
  constructs the brackets, and adjusts lengths with the magstep of
  font-size.

 I've done that already (see below).  However, I wasn't able to adjust
 the extra-offset parameter in a scaled way.  Can you help?

extra-offset is scaled by the staff-space of the StaffSymbol, so you
should be able to use \tweak with extra-offset for \vbracket.

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


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


Re: sponsoring inquiry: alignment of syllables which start a melisma

2007-07-29 Thread Han-Wen Nienhuys
2007/7/27, Kieren MacMillan [EMAIL PROTECTED]:
 On 2007-Jun-4, at 17:08, Mats Bengtsson wrote:
  As far as I can see from the implementation, the alignment
  is hardcoded to be #LEFT at the start of a melisma.

 How much would it cost to sponsor the soft-coding of this value?

in Git.


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


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


Re: How to screen-optimize stems

2007-07-25 Thread Han-Wen Nienhuys

2007/7/20, Rune Zedeler [EMAIL PROTECTED]:

Hehe, I found out there is a really simple solution of how to make stems
look nice in acroread.
In all its simplicity, add

\paper {
   blot-diameter = 2 \pt
}

:-)

Now all stems appear to have same thickness in acroread.
Unfortunately it does not work with bar-lines, though.



Oh, but you could simply add

 \override Score.BarLine #'thickness = #100

problem solved :-)


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


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


Re: file refuses to line or page break

2007-07-25 Thread Han-Wen Nienhuys

2007/7/19, Nicolas Sceaux [EMAIL PROTECTED]:


 pageBreak should include a bar check by default. Anyone for a patch?

You may want to force a line or page break in the middle of a bar, using
the \bar  trick. So we should not add a barCheck to pageBreak.


I know, but people that need such uncommon constructs can deal with
the extra warning. They are fewer than people making mistakes.

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


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


Re: Overly thick results from markup with draw-line

2007-07-25 Thread Han-Wen Nienhuys

2007/7/24, Trevor Bača [EMAIL PROTECTED]:

Hi,

Is there a reason the nibbed output of draw-line is almost 20 times
thicker than usual (rather than just 2 times thicker like the rest of
the TextSpanner)?



This is classical typography, evidently!


;)

I think you are have found a bug; congratulations!

(fixed in .28)



%%% EX 1 %%%

\version 2.11.26

\new Staff {
   c'4 \startTextSpan
   c'4 \stopTextSpan
}

\layout {
   \context {
  \Staff
  \override TextSpanner #'bound-details #'right #'text =
 #(markup #:draw-line '(0 . -1))
  \override TextSpanner #'thickness = #2
   }
}

%%% EX 1 %%%


See attached.

Bug?


--
Trevor Bača
[EMAIL PROTECTED]

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






--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: file refuses to line or page break

2007-07-18 Thread Han-Wen Nienhuys

2007/7/18, Rune Zedeler [EMAIL PROTECTED]:

Kieran Coulter skrev:

 This one really has me stumped! I've tried everything, and the file
 refuses to either a line or page break at the end of the 2nd last page
 of the included pdf.

You have an error in one of the measures before - so the pageBreak
command is located not at the exact point of the bar line but 3/80 of a
measure /after/ the bar line.


pageBreak should include a bar check by default. Anyone for a patch?

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


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


Re: beginning-of-measure padding value?

2007-07-10 Thread Han-Wen Nienhuys

2007/7/10, Joe Neeman [EMAIL PROTECTED]:



To follow this up, I just merged my spacing stuff into the main branch. That
means that the new code will be present in version 2.11.28. Once it is
released, it would be a big help if people could test the spacing stuff and
find bugs. Of course, those of you following git can do so straight away.


I'll try to build a new release this week.

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


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


Re: Absolutely evenly aligned table of chords ... with plenty of accidentals?

2007-07-10 Thread Han-Wen Nienhuys

2007/7/10, Trevor Bača [EMAIL PROTECTED]:


(Side question: anyone know of a way to set *only* the (first-note
fixed-space . 12.0) pair within the clef's spacing alist, without
having to type all those extra pairs in the table?)


this is a nested property alist, so it should just work with \override
Clef #'space-alist #'ambitus #'(extra-space . 20.0)

--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Mac OS X libguile.17.dylib Trace/BPT Trap error when adding a second voice to piano score

2007-06-25 Thread Han-Wen Nienhuys

2007/6/25, David Fedoruk [EMAIL PROTECTED]:


I should also mention that the error happens so fast after the command
has been issued that I don't think lilypond actually had time to parse
the code I wrote puzzeling since it worked fine up to that point,


That's correct; can you doublecheck that it does this with other files too?
Also, which version was the first to exhibit this problem?  Does it
happen with 2.11.x too?


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


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


Re: Double Staff Tablature - No Stems is the Norm

2007-06-20 Thread Han-Wen Nienhuys
Mats Bengtsson escreveu:
 You can easily remove the stems:
 \new TabStaff {
  \override Stem #'transparent = ##t
   a,4\5 c'\2 a\3 e'\1
   e\4 c'\2 a\3 e'\1
 }
 
 I no nothing about the notation practice for tab staff, but if you are
 certain that this is common enough to deserve a place in the
 documentation, please see
 http://lilypond.org/web/devel/participating/documentation-adding
 or add an example to the LSR.

I'm not sure whether that's the whole story; you probably need to remove
the Beam_engraver too.

-- 

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



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


Re: Pre-Release: Slave Songs of the United States

2007-06-18 Thread Han-Wen Nienhuys

2007/6/17, Marcus Brinkmann [EMAIL PROTECTED]:


For those interested, the build commands are now:

$ lilypond-book --output=out/ --process=lilypond --backend=eps \
--formats=pdf -dinclude-eps-fonts -dgs-load-fonts --psfonts slave-songs.tex
$ (cd out; pdflatex slave-songs.tex; pdflatex slave-songs.tex; \
cp slave-songs.pdf ../slave-songs.pdf)

(I don't know what -dinclude-eps-fonts does, though.)


without it, the fonts are not included in the individual EPS files,
which used to be useful for going through latex/dvips. However, going
through PDF is easier and more robust, but for an individual snippet
to be converted to PDF, it must contain fonts, hence the
-dinclude-eps-fonts option.

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


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


Re: beginning-of-measure padding value?

2007-06-18 Thread Han-Wen Nienhuys

Joe Neeman escreveu:

On Monday 09 April 2007 20:38, Kieren MacMillan wrote:

[ Lilypond 2.11.12 ; Mac OS X 10.4.9 ]

Hello, all!

In recent versions of Lilypond, I find that the first element of
every measure is generally too close to the preceding barline for my
taste -- i.e., there isn't enough left-padding on the first note or
rest or whatever (n.b., the spacing issue is especially egregious
when the first item is an accidental, arpeggio, or other note
attachment).


I've had some lilypond hacking time recently, so I've been digging into the 
spacing code. The stuff I'm trying to do is nowhere near complete and I don't 
yet understand the code fully, but I've put what I have so far in 
the jneeman branch of the git repository. If anyone is sufficiently 
motivated and technically able to build lilypond from git, I'd appreciate 
some feedback on the spacing changes.


Awesome that you've been able to get your fingers dirty in the spacing 
engine.  You've breached into one of the last domains of the Han-Wen 
only code.  Probably only the grace-timing code  in the iterators is 
left as the last outhold of sole Han-Wenness in Lily.


I'm glad to see that many kludges are disappearing, but a little worried 
that there might be subtle spacing corrections that disappear because of 
this. Do pay close attention to the regtest, especially all the 
spacing-*.ly files.


One of the problems of working on the spacing is that it tends to affect 
all tests, making it more difficult to see the effect of a fix.


--

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



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


Re: Mac OS X libguile.17.dylib Trace/BPT Trap error when adding a second voice to piano score

2007-06-18 Thread Han-Wen Nienhuys

David Fedoruk escreveu:

Hello:

I am attempting to transcribe a Scarlatti Sonata which I will cross
check with the facsimile edition -- when I get to see it. However, in
bringing in a second voice to the right hand I get this error:

dyld: Symbol not found:
 Referenced from:
/Applications/LilyPond.app/Contents/Resources/bin/../lib//libguile.17.dylib

Expected in: 
/Applications/LilyPond.app/Contents/Resources/bin/../lib//libguile.17.dylib


Trace/BPT trap

The suspect code at bar 23  is this:

\version 2.10.25
upper = \relative c'' {
   \clef treble
   \key e \major
   \time 3/4

\key e \minor r8  b''8 \grace a16 g8  fs e d | % Bar 21

{a'4-| a8 a gs fs b d |
\grace b16 c2. | b2.  | % Bar 23   


 fs b \grace a8 gs8 fs e ds% Bar 24


}


  lower = \relative c {
   \clef bass
   \key e \major
   \time 3/4

\key e \minor e4 r4 r  |% Bar 21

r8 a''8 fs8 ds  cs b | % Bar 22

b,2.| % Bar 23

e4  r4  r |% Bar 24



I've successfully coded the first 20 bars, the only thing I've done
different is bring the attempt to bring the second voice in the right
hand. Since the error occurs as soon as I hit  enter, I don't think
lilypond has even parsed the file completely.

I'm using Mac OS 10.4.9



this is a very strange error; I'm also missing which symbol isn't 
found.  Can you run the actual binary from a terminal, and send me the 
output?


The binary is in lilypond.app/contents/resource/bin/lilypond




--

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



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


Re: SVG previews

2007-06-18 Thread Han-Wen Nienhuys

Keenan Pepper escreveu:

On 6/8/07, Keenan Pepper [EMAIL PROTECTED] wrote:

I want Lilypond to produce an SVG file (for uploading to Wikipedia),
but I don't want it to be a whole page. I thought lilypond -b svg
--preview would do the trick, but apparently those options are
incompatible:


Does anyone have any suggestions yet?


Just upload the png. There are no SVG renderers that usefully handle 
lily output for this case. Until firefox/inkscape gets proper SVG font 
support, SVG files won't show music glyphs, except if you have the right 
version of our music font already installed as OTF font.


--

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



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


Re: SVG previews

2007-06-18 Thread Han-Wen Nienhuys

2007/6/18, Keenan Pepper [EMAIL PROTECTED]:

Just upload the png is not an acceptable solution. I can eliminate
the font dependency by performing Object to Path in Inkscape, so I
guess I just have to crop it manually in Inkscape as well.

Still, I shouldn't getting Scheme syntax errors from running Lilypond
on a valid input file. Syntax errors indicate a bug that should be
fixed.


someone has to write the glue code to output the systems individually.
If you don't feel like doing this, my suggestion is to set tagline =
##f, and figure out how Inkscape can crop the image automatically.

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


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


Re: Suggestion: Alternative ps/pdf link information, alt. Scoreinfo xml file export

2007-06-17 Thread Han-Wen Nienhuys

2007/6/17, Jonas Nyström [EMAIL PROTECTED]

x and y position for the notehead (using some kind of universal unit)
note-pitch for the notehead (defining it's pitch, for example midi note)
note-duration for the notehead
...
 Maybe this information could be joined into a query-style string, for
example
note-info:x=640y=232pitch=64duration=128



That's not a bad idea at all. I'll gladly help anyone who wants to
write this feature.

--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem: ragged-last = ##t gives cramped last line

2007-06-16 Thread Han-Wen Nienhuys

2007/6/16, Jonas Nyström [EMAIL PROTECTED]:


I want to use ragged-last = ##t because short examples shouldnt be wider
than needed.
Problem: When the example use more than one system, the last system
sometimes is cramped —
to tight formatted when the notes (almost) colliding.
In the example below, the second system should break after six bars, just
like the first system - shouldn't it?
Any ideas how to solve this?

Best regards / Jonas

\version 2.8.1


there is a faint possibility that this may have changed in the past
years; we're at 2.11.26 now.

--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pre-Release: Slave Songs of the United States

2007-06-12 Thread Han-Wen Nienhuys

2007/6/12, Marcus Brinkmann [EMAIL PROTECTED]:

Hi,

I am happy to give you a sneak preview to my ambitious music notation
project based on Lilypond 2.10, a digital edition of the 1867 song book:


very cool


Lilypond does an excellent job on these songs, and only few manual
tweaks were necessary.  Some tweaks may be the result of my lack of
understanding of Lilypond internals.  The whole book contains 136
songs, each about 1 DIN A5 page on average.  The build tree produced
by lilypond-book is over 700 MB (!) strong, I suspect because the
required fonts are copied into each EPS file (can this be improved?).


checkout -dhelp, You probably want to use

 -dgs-load-fonts

and preferably pdflatex.

If you're technically inclined, you can run

 make web  logfile

and see how we build the documentation. We try to minizime font loads too
as it slows down the build.

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


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


Re: Pre-Release: Slave Songs of the United States

2007-06-12 Thread Han-Wen Nienhuys

2007/6/12, Marcus Brinkmann [EMAIL PROTECTED]:


All type-setting of the original 1867 text is finished and in very
good shape.  Future improvements will be done in other areas, like a
new preface, illustrations, MIDI files, etc.  This pre-release,
although quite usable in its own right, is particularly directed at
people who might be willing to take a look at the source code and tell
me what I could do better.


And a typographic nit: the margins seem rather on the small side.
Have you done the page layout yourself?  I recommend copying margins
from reknowned publications.

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


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


Re: OpenBSD testers needed for LilyPond 2.10.23

2007-05-18 Thread Han-Wen Nienhuys
Matthias Kilian escreveu:
 Hi,
 
 I don't know wether there are more people than just Matt Jibson and
 me running LilyPond on OpenBSD, but just in case *you* do (and
 aren't reading [EMAIL PROTECTED]), please give this a try:
 
 http://marc.info/?l=openbsd-portsm=117940219518892w=2
 
 Please send any comments and test reports back to me (PM, i.e.
 offlist). Note that this port is a little zombie wrt guile (still
 at 1.6) -- i didn't notice any problem with this, though.

It will be soon.  Lily 2.11 requires GUILE 1.8.

-- 

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



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


Re: Can Lilypond export separate pdfs?

2007-05-03 Thread Han-Wen Nienhuys

2007/5/3, Joe Neeman [EMAIL PROTECTED]:

 I'm having trouble following this discussion of lilypond-book being
 slow -- I've just been putting together a 110 page book of Dowland
 parts (so about 80 individual 1-2 page pieces from lilypond's point
 of view), and I was pleasantly surprised at how fast lilypond-book
 would recreate all the .ly files.  I'm not saying I didn't go get a
 cup of coffee when I had to redo all 80, but I certainly didn't need
 to do it overnight or anything. 2.10 is definitely a lot faster than
 2.0 was.

That's funny. Have you been using system-count or restricting where the line
and page breaks occur?


I think you misread. These are 80 1-2 page pieces, with no combined
page breaking, inside a lilypond-book document.

Jan did complete rewrite of lp-book in lilypond around version 2.1.20,
with improved speed as a result.

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


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


Re: regression test images in Safari

2007-05-02 Thread Han-Wen Nienhuys

lilypond.org does content negotiation, so that it can optionally serve
you lily-image.fr.png if you prefer french language images.  It seems
that Safari doesn't do content negotiation correctly. That's why I
asked you to configure languages.

2007/5/1, Stan Sanderson [EMAIL PROTECTED]:


On May 1, 2007, at 5:39 PM, Stan Sanderson wrote:


 On May 1, 2007, at 3:54 PM, Han-Wen Nienhuys wrote:

 I suspect this related to language settings. Try setting your
 preferred languages to english.

 2007/5/1, Bruce McIntyre [EMAIL PROTECTED]:

 Also tried with last night's WebKit build:

 http://nightly.webkit.org/builds/WebKit-SVN-r21188.dmg

 but to no avail. (WebKit is the open-source rendering engine
 used by Safari)

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


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

 Primary language is set (AFAIK!) to English. Text encoding is set
 to Automatic, but I get the same results with Unicode (UTF-8) and
 others.

 Lilypond v2.8 shows the snippets; v2.10, v2.11 does not. Shira (a
 work in progress trying to be a better Safari) behaves the same
 way. FireFox (v2.0.0.3) works. Curious.

 Stan

Viewing the source in Safari and comparing v2.10 with v2.8, I note
the absence of the suffix .png from the v2.10 images. Is Safari
strictly following the code? I know that adding the .png to the
src=lily-ref produces the image.


Stan






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


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


Re: regression test images in Safari

2007-05-01 Thread Han-Wen Nienhuys

I suspect this related to language settings. Try setting your
preferred languages to english.

2007/5/1, Bruce McIntyre [EMAIL PROTECTED]:


Also tried with last night's WebKit build:

http://nightly.webkit.org/builds/WebKit-SVN-r21188.dmg

but to no avail. (WebKit is the open-source rendering engine
used by Safari)


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


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


Re: Varying shape note heads varying by semitone

2007-04-23 Thread Han-Wen Nienhuys

It would be the coolest if (all) these extensions could happen in
grob-property space.
This could be done by automatically overriding and reverting grob
properties when middleCPosition or tonic context properties change.

2007/4/21, Kevin Dalley [EMAIL PROTECTED]:

As another step toward in my path toward varying notation in LilyPond,
I am varying note shapes by semitone.  Usually, there are fewer than
12 note heads, but the semitone of the note determine the shape.

My current implementation uses a function shapeLayoutFunction which
returns an integer, which is an index into the vector
shapeNoteStyles.  This seems to work.  The function description is:

  Function returning an integer which indexes into
  shapeNoteStyles vector. It takes an argument of
  pitch and tonic.

Altnernatively, I could define a function which return a note head
shape.  Does anyone see a good reason to prefer one to the other.


The first option has an advantage of using a small function like this:

#(define (shapeSemitone pitch tonic)
  (modulo (ly:pitch-semitones pitch) 12))

plus an already standard vector.

The second option has an advantage of everything being included in one
variable, but the disadvantage of requiring slightly more complicated
functions.

For examples, see Twinline or kevin in this page:


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


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


Re: [monique.combescure] mon message d'erreur:

2007-04-13 Thread Han-Wen Nienhuys

Bom dia pra tudos,

this is an interesting error message, but need to have the exact
version number of the binary involved. Could this be 2.11.22 ? I did
some major restructuring in GUB, which might have messed up some of
the binaries.

Regards,

Han-Wen

2007/4/13, Valentin Villenave [EMAIL PROTECTED]:

 From: monique.combescure [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Fri, 13 Apr 2007 12:19:14 +0200
 Subject: mon message d'erreur:
 Cher collègue

 Mon message d'erreur de compilation est
   ERROR: In procedure dynamic-link:
 ERROR: file: libguile-srfi-srfi-1-v-3, message: dlcompat: file
 \/Users/moniquecombescure/Documents/LilyPond.app.1/Contents/Resources/
 bin/../lib/libguile-srfi-srfi-1-v-3.3.dylib\ not found
   Que dois-je faire?

 merci d'avance

 Monique Combescure
 IPNL, Bât. Paul Dirac, 4 rue Enrico Fermi
 69622 VILLEURBANNE
 Tel: 33 (0)4 72 43 19 63
 Fax: 33 (0) 4 72 44 80 04
 e-mail: [EMAIL PROTECTED]


[@ Jan and -user: just in case, I'm redirecting this discussion to the
French list, but if any English-speaking user has any clue, you're
still welcome to answer here...]

Bonjour Monique,

Votre message nous ayant été transféré par le développeur Jan
Nieuwenhuizen, je me suis dit que vous seriez peut-être intéressée
d'apprendre qu'il existe une liste de discussion spécialement
consacrée aux utilisateurs francophones de LilyPond, à laquelle vous
pouvez adresser vos questions (voire vous inscrire le cas échéant);
voyez pour cela la page :
http://lists.gnu.org/mailman/listinfo/lilypond-user-fr/

N'oubliez pas, au demeurant, de toujours veiller à préciser votre
système d'exploitation (on peut déduire qu'il s'agit ici de Mac OSX,
mais quelle version ?) et la version de LilyPond que vous utilisez.

Cordialement,
Valentin Villenave.


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user




--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Why -dshow-available-fonts doesn't list Times Italic

2007-03-30 Thread Han-Wen Nienhuys

2007/3/30, Trevor Bača [EMAIL PROTECTED]:


Maybe we could include fondu in the OS X package and produce (and
convert) a list of .dfont resources at install time?


Fondu already comes with the OSX package. Someone needs to sit down
and write a bit of code to detect the first run and do the expand TTF
files procedure for the first run. Patches thoughtfully considered.

--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.11.21-1 for PPC

2007-03-27 Thread Han-Wen Nienhuys

I don't understand. Are you running a Linux-PPC version on MacOS or vice versa?



2007/3/26, Paul Scott [EMAIL PROTECTED]:

paul-a-scotts-powerbook:~ waterhorse$
/usr/local/lilypond/usr/bin/convert-ly -e macsq5cscore.ly
bash: /usr/local/lilypond/usr/bin/convert-ly:
/home/zelf/vc/gub/target/local/system/usr/bin/python: bad interpreter:
No such file or directory
paul-a-scotts-powerbook:~ waterhorse$

bash: /usr/local/lilypond/usr/bin/lilypond: cannot execute binary file
paul-a-scotts-powerbook:~/Documents/music/brigadoon waterhorse$

paul-a-scotts-powerbook:~/Documents/music/brigadoon waterhorse$ file
/usr/local/lilypond/usr/bin/lilypond
/usr/local/lilypond/usr/bin/lilypond: ELF 32-bit MSB executable, PowerPC
or cisco 4500, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked
(uses shared libs), stripped





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


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


Re: 2.11.21-1 for PPC

2007-03-26 Thread Han-Wen Nienhuys

2007/3/26, Paul Scott [EMAIL PROTECTED]:

Is anyone running 2.11.21-1 on a PowerPC.  Previous versions have worked
 but the latest version tells me it can't run a binary file.


It's quite well possible that it's not working correctly, as I built
this on a different machine than usual. However, I need a more
detailed report than this.


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


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


Re: rest merging (willing to sponsor)

2007-03-21 Thread Han-Wen Nienhuys

2007/3/21, Arvid Grøtting [EMAIL PROTECTED]:

Hi,

in the category for Coding better typography automation, my choir is willing
to sponsor (within reason) the coding of automatic rest merging within a staff.


The code that controls this is in rest-collision.cc , and it shouldn't
be hard to (optionally) delete all but one rest when a special option
is set.

--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


FISL 8 presence!

2007-03-17 Thread Han-Wen Nienhuys

Hi everyone,

as it looking now, I will be at FISL in Porto Alegre, Brazil again
this year, as part of the Google team.  If you're in the neighborhood,
do drop by!

http://fisl.softwarelivre.org/8.0/www/



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


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


Re: Why -dshow-available-fonts doesn't list Times Italic

2007-03-17 Thread Han-Wen Nienhuys

2007/3/16, Trevor Bača [EMAIL PROTECTED]:


Unfortunately I just don't know much of anything, really, about font
management on my operating system; it's just a shielded resource in
most applications other that Lily.

Does anyone see an obviously missing directory in the above output
that would explain why I'm getting mostly regular style fonts instead
of italic and bold?




Mac uses something called dfonts, which mean that all 4 versions of
the font come inside one file.  Lily will unpack the right font from
the dfont, but fontconfig doesn't look inside them.

Solution: use fondu to extract fonts to separate .ttfs yourself, and
put them in the ~/.fonts directory.


--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Center-aligning objects in Scheme

2007-03-12 Thread Han-Wen Nienhuys

2007/3/12, Maximilian Albert [EMAIL PROTECTED]:


As I wrote in the last email, I am still uncertain if this is the most
straightforward way to do it, and there might be somewhat simpler
solutions. So I will wait a few day for any of the people who are more
into it to make comments. If there is no further reply I will submit it
to LSR with a short explanation of how (I think) it works.


don't forget to replace the constants with appropriate vairables (X ,
Y , LEFT , RIGHT etc.)


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


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


Re: LilyPond is hosed! Any suggestions?

2007-02-25 Thread Han-Wen Nienhuys
Darren Nelsen escreveu:
 Here you go! I've tried to install about ten different versions of LP
 since this happened, but none work now. I was at 2.11.19, but wanted to
 go with a stable version, and when I installed 2.10.19, that's when
 things blew! I'm currently on 2.10.13 (but I've gone back as low as the
 2.8 branch with no luck.) Thanks!

I don't understand: are you saying, that after being successful
with 2.10.13,  installing 2.10.19, erasing  .19, and reinstalling .13,
then .13 doesn't work anymore?

-- 

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



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


Re: LilyPond is hosed! Any suggestions?

2007-02-25 Thread Han-Wen Nienhuys
Darren Nelsen escreveu:
 Not exactly. Here's the sequence of events:
 
 I was on a working version of 2.8. Fine. Upgraded to 2.11. Fine. Noticed
 some formatting issues on 2.11. Went for 2.10.19... got the font errors
 and it wouldn't generate. Now nothing works. No matter what version of
 LilyPond I install, none will now work. Someone suggested using 2.10.13,
 so I installed that. It's doesn't work.

It should work to go back to a version that previously
works. It's possible that some kind of font-cache corruption
happened in the .19 release, which is retained if you up/downgrade.

This should be fixable by deleting 

  ~/.font*

(use with care if you have fonts stored in ~/.fonts )

See what was changed recently with

  ls -ltra ~/


  


-- 

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



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


Re: LilyPond is hosed! Any suggestions?

2007-02-25 Thread Han-Wen Nienhuys
Han-Wen Nienhuys escreveu:
 Darren Nelsen escreveu:
 Not exactly. Here's the sequence of events:

 I was on a working version of 2.8. Fine. Upgraded to 2.11. Fine. Noticed
 some formatting issues on 2.11. Went for 2.10.19... got the font errors
 and it wouldn't generate. Now nothing works. No matter what version of
 LilyPond I install, none will now work. Someone suggested using 2.10.13,
 so I installed that. It's doesn't work.
 
 It should work to go back to a version that previously
 works. It's possible that some kind of font-cache corruption
 happened in the .19 release, which is retained if you up/downgrade.
 
 This should be fixable by deleting 
 
   ~/.font*
 
 (use with care if you have fonts stored in ~/.fonts )
 
 See what was changed recently with
 
   ls -ltra ~/

also, it might be possible for files to persist called

 ~/.lilypond*

if that all doesn't work, try running 

  FC_DEBUG=255 lilypond --verbose 
 
to see what exactly the thing is complaining of

-- 

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



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


Re: \flageolet too big

2007-02-24 Thread Han-Wen Nienhuys
Werner LEMBERG escreveu:
 
 but if you change the syntax it work good

 F = ^\markup { \fontsize #-3  \musicglyph #scripts.flageolet }
 
 Thanks.  However, this is no longer an `articulation' because of the
 `^'.
 
 Han-Wen?

\tweak 

-- 

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



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


Re: LilyPond is hosed! Any suggestions?

2007-02-24 Thread Han-Wen Nienhuys
Darren Michael Nelsen escreveu:
 After installing the Mac OS X Intel v2.10 branch, LilyPond died!
 Completely hosed.
 I got the font errors that others have reported, and since then nothing works.
 I've tried installing lots of other versions from the  2.11 and 2.8 branches.
 Nothing! None of them generate now.
 Help! I can't live without LilyPond. :)

downgrade to an earlier version. I'll post a 2.10 which should fix this.



-- 

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



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


Re: fontconfig

2007-02-21 Thread Han-Wen Nienhuys
Pedro Rebelo escreveu:
 Dear all
 I've had version 2.10.15 working fine on os x and since I've installed
 later versions I get the following error
 
 Preprocessing graphical objects...No fonts found; this probably means
 that the fontconfig
 library is not correctly configured. You may need to
 edit the fonts.conf configuration file. More information
 about fontconfig can be found in the fontconfig(3) manual
 page and on http://fontconfig.org
 
 any hints on how to go about fixing this?

can you pinpoint the exact version that stopped working?  
(.16 is  unlikely. We did change Fontconfig in 2.10.17)

-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: A-Play - a New Shell for LilyPond

2007-02-18 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] escreveu:

 We have the following statement: A-Play is a freeware GNU documentation or 
 application according to your liking. 

CAn you clarify?  Does this mean that the source for A-Play is 
available?


-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: lilypond info file compilation

2007-02-15 Thread Han-Wen Nienhuys
Quentin Spencer escreveu:
 I'm the lilypond packager for Fedora, and recently received a bug report
 (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225410) that the
 lilypond entries in the main info file /usr/share/info are trying to
 find the info files in /usr/share/info/lilypond. If I just want them all
 installed in /usr/share/info, is there some configure or make option
 that I can invoke so that the info files are built this way to start
 with. Nothing I have tried seems to work other than running sed -e
 s,lilypond/,, -i *.info on the files before they are packaged, but this
 is kind of an ugly solution.
 
 Quentin
 

Hi,

Lilypond uses images in the info files.  You should be installing 
the info files with it's accompanying 400-odd PNG files. Then, putting
it into a subdirectory does make sense.


-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: File fails prooperty type check

2007-02-14 Thread Han-Wen Nienhuys
Cameron Horsburgh escreveu:
 Hi folks,
 
 I'm currently cleaning up a few files in the LSR, and I've come across
 an error that I don't know what to do with. (Please bear with me --
 I'll have a few of these over the next few days! The LSR is, of
 course, full of constructs that used to be great ideas.)
 
 The file I'm currently working on gives the error:
 
 warning: can't find property type-check for breakable'
 (backend-type?).  perhaps a typing error?
 warning: doing assignment anyway
 
 in response to the line:
 
 \override Glissando #'breakable = ##t
 
 #'breakable isn't listed in the Program Reference and the output isn't
 affected if I comment it out. Am I right in thinking it's safe to
 delete that line?

2.11

-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Catching error messages

2007-02-12 Thread Han-Wen Nienhuys
Cameron Horsburgh escreveu:
 On Sun, Feb 11, 2007 at 03:13:36PM -0800, Graham Percival wrote:
 Cameron Horsburgh wrote:
 On Sun, Feb 11, 2007 at 11:40:45AM -0800, Graham Percival wrote:
 Cameron Horsburgh wrote:
 I'd love to be able to specify a log file for either each file or the
 entire run. Does this exist? If not, does anyone have any idea how I
 might be able to do this?
 for f in *.ly ; do lilypond $f  $f.log ; done;

 Something like that, at least.

 Yeah, that's what I tried first. It seems the output is on stderr,
 not stdout.
 http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html

 lilypond $f  $f.log

 
 Yeah, I eventually got that, or something pretty close. It can be pretty
 useful. I might write a page for the docs regarding batch processing.
 The main problem, of course, is that this is OS dependent.
 
 If I were to do that, where would be the best place to put it? Two
 places come to mind -- first, 4.1.3 might be expanded to suggest using

don't; -dlog-file=foo is the recommended method. -dseparate-log-files if
you need multiple logs.


-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: get an accidental to not print

2007-02-10 Thread Han-Wen Nienhuys
Adam Good escreveu:
 Hi all,
 
 sorry if this has been addressed already, it's hard for me to find any
 reference in the archive.
 
 ! = print the accidental manually
 ? = print a cautionary accidental
 
 what about _don't_ print an accidental? like i write cis but don't
 want it to print the accidental?
 
I think this is not possible; might be mistaken though.

-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Reorganizing the contents of the \paper block

2007-02-08 Thread Han-Wen Nienhuys
Trevor Bača escreveu:

 (If I'm getting something factually incorrect, somebody please correct me.)

No, this is correct, albeit a bit more wordy than how I would phrase it. :-)

-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Reorganizing the contents of the \paper block

2007-02-08 Thread Han-Wen Nienhuys
Trevor Bača escreveu:
 On 2/7/07, Han-Wen Nienhuys [EMAIL PROTECTED] wrote:
 Trevor Bača escreveu:

  Right now both list 1 and list 2 will just be put together into the
  outside-of-score (\paper) bucket.
 
  But it seems that may list 1 is really concerned with the *the layout
  of music on the page* whereas list 2 is concerned with *adding headers
  and footers outside the music*.
 
  So does it make sense to divide list 1 and list 2? And if so, with what
  names?

 I think this doesn't make sense. There are two output-def objects with
 nested
 scope. Variables that by their nature have \book-wide effect, go into
 the outer
 scope, variables that are score-wide may be put in the inner scope.

 If that confuses you, it might be a better idea to rename \layout  and
 \paper to
 better reflect this.
 
 Another point of clarification:
 
 So this means there are really three levels of scope at which these
 settings can be made ...
 
 1. at score level (which is most specific)
 2. at book level (which is intermediate), and
 3. at top level
 
 ... as reflected in the following example:
 
 %%% BEGIN 3-LEVELS OF SCOPE %%%
 
 \version 2.11.16
 
 \paper { indent = #100 }
 
 \book {
 
   \paper { indent = #50 }
 
   \score {
  \new Staff { c'1 }
  \layout { indent = #0 }
   }
 
 }
 
 %%% END %%%
 
 If I comment out the score-level indent, then the book-level indent
 will take over. If I comment out both the score-level and book-level
 indents, then the top-level indent will take over.

No, the \book level indent overwrites the toplevel

 \paper { indent = #75 } 
 \book {
   \paper { indent = #50 }
  }

really maens

  $defaultpaperblock = \paper { \$defaultpaperblock indent = #75 }
  \book { 
\paper { \$defaultpaperblock indent = #50 }
  } 

-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Reorganizing the contents of the \paper block

2007-02-08 Thread Han-Wen Nienhuys
Trevor Bača escreveu:

 Note that this is not a zero-code proposal, however: the idea of
 collapsing \paper and \layout is a pretty serious structural change,
 even though I think it makes extremely good sense.

It's actually not. Inside the code it's already implemented like that.
The difference between paper and layout is that paper has a 

  is-paper = ##t

setting.  

What you're really losing is the ability to set a default for the \layout 
block. 

 Perhaps if we wind up wanting to collapse \layout and \paper, then we
 can simply rip \context blocks out and leave them as free-standing
 elements within a \score. But this is a sidenote until we consider
 whether collapsing \paper and \layout even makes sense.]

No, I think that in this case, the \context  definitions have to  go into
\settings as well, ie. in the \book wide settings.


-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Reorganizing the contents of the \paper block

2007-02-08 Thread Han-Wen Nienhuys
Mats Bengtsson escreveu:
 
 When it comes to syntax, I just want to remind everybody that we used to
 have
 a single directive \paper corresponding to the current \layout and
 \book, until
 version 2.4, but it was split into the two in an attempt to clarify what
 you could
 do where. See
 http://lilypond.org/doc/v2.4/Documentation/topdocs/out-www/NEWS.html

This was not because of clarification, rather to have a place to put 
page settings in. 2.4 also was the 1st release to have page breaking.

-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: lilypond-book --pdf doesn't work for me

2007-02-08 Thread Han-Wen Nienhuys
Laura Conrad escreveu:
 [EMAIL PROTECTED]:~/src/lilypond/test$ ls out/lily-699cf55d03-1*
 out/lily-699cf55d03-10.eps  out/lily-699cf55d03-16.eps
 out/lily-699cf55d03-11.eps  out/lily-699cf55d03-17.eps
 out/lily-699cf55d03-12.eps  out/lily-699cf55d03-18.eps
 out/lily-699cf55d03-13.eps  out/lily-699cf55d03-19.eps
 out/lily-699cf55d03-14.eps  out/lily-699cf55d03-1.eps
 out/lily-699cf55d03-15.eps
 [EMAIL PROTECTED]:~/src/lilypond/test$ 
 
 So it looks like my version of pdflatex isn't finding .eps files with
 no extension.
 
 But when I add the extension, pdflatex says:
 
 ! LaTeX Error: Unknown graphics extension: .eps.
 
 My impression is that pdflatex expects graphics as a png, jpg, or pdf,
 not as an eps file.
 
 Is anyone running Linux using the --pdf option to lilypond-book, and
 if so can you send me a sample .lytex file?  

you need to have --pdf as an option to lilypond too. 
Isn't it doing this automatically ?

-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Reorganizing the contents of the \paper block

2007-02-07 Thread Han-Wen Nienhuys
Trevor Bača escreveu:

 
 I wouldn't ask except for the fact that I've now been laying out score
 very successfully with lily for going on two years and I still have to
 stop and ask myself Hmm ... I'm wanting to pad systems on the page so
 that they lay out more loosely. So that concerns layout and I'll look
 for settings over here in the \layout block. Oh wait. Settings for
 system layout live in the \paper block ...

the \layout block only affects what's in a score. Page layout (margins,
titles, etc) fall outside that and therefore are in the \paper block.
Perhaps better names can be found for paper/layout; suggestions
appreciated.

-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Reorganizing the contents of the \paper block

2007-02-07 Thread Han-Wen Nienhuys
Trevor Bača escreveu:
 On 2/7/07, Han-Wen Nienhuys [EMAIL PROTECTED] wrote:
 Trevor Bača escreveu:

 
  I wouldn't ask except for the fact that I've now been laying out score
  very successfully with lily for going on two years and I still have to
  stop and ask myself Hmm ... I'm wanting to pad systems on the page so
  that they lay out more loosely. So that concerns layout and I'll look
  for settings over here in the \layout block. Oh wait. Settings for
  system layout live in the \paper block ...

 the \layout block only affects what's in a score. Page layout (margins,
 titles, etc) fall outside that and therefore are in the \paper block.
 Perhaps better names can be found for paper/layout; suggestions
 appreciated.
 
 Hmmm.
 
 Just thinking out loud here ... so there's an inside-of-score /
 outside-of-score dichotomy going on here. I don't think I had ever
 realized that ...
 
 So that means that ragged-right (which currently lives in \layout) is
 perceived as inside-of-score, whereas ragged-bottom (which currently
 lives in \paper) is outside-of-score?

yes. However, \layout settings default to what is in the \paper block,
so ragged-right may also be defined in the \paper{} block.


-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Reorganizing the contents of the \paper block

2007-02-07 Thread Han-Wen Nienhuys
Trevor Bača escreveu:

 Right now both list 1 and list 2 will just be put together into the
 outside-of-score (\paper) bucket.
 
 But it seems that may list 1 is really concerned with the *the layout
 of music on the page* whereas list 2 is concerned with *adding headers
 and footers outside the music*.
 
 So does it make sense to divide list 1 and list 2? And if so, with what
 names?

I think this doesn't make sense. There are two output-def objects with nested
scope. Variables that by their nature have \book-wide effect, go into the outer
scope, variables that are score-wide may be put in the inner scope.
  
If that confuses you, it might be a better idea to rename \layout  and \paper to
better reflect this.

-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


<    1   2   3   4   5   6   7   8   9   10   >