bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help on invoking lilypond-book


From: Daniel Tonda
Subject: Re: help on invoking lilypond-book
Date: Tue, 8 Aug 2006 20:37:02 -0500

Mats:

I downloaded the linux script installer. It's been a while since I've dared
to compile lilypond myself.

Daniel T.

2006/8/8, Mats Bengtsson <address@hidden>:

Let us move the discussion to bug-lilypond, since you have clearly hit
a bug (for the record, the earlier emails of this thread can be found at
http://lists.gnu.org/archive/html/lilypond-user/2006-08/msg00094.html )

I happened to try lilypond-book in the Windows package and it seems that
has the same problem, namely that gs fails when it's called from within
lilypond-book (in the conversion from eps to pdf of each score line).
The error message complains about the Emmentaler-20 font.
Notice that when I run the Windows package, it will call the gs
version bundled with LilyPond, so it shouldn't be a problem with
incompatible ghostcript versions.

However, I cannot repeat the problem on my Linux installation.

Did you install LilyPond using the package from www.lilypond.org
or did you compile it yourself?

   /Mats

Daniel Tonda Castillo wrote:

> I downloaded and built ghostscript-afpl version 8.54. It built without
> problems.
>
> I ran the makefile script and the same error appeared, so I ran:
>
> lilypond-book -b eps -o OUT --psfonts -V Compendio.lytex  (the V for
> more verboseness).
>
> The errors that appeared were concerning gs cant find or can't open
> /usr/local/..../lilypond/Resources/Fonts/Emmentaler-20.
>
> And the same for Nimbus...
>
> I linked the fonts *.otf *.pfa in the directory in the directory and
> finally the command worked.
>
> The directory  now containes the following:
>
> $ ls /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/* -1
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/aybabtu.otf
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/CenturySchL-Bold
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/CenturySchL-BoldItal
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/CenturySchL-
BoldItal.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/CenturySchL-
Bold.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/CenturySchL-Ital
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/CenturySchL-
Ital.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/CenturySchL-Roma
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/CenturySchL-
Roma.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-11
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-
11.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-13
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-
13.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-14
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-
14.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-16
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-
16.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-18
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-
18.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-20
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-
20.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-23
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-
23.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-26
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/Emmentaler-
26.otf
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-alphabet11
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-
alphabet11.pfa
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-alphabet13
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-
alphabet13.pfa
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-alphabet14
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-
alphabet14.pfa
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-alphabet16
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-
alphabet16.pfa
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-alphabet18
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-
alphabet18.pfa
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-alphabet20
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-
alphabet20.pfa
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-alphabet23
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-
alphabet23.pfa
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-alphabet26
>
> /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/feta-
alphabet26.pfa
>
>
/usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/fonts.cache-1
>
>
> I ran the makefile script and here's the output:
>
> $ make
> lilypond-book -f latex --psfonts -o OUT Compendio.lytex ; cd OUT &&
> latex --interaction=nonstopmode Compendio.tex ; dvips -o -h
> Compendio.psfonts Compendio.dvi && ps2pdf Compendio.ps Compendio.pdf
> && cp Compendio.pdf ../
> lilypond-book (GNU LilyPond) 2.9.14
> Reading Compendio.lytex...
> Running latex...latex: /usr/local/lilypond/usr/lib/libpng12.so.0: no
> version information available (required by latex)
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> entering extended mode
> (/tmp/tmpvh64gq.tex
> LaTeX2e <2003/12/01>
> Babel <v3.8d> and hyphenation patterns for american, french, german,
> ngerman, b
> ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
> esperanto, e
> stonian, finnish, greek, icelandic, irish, italian, latin, magyar,
> norsk, polis
> h, portuges, romanian, russian, serbian, slovak, slovene, spanish,
> swedish, tur
> kish, ukrainian, nohyphenation, loaded.
>
> (/usr/share/texmf-tetex/tex/latex/base/book.cls
> Document Class: book 2004/02/16 v1.4f Standard LaTeX document class
> (/usr/share/texmf-tetex/tex/latex/base/bk10.clo))
> (/usr/share/texmf-tetex/tex/latex/avantgar/avantgar.sty)
> (/usr/share/texmf-tetex/tex/latex/base/fontenc.sty
> (/usr/share/texmf-tetex/tex/latex/base/t1enc.def))
> (/usr/share/texmf-tetex/tex/latex/base/inputenc.sty
> (/usr/share/texmf-tetex/tex/latex/base/latin1.def))
> (/usr/share/texmf-tetex/tex/latex/geometry/geometry.sty
> (/usr/share/texmf-tetex/tex/latex/graphics/keyval.sty)
> (/usr/share/texmf-tetex/tex/latex/geometry/geometry.cfg))
> (/usr/share/texmf-tetex/tex/latex/fancyhdr/fancyhdr.sty)
> (/usr/share/texmf-tetex/tex/latex/setspace/setspace.sty
> Package: `setspace' 6.7 <2000/12/01>
> ) (/usr/share/texmf-tetex/tex/latex/graphics/graphicx.sty
> (/usr/share/texmf-tetex/tex/latex/graphics/graphics.sty
> (/usr/share/texmf-tetex/tex/latex/graphics/trig.sty)
> (/usr/share/texmf-tetex/tex/latex/graphics/graphics.cfg)
> (/usr/share/texmf-tetex/tex/latex/graphics/dvips.def)))
> (/usr/share/texmf-tetex/tex/generic/thumbpdf/thumbpdf.sty
>
> Package thumbpdf Warning: Missing driver name.
>
> ) (/usr/share/texmf-tetex/tex/generic/babel/babel.sty
> (/usr/share/texmf-tetex/tex/generic/babel/spanish.ldf
> (/usr/share/texmf-tetex/tex/generic/babel/babel.def)))
> (/usr/share/texmf-tetex/tex/latex/url/url.sty)
> (/usr/share/texmf-tetex/tex/latex/hyperref/hyperref.sty
> (/usr/share/texmf-tetex/tex/latex/hyperref/pd1enc.def)
> (/usr/share/texmf-tetex/tex/latex/hyperref/hyperref.cfg)
> Implicit mode ON; LaTeX internals redefined
> )
> *hyperref using default driver hdvips*
> (/usr/share/texmf-tetex/tex/latex/hyperref/hdvips.def
> (/usr/share/texmf-tetex/tex/latex/hyperref/pdfmark.def))
> No file tmpvh64gq.aux.
> (/usr/share/texmf-tetex/tex/latex/psnfss/t1pag.fd)
> (/usr/share/texmf-tetex/tex/latex/hyperref/nameref.sty)
> textwidth=514.71037pt
> columnsep=10.0pt
> (./tmpvh64gq.aux) )
> No pages of output.
> Transcript written on tmpvh64gq.log.
> Dissecting...
> Writing snippets...
> All snippets are up to date...
> Compiling Compendio.tex...
> Compendio.tex is up to date.
> Writing fonts to Compendio.psfonts...
>
> DVIPS usage:
>    dvips -h OUT/Compendio.psfonts OUT/Compendio.dvi
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> entering extended mode
> (./Compendio.tex
> LaTeX2e <2003/12/01>
> Babel <v3.8d> and hyphenation patterns for american, french, german,
> ngerman, b
> ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
> esperanto, e
> stonian, finnish, greek, icelandic, irish, italian, latin, magyar,
> norsk, polis
> h, portuges, romanian, russian, serbian, slovak, slovene, spanish,
> swedish, tur
> kish, ukrainian, nohyphenation, loaded.
> (/usr/share/texmf-tetex/tex/latex/base/book.cls
> Document Class: book 2004/02/16 v1.4f Standard LaTeX document class
> (/usr/share/texmf-tetex/tex/latex/base/bk10.clo))
> (/usr/share/texmf-tetex/tex/latex/avantgar/avantgar.sty)
> (/usr/share/texmf-tetex/tex/latex/base/fontenc.sty
> (/usr/share/texmf-tetex/tex/latex/base/t1enc.def))
> (/usr/share/texmf-tetex/tex/latex/base/inputenc.sty
> (/usr/share/texmf-tetex/tex/latex/base/latin1.def))
> (/usr/share/texmf-tetex/tex/latex/geometry/geometry.sty
> (/usr/share/texmf-tetex/tex/latex/graphics/keyval.sty)
> (/usr/share/texmf-tetex/tex/latex/geometry/geometry.cfg))
> (/usr/share/texmf-tetex/tex/latex/fancyhdr/fancyhdr.sty)
> (/usr/share/texmf-tetex/tex/latex/setspace/setspace.sty
> Package: `setspace' 6.7 <2000/12/01>
> ) (/usr/share/texmf-tetex/tex/latex/graphics/graphicx.sty
> (/usr/share/texmf-tetex/tex/latex/graphics/graphics.sty
> (/usr/share/texmf-tetex/tex/latex/graphics/trig.sty)
> (/usr/share/texmf-tetex/tex/latex/graphics/graphics.cfg)
> (/usr/share/texmf-tetex/tex/latex/graphics/dvips.def)))
> (/usr/share/texmf-tetex/tex/generic/thumbpdf/thumbpdf.sty
>
> Package thumbpdf Warning: Missing driver name.
>
> ) (/usr/share/texmf-tetex/tex/generic/babel/babel.sty
> (/usr/share/texmf-tetex/tex/generic/babel/spanish.ldf
> (/usr/share/texmf-tetex/tex/generic/babel/babel.def)))
> (/usr/share/texmf-tetex/tex/latex/url/url.sty)
> (/usr/share/texmf-tetex/tex/latex/hyperref/hyperref.sty
> (/usr/share/texmf-tetex/tex/latex/hyperref/pd1enc.def)
> (/usr/share/texmf-tetex/tex/latex/hyperref/hyperref.cfg)
> Implicit mode ON; LaTeX internals redefined
> )
> *hyperref using default driver hdvips*
> (/usr/share/texmf-tetex/tex/latex/hyperref/hdvips.def
> (/usr/share/texmf-tetex/tex/latex/hyperref/pdfmark.def))
> (./Compendio.aux)
> (/usr/share/texmf-tetex/tex/latex/psnfss/t1pag.fd)
> (/usr/share/texmf-tetex/tex/latex/hyperref/nameref.sty)
(./Compendio.out)
> (./Compendio.out) [1] [2] (./Compendio.toc) [3]
>
> Package Fancyhdr Warning: \headheight is too small (12.0pt):
> Make it at least 13.17998pt.
> We now make it that large for the rest of the document.
> This may cause the page layout to be inconsistent, however.
>
> [4]
> Cap\'{\i }tulo 1.
> [5] (./lily-234545499-systems.tex <lily-234545499-1.eps>
> <lily-234545499-2.eps>)
> Overfull \hbox (17.27711pt too wide) in paragraph at lines 1--74
> [][]
>
> Overfull \hbox (17.27711pt too wide) in paragraph at lines 1--74
> []
>
> Underfull \hbox (badness 10000) in paragraph at lines 1--74
>
> [6] (./Compendio.aux) )
> (see the transcript file for additional information)
> Output written on Compendio.dvi (6 pages, 6864 bytes).
> Transcript written on Compendio.log.
> This is dvips(k) 5.95a Copyright 2005 Radical Eye Software
> (www.radicaleye.com)
> ' TeX output 2006.08.07:2124' -> Compendio.ps
> dvips: Font CenturySchL-Roma used in file lily-234545499-1.eps is not
> in the mapping file.
> dvips: Font Emmentaler-20 used in file lily-234545499-1.eps is not in
> the mapping file.
> dvips: Font feta-alphabet20 used in file lily-234545499-1.eps is not
> in the mapping file.
> dvips: Font CenturySchL-Roma used in file lily-234545499-2.eps is not
> in the mapping file.
> dvips: Font Emmentaler-20 used in file lily-234545499-2.eps is not in
> the mapping file.
> dvips: Font feta-alphabet20 used in file lily-234545499-2.eps is not
> in the mapping file.
> <Compendio.psfonts><tex.pro><8r.enc><texps.pro><special.pro>. [1] [2]
> [3] [4]
> [5] [6<lily-234545499-1.eps><lily-234545499-2.eps>]
> Error: /invalidfont in findfont
> Operand stack:
>   Fa   140   --nostringval--   53   17   --nostringval--   79   29
> --nostringval--   93   17   --nostringval--   67   2 --nostringval--
> 33   46   --nostringval--   --nostringval--   5   119.552
> AvantGarde-Demi   Font   AvantGarde-Demi   1508932   AvantGarde-Demi
> --nostringval--   AvantGarde-Demi   URWGothicL-Demi   Helvetica-Bold
> NimbusSanL-Bold
> Execution stack:
>   %interp_exit   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval--
> --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--   22   4   %oparray_pop   23   4   %oparray_pop
> --nostringval--   --nostringval--   --nostringval--
> --nostringval--   --nostringval--   false   1   %stopped_push   26
> 5   %oparray_pop   --nostringval--   --nostringval--
> --nostringval--   1   -1   1   --nostringval--   %for_neg_int_continue
> Dictionary stack:
>   --dict:1121/1686(ro)(G)--   --dict:0/20(G)--   --dict:72/200(L)--
> --dict:99/300(L)--   --dict:17/17(ro)(G)--   --dict:1121/1686(ro)(G)--
> Current allocation mode is local
> Last OS error: 2
> Current file position is 171088
> AFPL Ghostscript 8.54: Unrecoverable error, exit code 1
> make: *** [default] Error 1
>
> ==========================================================
>
> I tried dvipdf  -h ... But it doesn't support the -h option.
> dvips -h Compendio.psfonts, etc and the same ghostscript error appears.
>
> With very old versions of lilypond 1.x, the GS path had to be restored
> by running  the /etc/profile/lilypond.sh file and the logging out of
> the session.
>
> This type of errors remind me of that time, �could it be a similar
> situation?
>
>

--
=============================================
        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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user




--
Daniel Tonda C.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]