Re: Installation question: lilypond doesn't work, but ly2dvi does

2002-09-20 Thread Mats Bengtsson

Did you really use the 
lilypond-1.x.xx/buildscripts/out/lilypond-profile
file, it looks as if you used the skeleton version
lilypond-1.x.xx/buildscripts/lilypond-profile.sh

   /Mats


 At 22:44 19/09/2002 +0200, Mats Bengtsson wrote:
 Did you read what INSTALL.txt has to say about
 the file lilypond-profile (or lilypond-login if you
 use tcsh)?
 
/Mats
 
 I've done what it said as part of the install. So /etc/lilypond-profile is 
 called from /etc/profile. And the result on the variables is this:
 
 $ echo $TEXMF
 {@local_lilypond_datadir@,!!/usr/local/share/texmf}
 
 $ echo $GS_LIB
 @local_lilypond_datadir@/ps:
 
 $ echo $GS_FONTPATH
 
:/usr/local/share/lilypond/1.6.0/fonts/afm/:/usr/local/share/lilypond/1.6.0/fonts/tfm/:/usr/local/share/lilypond/1.6.0/fonts/source/
 
 Now, those @local_lilypond_datadir@ look strange to me - are they right? or 
 are they supposed to have been changed for the real directory by this point?
 
 Thanks to all for your help (it looks like a great program, btw)
 Rachel
 
 
 




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



Re: lilypond fonts

2002-09-20 Thread Jan Nieuwenhuizen

Johan Wettergren [EMAIL PROTECTED] writes:

[cc: lilypond-user]

 Could it be that you're not running bash?

 I am running bash. I don't understand the structure of the TEXMF shell
 variable (see below for the complete env):

 TEXMF={/usr/share/lilypond/1.6.0,{/home/Johan/texmf,!!/usr/share/texmf-local,!!/
 usr/share/texmf}}

 Anyhow, I managed to get things working by running ly2dvi without the -p
 option and then dvips.

Ok, this means that PDF generation is broken.  You can also use ly2dvi
-P, which only generates dvi and postscript.

Jan.

-- 
Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org



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



PDF output woes: ly2dvi -p and dvips -u lilypond.map

2002-09-20 Thread Jan Nieuwenhuizen


I'm preparing new teTeX, Guile and LilyPond releases for Cygwin, but I
can't seem get PDF output through ly2dvi -p output to behave.

ly2dvi invokes dvips -u lilypond.map (the -u option is not documented
in man or info pages), but it seems that with this option,
lilypond.map is the only map file that's used (similar problem in Cygwin
as on my Debian box):

   $ dvips -ta4 -Ppdf -G0 -u lilypond.map -otrip.ps trip.dvi
   This is dvips(k) 5.85e Copyright 2002 Radical Eye Software (www.radicaleye.com)
   ' TeX output 2002.09.20:1240' - trip.ps
   kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 1+0/8000 --dpi 8000 
cmbx10
   mktexpk: Mismatched mode ljfour and resolution 8000; ignoring mode.
   mktexpk: Can't guess mode for 8000 dpi devices.
   mktexpk: Use a config file, or update me.
   kpathsea: Appending font creation commands to missfont.log.
   dvips: Font cmbx10 not found, characters will be left blank.
   [...]

   $ dvips -ta4 -Ppdf -G0 -u lilypond.map -u psfonts.map -otrip.ps trip.dvi
   This is dvips(k) 5.85e Copyright 2002 Radical Eye Software (www.radicaleye.com)
   ' TeX output 2002.09.20:1240' - trip.ps
   kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 1+0/8000 --dpi 8000 
feta20
   mktexpk: Mismatched mode ljfour and resolution 8000; ignoring mode.
   mktexpk: Can't guess mode for 8000 dpi devices.
   mktexpk: Use a config file, or update me.
   kpathsea: Appending font creation commands to missfont.log.
   dvips: Font feta20 not found, characters will be left blank.
   [...]
   
Combining both map files by hand, seems to be a good hack:

   $ cat /etc/texmf/dvips/psfonts.map mf/out/lilypond.map  both.map
   $ dvips -ta4 -Ppdf -G0 -u both.map -otrip.ps trip.dvi
   This is dvips(k) 5.85e Copyright 2002 Radical Eye Software (www.radicaleye.com)
   ' TeX output 2002.09.20:1240' - trip.ps
   tex.proalt-rule.protexc.protexps.prospecial.pro. feta-nummer7.pfa
   feta13.pfacmbx14.pfafeta-nummer10.pfafeta-nummer6.pfacmr8.pfb
   cmti10.pfbfeta-braces4.pfafeta-din14.pfacmr10.pfbfeta20.pfa
   cmbx12.pfbcmbx10.pfb[1] 

Can some dvips/PDF guru please show me how ly2dvi -p is *supposed* to work?

Jan.

-- 
Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org



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



Re: Settings for a hymn book

2002-09-20 Thread Oscar A. Valdez

El jue, 19-09-2002 a las 06:41, Mats Bengtsson escribió:
 ... This is exactly why I proposed the 
 alternative solution to use lilypond-book instead, where
 you have full control over the layout.
 
/Mats

Thank you for your advice. I have started using lilypond-book.

On the attached .ly file, lilypond-book.and then dvips produce only the
fist staff (Staff = Celeb) and its lyrics, but not the second staff nor
its lyrics (Staff = Resp).

What should I do to get both staffs on the final .ps file?

Thanks again.

Oscar Valdez

***

\header {
tagline =
}
\paper { linewidth=-1 }
\score {
\addlyrics
\context Staff = Celeb {
\property Staff.midiInstrument = acoustic grand
\property Staff.noAutoBeaming = ##t
\property Staff.automaticMelismata = ##t
\cadenzaOn
\notes
\relative c' {
\clef bass
g8 g a a a
a g a a b
a a a a a
g a [a( )g] g   
\bar |.
}
}
\context Lyrics
\lyrics {
En el nom bre del
Pa dre, y del Hi-
jo, y del Es- pi-
ri- tu San to.
}
}
\score {
\addlyrics
\context Staff = Resp {
\property Staff.midiInstrument = acoustic grand
\property Staff.noAutoBeaming = ##t
\property Staff.automaticMelismata = ##t
\cadenzaOn
\notes
\relative c' {
\clef bass
g8 [g( )a]
\bar |.
}
}
\context Lyrics
\lyrics {
A men.
}
}



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



Can't compile documents

2002-09-20 Thread Caol Andor

Hi, I've installed LilyPond 1.6.3 on RedHat 7.3 successfully from the source,
but couldn't  make web and got error messages like :



 invoking `gs -sDEVICE=bbox -q  -sOutputFile=- -dNOPAUSE lily-15089817
61.eps -c quit  lily-1508981761.eps.bbox 21'
Error command exited with value 35072
Exiting ...
Traceback (most recent call last):
  File ../../scripts/lilypond-book.py, line 1478, in ?
  File ../../scripts/lilypond-book.py, line 1377, in do_file
  File ../../scripts/lilypond-book.py, line 1178, in compile_all_files
  File ../../scripts/lilypond-book.py, line 1090, in make_pixmap
  File ../../scripts/lilypond-book.py, line 1079, in get_bbox
  File ../../scripts/lilypond-book.py, line 1066, in system
  File ../../scripts/lilypond-book.py, line 603, in error
Exiting.


gs invoked by system() in  lilypond-book.py line 1066  always
devours terribly much CPU time and makes my harddisk very busy only to fail,
though I can invoke gs from terminal with the same command in the same 
directory and create bbox files successfully.
So gs should be all right and  lilypond-book.py might be wrong ,
but the script looks all right (at least) to me .
Could anyone help me? 

-Caol.

-
(HaraKiri sounds rather funny  to the Japanese as 
 BellyCut to the British, but it's a good term for disappearing staffs, 
I suppose. :-) )



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



Re: PDF output woes: ly2dvi -p and dvips -u lilypond.map

2002-09-20 Thread Jan Nieuwenhuizen

Jan Nieuwenhuizen [EMAIL PROTECTED] writes:

 I'm preparing new teTeX, Guile and LilyPond releases for Cygwin, but I
 can't seem get PDF output through ly2dvi -p output to behave.

Arg.  Seems to be a difference between dvips versions.  Previously, an
entry in config.ps:

   p psfonts.map

would be *added* to any -u foo.map file.  Now, it seems that config.ps
needs:

   p +psfonts.map

otherwise any -u foo.map option replaces this map file.

Jan.

-- 
Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org



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



Re: Help on installation - Can't find function `int isinf(...)'

2002-09-20 Thread Rodrigo

Thanks Mats. I tried some ways of doing this without success and I finally 
create a isinf.h and a isinf.c ... Probably not the most elegant way of 
solving it, but it seems to have solved the issue. I successfully built it. 
But now I'm having problems running the program. I will send another post 
related to this new problem.

[]s,

Rodrigo

PS-I'm not sure what I'm supposed to do about the patch you said in your 
email ...

At 10:30 19/09/2002 +0200, Mats Bengtsson wrote:
You did use the gcc compiler, did you?

I don't have access to Solaris myself, but checked in Google
and found some answers indicating that isinf is not standardized
enough to appear on all systems, for example Solaris.

According to an old FAQ entry, the following workaround
can be used

 #include ieeefp.h

 int isinf(double x) { return !finite(x)  x==x; }

configure does indeed check if isinf is available and
defines a HAVE_ISINF preprocessor macro. If you
manage to solve the problem in some appropriate
lily/include/*.hh file please send a patch so other
Solaris users can avoid the same problem.

   /Mats



  Hello all. I'm a newbie, and I'm having a difficult time installing 
 lilypond.
  I'm using Solaris 8
  # uname -a
  SunOS sun 5.8 Generic_108528-06 sun4u sparc SUNW,Sun-Blade-100
 
  I correct some problems that I had with configure script and I thought 
 that
  I would finally succeed but now I have this error when I try to make.
 
  # make all
  snip
  beam.cc: In function `static void Beam::consider_auto_knees(Grob *)':
  beam.cc:669: implicit declaration of function `int isinf(...)'
  make[1]: *** [out/beam.o] Error 1
  snip
 
  I checked beam.cc and found the call to isinf. I searched for isinf and
  found that usually it is on math.h (also found some reference to 
 ieeefp.h).
  I checked both files in my machine and couldn't find it.
  I'm stuck, any pointer is appreciated.
 
  []s,
 
  Rodrigo
 
 
 
  ___
  Lilypond-user mailing list
  [EMAIL PROTECTED]
  http://mail.gnu.org/mailman/listinfo/lilypond-user



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