ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: mf <massifr@fastwebnet.it>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Inkscape command line arguments have changed
Date: Tue, 19 May 2020 21:20:38 +0200	[thread overview]
Message-ID: <dbc08b4a-fe5a-56e5-b623-40e980c2c8b3@fastwebnet.it> (raw)
In-Reply-To: <CAANrE7o-bSBYNCK5_oj=ZNwyjx-m=2J-QvXZQpLs2Mgx6rdiJQ@mail.gmail.com>

Il 19/05/20 20:50, Thangalin ha scritto:
> Minor correction:
> 
> \startluacode
> figures.programs.inkscape={
>    command="inkscape",
>    pdfargument=[[
>      "%oldname%"
>      --export-dpi=600
>      --export-type=pdf
>      --export-filename="%newname%"
>    ]],
>    pngargument=[[
>      "%oldname%"
>      --export-dpi=600
>      --export-type=png
>      --export-filename="%newname%"
>    ]],
> }
> \stopluacode
> 
> Still doesn't work, though. ConTeXt persists with using --export-pdf=...
> Cheers!
> 

The latest version of ConTeXt should detect Inkscape's version and adapt 
the command line options accordingly (I tested it successfully on Debian 
64 Buster + Inkscape 0.92 and Debian 64 Sid + Inkscape 1.0rc).

Next year's versions will no longer detect Inkscape's version and will 
use the newer syntax.

See https://wiki.contextgarden.net/SVG

This topic has already been discussed in this thread:
https://www.mail-archive.com/ntg-context@ntg.nl/msg94153.html

Massi
___________________________________________________________________________________
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-05-19 19:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19 18:26 Thangalin
2020-05-19 18:50 ` Thangalin
2020-05-19 19:20   ` mf [this message]
     [not found]   ` <e39e10a0-ce58-f605-7982-33aa2534773d@fastwebnet.it>
     [not found]     ` <e384bb93-1827-3f2c-eee0-b00ed886cd28@fastwebnet.it>
     [not found]       ` <CAANrE7qdHw0jFbFhKXUeZOvBXOQ7JL1+frWOAVS1mMi0Ny-NyA@mail.gmail.com>
2020-05-19 20:32         ` Thangalin

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=dbc08b4a-fe5a-56e5-b623-40e980c2c8b3@fastwebnet.it \
    --to=massifr@fastwebnet.it \
    --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).