Exporting vector graphics from Inkscape into Libreoffice Announcing the arrival of Valued...

Active filter with series inductor and resistor - do these exist?

How do you clear the ApexPages.getMessages() collection in a test?

Is there a service that would inform me whenever a new direct route is scheduled from a given airport?

Windows 10: How to Lock (not sleep) laptop on lid close?

Is there a documented rationale why the House Ways and Means chairman can demand tax info?

Estimated State payment too big --> money back; + 2018 Tax Reform

Do working physicists consider Newtonian mechanics to be "falsified"?

Unexpected result with right shift after bitwise negation

How should I respond to a player wanting to catch a sword between their hands?

Antler Helmet: Can it work?

Can a non-EU citizen traveling with me come with me through the EU passport line?

What do you call the holes in a flute?

Stars Make Stars

What was the last x86 CPU that did not have the x87 floating-point unit built in?

When communicating altitude with a '9' in it, should it be pronounced "nine hundred" or "niner hundred"?

Choo-choo! Word trains

Is 1 ppb equal to 1 μg/kg?

How can players take actions together that are impossible otherwise?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

What are the performance impacts of 'functional' Rust?

Autumning in love

How to market an anarchic city as a tourism spot to people living in civilized areas?

Cold is to Refrigerator as warm is to?

Why is there no army of Iron-Mans in the MCU?



Exporting vector graphics from Inkscape into Libreoffice



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Exporting UTF-8 text from LibreOffice without byte order markinkscape transparency when exporting pdf?Exporting high quality PNG from LibreOffice DrawDedupe drawing objects in SVG/vector graphics filesHow to auto-resize and fit copy pasted content from a webpage into document file?LibreOffice Writer: Inserting a figure into a two column documentHow can you remove hidden elements when exporting to PDF from Inkscape?LibreOffice Writer in Windows missed images from LinuxHow can I use find and replace to move text into a frame in LibreOffice Writer?Import Vector Graphics generated in Inkscape to Coreldraw X3





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







11















I'm trying to export a reasonably complex illustration from Inkscape into a Libreoffice Writer document. I'd like to avoid rasterizing the illustration as much as possible.



So far I've tried the following:




  • Inkscape SVG, Plain SVG, SVG with everything converted to paths: bitmaps images included in my illustration are rendered as black boxes in the writer document.

  • EPS: fonts look ugly

  • ODG: not recognized in Writer (?!)


For now I've exported my SVG drawing to PNG, and it works fine, but it's not very satisfying. So what's the correct way to do this? Any input welcome!










share|improve this question

























  • Good question!!! Doing it for Microsoft office would be a good thing too.

    – robermorales
    Oct 15 '11 at 20:38











  • I'll add a bounty in a few days to add more exposure to the question.

    – Peltier
    Oct 16 '11 at 9:00











  • PDF Import seems to have been an option in LibreOffice 3.3, but is inexplicably not available in 3.4 (licensing issues with Oracle?). At any rate, that won't help too much. What I usually do in this case is to export the vector graphics at high resolution and DPI (180+), and the rasterized downscaled image will look okay most of the time in the document.

    – mindcorrosive
    Oct 18 '11 at 9:37











  • The answer may have changed as for LibreOffice 6.0.6

    – Wolf
    Oct 30 '18 at 12:33


















11















I'm trying to export a reasonably complex illustration from Inkscape into a Libreoffice Writer document. I'd like to avoid rasterizing the illustration as much as possible.



So far I've tried the following:




  • Inkscape SVG, Plain SVG, SVG with everything converted to paths: bitmaps images included in my illustration are rendered as black boxes in the writer document.

  • EPS: fonts look ugly

  • ODG: not recognized in Writer (?!)


For now I've exported my SVG drawing to PNG, and it works fine, but it's not very satisfying. So what's the correct way to do this? Any input welcome!










share|improve this question

























  • Good question!!! Doing it for Microsoft office would be a good thing too.

    – robermorales
    Oct 15 '11 at 20:38











  • I'll add a bounty in a few days to add more exposure to the question.

    – Peltier
    Oct 16 '11 at 9:00











  • PDF Import seems to have been an option in LibreOffice 3.3, but is inexplicably not available in 3.4 (licensing issues with Oracle?). At any rate, that won't help too much. What I usually do in this case is to export the vector graphics at high resolution and DPI (180+), and the rasterized downscaled image will look okay most of the time in the document.

    – mindcorrosive
    Oct 18 '11 at 9:37











  • The answer may have changed as for LibreOffice 6.0.6

    – Wolf
    Oct 30 '18 at 12:33














11












11








11


2






I'm trying to export a reasonably complex illustration from Inkscape into a Libreoffice Writer document. I'd like to avoid rasterizing the illustration as much as possible.



So far I've tried the following:




  • Inkscape SVG, Plain SVG, SVG with everything converted to paths: bitmaps images included in my illustration are rendered as black boxes in the writer document.

  • EPS: fonts look ugly

  • ODG: not recognized in Writer (?!)


For now I've exported my SVG drawing to PNG, and it works fine, but it's not very satisfying. So what's the correct way to do this? Any input welcome!










share|improve this question
















I'm trying to export a reasonably complex illustration from Inkscape into a Libreoffice Writer document. I'd like to avoid rasterizing the illustration as much as possible.



So far I've tried the following:




  • Inkscape SVG, Plain SVG, SVG with everything converted to paths: bitmaps images included in my illustration are rendered as black boxes in the writer document.

  • EPS: fonts look ugly

  • ODG: not recognized in Writer (?!)


For now I've exported my SVG drawing to PNG, and it works fine, but it's not very satisfying. So what's the correct way to do this? Any input welcome!







linux libreoffice inkscape libreoffice-writer






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 16 '15 at 23:45









ThatGuy

35137




35137










asked Oct 11 '11 at 15:44









PeltierPeltier

2,24453154




2,24453154













  • Good question!!! Doing it for Microsoft office would be a good thing too.

    – robermorales
    Oct 15 '11 at 20:38











  • I'll add a bounty in a few days to add more exposure to the question.

    – Peltier
    Oct 16 '11 at 9:00











  • PDF Import seems to have been an option in LibreOffice 3.3, but is inexplicably not available in 3.4 (licensing issues with Oracle?). At any rate, that won't help too much. What I usually do in this case is to export the vector graphics at high resolution and DPI (180+), and the rasterized downscaled image will look okay most of the time in the document.

    – mindcorrosive
    Oct 18 '11 at 9:37











  • The answer may have changed as for LibreOffice 6.0.6

    – Wolf
    Oct 30 '18 at 12:33



















  • Good question!!! Doing it for Microsoft office would be a good thing too.

    – robermorales
    Oct 15 '11 at 20:38











  • I'll add a bounty in a few days to add more exposure to the question.

    – Peltier
    Oct 16 '11 at 9:00











  • PDF Import seems to have been an option in LibreOffice 3.3, but is inexplicably not available in 3.4 (licensing issues with Oracle?). At any rate, that won't help too much. What I usually do in this case is to export the vector graphics at high resolution and DPI (180+), and the rasterized downscaled image will look okay most of the time in the document.

    – mindcorrosive
    Oct 18 '11 at 9:37











  • The answer may have changed as for LibreOffice 6.0.6

    – Wolf
    Oct 30 '18 at 12:33

















Good question!!! Doing it for Microsoft office would be a good thing too.

– robermorales
Oct 15 '11 at 20:38





Good question!!! Doing it for Microsoft office would be a good thing too.

– robermorales
Oct 15 '11 at 20:38













I'll add a bounty in a few days to add more exposure to the question.

– Peltier
Oct 16 '11 at 9:00





I'll add a bounty in a few days to add more exposure to the question.

– Peltier
Oct 16 '11 at 9:00













PDF Import seems to have been an option in LibreOffice 3.3, but is inexplicably not available in 3.4 (licensing issues with Oracle?). At any rate, that won't help too much. What I usually do in this case is to export the vector graphics at high resolution and DPI (180+), and the rasterized downscaled image will look okay most of the time in the document.

– mindcorrosive
Oct 18 '11 at 9:37





PDF Import seems to have been an option in LibreOffice 3.3, but is inexplicably not available in 3.4 (licensing issues with Oracle?). At any rate, that won't help too much. What I usually do in this case is to export the vector graphics at high resolution and DPI (180+), and the rasterized downscaled image will look okay most of the time in the document.

– mindcorrosive
Oct 18 '11 at 9:37













The answer may have changed as for LibreOffice 6.0.6

– Wolf
Oct 30 '18 at 12:33





The answer may have changed as for LibreOffice 6.0.6

– Wolf
Oct 30 '18 at 12:33










4 Answers
4






active

oldest

votes


















1














A while later



(as tested today), inserting Inkscape (0.92.3) SVGs proved possible in LibreOffice 6.0.6. This may be only a partial support but seemed sufficient for making a user's manual. I successfully did the following:



Inkscape




  • Start new SVG image

  • drag 'n' drop a PNG-Screenshot on it (open in Inkscape)

  • place and a semi-transparent rectangular box with colored text on the screenshot

  • draw a horizontal line under the text

  • added an arrow starting in the middle of the line pointing on a control on scrrenshot


LibreOffice




  • Start a new text document

  • added a page full of text

  • Insert > Image... (selected image from description above)

  • Saved the document

  • Exported as PDF


Concluscion



I doubt that successfully using Inkscape SVGs within LibreOffice alone will make you very happy. Probably it's only for an intermediate stage. Whether you are interested in producing PDF documents, or HTML documents or paper documents (printed from LibreOffice) can make a big difference. So for example, fonts will matter.






share|improve this answer
























  • Just tried it with LibreOffice 6.0.6 -- Transparency works, blur still does not. For the last 10 years, every self-respecting browser can do this, even Libreoffice 3,2 (IIRC... whatever I used in 2011/12) could correctly embed SVGs, but Libreoffice still has not regained that capability. I really have no idea what it's trying to do (or what on earth the problem is) ... :(

    – Zak
    Nov 2 '18 at 16:07



















2














Exporting from Inkscape using the png image format which Libreoffice fully supports, rather than saving in vectorial format which it does not support, is actually the only option.



See in Inkscape Wiki : Save as vs export.



However, the thread How to import SVG in OOo Writer says :




The svg import will be new feature in OOo 3.4, try OOo 3.4 beta from
OOo download site.




This is about OpenOffice, of which Libreoffice is actually another branch.

You might consider changing because of this feature, until it finds its way into Libreoffice.






share|improve this answer


























  • Did you read my question? That's what I ended up doing, but my question is precisely about how to avoid doing it.

    – Peltier
    Oct 18 '11 at 8:09






  • 1





    You can down-vote me all you want but you cannot change the facts, which are that Writer does not support vectorial formats. See the Inkscape FileTypes wiki for convertors to other formats, but these programs operate after you saveas in vectorial format (and there exist many other convertors).

    – harrymc
    Oct 18 '11 at 8:49











  • Or you can change to OpenOffice, as in my edit above.

    – harrymc
    Oct 18 '11 at 8:56











  • SVG import is already included in LibreOffice, it just doesn't work well at the moment apparently.

    – Peltier
    Oct 18 '11 at 10:32











  • The SVG code in LibreOffice stable is probably pre-beta. Your best bet is probably to try the beta versions of both LibreOffice and OpenOffice, and give feedbacks in both forums. Until the problems are resolved.

    – harrymc
    Oct 18 '11 at 12:14





















0














TL-DR:



If possible, convert your SVG to PDF (or eps) in Inkscape, then open that in GIMP and convert to a very high-resolution PNG without anti-alias (prints better), then embed that in your document. Because vector graphics support is a nightmare.



The long story:



Vector graphics support in Libreoffice is a very lively story ... at the time this question was asked, the only reliably supported format was eps. However, Libreoffice could not display it properly, only print to postscript printers (most network printers in professional environments) and convert to PDF!



The reason is that eps is already a postscript format, and the PDF conversion was based on "printing" to a Postscript file, then converting to PDF. Libreoffice simply passed the EPS images through, and in print they looked exactly as they should, although LO could only display a low-res preview.



A little later, around 2012, Libreoffice was, for a short time, able to correctly dspay and print SVG graphics! This relied on an installation of Inkscape on the same machine (or at least the cairo library that comes with it). The feature included all the fancy SVG features like transparency, gradients and blur(!). I used this to great effect in one single presentation in early 2013, and at that point I thought I had it all figured out.



At that point, someone in the LO community started thinking that "SVG embedding" is the same as "SVG import", and so, when inserting an SVG, Libreoffice started trying to interpret the file and convert it to a libreoffice drawing. That cannot work if the svg uses blur, for example, but in practice it also failed in lots of other scenarios, and this ruined several of my documents.



By now, Libreoffice has developed still a bit further, and at least simple svg images work nicely again. So as long as you have no gradients, transparency or blur, you should be fine with SVG. At the same time, something has happened to the EPS embedding, and they have started to look wrong in some cases.



Finally, there are more vector formats, like WMF and EMF. They can work nicely, but only if your document stays on the same computer. I've had several documents where fonts embedded in an EMF were completely mangled (or not), depending on what machine you were looking at the image.



... needless to say, I find this deeply frustrating, but it's still much better than Microsoft Office. To my knowledge, no vector graphics formats work on MS office at the moment (including Microsoft's own WMF and EMF), except the stuff you draw directly in the software, as it is for LO.



At this point, I've pretty much given up hope that SVG will ever be properly usable in anything but Inkscape itself and web browsers.






share|improve this answer
























  • Why did you give up? Your long answer inspired me to test it again. Never lose hope ;)

    – Wolf
    Oct 30 '18 at 12:34













  • I gave up hope because SVG used to work in 2012 for a few month, after many long discussions on the open/libreOffice bugtracker, just long enough for me to make a beautiful presentation to defend my PhD thesis, and present it. It stopped working with the very next update, and was still not working in any LibreOffice version after that, 5 years later, and nobody on the bugtracker seemed to even understand how that could be an issue ... Will try again now...

    – Zak
    Nov 2 '18 at 15:24













  • These days, I'm using PDF figures exported from inkscape in LaTeX. You got my hopes up for a second, so I tried that with LibreOffice -- Any PDF reader can correctly display transparency and blur but in LO, the PDF is rastered, and I can't even specify a resolution. This does not make me happy.

    – Zak
    Nov 2 '18 at 16:22



















0














What worked for me was in Inkscape to select the SVG - a black and white electric circuit - from my PDF and Export PNG Image. Then in LO Writer I used Insert Image.
Inkscape version 0.92,
Libre Office Version 6.0.7.3
Mac High Sierra 10.13.6






share|improve this answer








New contributor




Joerg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    As the question said, "I'd like to avoid rasterizing the illustration as much as possible"

    – RalfFriedl
    yesterday












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f345365%2fexporting-vector-graphics-from-inkscape-into-libreoffice%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























4 Answers
4






active

oldest

votes








4 Answers
4






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














A while later



(as tested today), inserting Inkscape (0.92.3) SVGs proved possible in LibreOffice 6.0.6. This may be only a partial support but seemed sufficient for making a user's manual. I successfully did the following:



Inkscape




  • Start new SVG image

  • drag 'n' drop a PNG-Screenshot on it (open in Inkscape)

  • place and a semi-transparent rectangular box with colored text on the screenshot

  • draw a horizontal line under the text

  • added an arrow starting in the middle of the line pointing on a control on scrrenshot


LibreOffice




  • Start a new text document

  • added a page full of text

  • Insert > Image... (selected image from description above)

  • Saved the document

  • Exported as PDF


Concluscion



I doubt that successfully using Inkscape SVGs within LibreOffice alone will make you very happy. Probably it's only for an intermediate stage. Whether you are interested in producing PDF documents, or HTML documents or paper documents (printed from LibreOffice) can make a big difference. So for example, fonts will matter.






share|improve this answer
























  • Just tried it with LibreOffice 6.0.6 -- Transparency works, blur still does not. For the last 10 years, every self-respecting browser can do this, even Libreoffice 3,2 (IIRC... whatever I used in 2011/12) could correctly embed SVGs, but Libreoffice still has not regained that capability. I really have no idea what it's trying to do (or what on earth the problem is) ... :(

    – Zak
    Nov 2 '18 at 16:07
















1














A while later



(as tested today), inserting Inkscape (0.92.3) SVGs proved possible in LibreOffice 6.0.6. This may be only a partial support but seemed sufficient for making a user's manual. I successfully did the following:



Inkscape




  • Start new SVG image

  • drag 'n' drop a PNG-Screenshot on it (open in Inkscape)

  • place and a semi-transparent rectangular box with colored text on the screenshot

  • draw a horizontal line under the text

  • added an arrow starting in the middle of the line pointing on a control on scrrenshot


LibreOffice




  • Start a new text document

  • added a page full of text

  • Insert > Image... (selected image from description above)

  • Saved the document

  • Exported as PDF


Concluscion



I doubt that successfully using Inkscape SVGs within LibreOffice alone will make you very happy. Probably it's only for an intermediate stage. Whether you are interested in producing PDF documents, or HTML documents or paper documents (printed from LibreOffice) can make a big difference. So for example, fonts will matter.






share|improve this answer
























  • Just tried it with LibreOffice 6.0.6 -- Transparency works, blur still does not. For the last 10 years, every self-respecting browser can do this, even Libreoffice 3,2 (IIRC... whatever I used in 2011/12) could correctly embed SVGs, but Libreoffice still has not regained that capability. I really have no idea what it's trying to do (or what on earth the problem is) ... :(

    – Zak
    Nov 2 '18 at 16:07














1












1








1







A while later



(as tested today), inserting Inkscape (0.92.3) SVGs proved possible in LibreOffice 6.0.6. This may be only a partial support but seemed sufficient for making a user's manual. I successfully did the following:



Inkscape




  • Start new SVG image

  • drag 'n' drop a PNG-Screenshot on it (open in Inkscape)

  • place and a semi-transparent rectangular box with colored text on the screenshot

  • draw a horizontal line under the text

  • added an arrow starting in the middle of the line pointing on a control on scrrenshot


LibreOffice




  • Start a new text document

  • added a page full of text

  • Insert > Image... (selected image from description above)

  • Saved the document

  • Exported as PDF


Concluscion



I doubt that successfully using Inkscape SVGs within LibreOffice alone will make you very happy. Probably it's only for an intermediate stage. Whether you are interested in producing PDF documents, or HTML documents or paper documents (printed from LibreOffice) can make a big difference. So for example, fonts will matter.






share|improve this answer













A while later



(as tested today), inserting Inkscape (0.92.3) SVGs proved possible in LibreOffice 6.0.6. This may be only a partial support but seemed sufficient for making a user's manual. I successfully did the following:



Inkscape




  • Start new SVG image

  • drag 'n' drop a PNG-Screenshot on it (open in Inkscape)

  • place and a semi-transparent rectangular box with colored text on the screenshot

  • draw a horizontal line under the text

  • added an arrow starting in the middle of the line pointing on a control on scrrenshot


LibreOffice




  • Start a new text document

  • added a page full of text

  • Insert > Image... (selected image from description above)

  • Saved the document

  • Exported as PDF


Concluscion



I doubt that successfully using Inkscape SVGs within LibreOffice alone will make you very happy. Probably it's only for an intermediate stage. Whether you are interested in producing PDF documents, or HTML documents or paper documents (printed from LibreOffice) can make a big difference. So for example, fonts will matter.







share|improve this answer












share|improve this answer



share|improve this answer










answered Oct 30 '18 at 12:31









WolfWolf

235113




235113













  • Just tried it with LibreOffice 6.0.6 -- Transparency works, blur still does not. For the last 10 years, every self-respecting browser can do this, even Libreoffice 3,2 (IIRC... whatever I used in 2011/12) could correctly embed SVGs, but Libreoffice still has not regained that capability. I really have no idea what it's trying to do (or what on earth the problem is) ... :(

    – Zak
    Nov 2 '18 at 16:07



















  • Just tried it with LibreOffice 6.0.6 -- Transparency works, blur still does not. For the last 10 years, every self-respecting browser can do this, even Libreoffice 3,2 (IIRC... whatever I used in 2011/12) could correctly embed SVGs, but Libreoffice still has not regained that capability. I really have no idea what it's trying to do (or what on earth the problem is) ... :(

    – Zak
    Nov 2 '18 at 16:07

















Just tried it with LibreOffice 6.0.6 -- Transparency works, blur still does not. For the last 10 years, every self-respecting browser can do this, even Libreoffice 3,2 (IIRC... whatever I used in 2011/12) could correctly embed SVGs, but Libreoffice still has not regained that capability. I really have no idea what it's trying to do (or what on earth the problem is) ... :(

– Zak
Nov 2 '18 at 16:07





Just tried it with LibreOffice 6.0.6 -- Transparency works, blur still does not. For the last 10 years, every self-respecting browser can do this, even Libreoffice 3,2 (IIRC... whatever I used in 2011/12) could correctly embed SVGs, but Libreoffice still has not regained that capability. I really have no idea what it's trying to do (or what on earth the problem is) ... :(

– Zak
Nov 2 '18 at 16:07













2














Exporting from Inkscape using the png image format which Libreoffice fully supports, rather than saving in vectorial format which it does not support, is actually the only option.



See in Inkscape Wiki : Save as vs export.



However, the thread How to import SVG in OOo Writer says :




The svg import will be new feature in OOo 3.4, try OOo 3.4 beta from
OOo download site.




This is about OpenOffice, of which Libreoffice is actually another branch.

You might consider changing because of this feature, until it finds its way into Libreoffice.






share|improve this answer


























  • Did you read my question? That's what I ended up doing, but my question is precisely about how to avoid doing it.

    – Peltier
    Oct 18 '11 at 8:09






  • 1





    You can down-vote me all you want but you cannot change the facts, which are that Writer does not support vectorial formats. See the Inkscape FileTypes wiki for convertors to other formats, but these programs operate after you saveas in vectorial format (and there exist many other convertors).

    – harrymc
    Oct 18 '11 at 8:49











  • Or you can change to OpenOffice, as in my edit above.

    – harrymc
    Oct 18 '11 at 8:56











  • SVG import is already included in LibreOffice, it just doesn't work well at the moment apparently.

    – Peltier
    Oct 18 '11 at 10:32











  • The SVG code in LibreOffice stable is probably pre-beta. Your best bet is probably to try the beta versions of both LibreOffice and OpenOffice, and give feedbacks in both forums. Until the problems are resolved.

    – harrymc
    Oct 18 '11 at 12:14


















2














Exporting from Inkscape using the png image format which Libreoffice fully supports, rather than saving in vectorial format which it does not support, is actually the only option.



See in Inkscape Wiki : Save as vs export.



However, the thread How to import SVG in OOo Writer says :




The svg import will be new feature in OOo 3.4, try OOo 3.4 beta from
OOo download site.




This is about OpenOffice, of which Libreoffice is actually another branch.

You might consider changing because of this feature, until it finds its way into Libreoffice.






share|improve this answer


























  • Did you read my question? That's what I ended up doing, but my question is precisely about how to avoid doing it.

    – Peltier
    Oct 18 '11 at 8:09






  • 1





    You can down-vote me all you want but you cannot change the facts, which are that Writer does not support vectorial formats. See the Inkscape FileTypes wiki for convertors to other formats, but these programs operate after you saveas in vectorial format (and there exist many other convertors).

    – harrymc
    Oct 18 '11 at 8:49











  • Or you can change to OpenOffice, as in my edit above.

    – harrymc
    Oct 18 '11 at 8:56











  • SVG import is already included in LibreOffice, it just doesn't work well at the moment apparently.

    – Peltier
    Oct 18 '11 at 10:32











  • The SVG code in LibreOffice stable is probably pre-beta. Your best bet is probably to try the beta versions of both LibreOffice and OpenOffice, and give feedbacks in both forums. Until the problems are resolved.

    – harrymc
    Oct 18 '11 at 12:14
















2












2








2







Exporting from Inkscape using the png image format which Libreoffice fully supports, rather than saving in vectorial format which it does not support, is actually the only option.



See in Inkscape Wiki : Save as vs export.



However, the thread How to import SVG in OOo Writer says :




The svg import will be new feature in OOo 3.4, try OOo 3.4 beta from
OOo download site.




This is about OpenOffice, of which Libreoffice is actually another branch.

You might consider changing because of this feature, until it finds its way into Libreoffice.






share|improve this answer















Exporting from Inkscape using the png image format which Libreoffice fully supports, rather than saving in vectorial format which it does not support, is actually the only option.



See in Inkscape Wiki : Save as vs export.



However, the thread How to import SVG in OOo Writer says :




The svg import will be new feature in OOo 3.4, try OOo 3.4 beta from
OOo download site.




This is about OpenOffice, of which Libreoffice is actually another branch.

You might consider changing because of this feature, until it finds its way into Libreoffice.







share|improve this answer














share|improve this answer



share|improve this answer








edited Oct 25 '11 at 13:57


























community wiki





3 revs
harrymc














  • Did you read my question? That's what I ended up doing, but my question is precisely about how to avoid doing it.

    – Peltier
    Oct 18 '11 at 8:09






  • 1





    You can down-vote me all you want but you cannot change the facts, which are that Writer does not support vectorial formats. See the Inkscape FileTypes wiki for convertors to other formats, but these programs operate after you saveas in vectorial format (and there exist many other convertors).

    – harrymc
    Oct 18 '11 at 8:49











  • Or you can change to OpenOffice, as in my edit above.

    – harrymc
    Oct 18 '11 at 8:56











  • SVG import is already included in LibreOffice, it just doesn't work well at the moment apparently.

    – Peltier
    Oct 18 '11 at 10:32











  • The SVG code in LibreOffice stable is probably pre-beta. Your best bet is probably to try the beta versions of both LibreOffice and OpenOffice, and give feedbacks in both forums. Until the problems are resolved.

    – harrymc
    Oct 18 '11 at 12:14





















  • Did you read my question? That's what I ended up doing, but my question is precisely about how to avoid doing it.

    – Peltier
    Oct 18 '11 at 8:09






  • 1





    You can down-vote me all you want but you cannot change the facts, which are that Writer does not support vectorial formats. See the Inkscape FileTypes wiki for convertors to other formats, but these programs operate after you saveas in vectorial format (and there exist many other convertors).

    – harrymc
    Oct 18 '11 at 8:49











  • Or you can change to OpenOffice, as in my edit above.

    – harrymc
    Oct 18 '11 at 8:56











  • SVG import is already included in LibreOffice, it just doesn't work well at the moment apparently.

    – Peltier
    Oct 18 '11 at 10:32











  • The SVG code in LibreOffice stable is probably pre-beta. Your best bet is probably to try the beta versions of both LibreOffice and OpenOffice, and give feedbacks in both forums. Until the problems are resolved.

    – harrymc
    Oct 18 '11 at 12:14



















Did you read my question? That's what I ended up doing, but my question is precisely about how to avoid doing it.

– Peltier
Oct 18 '11 at 8:09





Did you read my question? That's what I ended up doing, but my question is precisely about how to avoid doing it.

– Peltier
Oct 18 '11 at 8:09




1




1





You can down-vote me all you want but you cannot change the facts, which are that Writer does not support vectorial formats. See the Inkscape FileTypes wiki for convertors to other formats, but these programs operate after you saveas in vectorial format (and there exist many other convertors).

– harrymc
Oct 18 '11 at 8:49





You can down-vote me all you want but you cannot change the facts, which are that Writer does not support vectorial formats. See the Inkscape FileTypes wiki for convertors to other formats, but these programs operate after you saveas in vectorial format (and there exist many other convertors).

– harrymc
Oct 18 '11 at 8:49













Or you can change to OpenOffice, as in my edit above.

– harrymc
Oct 18 '11 at 8:56





Or you can change to OpenOffice, as in my edit above.

– harrymc
Oct 18 '11 at 8:56













SVG import is already included in LibreOffice, it just doesn't work well at the moment apparently.

– Peltier
Oct 18 '11 at 10:32





SVG import is already included in LibreOffice, it just doesn't work well at the moment apparently.

– Peltier
Oct 18 '11 at 10:32













The SVG code in LibreOffice stable is probably pre-beta. Your best bet is probably to try the beta versions of both LibreOffice and OpenOffice, and give feedbacks in both forums. Until the problems are resolved.

– harrymc
Oct 18 '11 at 12:14







The SVG code in LibreOffice stable is probably pre-beta. Your best bet is probably to try the beta versions of both LibreOffice and OpenOffice, and give feedbacks in both forums. Until the problems are resolved.

– harrymc
Oct 18 '11 at 12:14













0














TL-DR:



If possible, convert your SVG to PDF (or eps) in Inkscape, then open that in GIMP and convert to a very high-resolution PNG without anti-alias (prints better), then embed that in your document. Because vector graphics support is a nightmare.



The long story:



Vector graphics support in Libreoffice is a very lively story ... at the time this question was asked, the only reliably supported format was eps. However, Libreoffice could not display it properly, only print to postscript printers (most network printers in professional environments) and convert to PDF!



The reason is that eps is already a postscript format, and the PDF conversion was based on "printing" to a Postscript file, then converting to PDF. Libreoffice simply passed the EPS images through, and in print they looked exactly as they should, although LO could only display a low-res preview.



A little later, around 2012, Libreoffice was, for a short time, able to correctly dspay and print SVG graphics! This relied on an installation of Inkscape on the same machine (or at least the cairo library that comes with it). The feature included all the fancy SVG features like transparency, gradients and blur(!). I used this to great effect in one single presentation in early 2013, and at that point I thought I had it all figured out.



At that point, someone in the LO community started thinking that "SVG embedding" is the same as "SVG import", and so, when inserting an SVG, Libreoffice started trying to interpret the file and convert it to a libreoffice drawing. That cannot work if the svg uses blur, for example, but in practice it also failed in lots of other scenarios, and this ruined several of my documents.



By now, Libreoffice has developed still a bit further, and at least simple svg images work nicely again. So as long as you have no gradients, transparency or blur, you should be fine with SVG. At the same time, something has happened to the EPS embedding, and they have started to look wrong in some cases.



Finally, there are more vector formats, like WMF and EMF. They can work nicely, but only if your document stays on the same computer. I've had several documents where fonts embedded in an EMF were completely mangled (or not), depending on what machine you were looking at the image.



... needless to say, I find this deeply frustrating, but it's still much better than Microsoft Office. To my knowledge, no vector graphics formats work on MS office at the moment (including Microsoft's own WMF and EMF), except the stuff you draw directly in the software, as it is for LO.



At this point, I've pretty much given up hope that SVG will ever be properly usable in anything but Inkscape itself and web browsers.






share|improve this answer
























  • Why did you give up? Your long answer inspired me to test it again. Never lose hope ;)

    – Wolf
    Oct 30 '18 at 12:34













  • I gave up hope because SVG used to work in 2012 for a few month, after many long discussions on the open/libreOffice bugtracker, just long enough for me to make a beautiful presentation to defend my PhD thesis, and present it. It stopped working with the very next update, and was still not working in any LibreOffice version after that, 5 years later, and nobody on the bugtracker seemed to even understand how that could be an issue ... Will try again now...

    – Zak
    Nov 2 '18 at 15:24













  • These days, I'm using PDF figures exported from inkscape in LaTeX. You got my hopes up for a second, so I tried that with LibreOffice -- Any PDF reader can correctly display transparency and blur but in LO, the PDF is rastered, and I can't even specify a resolution. This does not make me happy.

    – Zak
    Nov 2 '18 at 16:22
















0














TL-DR:



If possible, convert your SVG to PDF (or eps) in Inkscape, then open that in GIMP and convert to a very high-resolution PNG without anti-alias (prints better), then embed that in your document. Because vector graphics support is a nightmare.



The long story:



Vector graphics support in Libreoffice is a very lively story ... at the time this question was asked, the only reliably supported format was eps. However, Libreoffice could not display it properly, only print to postscript printers (most network printers in professional environments) and convert to PDF!



The reason is that eps is already a postscript format, and the PDF conversion was based on "printing" to a Postscript file, then converting to PDF. Libreoffice simply passed the EPS images through, and in print they looked exactly as they should, although LO could only display a low-res preview.



A little later, around 2012, Libreoffice was, for a short time, able to correctly dspay and print SVG graphics! This relied on an installation of Inkscape on the same machine (or at least the cairo library that comes with it). The feature included all the fancy SVG features like transparency, gradients and blur(!). I used this to great effect in one single presentation in early 2013, and at that point I thought I had it all figured out.



At that point, someone in the LO community started thinking that "SVG embedding" is the same as "SVG import", and so, when inserting an SVG, Libreoffice started trying to interpret the file and convert it to a libreoffice drawing. That cannot work if the svg uses blur, for example, but in practice it also failed in lots of other scenarios, and this ruined several of my documents.



By now, Libreoffice has developed still a bit further, and at least simple svg images work nicely again. So as long as you have no gradients, transparency or blur, you should be fine with SVG. At the same time, something has happened to the EPS embedding, and they have started to look wrong in some cases.



Finally, there are more vector formats, like WMF and EMF. They can work nicely, but only if your document stays on the same computer. I've had several documents where fonts embedded in an EMF were completely mangled (or not), depending on what machine you were looking at the image.



... needless to say, I find this deeply frustrating, but it's still much better than Microsoft Office. To my knowledge, no vector graphics formats work on MS office at the moment (including Microsoft's own WMF and EMF), except the stuff you draw directly in the software, as it is for LO.



At this point, I've pretty much given up hope that SVG will ever be properly usable in anything but Inkscape itself and web browsers.






share|improve this answer
























  • Why did you give up? Your long answer inspired me to test it again. Never lose hope ;)

    – Wolf
    Oct 30 '18 at 12:34













  • I gave up hope because SVG used to work in 2012 for a few month, after many long discussions on the open/libreOffice bugtracker, just long enough for me to make a beautiful presentation to defend my PhD thesis, and present it. It stopped working with the very next update, and was still not working in any LibreOffice version after that, 5 years later, and nobody on the bugtracker seemed to even understand how that could be an issue ... Will try again now...

    – Zak
    Nov 2 '18 at 15:24













  • These days, I'm using PDF figures exported from inkscape in LaTeX. You got my hopes up for a second, so I tried that with LibreOffice -- Any PDF reader can correctly display transparency and blur but in LO, the PDF is rastered, and I can't even specify a resolution. This does not make me happy.

    – Zak
    Nov 2 '18 at 16:22














0












0








0







TL-DR:



If possible, convert your SVG to PDF (or eps) in Inkscape, then open that in GIMP and convert to a very high-resolution PNG without anti-alias (prints better), then embed that in your document. Because vector graphics support is a nightmare.



The long story:



Vector graphics support in Libreoffice is a very lively story ... at the time this question was asked, the only reliably supported format was eps. However, Libreoffice could not display it properly, only print to postscript printers (most network printers in professional environments) and convert to PDF!



The reason is that eps is already a postscript format, and the PDF conversion was based on "printing" to a Postscript file, then converting to PDF. Libreoffice simply passed the EPS images through, and in print they looked exactly as they should, although LO could only display a low-res preview.



A little later, around 2012, Libreoffice was, for a short time, able to correctly dspay and print SVG graphics! This relied on an installation of Inkscape on the same machine (or at least the cairo library that comes with it). The feature included all the fancy SVG features like transparency, gradients and blur(!). I used this to great effect in one single presentation in early 2013, and at that point I thought I had it all figured out.



At that point, someone in the LO community started thinking that "SVG embedding" is the same as "SVG import", and so, when inserting an SVG, Libreoffice started trying to interpret the file and convert it to a libreoffice drawing. That cannot work if the svg uses blur, for example, but in practice it also failed in lots of other scenarios, and this ruined several of my documents.



By now, Libreoffice has developed still a bit further, and at least simple svg images work nicely again. So as long as you have no gradients, transparency or blur, you should be fine with SVG. At the same time, something has happened to the EPS embedding, and they have started to look wrong in some cases.



Finally, there are more vector formats, like WMF and EMF. They can work nicely, but only if your document stays on the same computer. I've had several documents where fonts embedded in an EMF were completely mangled (or not), depending on what machine you were looking at the image.



... needless to say, I find this deeply frustrating, but it's still much better than Microsoft Office. To my knowledge, no vector graphics formats work on MS office at the moment (including Microsoft's own WMF and EMF), except the stuff you draw directly in the software, as it is for LO.



At this point, I've pretty much given up hope that SVG will ever be properly usable in anything but Inkscape itself and web browsers.






share|improve this answer













TL-DR:



If possible, convert your SVG to PDF (or eps) in Inkscape, then open that in GIMP and convert to a very high-resolution PNG without anti-alias (prints better), then embed that in your document. Because vector graphics support is a nightmare.



The long story:



Vector graphics support in Libreoffice is a very lively story ... at the time this question was asked, the only reliably supported format was eps. However, Libreoffice could not display it properly, only print to postscript printers (most network printers in professional environments) and convert to PDF!



The reason is that eps is already a postscript format, and the PDF conversion was based on "printing" to a Postscript file, then converting to PDF. Libreoffice simply passed the EPS images through, and in print they looked exactly as they should, although LO could only display a low-res preview.



A little later, around 2012, Libreoffice was, for a short time, able to correctly dspay and print SVG graphics! This relied on an installation of Inkscape on the same machine (or at least the cairo library that comes with it). The feature included all the fancy SVG features like transparency, gradients and blur(!). I used this to great effect in one single presentation in early 2013, and at that point I thought I had it all figured out.



At that point, someone in the LO community started thinking that "SVG embedding" is the same as "SVG import", and so, when inserting an SVG, Libreoffice started trying to interpret the file and convert it to a libreoffice drawing. That cannot work if the svg uses blur, for example, but in practice it also failed in lots of other scenarios, and this ruined several of my documents.



By now, Libreoffice has developed still a bit further, and at least simple svg images work nicely again. So as long as you have no gradients, transparency or blur, you should be fine with SVG. At the same time, something has happened to the EPS embedding, and they have started to look wrong in some cases.



Finally, there are more vector formats, like WMF and EMF. They can work nicely, but only if your document stays on the same computer. I've had several documents where fonts embedded in an EMF were completely mangled (or not), depending on what machine you were looking at the image.



... needless to say, I find this deeply frustrating, but it's still much better than Microsoft Office. To my knowledge, no vector graphics formats work on MS office at the moment (including Microsoft's own WMF and EMF), except the stuff you draw directly in the software, as it is for LO.



At this point, I've pretty much given up hope that SVG will ever be properly usable in anything but Inkscape itself and web browsers.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 8 '17 at 15:06









ZakZak

12519




12519













  • Why did you give up? Your long answer inspired me to test it again. Never lose hope ;)

    – Wolf
    Oct 30 '18 at 12:34













  • I gave up hope because SVG used to work in 2012 for a few month, after many long discussions on the open/libreOffice bugtracker, just long enough for me to make a beautiful presentation to defend my PhD thesis, and present it. It stopped working with the very next update, and was still not working in any LibreOffice version after that, 5 years later, and nobody on the bugtracker seemed to even understand how that could be an issue ... Will try again now...

    – Zak
    Nov 2 '18 at 15:24













  • These days, I'm using PDF figures exported from inkscape in LaTeX. You got my hopes up for a second, so I tried that with LibreOffice -- Any PDF reader can correctly display transparency and blur but in LO, the PDF is rastered, and I can't even specify a resolution. This does not make me happy.

    – Zak
    Nov 2 '18 at 16:22



















  • Why did you give up? Your long answer inspired me to test it again. Never lose hope ;)

    – Wolf
    Oct 30 '18 at 12:34













  • I gave up hope because SVG used to work in 2012 for a few month, after many long discussions on the open/libreOffice bugtracker, just long enough for me to make a beautiful presentation to defend my PhD thesis, and present it. It stopped working with the very next update, and was still not working in any LibreOffice version after that, 5 years later, and nobody on the bugtracker seemed to even understand how that could be an issue ... Will try again now...

    – Zak
    Nov 2 '18 at 15:24













  • These days, I'm using PDF figures exported from inkscape in LaTeX. You got my hopes up for a second, so I tried that with LibreOffice -- Any PDF reader can correctly display transparency and blur but in LO, the PDF is rastered, and I can't even specify a resolution. This does not make me happy.

    – Zak
    Nov 2 '18 at 16:22

















Why did you give up? Your long answer inspired me to test it again. Never lose hope ;)

– Wolf
Oct 30 '18 at 12:34







Why did you give up? Your long answer inspired me to test it again. Never lose hope ;)

– Wolf
Oct 30 '18 at 12:34















I gave up hope because SVG used to work in 2012 for a few month, after many long discussions on the open/libreOffice bugtracker, just long enough for me to make a beautiful presentation to defend my PhD thesis, and present it. It stopped working with the very next update, and was still not working in any LibreOffice version after that, 5 years later, and nobody on the bugtracker seemed to even understand how that could be an issue ... Will try again now...

– Zak
Nov 2 '18 at 15:24







I gave up hope because SVG used to work in 2012 for a few month, after many long discussions on the open/libreOffice bugtracker, just long enough for me to make a beautiful presentation to defend my PhD thesis, and present it. It stopped working with the very next update, and was still not working in any LibreOffice version after that, 5 years later, and nobody on the bugtracker seemed to even understand how that could be an issue ... Will try again now...

– Zak
Nov 2 '18 at 15:24















These days, I'm using PDF figures exported from inkscape in LaTeX. You got my hopes up for a second, so I tried that with LibreOffice -- Any PDF reader can correctly display transparency and blur but in LO, the PDF is rastered, and I can't even specify a resolution. This does not make me happy.

– Zak
Nov 2 '18 at 16:22





These days, I'm using PDF figures exported from inkscape in LaTeX. You got my hopes up for a second, so I tried that with LibreOffice -- Any PDF reader can correctly display transparency and blur but in LO, the PDF is rastered, and I can't even specify a resolution. This does not make me happy.

– Zak
Nov 2 '18 at 16:22











0














What worked for me was in Inkscape to select the SVG - a black and white electric circuit - from my PDF and Export PNG Image. Then in LO Writer I used Insert Image.
Inkscape version 0.92,
Libre Office Version 6.0.7.3
Mac High Sierra 10.13.6






share|improve this answer








New contributor




Joerg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    As the question said, "I'd like to avoid rasterizing the illustration as much as possible"

    – RalfFriedl
    yesterday
















0














What worked for me was in Inkscape to select the SVG - a black and white electric circuit - from my PDF and Export PNG Image. Then in LO Writer I used Insert Image.
Inkscape version 0.92,
Libre Office Version 6.0.7.3
Mac High Sierra 10.13.6






share|improve this answer








New contributor




Joerg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    As the question said, "I'd like to avoid rasterizing the illustration as much as possible"

    – RalfFriedl
    yesterday














0












0








0







What worked for me was in Inkscape to select the SVG - a black and white electric circuit - from my PDF and Export PNG Image. Then in LO Writer I used Insert Image.
Inkscape version 0.92,
Libre Office Version 6.0.7.3
Mac High Sierra 10.13.6






share|improve this answer








New contributor




Joerg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










What worked for me was in Inkscape to select the SVG - a black and white electric circuit - from my PDF and Export PNG Image. Then in LO Writer I used Insert Image.
Inkscape version 0.92,
Libre Office Version 6.0.7.3
Mac High Sierra 10.13.6







share|improve this answer








New contributor




Joerg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Joerg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered yesterday









JoergJoerg

1




1




New contributor




Joerg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Joerg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Joerg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1





    As the question said, "I'd like to avoid rasterizing the illustration as much as possible"

    – RalfFriedl
    yesterday














  • 1





    As the question said, "I'd like to avoid rasterizing the illustration as much as possible"

    – RalfFriedl
    yesterday








1




1





As the question said, "I'd like to avoid rasterizing the illustration as much as possible"

– RalfFriedl
yesterday





As the question said, "I'd like to avoid rasterizing the illustration as much as possible"

– RalfFriedl
yesterday


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f345365%2fexporting-vector-graphics-from-inkscape-into-libreoffice%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...