Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-19-2014, 05:55 AM   #1
coubi64
Member
coubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of light
 
coubi64's Avatar
 
Posts: 15
Karma: 12028
Join Date: Dec 2013
Device: Kobo Mini
Question Spacing between two lines

I don't manage to change spacing between two lines in some of my epub books.

Changing spacing in the ereader doesn't have any effect.

I tried to convert book with calibre with no success.

Do you know how to solve my problem?

coubi64 is offline   Reply With Quote
Old 01-19-2014, 06:11 AM   #2
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Try adding line-height to the list of other CSS properties in the filter list.

But this is a brute force solution, and might have some undesirable consequences (for example multi-line titles and headings in large font sizes may overlap). A better solution, if you are not satisfied with the results, is to edit the .css stylesheet manually, removing line-height lines only from the classes used to display the main text, but leaving those lines in place (or adding them in with a moderate line height of say 1.2em if not present) to classes used for headings etc.

Edit: If you don't want to edit the .css manually you could also try adding h1,h2,h3,h4 {line-height:1.2} to the Extra CSS (CSS supplementaire) list. But this will not work if the publisher has done something stupid like using p instead of h1,h2, etc. for headings.

Last edited by GeoffR; 01-19-2014 at 06:15 AM.
GeoffR is offline   Reply With Quote
Advert
Old 01-19-2014, 06:16 AM   #3
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Converting to mobi and back (epub to mobi then mobi to epub) will usually allow you to change your spacing etc. with the mini with minimal changes in style etc.

Helen
speakingtohe is offline   Reply With Quote
Old 01-19-2014, 07:54 AM   #4
coubi64
Member
coubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of light
 
coubi64's Avatar
 
Posts: 15
Karma: 12028
Join Date: Dec 2013
Device: Kobo Mini
Thank you for your help. The second solution (convert to mobi then back to epub) worked (as a newbie it was easier for me).

Is it possible to remove then the original epub and mobi version in the historic?

coubi64 is offline   Reply With Quote
Old 01-19-2014, 05:40 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,168
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by coubi64 View Post
Thank you for your help. The second solution (convert to mobi then back to epub) worked (as a newbie it was easier for me).

Is it possible to remove then the original epub and mobi version in the historic?

Yes. The new epub does not require the two previous files.

Regards,
David
DNSB is offline   Reply With Quote
Advert
Old 01-20-2014, 07:33 AM   #6
coubi64
Member
coubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of light
 
coubi64's Avatar
 
Posts: 15
Karma: 12028
Join Date: Dec 2013
Device: Kobo Mini
Quote:
Originally Posted by DNSB View Post
Yes. The new epub does not require the two previous files.

Regards,
David
Thank you for your answer, but how can I do this? There is no option te delete the two previous files....
coubi64 is offline   Reply With Quote
Old 01-20-2014, 08:04 AM   #7
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by coubi64 View Post
Thank you for your answer, but how can I do this? There is no option te delete the two previous files....
There are several ways to delete a format in calibre:

- On the dialog that the snippet is from, select the book and press the recycle button.
- In the book list, right-click on the book and select the "Remove books" option and the appropriate option under that. This is good for removing the format from a set of books or the form.
- Select the book in the book list, and right click on the link to the format in the details pane and select the delete option.
davidfor is offline   Reply With Quote
Old 01-20-2014, 08:06 AM   #8
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,509
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Right click on the book and selecte "Remove Books" followed by "Remove files of a specific format fron selected books" and then pick the formats you want to drop.
PeterT is offline   Reply With Quote
Old 01-20-2014, 10:23 AM   #9
coubi64
Member
coubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of lightcoubi64 is a glorious beacon of light
 
coubi64's Avatar
 
Posts: 15
Karma: 12028
Join Date: Dec 2013
Device: Kobo Mini
Thank you all !

There are different ways to do this, so stupid I am
coubi64 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spacing between two lines problem! Hits Conversion 1 06-18-2012 01:22 AM
How to adjust table spacing/lines in Calibre conversion? mischko Calibre 5 03-02-2012 09:43 AM
Touch Dark lines between lines of text taming Kobo Reader 12 06-13-2011 07:20 PM
Unutterably Silly Why lines? GlenBarrington Lounge 2 11-23-2010 09:23 AM
html->lrf line spacing between wrong lines? flowoeB Calibre 6 08-21-2009 12:43 PM


All times are GMT -4. The time now is 12:28 PM.


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