請教設定 lilypond 三問
雖然 lilypond 大體可以跑了,但我想設定仍有問題...
我是用
freeBSD 5.4
lilypond 2.6.3 tar 包, 這樣灌的:
wget http://lilypond.org/download/v2.6/lilypond-2.6.3.tar.gz
tar -xzvf lilypond-2.6.3.tar.gz
cd lilypond-2.6.3
../configure --with-kpathsea-lib=/usr/local/lib --with-kpathsea-include=/usr/local/include
--with-kpathsea=yes
gmake all
gmake install
請教
#1
問題 1 作 documentation 不成功.
# gmake web
.......
out-www/lilypond.texi:305: @include `advanced-notation.texi': No such file
or directory.
out-www/lilypond.texi:305: @include `changing-defaults.texi': No such file
or directory.
out-www/lilypond.texi:305: @include `global.texi': No such file or
directory.
out-www/lilypond.texi:306: @include `programming-interface.texi': No such
file or directory.
out-www/lilypond.texi:306: @include `lilypond-book.texi': No such file or
directory.
out-www/lilypond.texi:306: @include `converters.texi': No such file or
directory.
out-www/lilypond.texi:311: @include `literature.texi': No such file or
directory.
out-www/lilypond.texi:311: @include `scheme-tutorial.texi': No such file or
directory.
out-www/lilypond.texi:311: @include `notation-appendices.texi': No such file
or directory.
out-www/lilypond.texi:311: @include `point-and-click.texi': No such file or
directory.
out-www/lilypond.texi:311: @include `cheatsheet.texi': No such file or
directory.
out-www/lilypond.texi:311: @include `fdl.texi': No such file or directory.
../out-www/lilypond.texi:312: Prev reference to nonexistent node `GNU Free
Documentation License' (perhaps incorrect sectioning?).
/usr/local/www/data-dist/lilypond-2.6.3/Documentation/user/out-www//instrument-notation.texi:8:
Next reference to nonexistent node `Advanced notation' (perhaps incorrect
sectioning?).
/usr/local/www/data-dist/lilypond-2.6.3/Documentation/user/out-www//instrument-notation.texi:5411:
Cross reference to nonexistent node `Overview of text markup commands'
(perhaps incorrect sectioning?).
.......
../out-www/lilypond.texi:288: Menu reference to nonexistent node `GNU Free
Documentation License' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:287: Menu reference to nonexistent node `Cheat
sheet' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:286: Menu reference to nonexistent node `Point and
click' (perhaps incorrect sectioning?).
.......
makeinfo: Removing output file `out-www/lilypond.html' due to errors;
use --force to preserve.
gmake[3]: *** [out-www/lilypond.html] Error 1
gmake[3]: Leaving directory
`/usr/local/www/data-dist/lilypond-2.6.3/Documentation/user'
gmake[2]: *** [WWW] Error 2
gmake[2]: Leaving directory
`/usr/local/www/data-dist/lilypond-2.6.3/Documentation'
gmake[1]: *** [WWW] Error 2
gmake[1]: Leaving directory `/usr/local/www/data-dist/lilypond-2.6.3'
gmake: *** [web] Error 2
#2
問題 2
作出來的 ps 檔, 在 WindowsXP GSView 4.7 (有 AFPL Ghostscript 8.51 )
已在 GView 的 advanced configuration 下設 Ghostscipt option 為
-dNOPLATFONTS -dNOSAFER -sFONTPATH="c:\psfonts"
作出來的 pdf檔 倒是可以; GSView 4.7 看 pdf 或看其他來源的 ps 都沒問題.
但每次打開 lilypond 作的 ps 時, GSViwe 都說錯誤,說 :
GSview 4.7 2005-03-26
Unknown in Comments section at line 7:
%%DocumentSuppliedResources: font BitstreamVeraSans-Bold
Unknown in Comments section at line 8:
%%DocumentSuppliedResources: font BitstreamVeraSans-BoldOblique
Unknown in Comments section at line 9:
%%DocumentSuppliedResources: font BitstreamVeraSans-Oblique
Unknown in Comments section at line 10:
%%DocumentSuppliedResources: font BitstreamVeraSans-Roman
Unknown in Comments section at line 11:
%%DocumentSuppliedResources: font PFAEmmentaler-26
Unknown in Comments section at line 12:
%%DocumentSuppliedResources: font feta-alphabet26
Unknown in Prolog section at line 7314:
%%DocumentSuppliedResources: font PFAEmmentaler-26
Unknown in Prolog section at line 7315:
%%Title: PFAEmmentaler-26
Unknown in Prolog section at line 7316:
%%Version: @TOPLEVEL_VERSION@
Unknown in Prolog section at line 7317:
%%CreationDate: Sat Sep 3 22:21:56 2005
Unknown in Prolog section at line 7318:
%%Creator: NRoot
Unknown in Prolog section at line 7327:
%%EndComments
DSC Information
At line 7342:
/Notice (This font is distributed under the GNU General Public License.
As a special exception, if you create a document which uses this font, and
embed this font or unaltered portions of this font into the document, this
font does not by itself cause th
Lines in DSC documents must be shorter than 255 characters.
Unknown in Prolog section at line 10350:
%%DocumentSuppliedResources: font feta-alphabet26
Unknown in Prolog section at line 10351:
%%Title: feta-alphabet26
Unknown in Prolog section at line 10352:
%%Version: 001.001
Unknown in Prolog section at line 10353:
%%CreationDate: Sat Sep 3 22:18:53 2005
Unknown in Prolog section at line 10354:
%%Creator: NRoot
Unknown in Prolog section at line 10358:
%%EndComments
AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file E:/neuro/lilypond/107c/01/program.ps
Displaying page 1
%GSVIEW_PDF_MARK: /ANN /Subtype /Link /Action -dict- /Border Error:
/typecheck in --length--
Operand stack:
--nostringval-- Rect --nostringval-- --nostringval-- 0.0 0.0
0.0 6.47572 0 0
Execution stack:
%interp_exit
..runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringval-- false 1
%stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3
%oparray_pop 1 3 %oparray_pop
..runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval--
1 --nostringval-- %repeat_continue --nostringval--
Dictionary stack:
--dict:1129/1686(ro)(G)-- --dict:0/20(G)-- --dict:125/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
--- Begin offending input ---
space glyphshow
/eight glyphshow
/comma glyphshow
/space glyphshow
/two glyphshow
/zero glyphshow
/zero glyphshow
/five glyphshow
grestore } place-box
} stop-system
showpage
--- End offending input ---
file offset = 0
gsapi_run_string_continue returns -101
....一直說到這裡
#3
問題 3
由
http://www.lilypond.org/doc/v2.6/Documentation/user/out-www/lilypond/lily-1125831446.ly
修飾改過的 這個 utf.ly
# cat utf.ly
%% begin of utf.ly
\paper {}
\layout {}
\renameinput "utf-8.ly"
\version "2.6.3"
%{
You may have to install additional fonts.
Red Hat Fedora
taipeifonts fonts-xorg-truetype ttfonts-ja fonts-arabic \
ttfonts-zh_CN fonts-ja fonts-hebrew
Debian GNU/Linux
apt-get install emacs-intl-fonts xfonts-intl-.* \
ttf-kochi-gothic ttf-kochi-mincho
%}
\header {}
chinese = \lyricmode {
今 日 事 今 日 畢
}
japanese = \lyricmode {
??? ????
}
\relative {
c2 d e f g f e
}
\addlyrics { \chinese }
\addlyrics { \japanese }
%% end of utf.ly
給他跑下去的話,
# lilypond utf.ly
說:
GNU LilyPond 2.6.3
Processing `utf_02.ly'
Parsing...
Renaming input to: `utf-8.ly'
Interpreting music... [3]
Preprocessing graphical objects...
Calculating line breaks... [3][5]
Calculating page breaks...
Layout output to `utf_02.ps'...
programming error: FT_Get_Glyph_Name() returned error
continuing, cross fingers
..... (反複 n 便)
/usr/local/share/lilypond/2.6.3/scm/framework-ps.scm:316:9: In procedure
scm_allocate_stringin expression (ly:ttf->pfa file-name):
/usr/local/share/lilypond/2.6.3/scm/framework-ps.scm:316:9: Argument 1 out
of range: 2112911
我的目標是希望能顯示 (utf 的) 中日...文.
勒勒長... 不好意思
謝謝
<: 老音學生 :>
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章