Dear list,
I would like to open
http://www.thamnos.de/l2.ps
in inkscape. Therefore, I use epstopdf to produce
http://www.thamnos.de/l2.pdf
which I can open.
However, the text at the x- and y-axes (0, 0.25, 0.5, ...) is one big
object each instead of an object per number. This would be my preferred
behaviour as a subsequent save as pdf with PDF+LaTeX will now end up in
a messed up LaTeX part:
http://www.thamnos.de/l2.pdf_tex
So I tried to split the numbers using the Split Text extension,
splitting words at the x-axis. This fails though with
Traceback (most recent call last):
File "split.py", line 215, in <module>
b.affect()
File "/usr/share/inkscape/extensions/inkex.py", line 215, in affect
self.effect()
File "split.py", line 202, in effect
nodes = self.split_words(node)
File "split.py", line 115, in split_words
x = float(line.get("x"))
ValueError: invalid literal for float(): 0 40.54911213 47.89159253
84.76972857 92.11220897 128.98994884 136.33242924 173.21016911
180.55264951 217.43078555 224.77326595
I tried to add some print statements in split.py but it is not printed
to stdout... Can someone here please help?
Thanks in advance,
Sebastian.