![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78
Karma: 99068
Join Date: Nov 2017
Device: N/A
|
epub to mobi conversion confusing
I have a number of books that each exist in a number of formats, namely .epub, .mobi, .azw3 and .original_epub.
I want to batch convert each .epub to .mobi. However when I do the conversion, in batch or individually, the .mobi I end up with does not reflect the .epub file. I suspect what is happening is the conversion is using the .original_epub as source. Evidence of this is that if I remove the .original_epub and redo the conversion the resulting .mobi file is as expected. Is this the expected behaviour, and if so could someone please explain why this is? |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,065
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Preferences Behavior has an INPUT FORMAT list. The order biases the conversion choice. (except for the Original_*)
As for using Original_*, that is as designed BUT there is a (preferences: tweaks ![]() Code:
ID: save_original_format When calibre does a conversion from the same format to the same format, for example, from EPUB to EPUB, the original file is saved, so that in case the conversion is poor, you can tweak the settings and run it again. By setting this to False you can prevent calibre from saving the original file. Similarly, by setting save_original_format_when_polishing to False you can prevent calibre from saving the original file when polishing. |
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
Yes original_epub is always used in a conversion if itnexists and you cannot override it.
I recall asking about that's ages ago. For a single book you can sneakily move that format out of its folder so that calibre conversion cannot find it and put it back once conversion has started. Then it uses epub. But for batch. That would be messy. I don't think windows has a bulk undo move option so you would have to manually put each one back where it came from. The only other option is to delete or archive away the original epub format file. The only answer I got to Why ,was that "it is designed that way." You can ask Why is it designed that way but I doubt you will get far ![]() Last edited by stumped; 05-24-2019 at 11:13 AM. |
![]() |
![]() |
![]() |
#4 | |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
What I do is create a selective mirror of the library using Robocopy. Code:
robocopy "main lib" "epub convert lib" /if *.db *.json *.epub /xx /mir Code:
robocopy "epub convert lib" "main lib" /if *.mobi *.azw3 /xx /mir /maxage:1 Granted, this uses more storage but I've got sufficient space to spare and I can always buy more or bigger drives if needed. |
|
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
Quote:
i don't do bulk conversions, so I am happy to sneakily move the original format out of calibre library , then put it back afterwards. it only happens when I wand a conversion of something I have fine-tuned for reading in epub e.g. I want to take a copy with me on a kindle For safety, I don't like to delete the original format until I have actually finished reading the book in question, just in case I discover a bug Last edited by stumped; 05-24-2019 at 12:19 PM. |
|
![]() |
![]() |
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78
Karma: 99068
Join Date: Nov 2017
Device: N/A
|
Thanks to all for your comments.
|
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 1702156
Join Date: Nov 2010
Device: Kindle Voyage
|
The only time I have seen original_epub files was when I did epub to epub conversions. If the converted file is the better of the two I would delete the original_epub. If you do not delete it the presumption is that original_epub is the better source for conversion. It was, after all, the source for your current file.
|
![]() |
![]() |
![]() |
#8 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,280
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
I wish I'd known about the Modify Epub plugin some time ago. I like that it merely appends to the epub's style file the Extra CSS from Calibre's Common Options > Look & Feel > Styling when you select Modify Epub's Append Extra CSS box. Even though I don't worry about Calibre damaging anything when doing an epub to epub conversion, for the simple stuff I want (ragged right and no space betwen paragraphs) Modify Epub is just the ticket.
|
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
save_original_format = True/False controls what happens during conversions save_original_format_when_polishing = True/False (as the name suggests) during Polishing |
|
![]() |
![]() |
![]() |
#11 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,280
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Personally, I want the original file kept. I've had several occasions with malformed epubs where Polish and/or Modify Epub got garbage in and spewed scrambled garbage out. Hence, I now open new epubs in either Sigil or calibre's editor and run the various checkers before any file change operations.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MOBI to EPUB conversion | zoliky | Conversion | 7 | 03-05-2018 06:07 PM |
conversion from EPUB to MOBI | stoneturner | Conversion | 2 | 09-22-2015 10:55 AM |
conversion from mobi to epub | barbados1952 | Conversion | 9 | 05-09-2013 10:01 PM |
Conversion from mobi (to mobi, or epub) breaks internal links | bounder | Conversion | 1 | 10-09-2012 11:56 AM |