From 339366e4d8e9326e00a172dc975fbd892ccdad73 Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 27 Mar 2002 00:49:05 +0000 Subject: [PATCH] lilypond-1.3.130 --- Documentation/user/invoking.itexi | 15 ++++++++++++++- buildscripts/lilypond-profile.sh | 2 ++ lily/staff-symbol-referencer.cc | 4 ++-- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Documentation/user/invoking.itexi b/Documentation/user/invoking.itexi index 55a3b80406..e5e8dd30e6 100644 --- a/Documentation/user/invoking.itexi +++ b/Documentation/user/invoking.itexi @@ -17,7 +17,20 @@ @item -f,--format= Output format for sheet music. Choices are tex (for @TeX{} output), ps (for PostScript) and scm (for a Scheme -dump) +dump). + +For processing both the @TeX{} and the PostScript output, you must +have appropriate environment variables set. For @TeX{}, you have to +set @var{MFINPUTS} and @var{TEXINPUTS} to point to the directory +containing LilyPond metafont and .tex files. For processing the +PostScript with Ghostscript, you have to set @var{GS_FONTPATH} to +point to the directory containing LilyPond @file{pfa} files. + +Scripts to do this are included in +@file{buildscripts/out/lilypond-profile} (for sh shells) and +@file{buildscripts/out/lilypond-login} (for C-shells), and should +normally be run as part of your login process. + @item -h,--help Show a summary of usage. diff --git a/buildscripts/lilypond-profile.sh b/buildscripts/lilypond-profile.sh index f2083862de..7dbb5dd467 100644 --- a/buildscripts/lilypond-profile.sh +++ b/buildscripts/lilypond-profile.sh @@ -11,6 +11,8 @@ LILYPONDPREFIX="@datadir@" MFINPUTS="@datadir@/mf:"${MFINPUTS:=":"} TEXINPUTS="@datadir@/tex:@datadir@/ps:"${TEXINPUTS:=":"} + +## gs_lib ??? export LILYINCLUDE LILYPONDPREFIX MFINPUTS TEXINPUTS GS_LIB GS_FONTPATH diff --git a/lily/staff-symbol-referencer.cc b/lily/staff-symbol-referencer.cc index 1341bf9a02..da1ae75483 100644 --- a/lily/staff-symbol-referencer.cc +++ b/lily/staff-symbol-referencer.cc @@ -11,7 +11,7 @@ #include "staff-symbol-referencer.hh" #include "staff-symbol.hh" #include "paper-def.hh" - + bool Staff_symbol_referencer::has_interface (Grob*e) { @@ -29,7 +29,7 @@ Staff_symbol_referencer::line_count (Grob*me) bool Staff_symbol_referencer::on_staffline (Grob*me) { - return on_staffline (me, (int) position_f (me)); + return on_staffline (me, (int) rint (position_f (me))); } bool -- 2.39.5