See here: https://www.mail-archive.com/ntg-context@ntg.nl/msg94431.html and here: https://wiki.contextgarden.net/SVG#ConTeXt_and_Inkscape Massi Il 12/12/20 12:00, Martin Hasoň ha scritto:
Hi all,
Inkscape version detection doesn't work for Inkscape 1 and non-gui environments (eg docker). The output of the `inkscape --version` command is
Unable to init server: Could not connect: Connection refused Inkscape 1.0 (4035a4fb49, 2020-05-01) Pango version: 1.44.7
This is standard commands behaviour without `--batch-process` and `--without-gui` options https://wiki.inkscape.org/wiki/index.php/Using_the_Command_Line https://wiki.inkscape.org/wiki/index.php/Using_the_Command_Line
Because the version of inkscape is on the second line, ConTeXt use options for 0.92 version and Inkscape 1 ends with an error message:
Unable to init server: Could not connect: Connection refused Unknown option --export-pdf=/app/pages/m_k_i_v_01.svg.pdf
Best regards Martin Hasoň