05-19-2021, 06:58 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2016
Device: Kindle Touch
|
Issue converting ePub to MOBI
I have an ePub file where I have adjusted the line spacing by editing an entry in the 'stylesheet.css' from this;
.calibre5 { font-family: "Calibri", "sans-serif"; font-size: 1.33333em; } to this; .calibre5 { font-family: "Calibri", "sans-serif"; font-size: 1.33333em; line-height: 2.0em } Adding the line-height modifier and checking that the text in the file preview looks something like I am after. However, after converting the file to a MOBI format, the spacing of the lines in the paragraghs of text are not changed from how they were before I adjusted them in the ePub file. When I go back to the ePub file, my edits show and the paragraph text spacing still looks correct as per my edits. What is happening and how can I maybe get things to look the way I need them ? Thanks for reading and any helpful suggestions. |
05-19-2021, 07:00 AM | #2 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
convert to azw3 not mobi.
|
Advert | |
|
05-19-2021, 11:16 AM | #3 |
Well trained by Cats
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
line-height 2.0 not 2em (there is no units allowed)
|
05-19-2021, 02:33 PM | #4 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Does the Kindle accept line heights of greater then 1.2?
|
05-20-2021, 07:11 AM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2016
Device: Kindle Touch
|
Thanks very much for the replies. I am grateful but confused. Kovid states (and I have seen he has stated it several times in answer to different questions) that mobi files do not have the ability to change line height; is that just a fact ? In which case I presume that trying to adjust using the css file is pointless if the ultimate goal is conversion to mobi format ? It is true that if I convert to azw3, the conversion does seem to match the format of the input epub. I am trying to learn something here as well as solve my problem. :-)
Thanks to all fo the help. |
Advert | |
|
05-20-2021, 08:10 AM | #6 | |
Grand Sorcerer
Posts: 6,498
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
KF8 (azw3) format is based on a newer HTML version and does support line-height. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
issue converting from azw3 to mobi (ccs and font issue) | fatkinglet | Conversion | 3 | 10-15-2020 10:13 PM |
converting to mobi margin issue | rosshalde | Conversion | 2 | 11-21-2014 10:12 AM |
Please Help ... Formatting/Display Issue when Converting Epub to a "new" Mobi file | Ritzy | Kindle Formats | 3 | 10-15-2013 06:28 PM |
Calibre Indent Issue When Removing Blank Lines (Converting From HTML to MOBI or EPUB) | David Derrico | Calibre | 5 | 08-04-2010 12:13 AM |
Issue converting .MOBI to .LRF | sea_los | Calibre | 2 | 06-17-2009 12:20 AM |