Il giorno mer 24 dic 2014 alle 1:13, Christian McConnell
<cdmcconn...@yahoo.com> ha scritto:
Hello all,
I've had a problem I can't figure out. When I export an SVG from
Lilypond, and try to import it to Libreoffice or Scribus, it's blank.
Breaking it down, it works like this:
The problem occurs whether I create the Lilypond SVG from
Frescobaldi, or from the command line.
The SVG opens just fine in Inkscape. I can edit it, and I can export
it as a PDF for use in LaTeX.
The problem occurs whether I save it as an Inkscape SVG, save it as a
plain SVG, or skip Inkscape altogether and go straight from Lilypond
to something else.
If I try to insert the SVG in Libreoffice Writer, insert it in
Scribus, or open it with an image viewer, the "image" is the right
size, but has no content. It's just a transparent space.
So Inkscape can open the SVG, but nothing else can. I simply can't
insert an SVG from Lilypond into LO or Scribus. I can do so with
other SVGs, without difficulty.
I've had the problem for quite some time, with different
installations of different Linux distros.
Any thoughts? Thanks in advance for your help!
Chris McConnell
Hi Chris
Yes, I can reproduce your problem on LibreOffice Writer 4.3.3.2
But the SVG file generated by lilypond seems ok, I don't know why
Writer doesn't display it. I tried both A4 and the preview.
Simple test on the command line:
echo -e '\\version "2.18.2"\n{c1}' > svgtest.ly
lilypond -dbackend=svg -dpreview svgtest.ly
inkview svgtest.svg
Don't use eog (Gnome viewer) to see the SVG file. It doesn't seem to
work.
After a quick search I found this:
http://ask.libreoffice.org/en/question/11796/svg-embedding-not-working-after-libreoffice-upgrade-from-36-to-4/
And this is not currently working:
https://www.libreoffice.org/bugzilla/show_bug.cgi?id=45845
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user