From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109918 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Martin_Haso=C5=88?= Newsgroups: gmane.comp.tex.context Subject: Inkscape 1 without gui Date: Sat, 12 Dec 2020 12:00:59 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0890775904642881298==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15709"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 12 12:05:03 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ko2hy-0003y9-NG for gctc-ntg-context-518@m.gmane-mx.org; Sat, 12 Dec 2020 12:05:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CA31A1AAE93; Sat, 12 Dec 2020 12:01:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hDj__yVrmlhi; Sat, 12 Dec 2020 12:01:14 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E5D9E1AAE94; Sat, 12 Dec 2020 12:01:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DF4651AAE77 for ; Sat, 12 Dec 2020 12:01:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jUj88EbyJ0Ci for ; Sat, 12 Dec 2020 12:01:12 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.54; helo=mail-io1-f54.google.com; envelope-from=martin.hason@gmail.com; receiver= Original-Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B98861AAE7E for ; Sat, 12 Dec 2020 12:01:12 +0100 (CET) Original-Received: by mail-io1-f54.google.com with SMTP id t8so12169264iov.8 for ; Sat, 12 Dec 2020 03:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bw5ELh4c85dsLpU9+ZBTDsaQXRZluUZjSrHdYAMo2Eg=; b=OxQor9IyrlPOlzY9WXj1uX+5j0wxkBhDQAYpAXU8tyOFYVzuZp0DyQXtOyEv/lxKbW Q6lv91Pi2jmwP7McGCMcF1pYe4stGZeJ5ZG2OXqQ33gI1ALe+wi6FT04oq9w3wLZqIJr uh+GnYUJyf1AozDUe93G6lsvTWGptVTbYGTbcwcxdHaVOZbe6n2SMwuIBkR6X+8NDPaA 2A0iOw00cYI2+ayHubQxYY8tDOYSsbuSrOXsUwIT44u7tk4jfOO8NWNSVK1Ktc0l/0rc GHhH/tqX3hmHFJEyCzohlP0LURCioA9mr1hRfpukBsGZvChg0zkq6LC9zWzh7ruNiGIy 6GWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bw5ELh4c85dsLpU9+ZBTDsaQXRZluUZjSrHdYAMo2Eg=; b=izz92HH7W1hP24tmp//168d4dnproA5xrdTJBNRYLViH/4PRMmwALKsCChUqx19a76 +jukO2VxvZxC/2800CpH2wVu0URl/IUcl5BB1pUbdhE7X1XBeGauke3K4Ju1ZmQoC6C8 FQvZe3MlwOhWQIBAPrN5bguI4GERGI3/SwcZp7jPzpGFU96SeUOUBxSthKOcJUjwNAXi Xmp1eREOqSuppQxYk/j69F+OcEG7MbYSDPKjIyknhkGBNbRUPvaF9TE5NXesGiyzO/+W vs2i2EJC+z5N/bA77IFEZJRwPqpHAdicP+vCk19ZjTLzG7QrLT7G+AbrU8rtYRhQSQr6 nJIw== X-Gm-Message-State: AOAM533pbuMXv4x0lHhOaDQYdLEAIsODUFSmDMHlRi+BQW+TQNtWVJ2F G+SMrfvw9OYz9GpO7CFsPmD5ELfkyL40ucQEx+46EXPZAIgiOA== X-Google-Smtp-Source: ABdhPJzf72ZkgPXV/JZl2RGT9BpTVrxnxY7qKcaIUh+asJMr/glA2s7J3tsXEIF1ClmpUTb9y3c4CjHoUFw3bQrp9F4= X-Received: by 2002:a02:4005:: with SMTP id n5mr21075322jaa.105.1607770870628; Sat, 12 Dec 2020 03:01:10 -0800 (PST) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109918 Archived-At: --===============0890775904642881298== Content-Type: multipart/alternative; boundary="0000000000009fc48505b6425374" --0000000000009fc48505b6425374 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D/app/pages/m_k_i_v_01.svg.pdf Best regards Martin Haso=C5=88 --0000000000009fc48505b6425374 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

Inkscape version det= ection 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)
>=C2=A0 =C2=A0 Pango version:= 1.44.7

This is standard commands behaviour witho= ut `--batch-process` and `--without-gui` options https://wiki.inkscape.org= /wiki/index.php/Using_the_Command_Line

<= div>
Because the version of inkscap= e 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=3D/app/page= s/m_k_i_v_01.svg.pdf

Best regards
Martin Haso=C5=88

--0000000000009fc48505b6425374-- --===============0890775904642881298== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0890775904642881298==--