Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[faust2pdf] updated inkscape command line option #463

Open
wants to merge 1 commit into
base: master-dev
Choose a base branch
from

Conversation

LFSaw
Copy link

@LFSaw LFSaw commented Jul 10, 2020

Inkscape version > (4035a4f, 2020-05-01) does not include -E option anymore, but uses -o instead.

@LFSaw LFSaw changed the title updated inkscape command line option to work with Inkscape 1.0 [faust2plot/faust2csvplot] updated inkscape command line option to work with Inkscape 1.0 Jul 10, 2020
@LFSaw LFSaw changed the title [faust2plot/faust2csvplot] updated inkscape command line option to work with Inkscape 1.0 [faust2plot/faust2csvplot] updated inkscape command line option Jul 10, 2020
@LFSaw LFSaw changed the title [faust2plot/faust2csvplot] updated inkscape command line option [faust2pdf] updated inkscape command line option Jul 10, 2020
Copy link
Member

@sletz sletz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This -o option does not work on the 0.92.5 version that I have here on OSX (with macports). Where is it working ?

@LFSaw
Copy link
Author

LFSaw commented Jul 13, 2020

I downloaded inkscape from their release page and used the binary found in Inkscape.app/Contents/MacOS.

from its man-page:

File export:
  -o, --export-filename=EXPORT-FILENAME      Output file name (file type is guessed from extension)

This version

$ ./inkscape --version
Inkscape 1.0 (4035a4f, 2020-05-01)
    Pango version: 1.43.0

does not include a -E option...

it also reads

Examples:
  Export input SVG (in.svg) to PDF (out.pdf) format:
	inkscape --export-filename=out.pdf in.svg
  Export input files (in1.svg, in2.svg) to PNG format keeping original name (in1.png, in2.png):
	inkscape --export-type=png in1.svg in2.svg

so maybe the long-form options --export-filename or --export-type are better options to keep compatibility?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants