As I already told once, like several ebook makers I still use Amanuensis for building ebooks, but my Kobo does not properly read "vertical-align:top", so I need to convert it to "vertical-align:super", Amanuensis is no longer maintained and the sources are not available anywhere.
I wanted to make an sh or bat file (or small compiled binary with only the command), using the editor in command line that is:
Code:
ebook-edit [opts] [path_to_ebook] [name_of_file_inside_book ...]
I need no options, the ebook file name is easy to set, the file inside ebook is style.css, but I don't know how to tell "replace vertical-align:top with vertical-align:super"
PS. And, when I try a command line that does not work, like:
Code:
ebook-edit "my_epub.epub" replace "style.css" "vertical-align:top" "vertical-align:super"
, I see that I also would need an option in order to avoid opening the GUI (that tells me that "replace" does not exist, style.css is not found…)
…now (after some more trials-and-errors) I can access style.css:
Code:
ebook-edit "my_epub.epub" OPS/style.css
Just lack the replace command