ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Inkscape 1 without gui
@ 2020-12-12 11:00 Martin Hasoň
  2020-12-12 13:38 ` mf
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Hasoň @ 2020-12-12 11:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Inkscape 1 without gui
  2020-12-12 11:00 Inkscape 1 without gui Martin Hasoň
@ 2020-12-12 13:38 ` mf
  0 siblings, 0 replies; 2+ messages in thread
From: mf @ 2020-12-12 13:38 UTC (permalink / raw)
  To: ntg-context

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ň
> 
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-12 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-12 11:00 Inkscape 1 without gui Martin Hasoň
2020-12-12 13:38 ` mf

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).