Re: SVG import / export status ?
Aaarrgghh.. I think I've found the problem.
Yes. Right now you want to make sure xarasvgfilter is on the path. More to the point you want to make sure an old version of xaraxvgfilter is NOT on the path. Autopackage should do this for you. The tarball probably won't. We will fix this, so the path is irrelevant.
Alex
Re: SVG import / export status ?
Autopackage was kicked out (too difficult for me ;) )
Xara unpacked from tar archive and correctly path exproted in .xinitrc. Now all works without trouble (simply import svg too)
Re: SVG import / export status ?
Gerry - This is excellent ! That SVG-to-*.xar import/conversion
works great for me, even on slightly older releases (as far back as
three days ago :-)
Since you are familiar with this command line function, perhaps
you can suggest a similar command line sequence for EXPORTING
SVG from a finished *.xar file ?
(note - I tried many variations of the command you had suggested for
import, trying to export the SVG - but all without success) - here are
a few I tried which failed:
xarasvgfilter -e file.svg < file.xar
xarasvgfilter -e file.xar > -x file.svg
...note, again, these aren't documented syntax, just guessing... I dont
see any documentation for those binaries.
Also, Gerry, or anyone in the know... what difference is there
between the two binaries xarasvgfilter /and/ xarasvgfilterui ?
It occurred to me, since xarasvgfilter worked for importing, the
other might be for export ? If so, still lacking syntax for an actual
command line export.
much thanks / stuseven
Quote:
Originally Posted by
GerryI
Hello,
Can you try running the filter from the command line, e.g.
xarasvgfilter -i -f inputfile.svg > outputfile.xar
...should convert the svg file to a xar file which you should be able to load into XaraLX.
xarasvgfilter -c -f inputfile.svg
...should print a number between 0 and 10 (0 if it isn't an SVG file and 10 if it is).
Cheers,
Gerry
Re: SVG import / export status ?
Usage: xarasvgfilter [-h] [-v] [-g] [-p] [-e] [-c] [-i] [-z] [-f <str>] [-x <str>]
-h, --help show this help message
-v, --verbose be verbose
-g, --progress give progress
-p, --prepareexport prepare export
-e, --export do export
-c, --canimport can import
-i, --import do import
-z, --compress (de)compress (output) input file
-f, --file=<str> input/output file
-x, --xmlfile=<str> xml configuration file
I suppose export not ready yet.
xarasvgfilter -e -f inputfile.xar -x outputfile.svg
Re: SVG import / export status ?
but remember it call xarasvgfilterui :)
Re: SVG import / export status ?
Quote:
Originally Posted by
stuseven
Gerry - This is excellent ! That SVG-to-*.xar import/conversion
works great for me, even on slightly older releases (as far back as
three days ago :-)
I don't think export is working. But you can read all about the internals of the filter system here
To answer the other question, svgfilterui is the program that brings up a dialog box to ask you about import and export parameters. I don't think it's currently used.
Alex
Re: SVG import / export status ?
Hello Alex :)
You can see this dialog (choice svg format 1,1 or 1,2) when try export from Xara to svg.
Other hand, you can type somthing like :
xarasvgfilterui -e -f inputfile.xar -x outputfile.svg - will be displayed
Re: SVG import / export status ?
+ interesting reading... thanks Alex... should make a good project !
Quote:
Originally Posted by
abligh
I don't think export is working. But you can read all about the internals of the filter system
here
To answer the other question, svgfilterui is the program that brings up a dialog box to ask you about import and export parameters. I don't think it's currently used.
Alex