I do not know if it's a Draw or an inkscape problem. Windows 7 64 bit. Deleting text in LO Draw provides a single-sided pdf when exported from inkscape. And a nice figure in LaTeX. Writing text within Inkscape works perfect, too. It can be also an inkscape bug in the filter - I don't know. Easy Reproduction: - Draw in LO"Draw" a figure (a single line is enough) and a text box. - Export SVG - Read SVG by inkscape (newest version 0.92) - Write out pdf and tex (save to pdf: there's always a dialog where is the choice) -> pdf is consisting of 2 pages. 1st page is empty. (Try to put into LaTeX nothing is displayed (or LaTeX crashes).) -> If svg does not contain text there is no problem. It seems that there is a "grouping" problem in LO Draw - but I cannot confirm this. Also in "Dia" the Draw-SVGs are screwed up. (Point is: I have many sketches in LO Draw and I want to put them in a large LaTeX document. Now I have to delete the whole text and write it again) Kind regards Hermann
I cannot confirm it. The export from 1 page in Draw gives a svg file with exactly this content. If opens fine in Inkscape and in browser "Seamonkey". LibreOffice exports the drawing to pdf correctly. I see no option in LibreOffice to export a drawing to LaTeX. I use LibreOffice Version: 5.4.0.0.alpha1+ Build ID: 965494c544dd8f35ae83b7cf38549009da06c367 CPU threads: 4; OS: Windows 6.1; UI render: default; TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-05-10_23:06:27 Locale: de-DE (de_DE); Calc: group And I have used Inkscape 0.48 and 0.91.
Created attachment 133463 [details] 2-page output from inkscape when drawing a line in LO Draw and writing text
(In reply to Hermann Rochholz from comment #0) > - Draw in LO"Draw" a figure (a single line is enough) and a text box. As there seems to be trouble reproducing, please attach such an example file. Set to NEEDINFO. Change back to UNCONFIRMED after you have provided the document.
Created attachment 133827 [details] zip-file with all relevant LO, svg and pdf/tex-documents I provide the original LO-Draw-document. It is exported with and without text as an svg. (to reproduce simply delete the text) Load into inkscape and write out as pdf. A menue appears-also delivered as a screenshot in zip. Translated it means: "Leave away text and write into a separate TeX-file". Both versions produce two files: a pdf and a tex needed (both attached) to include the picture into (La)TeX. The point is: The version with text ALWAYS produces pdf-files with two or more pages. This causes Latex to crash or a hangup. If one adds text within inkscape - no problem- one page. Only when text comes from LO-2 pages. ---------- Again: I do not know if it's a LO or a inkscape-problem. Both use svg, but they seem not to be fully compatible. --- Thank you for your attention.
Ok, I confirm. Arch Linux 64-bit, KDE Plasma 5 Version: 5.5.0.0.alpha0+ Build ID: c855400e9686ddd8bcba5691393f839f6f52c966 CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on June 2nd 2017 Inkscape 0.92.1
Hello! Is there any progress?
Hallo! Is there any progress or root cause evaluation? Some days ago I tested it with actual version and the same thing happened. Or is there something I can do? Hermann (In reply to Buovjaga from comment #5) > Ok, I confirm. >... > Inkscape 0.92.1
(In reply to Hermann Rochholz from comment #7) > Or is there something I can do? > Hermann If you do not want to learn C++, you have to just wait patiently. Or hire some developer to work on it.
Could reproduce the bug with inkscape 0.91 but not with 0.92.3
(In reply to Christina Rossmanith from comment #9) > Could reproduce the bug with inkscape 0.91 but not with 0.92.3 Hermann: can you test again with the very latest Inkscape?
Could reproduce the bug with inkscape 0.92.2 but not with 0.92.3 (quick shot). Bug seems to be removed. I have to test carefully again and confirm. (In reply to Christina Rossmanith from comment #9) > Could reproduce the bug with inkscape 0.91 but not with 0.92.3
It's better - the error has changed: Text is icluded, but not at the correct place. Anyway there is no more crash. I attach a picture which is out of LO, but one text is included in Inkscape. Hermann
Created attachment 141023 [details] pdf screenshot out of LaTeX - detailed description within picture
After hours of testing I solved the problem in an easier way: Exporting svg out of LODraw, Importing into Inkscape, exporting into eps and then using the package epstopdf in LaTeX. Text and everything is at the right place. Direct export of LODraw pics into eps is not very nice, because Bounding Box always provides the full page. Hermann
Ok, as you are happy now and the "guilty party" was a bit unclear to start with, let's close.
Yes, I propose to close, too. My first sentence was: "I do not know if it's a Draw or an inkscape problem." Any specification is not satisfied fully - I do not know which one. Since svg(LO) -> SVG (ISc) -> eps (ISc) works now it seems to be the Inkscape export filter to pdf. There is no guilt. There is only quality assurance. Hermann
I have found now a reason- it seems to be inkscape: Some documents exported by LO DRAW (very latest version), imported in Inkscape and exportet in tex/pdf provide a pdf-output of multiple (!) pages. If there is a standard pdf output it's only one. There seems to be the reason that it is in several layers. And there are sometimes more than 2 pages. I do NOT know in which way SVG export is handled in LO Draw. Does it export in 1 layer or multiple layers? OK-Objects have to be on top of each other. But this can be in 1 layer or multiple layers I think. I don't know how SVG is specified. Kind regards Hermann