Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-13-2018, 01:56 PM   #1
big_smile
Junior Member
big_smile began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2018
Device: Kindle
Oddities when converting a book

I produce my books in Apple Pages and then export as an Epub. I then bring the Epub into Calibre and export as an Epub again as it reduces the file size by around 20% (and so the delivery fees that Amazon charges).

However, when I do this, I get some oddities:

1) Strange line breaks



In the following example, Calibre will split the above into two pages, so "series number" and everything underneath it goes on a separate page. Is there any way to stop Calibre inserting breaks. I've checked the options but can find any?


2) Table of contents at the end
My books already have a Table of Contents at the start (when exported from Apple Pages), but Calibre inserts it's own Table of Contents at the end. Is there a way to disable this?

Thanks for any help
big_smile is offline   Reply With Quote
Old 04-13-2018, 03:00 PM   #2
deback
Book E d i t o r
deback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the end
 
Posts: 285
Karma: 31930
Join Date: May 2015
Device: Laptop
Check your top and bottom margins in the .css file for each class on the title page and decrease the size of those margins.

Sounds like you might have the box checked for Generate ToC at the end of book in the conversion options. I'm not at my main computer, so I can't quite remember where it is, but probably under Common Options somewhere. Uncheck that box when you find it.
deback is offline   Reply With Quote
Old 04-13-2018, 03:46 PM   #3
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 4,442
Karma: 9863419
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, Kobo AuraHD/Aura6"/H2O/GloHD/KA1/ClaraHD
Quote:
Originally Posted by big_smile View Post
In the following example, Calibre will split the above into two pages, so "series number" and everything underneath it goes on a separate page. Is there any way to stop Calibre inserting breaks. I've checked the options but can find any?
If you've run a calibre epub-to-epub conversion you need to have a look at 2 things:
  1. the value you've set in:
    Convert - Structure detection - Detect chapters at
  2. Using the calibre Editor, compare the above with the HTML tags actually present in your source epub for
    'My Book'
    'Subtitle'
    'Series number'
    'by Me the author'
For example, if you've used calibre's original default without considering whether it's appropriate for this book, you'll probably find that you're automatically getting chapter breaks for every <h1> and <h2> tag.
jackie_w is offline   Reply With Quote
Old 04-13-2018, 07:06 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 52,345
Karma: 47514599
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
First thing to do is dump Apple Pages. It produces some rather poor code. Use either the Calibre Editor or Sigil to make your ePub master eBook. Hand crafting the code will make it better and simpler code means it will work better. Also, you want to install the epubcheck plunging for whichever editor you use and you can validate your ePub.

Amazon might reject your eBook as they do not like Calibre code in eBooks being sold. So hand crafting your eBook means it won’t be rejected for Calibre code.

Last edited by JSWolf; 04-13-2018 at 07:10 PM.
JSWolf is offline   Reply With Quote
Old 04-14-2018, 06:23 AM   #5
big_smile
Junior Member
big_smile began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2018
Device: Kindle
Quote:
Originally Posted by JSWolf View Post
Amazon might reject your eBook as they do not like Calibre code in eBooks being sold. So hand crafting your eBook means it won’t be rejected for Calibre code.
Oh, wow I didn't know that. In that case, I might just stick with Pages. I know it has some dodgy code. But it works fine on Kindle.

I was only trying to optimize the file size with Calibre as it saves a few pennies on the delivery fees. But to be honest, with all the difficulties I have encountered, I'd probably be better off just paying the pennies (especially as I don't really sell that many copies anyway!).
big_smile is offline   Reply With Quote
Old 04-14-2018, 07:57 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 52,345
Karma: 47514599
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
You can optimize with Calibre. Go into the Editor and in the preferences (in the editor, Edit > Preferences) turn off Update metadata embedded in the book when opening.

You can losslessly compress any graphics. You can subset any embedded fonts. But the one thing you cannot do automatically is to fix the crappy code from Pages. This is why you should dump pages and hand code your ePub.
JSWolf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to fix: Search This Book & About This Book oddities with Calibre AZW3s on Voyage sun surfer Devices 8 09-19-2015 03:52 AM
Metadata oddities MSWallack Marvin 3 11-20-2014 01:55 AM
Catalog oddities tamhas Library Management 7 07-25-2014 10:55 AM
Pricing oddities MoSo Amazon Kindle 8 08-09-2008 12:16 PM


All times are GMT -4. The time now is 03:54 PM.


MobileRead.com is a privately owned, operated and funded community.