Re: Crippled PS/RPM output on RHEL5

2008-02-07 Thread Ozgur Yuksel
On Feb 7, 2008 4:20 AM, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
> 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
>

Hi,

Here it is. Sorry it is somewhat big :)

Ozgur


GNU LilyPond 2.11.38
warning: Relocation: is absolute: argv0=/home/oyuksel//lilypond/usr/bin/lilypond
PATH=/home/oyuksel/lilypond/usr/bin (prepend)
Setting PATH to
/home/oyuksel/lilypond/usr/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/ho
me/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless:/usr/local/kde/bin:/home/oyuksel/bin:/sbin:/usr/sbin:/
home/oyuksel/bin/wireless:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless
warning: Relocation: compile datadir=, new
datadir=/home/oyuksel/lilypond/usr/share/lilypond//current
warning: Relocation: framework_prefix=/home/oyuksel/lilypond/usr/bin/..
Setting INSTALLER_PREFIX to /home/oyuksel/lilypond/usr/bin/..
Relocation file: /home/oyuksel/lilypond/usr/bin/../etc/relocate//pango.reloc
Setting PANGO_RC_FILE to /home/oyuksel/lilypond/usr/bin/../etc/pango/pangorc
Setting PANGO_PREFIX to /home/oyuksel/lilypond/usr/bin/../
Relocation file:
/home/oyuksel/lilypond/usr/bin/../etc/relocate//fontconfig.reloc
Setting FONTCONFIG_FILE to
/home/oyuksel/lilypond/usr/bin/../etc/fonts/fonts.conf
Setting FONTCONFIG_PATH to /home/oyuksel/lilypond/usr/bin/../etc/fonts
Relocation file: /home/oyuksel/lilypond/usr/bin/../etc/relocate//gs.reloc
warning: no such directory:
/home/oyuksel/lilypond/usr/bin/../share/ghostscript/8.57/fonts for
GS_FONTPATH
warning: no such directory:
/home/oyuksel/lilypond/usr/bin/../share/gs/fonts for GS_FONTPATH
warning: no such directory:
/home/oyuksel/lilypond/usr/bin/../share/ghostscript/8.57/Resource for
GS_LIB
GS_LIB=/home/oyuksel/lilypond/usr/bin/../share/ghostscript/8.57/lib (prepend)
Setting GS_LIB to /home/oyuksel/lilypond/usr/bin/../share/ghostscript/8.57/lib
Relocation file: /home/oyuksel/lilypond/usr/bin/../etc/relocate//guile.reloc
GUILE_LOAD_PATH=/home/oyuksel/lilypond/usr/bin/../share/guile/1.8 (prepend)
Setting GUILE_LOAD_PATH to /home/oyuksel/lilypond/usr/bin/../share/guile/1.8
PATH=/home/oyuksel/lilypond/usr/bin/../bin (prepend)
Setting PATH to
/home/oyuksel/lilypond/usr/bin/../bin:/home/oyuksel/lilypond/usr/bin:/usr/kerberos/bin:/usr/loca
l/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless:/usr/local/kde/b
in:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/
bin/wireless
Setting GUILE_MIN_YIELD_1 to 65
Setting GUILE_MIN_YIELD_2 to 65
Setting GUILE_MIN_YIELD_MALLOC to 65
Setting GUILE_INIT_SEGMENT_SIZE_1 to 10485760
Setting GUILE_MAX_SEGMENT_SIZE to 104857600

LILYPOND_DATADIR="/usr/share/lilypond/2.11.38"
LOCALEDIR="/usr/share/locale"

Effective prefix: "/home/oyuksel/lilypond/usr/share/lilypond/current"
FONTCONFIG_FILE="/home/oyuksel/lilypond/usr/bin/../etc/fonts/fonts.conf"
FONTCONFIG_PATH="/home/oyuksel/lilypond/usr/bin/../etc/fonts"
GS_LIB="/home/oyuksel/lilypond/usr/bin/../share/ghostscript/8.57/lib"
GUILE_LOAD_PATH="/home/oyuksel/lilypond/usr/bin/../share/guile/1.8"
PANGO_RC_FILE="/home/oyuksel/lilypond/usr/bin/../etc/pango/pangorc"
PANGO_PREFIX="/home/oyuksel/lilypond/usr/bin/../"
PATH="/home/oyuksel/lilypond/usr/bin/../bin:/home/oyuksel/lilypond/usr/bin:/usr/kerberos/bin:/usr/local/bin:/usr
/bin:/bin:/usr/X11R6/bin:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless:/usr/local/kde/bin:/home/o
yuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wirele
ss"
[]
[/home/oyuksel/lilypond/usr/share/lilypond/current/scm/lily-library.scm][/home/oyuksel/lilypond/usr/share/lilypo
nd/current/scm/file-cache.scm][/home/oyuksel/lilypond/usr/share/lilypond/current/scm/define-event-classes.scm][/
home/oyuksel/lilypond/usr/share/lilypond/current/scm/define-music-types.scm][/home/oyuksel/lilypond/usr/share/li
lypond/current/scm/output-lib.scm][/home/oyuksel/lilypond/usr/share/lilypond/current/scm/c++.scm][/home/oyuksel/
lilypond/usr/share/lilypond/current/scm/chord-ignatzek-names.scm][/home/oyuksel/lilypond/usr/share/lilypond/curr
ent/scm/chord-entry.scm][/home/oyuksel/lilypond/usr/share/lilypond/current/scm/chord-generic-names.scm][/home/oy
uksel/lilypond/usr/share/lilypond/current/scm/stencil.scm][/home/oyuksel/lilypond/usr/share/lilypond/current/scm
/markup.scm][/home/oyuksel/lilypond/usr/share/lilypond/cu

Re: Program crashes whenever I start it (not solved yet)

2008-02-07 Thread Mats Bengtsson

Python shouldn't be involved at all when you just run plain LilyPond.
(For lilypond-book, convert-ly, midi2ly and a couple of other utilities
bundled with LilyPond, Python is used. The LilyPond installation includes
a full Python interpreter as well, but normally it shouldn't be any problem
also if you have some other Python installation on your machine).

I cannot recall having heard about any similar problems in Windows.
It's almost impossible to guess what is the problem, without further 
information.

What you can do is to start a command prompt (Start menu -> All programs
-> Accessories -> Command prompt) and try the following:

- Run the command
lilypond
 If it works correctly, it should say something about "Usage:" and list
 a number of options that are available for the command.
- If the previous didn seem to work, you can run the command
lilypond --verbose > C:\lilypond.log 2>&1
 which hopefully should produce a text file C:\lilypond.log, with printouts
 from the lilypond command. Send a copy of this file to the mailing list.

- If, on the other hand, the first test seemed to work OK, you should make
 a similar test on a real .ly file, i.e. use a command like
cd Desktop\
 to change directory to the map where you have your .ly file and then run
lilypond --verbose myfile.ly > C:\lilypond.log 2>&1
 to get the log file.

  /Mats


Bryan Previte wrote:

Simon Dahlbacka  gmail.com> writes:

  

Just a random thought, do you have another python version installed?/Simon




I have the latest version of Python (ver. 2.5) installed.



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


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



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


Re: Scheme: Is there a ... - Doc error? & other stuff

2008-02-07 Thread Risto Vääräniemi
On 06/02/2008, Mats Bengtsson wrote:
> See http://lists.gnu.org/archive/html/bug-lilypond/2006-01/msg00163.html
> Now that we recently have renamed some properties and predefined macros
> in 2.11.37 and coming 2.11.38, in order to get a more unified naming,
> maybe it's time to bring up my old proposal.

Yes! Either one of these options would suit me fine as long as their
functionalities are consistent.

Any other comments? :-)

-Risto


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


[FWD: RE: Thematic index]

2008-02-07 Thread Steve Dunlop


>  Original Message 
> Subject: RE: Thematic index
> From: Steve Dunlop <[EMAIL PROTECTED]>
> Date: Thu, February 07, 2008 11:00 am
> To: Laura Conrad <[EMAIL PROTECTED]>
> 
> > Kieren> Not that I know of... But just put each example in its own 
> > \score
> > Kieren> (with ragged-right = ##t, probably), precede it by its own 
> > \markup
> > Kieren> heading, and I think you'll get what you're looking for [...]
> 
> Yes.  That's what I've been experimenting with.  It's taking a certain amount 
> of fiddling to get
> the surrounding markup really right.
> > 
> 
> <>
> > I would have said to use --preview and put the eps files into a table
> > of contents document using your favorite publishing program.  But I
> > keep forgetting that lots of people on this list really believe that
> > lilypond has the potential to be a real publishing program.  (Which is
> > of course true in the long run if they go on working as hard at making
> > it one as some people have been.)
> 
> I'm on a personal mission to publish usable, complete books of open content 
> organ music to sites such as mutopia, Icking, and Wikisource.  Using a 
> publishing program to paste together a book, while a good idea in general, 
> doesn't fit well with that mission and with the openness and reuse goals.
> 
> Steve


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


Bug: nested alist accessor syntax broken for TextSpanner #'bound-details #'[left, right]-broken

2008-02-07 Thread Trevor Bača
Hi Valentin,

Another one for the tracker. I suspect this one relates very closely to the
previous bug I mailed in less than an hour ago, but I'm not certain. Maybe
add to the tracker as two separate IDs, but referencing each other? Either
way, these two mail given info that should wind up as two separate
regression tests once a fix shows up later on.

Again there is a workaround included towards the bottom, so lower priority.

All examples 2.11.34.


===


NR 1.8.3.2 "Text and line spanners" uses the following syntax for setting
TextSpanner #'bound-details #'left-broken and TextSpanner #'bound-details
#'right-broken:

   \override TextSpanner #'bound-details #'left-broken #'text =
"cotinuation"

This sytax does indeed work, as we can see in the following example:

   \new Staff {
  \override TextSpanner #'bound-details #'left-broken #'text =
"cotinuation"
  \override TextSpanner #'bound-details #'left #'text = "start"
  c'4 \startTextSpan c'4 c'4 c'4 \break
  c'4 c'4 c'4 c'4 \stopTextSpan
   }


Furthermore, we can see this same syntax working here in this second
example:

   \new Staff {
  \override TextSpanner #'bound-details #'left-broken #'X = #30
  \override TextSpanner #'bound-details #'left #'text = "start"
  c'4 \startTextSpan c'4 c'4 c'4 \break
  c'4 c'4 c'4 c'4 \stopTextSpan
   }


But now observe that we get a bug when we try to combine these first two
examples together at one time:

   \new Staff {
  \override TextSpanner #'bound-details #'left-broken #'X = #30
  \override TextSpanner #'bound-details #'left-broken #'text =
"continuation" % BUG -- this setting junked
  \override TextSpanner #'bound-details #'left #'text = "start"
  c'4 \startTextSpan c'4 c'4 c'4 \break
  c'4 c'4 c'4 c'4 \stopTextSpan
   }


There is a workaround. Setting the alist directly works:

   \new Staff {
  \override TextSpanner #'bound-details #'left-broken =
 #'((X . 30) (text . "continuation"))
  \override TextSpanner #'bound-details #'left #'text = "start"
  c'4 \startTextSpan c'4 c'4 c'4 \break
  c'4 c'4 c'4 c'4 \stopTextSpan
   }


Note that this alist syntax is not available in NR. This syntax is available
in the IR ... but with no reference to left-broken and right-broken.

Maybe the best way to summarize this bug is that the code written to afford
access to the nested sublists living inside of bound-details breaks when the
user appends to the #'left-broken and #'right-broken sublists (but works
fine when the user appends to the #'left and #'right sublists).



-- 
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Thematic index

2008-02-07 Thread Laura Conrad
> "Kieren" == Kieren MacMillan <[EMAIL PROTECTED]> writes:

Kieren> Hi Steve,
>> I googled and checked the LSR, but haven't found any good examples
>> for formatting thematic indexes.
>> Does anyone have an example to share?

Kieren> Not that I know of... But just put each example in its own \score
Kieren> (with ragged-right = ##t, probably), precede it by its own \markup
Kieren> heading, and I think you'll get what you're looking for -- e.g.,

I would have said to use --preview and put the eps files into a table
of contents document using your favorite publishing program.  But I
keep forgetting that lots of people on this list really believe that
lilypond has the potential to be a real publishing program.  (Which is
of course true in the long run if they go on working as hard at making
it one as some people have been.)

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


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


Re: Thematic index

2008-02-07 Thread Kieren MacMillan

Hi Steve,

I googled and checked the LSR, but haven't found any good examples  
for formatting thematic indexes.

Does anyone have an example to share?


Not that I know of... But just put each example in its own \score  
(with ragged-right = ##t, probably), precede it by its own \markup  
heading, and I think you'll get what you're looking for -- e.g.,


\markup { "My First Example" }
\score { \fourMeasuresOfTheFirstPiece }

\markup { "My Second Example" }
\score { \fourMeasuresOfTheSecondPiece }

...

HTH!
Kieren.


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


Thematic index

2008-02-07 Thread Steve Dunlop
I googled and checked the LSR, but haven't found any good examples for 
formatting thematic indexes.

Does anyone have an example to share?

For those not familiar with the term, a thematic index is a table of contents 
usually appearing at the front of a book of music, where the first few bars of 
each work are engraved to aid the reader in locating a piece of interest.

Steve


___
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