lilypond-user
[Top][All Lists]
Advanced

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

Re: OOoLilyPond-0.5.8 : SVG Issue


From: Ben
Subject: Re: OOoLilyPond-0.5.8 : SVG Issue
Date: Wed, 13 Feb 2019 14:38:54 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0

On 2/13/2019 11:24 AM, Klaus Blum wrote:
Hi Ben, 

to be a little more precise: 

The lilypond-book-preamble should never be used with svg format. It only
works with the png (or eps) format. 

OLy needs one file named OOoLilyPond.svg.

The first point of the error window gives some hints. 
Your settings defining the score size (e.g. given in "Line Width" and
"Custom 2" - depending on your template) should provide enough space to fit
your music into one page. 
If not, LilyPond will split it up into multiple images. In that case, the
"Ly Output" window will talk about successful compilation and at least two
filenames 

OOoLilyPond-1.svg
OOoLilyPond-2.svg
etc. 

If your code contains something like "page-count = 1" (e.g. the "Piano
[SVG]" template does), no image at all will be created. Then the output
window will report successful compiling but also errors like 
     number of pages is out of bounds
     tried to space systems on a bad number of pages

In both cases, try to provide more space in the OLy settings. 

Does that help?

Cheers, 
Klaus



Hi Klaus,

The ly output looks pretty standard to my eyes in LO:

--------------------------
GNU LilyPond 2.19.82
Processing `OOoLilyPond.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Fitting music on 1 page...
Drawing systems...
Layout output to `OOoLilyPond.svg'...
Success: compilation successfully completed
--------------------------

However, I was using my own custom SVG template when the errors popped up, but when I switched to the included-DefaultSVG config, it worked ok...hmm....

I didn't know about the SVG limitation in OOoLilyPond, because for multiple SVG pages I've just been using Inkscape and manually dragging them into my LO documents. But it's good to know about OOo and multi-page SVGs.

So I guess there must have been something wrong with my SVG template...but I can't see anything that stands out.

I think I'll rebuild it based on the included-DefaultSVG config and see if I can pinpoint the error.

Thanks for your help Klaus! :)





reply via email to

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