lilypond-user
[Top][All Lists]
Advanced

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

Re: Generating EPS with lilypond


From: Trevor Bača
Subject: Re: Generating EPS with lilypond
Date: Sun, 27 Aug 2006 23:45:37 -0500

On 8/27/06, Graham Percival <address@hidden> wrote:
Han-Wen Nienhuys wrote:
> Graham Percival wrote:
>> Han-Wen Nienhuys wrote:
>>> Graham Percival wrote:
>>>> Han-Wen Nienhuys wrote:

>>>>>   -deps-font-include
>>>>>
>>>>> which will cause the individual per-system EPS files to contain fonts.
>>>>
>> If I'm calling
>> lilypond -b eps myfile.ly
>>
>> then "myfile.eps" is the whole page, right?  So what does the
>> "per-system EPS files" refer to?
>
> myfile-1.eps, myfile-2.eps etc.

I only see a -1.eps ; no -2, -3, etc.

\version "2.9.16"
{
c'1
\break
c'1
\break
c'1
\break
c'1
\break
c'1
}


spark:~/tmp gperciva$ lilypond -b eps -deps-font-include bug.ly
GNU LilyPond 2.9.16
Processing `bug.ly'
Parsing...
Interpreting music... [5]
Preprocessing graphical objects...
Calculating line breaks... [3]
Drawing systems...
Calculating page breaks...
Writing bug-systems.tex...
Writing bug-systems.texi...
Layout output to `bug-1.eps'...
Converting to `bug-1.pdf'...
Layout output to `bug.eps'...
Converting to `bug.pdf'...

I'm having trouble invoking the eps backend in the first place.

2.9.16 under OS X Intel with this helper script to call lily.

%%% HELPER SCRIPT %%%

#! /bin/sh

export LILYPOND_DESTDIR=`pwd`
export 
GS_LIB="/Applications/LilyPond.app/Contents/Resources/share/ghostscript/8.50/lib"
date
python "/Applications/LilyPond.app/Contents/Resources/lilycall.py"
"/Applications/LilyPond.app/" "--backend=eps" $1
echo 'debug'

%%% END HELPER SCRIPT %%%


Here's the test file.

%%% TEST FILE%%%

\version "2.9.16"

\new Staff {
  c'4
}

%%% END TEST FILE %%%



And here's the result of running the helper script against the test file.

%%% OUTPUT %%%

Sun Aug 27 23:44:35 CDT 2006
GNU LilyPond 2.9.16
Processing `300.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks... [2]
Drawing systems...
Calculating page breaks...
Writing 300-systems.tex...
Writing 300-systems.texi...
Layout output to `300-1.eps'...
Converting to `300-1.pdf'...
`gs -q  -dSAFER   -dEPSCrop  -dCompatibilityLevel=1.4  -dNOPAUSE
-dBATCH -r1200  -sDEVICE=pdfwrite -sOutputFile="300-1.pdf" -c
.setpdfwrite -f "300-1.eps"' failed (256)
error: failed files: "300.ly"
debug

%%% END OUTPUT %%%


I'm missing something obvious since nobody else is having trouble
invoking the eps backend in the first place ... any clues? (I haven't
yet worked in the -dno-gs-font-load option because I'm wanting to get
the eps stuff working first ...)



--
Trevor Bača
address@hidden
... like the dew, or like lightning ...

reply via email to

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