[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lilypond-book produces PDF files even when not needed
From: |
Mats Bengtsson |
Subject: |
lilypond-book produces PDF files even when not needed |
Date: |
Fri, 11 Aug 2006 14:35:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 |
Hi,
Since the PDF output support was added to lilypond-book, PDF versions
of every lily-NNNNNN-N.eps file are produced even if you run
lilypond-book without the --pdf flag. Apart from taking extra time, this
is also (as far as I can see) the cause of the bug described in
http://lists.gnu.org/archive/html/lilypond-user/2006-08/msg00123.html
What happens is that Ghostscript is called to convert a lily-NNNNNN-N.eps
file that doesn't contain any fonts at all, into a PDF. Of course this
will fail
but it seems that on Linux, the return value from gs is still 0 but on other
operating systems (and/or other gs versions) gs will return a non-zero
which
makes lilypond and thereby lilypond-book fail. However, if you call
lilypond-book
with --verbose, you will see error printouts from gs (for example, when
calling
lilypond-book --verbose -o out --psfonts
input/tutorial/lbook-latex-test.tex):
Layout output to `lily-1661877703-8.eps'...
Converting to `lily-1661877703-8.pdf'...
Invoking `gs -dNOSAFER -dEPSCrop -dCompatibilityLevel=1.4
-dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
-sOutputFile="lily-1661877703-8.pdf" -c .setpdfwrite -f
"lily-1661877703-8.eps"'...AFPL Ghostscript 8.50 (2004-12-10)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file
/pkg/ghostscript/8.50/os/share/ghostscript/8.50/Resource/Font/Emmentaler-20.
Can't find (or can't open) font file Emmentaler-20.
Querying operating system for font files...
Didn't find this font on the system!
Substituting font Courier for Emmentaler-20.
Loading NimbusMonL-Regu font from
/pkg/ghostscript/8.50/os/share/ghostscript/fonts/n022003l.pfb... 2344252
1024820 1677540 368218 2 done.
Substituting .notdef for noteheads.s2
Loading CenturySchL-Roma font from
/pkg/ghostscript/8.50/os/share/ghostscript/fonts/c059013l.pfb... 2501588
1175393 1677540 369601 2 done.
Substituting .notdef for clefs.G
/Mats
--
=============================================
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
=============================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lilypond-book produces PDF files even when not needed,
Mats Bengtsson <=