Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50080

Generate EPUB and PDF from ebook-edit "folder as book"

$
0
0
Hello,

I am on macOS 10.14.6, learning Calibre 4.13.0.

I have extracted an EPUB for a folder and opened it with `ebook-edit`, on the command line, as follows:

`unzip -d source The_book.epub`
`ebook-edit path/to/source`

I have made changes to the files, saved the book, and I see the changes in the source files.

How do I (re)build a new EPUB and PDF file?


If I start Calibre itself, the "source" book I opened via `ebook-edit` on the command line is not in the Library, so I cannot use "Convert Book" in Calibre.

I also do not see an option in Calibre to open a "source folder" as a book, as "Edit Book" (`ebook-edit`) can do.



As background:

I am working this way so that I can keep the source files in git and make commits as I adjust them. I am editing technical material on programming, and I want to send a patch to the original author.

I found that if I open the EPUB itself (not extracted) in Calibre, then used Edit Book, I was not able to tell Calibre about extracting the EPUB files to a folder so that I could stage and commit changes. Calibre only seemed to keep the extracted files in the Cache, and only while it was running.


Thank you

Viewing all articles
Browse latest Browse all 50080

Latest Images

Trending Articles



Latest Images