mrpiggi / svg

Handling SVG pictures in LaTeX documents using Inkscape, ImageMagick and/or Ghostscript
Other
65 stars 11 forks source link

Inkscape depracted options #38

Closed leomayer closed 3 years ago

leomayer commented 3 years ago

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

become depracted. See as well on TexExchange

mrpiggi commented 3 years ago

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

leomayer commented 3 years ago

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 commented 3 years ago

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

leomayer commented 3 years ago

ahhh - ok than close this ticket .