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

Inkscape depracted options #38

Closed
leomayer opened this issue Jan 12, 2021 · 4 comments
Closed

Inkscape depracted options #38

leomayer opened this issue Jan 12, 2021 · 4 comments

Comments

@leomayer
Copy link

With Inkscape 1.0.1 (3bc2e813f5, 2020-09-07) the options

  • --without-gui
  • --file
  • export-pdf

become depracted. See as well on TexExchange

@mrpiggi
Copy link
Owner

mrpiggi commented Jan 12, 2021

This was already adapted with v2.02f (as mentioned in your link) so please update bundle svg via your LaTeX distribution.

@leomayer
Copy link
Author

Yes and no. When I download the sources from CTAN 2.02k than I see

\newcommand*\svg@ink@cmd[2]{%
  \svg@ink@exe\space"#1.\svg@file@ext"\space\svg@ink@area\space%
  \ifx\svg@ink@dpi\relax\else--export-dpi=\svg@ink@dpi\space\fi%
  \if@svg@ink@latex--export-latex\space\fi%
  \ifx\svg@ink@opt\@empty\else\svg@ink@opt\space\fi%
  \ifcase\svg@ink@ver\relax% 0.x detected
    --without-gui\space%
    --export-\svg@ink@format="#2.\svg@ink@format"%
  \else% 1.x or nothing detected
    --export-filename="#2.\svg@ink@format"%
  \fi%
}

which still leaves the withouth-gui option. For the other options I agree.

@mrpiggi
Copy link
Owner

mrpiggi commented Jan 12, 2021

This branch is only invoked, when Inkscape version 0.x is detected or explicitly set.

@leomayer
Copy link
Author

ahhh - ok than close this ticket .

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

No branches or pull requests

2 participants