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/[email protected]/msg94153.html

Massi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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