halamalala / inkscape2tikz

Automatically exported from code.google.com/p/inkscape2tikz
Other
22 stars 2 forks source link

File exported from SVG to Tikz produces empty output after pdflatex'ing #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce:
1. Install the latest inkscape2tikz from the repository
2. Convert the file attached (flag.svg) to tikz from inkscape (export to tikz 
path). Use the following options: Stand alone, Escape special TeX characters, 
Verbose output. (Resulting file is attached)
3. Convert the file generated by inkscape2tikz to pdf using pdflatex

What is the expected output? What do you see instead?

Expect the same contents in pdf as it was in svg.  Empty pages are shown 
instead.

What version of the product are you using? On what operating system?

Linux.  Latest version installed from the repo. 
Inkscape: 0.48

Additional comments:  resulting tikz file does not contain any color 
declarations which is suspicious as the svg file has colors.

Please provide any additional information below.

Original issue reported on code.google.com by Vitaly.R...@gmail.com on 16 Oct 2013 at 6:22

Attachments:

GoogleCodeExporter commented 8 years ago
The problem here is that the SVG uses the class attribute and CSS for styling 
paths. Svg2tikz currently only supports inline styles. 

I have added an issue at https://github.com/kjellmf/svg2tikz/issues/19

Original comment by kjel...@gmail.com on 21 May 2014 at 7:46

GoogleCodeExporter commented 8 years ago

Original comment by kjel...@gmail.com on 23 May 2014 at 7:00