View Single Post
Old 11-09-2015, 11:03 AM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I don't think you can, not with ebook-convert or ebook-meta.


ebook-meta is for setting user-facing metadata, like title, series, author, publisher, etc.
You cannot set formatting metadata with it.

As for ebook-convert, it relies on calibre's Input/Output plugins, which do not understand Fixed-Format.
The fact that they sort-of-resemble Fixed-Format books is incidental.


It should be easy to unzip the epub though and insert the right meta tags with awk or sed.
You can also use a vimscript, since if your EDITOR=vim then
Code:
calibre-debug --explode-book $joinedfilename.epub
will open directly with vim.

Now, even if you do that, I'd still want to check the book to make sure it works as expected.
eschwartz is offline   Reply With Quote