Hi,
> Any ideas on how to force that setting without modifying grph-con.lua?

This seems to work:

   \startluacode
   function figures.converters.svg.pdf(oldname, newname)
       figures.programs.inkscape.runner {
           format     = "filename",
           resolution = "600",
           crop       = "--export-area-page",
           newname    = dir.expandname(newname),
           oldname    = dir.expandname(oldname),
       }
   end
   \stopluacode
   
I mostly just copied that from grph-con.lua, but the CLD manual has a
few more details:

   
https://www.pragma-ade.com/general/manuals/cld-mkiv.pdf#%5B%7B%22num%22%3A89%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22Fit%22%7D%5D

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to