@eschwartz:
Masochistic seems a bit hyperbolic (or influenced by the pseudo-scientific language of the Freudian faith which I no longer share, but is still alive). I just like well done job. I still prefer Amanuensis to the Calibre ebook compiler, but I hope I'll be soon able to do without it, as the author no longer gives any sign of life.
I know all you tell about epub structure, and I often rename epubs as zip files of course. The reasons why I did not try a Linux tool was: Amanuensis is a Windows tool, which does not work on Linux without wine (and I don't use wine in order not to give Windows viruses an access to m Linux system: you know, I'm masochistic. Pain is my pleasure).
So I found that the Calibre editor was able to get command lines, the function was nearly undocumented, and I hoped to find there a way to automate my work. To the moment, I right-click on the ODT file, a Windows shortcut "Convert ODT to epub" launches Amanuensis, then I "open with" "The Calibre e-book editor", and I replace all vertical-align:top with vertical-align:super. It takes only seconds, but I hoped to include it in my "Convert ODT to epub" menu shortcut on Windows, as I hoped to build my ebooks with a single command. If ebook-edit is the wrong tool, this was a wrong track.
A regex search would not spare a significant time, Arios, as I only need to type "v" tho have "vertical-align:top" prompted in the search history.
Last edited by Francois_C; 04-17-2015 at 04:08 AM.
|