Re: [NTG-context] Inkscape command line arguments have changed
As a work around, rename /usr/bin/inkscape to new-inkscape, such as: # mv /usr/bin/inkscape /usr/bin/new-inkscape Then change /usr/bin/inkscape to intercept and replace the command line argument: #!/usr/bin/env bash /usr/bin/new-inkscape \ $(echo "$@" | sed 's/--export-pdf/--export-type=pdf --export-filename/') Then make sure the shell script is executable: chmod +x /usr/bin/inkscape This produces the expected results: graphics > inclusion > checking conversion of 'genealogy-sm', fullname 'images/genealogy-sm.svg', old format 'svg', new format 'pdf', conversion 'default', resolution 'default', arguments '' graphics > inclusion > converting 'genealogy-sm' ('images/genealogy-sm.svg') from 'svg' to 'pdf' graphics > inclusion > new graphic, using hash 'images/m_k_i_v_genealogy-sm.svg.pdf->1->crop->->->default->default->default' Stay safe everybody.
participants (1)
-
Thangalin