ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Martin Hasoň" <martin.hason@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Inkscape 1 without gui
Date: Sat, 12 Dec 2020 12:00:59 +0100	[thread overview]
Message-ID: <CAMQDGF_E4NRj4psHfyaCtEG8xr5nw-9HJOKeV+C3L7+GXkfn2g@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 745 bytes --]

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ň

[-- Attachment #1.2: Type: text/html, Size: 1363 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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	other threads:[~2020-12-12 11:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-12 11:00 Martin Hasoň [this message]
2020-12-12 13:38 ` mf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMQDGF_E4NRj4psHfyaCtEG8xr5nw-9HJOKeV+C3L7+GXkfn2g@mail.gmail.com \
    --to=martin.hason@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).