View Single Post
Old 12-14-2010, 06:06 AM   #4
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by kiwidude View Post
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?

Last edited by Valloric; 12-14-2010 at 06:14 AM.
Valloric is offline   Reply With Quote