Hi all,
Jessyink [1]is really a very nice extension to Inkscape to enable doing dynamic presentations, I can really recommend it! There are two versions, I use the latter, Jessyink 2.0.0-alpha1.
However, I usually end up adding effects and manually setting the order and eventually running out of numbers. E.g. I start to number the effects by 10, 20, 30, etc. but soon end up having orders 1, 2, 3, 4, ... and wanting to insert a new efect between e.g. 2 and 3. Therefore I wonder, is there some way to renumber the effects to make some space that I have missed?
As the svg-files are just text files, I am considering a script to do this to find and renumber the effects; the finding part can be achieved by e.g.
,---- | cat my_svg_file_with_jessyink.svg|grep "sodipodi:role="line">[0-9]*</tspan></text>"|grep [0-9]* `----
This gives all the lines with effect numbers, maybe sed or awk can be used in a loop to renumber in order and increment by a desired step (e.g. 10). Now, my skills are not really up to the task, so before embarking, the question is is this really the best route to go or are there any better ideas?
Thanks and cheers!
Footnotes: [1] http://code.google.com/p/jessyink/