Closed willprice closed 5 years ago
Well, since Inkscape 1.0 has alpha status, I actually do not want to adapt the svg package, because I can not assume that the interface will be implemented in the final version exactly as it is at the moment.
To be honest, I experimented with Inkscape 1.0 on the command line and did not manage to start an export call because I did not find out how to specify the original svg file. If you can give me a working export call as an example, then I could try to adjust the package accordingly, although I just do not know exactly how I could implement a test on the version of Inkscape used in each case.
Hi @mrpiggi, Thanks for the response. I understand your reluctance in implementing a feature for an alpha version of the software where the interface might change. For the record, the current way to export an SVG is like so:
$ inkscape my-image.svg --without-gui --export-type=pdf --export-file my-image.pdf
although I just do not know exactly how I could implement a test on the version of Inkscape used in each case.
I'm not sure if there are additional tests apart from the one in test
, but you could perhaps have a shell script/batch file that runs all tests with inkscape 0.92 and 1.0 by manipulating $PATH
providing you have a locally built version of 1.0.
FYI
Currently, there is a problem with the LaTeX export as the coordinates within the corresponding .pdf_tex
files are upside down. Therefore I created an issue which was fixed very fast.
Thanks @mrpiggi!
how to convert SVG file to Gcode file programtically in my project. like input file is SVG file process it finally get an Gcode file automatically with doing any action means One step conversion. SVG file(input)->process->Gcode(output)
how to convert SVG file to Gcode file programtically in my project. like input file is SVG file process it finally get an Gcode file automatically with doing any action means One step conversion. SVG file(input)->process->Gcode(output)
How is this related to this latex package?
is inkscape 1.0a1 supports eps export? and how? I cant see eps export flag or something like "--export-type=eps"
@ibrahimrajabli Are you sure, you are in the right place? Package svg
is meant to be used with LaTeX documents. Tthere is no need to specify any flags, it is all done by the package. You could either use \includesvg[inkscapeformat=eps]{...}
to invoke eps export with Inkscape or use package svg-extract
in order to export the processed result to a standalone file via \includesvg[extractformat=eps]{...}
thanks for the information.
Hi there, Thanks for the very useful package. I've recently switched over to using Inkscape 1.0a1 and I've noticed that they're changed the export CLI interface from having an
--export-<filetype>
option per filetype to a uniform--export
and an--export-type <filetype>
flag. Would it be possible to support this new version of inkscape?Details of CLI after the break
Pre 1.0 inkscape (Inkscape 0.92.4 5da689c313, 2019-01-14)
Post 1.0 inkscape (Inkscape 1.0alpha (f7d4648084, 2019-03-06, custom)