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

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ň
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to