Quote:
Originally Posted by kiwidude
Marvellous though it is  that won't help him with automation though.
Looking at the source code for Sigil, there is a comment as follows "undocumented, unsupported *-to-epub console conversion. USE AT YOUR OWN PERIL!". So bear that in mind if you give it a go
It works like this:
sigil.exe %1 %2 %3
%1 - Absolute path to the input file
%2 - seems to not be used, put anything as a placeholder like foo
%3 - Absolute path to the output file
e.g.
sigil.exe d:\input.epub foo d:\output.epub
|
For the life of me I can't remember what the second argument was supposed to achieve. I remember that it was doing something, but now it's clearly unused.
Either way, the disclaimer needs to be stated more forcefully:
This feature officially does not exist and never will. It might cease to exist (even unofficially) at any time. It might produce garbage. It might eat your children. It might cause demons to come out of your nose. It's undocumented and unsupported! I don't want to hear even a hint of a bug report about it. USE AT YOUR OWN PERIL!
Did I mention you shouldn't use it?