openlilylib / LO-ly

LibreOffice-LilyPond extension
13 stars 6 forks source link

SVG problem #15

Closed profejuanca closed 7 years ago

profejuanca commented 7 years ago

Hi When I try to use svg option in OLY/Libreoffice this appear and svg is not imported to sheet. Lilypond aparently creates the svg (LY output says Done). I can insert a SVG manually, but i need to work directly on Libreoffice Impress or Writer. svg_libreoffice problem

profejuanca commented 7 years ago

My Lilypond version is 2.18.2, libreoffice is 5.4.1.2, but this problem appear in libreoffice older versions too (5.2.x and 5.3.x)

profejuanca commented 7 years ago

Anybody have a idea of this problem? Thanks in advance

profejuanca commented 7 years ago

I forget, Oly is 0.5.5 version, but this happen in 0.5.4 too and lilypond-book.preamble is disabled with %coment

KlausBlum commented 7 years ago

Your "LilyPond output" window shows that LilyPond complains about a missin "version" statement. (OLy still can't handle that message and aborts. Someday, I should find a solution for that. Sigh...)

Therefore, all default SVG templates contain the following line:

(define version-seen #t)

It supresses the output of the above warning. If you removed that line, you should add it again.

Does that solve the problem?

Cheers, Klaus

profejuanca commented 7 years ago

Thanks Klaus, I added the \version instruction and SVG works, thanks.