pencil icon indicating copy to clipboard operation
pencil copied to clipboard

CLI for exports please!

Open DaniGuardiola opened this issue 9 years ago • 3 comments

Hi, I want to export programmatically, can you provide a command line interface? At least it should have the template parameter. Thanks!

DaniGuardiola avatar Jul 21 '15 10:07 DaniGuardiola

For now, you can use the xslt at pencil/app/content/pencil/exporter/Pencil2SVG.xslt to convert the *.ep file to a *.svg file. I do this on Linux with xsltproc. However, this only works well if the .ep file contains only one page - since all pages are mixed in one SVG file.

mvdw avatar Jul 21 '15 11:07 mvdw

@mvdw I want to export to html using a template, thanks though

DaniGuardiola avatar Jul 21 '15 12:07 DaniGuardiola

Related Pencil-3 follower issue: https://github.com/evolus/pencil/issues/140 including a workaround.

theno avatar Nov 04 '17 01:11 theno