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 03-26-2015, 12:46 PM   #1
JD-Kaplan
Junior Member
JD-Kaplan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2015
Device: none
calibre to mobi strangeness: my solution

So I've been seeing this odd behavior where sometimes after going into italics and coming back to normal text, the font will suddenly be about 3 pts bigger. I spent hours wrestling with this and finally came to a solution. It might not be the BEST solution but it works for me and isn't terribly hard.

To be completely clear, I use Pages '09 on my macbook pro and export to RTF prior to importing to Calibre

1. Convert the book to the azw3 format and edit using the right click edit option in Calibre.
2. Go into the css file at the bottom of the left side of the editor and change the node ( .node, .node1, .node2, etc) definitions to use the same font size. There are a couple exceptions. A couple of them should remain larger because they are titles and such. You have to experiment a bit. Once you have the css how you like it, copy the contents and save it off somewhere
3. convert the azw3 to mobi using Calibre and it should all be good.

The catch to this is that I've noticed that sometimes the node definitions are different in different books. So you can't just dump the css in on the book wholesale. You'll have to repeat the process but this time you'll already know what you want your font sizes to be.

This solution isn't the best, but I'm a software guy so dealing with css is easy enough for me. l'm willing to field questions if you get stuck on this.

If anyone else faces this and has a better solution I'd love to hear it
JD-Kaplan is offline   Reply With Quote
Old 03-30-2015, 04:33 AM   #2
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 11,189
Karma: 23576209
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Try converting to something other than RTF. If Pages supports DOCX you can try that.

By default, font size shouldn't be specified, and titles should be in em units so it scales.

Personally I reduce everything back to raw text and style it as needed by hand.
eschwartz 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
KF8 strangeness jgaiser Conversion 2 05-09-2012 01:20 PM
Strangeness? Dimwit Kobo Reader 3 07-20-2011 09:17 PM
There is Strangeness in the Universe PhilipChen Self-Promotions by Authors and Publishers 0 05-06-2011 05:30 AM
Sort Order strangeness jflatto Calibre 2 07-11-2010 11:38 AM
File naming strangeness HarryT iRex 2 06-05-2009 11:39 AM


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


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