Quote:
Originally Posted by kovidgoyal
What exactly are you doing? I'm guessing you are trying to embed ebook-convert inside some other software.
|
The exact context I'm working on is
GitBook. It's an open-source project, one can use it their CLI locally, or one can leverage the website itself to benefit from a fully automated process, from writing to hosting books. Basically, one writes markdown+css and gets a fully-fledged book in different format.
In a team I'm working with, I'd like to have non-tech people use GitBook's website to manage some public-facing documentation, so that 1/ rendered documents are all in sync, no matter the format (html, pdf, mobi, etc.) 2/ it becomes easier for translators to follow edits using git/GitHub (for GitBook's website can push to GitHub).
The only "special" use-case I'd have is for the PDF rendering of a document, to have an image as its background (same bg on each page, full-extend, covering margins). Although I can provide CSS styling in GitBook for the body tag of the HTML that's going to be provided to ebook-convert, it eventually gets wiped out for the reasons we demonstrated above (thx again for your insights).