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

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 07-13-2011, 05:39 PM   #1
fbrII
F. BluDevil
fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.
 
fbrII's Avatar
 
Posts: 428
Karma: 1152548
Join Date: Dec 2008
Location: St. Louis Missouri
Device: Pocketbook Inkpad3 pro, Kobo Libra, Kindle Paperwhite
Kobo Touch - No Margins

I very much appreciate Calibre and I have moved almost my entire book collection over to Calibre. One problem I have run into is I lose the margins whenever I convert to epub and I often have to make an epub to epub conversion in order to preserve the cover image.

How do I get the margins back or set up a default for margins when converting? Any tips or advice will be greatly appreciated.
fbrII is offline   Reply With Quote
Old 07-14-2011, 04:57 PM   #2
fbrII
F. BluDevil
fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.
 
fbrII's Avatar
 
Posts: 428
Karma: 1152548
Join Date: Dec 2008
Location: St. Louis Missouri
Device: Pocketbook Inkpad3 pro, Kobo Libra, Kindle Paperwhite
Red face

hello? Hello!, HHHEEELLLLLLOOOO! Is anybody there?
fbrII is offline   Reply With Quote
Old 07-14-2011, 05:02 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In the conversion settings, look under page setup to set default margins.
kovidgoyal is offline   Reply With Quote
Old 07-14-2011, 07:38 PM   #4
fbrII
F. BluDevil
fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.
 
fbrII's Avatar
 
Posts: 428
Karma: 1152548
Join Date: Dec 2008
Location: St. Louis Missouri
Device: Pocketbook Inkpad3 pro, Kobo Libra, Kindle Paperwhite
Well I could swear that I messed around with those settings before and nothing happened but I just tried resetting the margin to twenty points and it worked just fine.

The default 5 points brings the text flush with the margin with my Kobo touch so I will check to see if a default can be set.

Many Thanks
fbrII is offline   Reply With Quote
Old 07-17-2011, 01:43 AM   #5
kiwipippa
Fanatic
kiwipippa ought to be getting tired of karma fortunes by now.kiwipippa ought to be getting tired of karma fortunes by now.kiwipippa ought to be getting tired of karma fortunes by now.kiwipippa ought to be getting tired of karma fortunes by now.kiwipippa ought to be getting tired of karma fortunes by now.kiwipippa ought to be getting tired of karma fortunes by now.kiwipippa ought to be getting tired of karma fortunes by now.kiwipippa ought to be getting tired of karma fortunes by now.kiwipippa ought to be getting tired of karma fortunes by now.kiwipippa ought to be getting tired of karma fortunes by now.kiwipippa ought to be getting tired of karma fortunes by now.
 
kiwipippa's Avatar
 
Posts: 578
Karma: 613022
Join Date: Aug 2010
Location: New Zealand
Device: kobo glo, kobo touch (dead), kindle touch, android phone
fbrII, I'm having the same problem. 5 points is too small, so I set it to 10 - still too small. So I've used 20. But for some reason, I cannot change the margins using the KT function on any books uploaded via calibre. Annoying really as it means that I have to remember to do it before loading them on the device.
kiwipippa is offline   Reply With Quote
Old 07-17-2011, 07:39 AM   #6
fbrII
F. BluDevil
fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.
 
fbrII's Avatar
 
Posts: 428
Karma: 1152548
Join Date: Dec 2008
Location: St. Louis Missouri
Device: Pocketbook Inkpad3 pro, Kobo Libra, Kindle Paperwhite
kiwipapa

Quote:
But for some reason, I cannot change the margins using the KT function on any books uploaded via calibre.
Same here, I believe that is true of any side loaded book not bought from Kobo. I noticed with their new firmware upgrade you can now look up words in the dictionary and change fonts when using a side loaded epub. However, margin adjustments are still not possible.
fbrII is offline   Reply With Quote
Old 07-17-2011, 09:45 AM   #7
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by fbrII View Post
However, margin adjustments are still not possible.
So the KT allows you to adjust the main body margins on the fly? I found that if I used a css the specified font size in pts then the font scaling ability is inhibited. Open a epub using the tweak epub feature, find the area of the css where calibre specified the body margins in pts and either change them to something like .3em or remove them and see if this changes how you KT handles margins.
DoctorOhh is offline   Reply With Quote
Old 07-18-2011, 06:57 AM   #8
fbrII
F. BluDevil
fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.fbrII ought to be getting tired of karma fortunes by now.
 
fbrII's Avatar
 
Posts: 428
Karma: 1152548
Join Date: Dec 2008
Location: St. Louis Missouri
Device: Pocketbook Inkpad3 pro, Kobo Libra, Kindle Paperwhite
dwanthy,

Not familiar with the tweak epub feature but I will check the user manual and give it a try. Thanks for the tip.
fbrII is offline   Reply With Quote
Old 07-20-2011, 07:52 AM   #9
JBlyth
Connoisseur
JBlyth doesn't litterJBlyth doesn't litter
 
Posts: 97
Karma: 126
Join Date: May 2010
Location: Carnarvon - Western Australia
Device: Kobo, Kobo Touch, Ipaq 214, HTC WildFire Android
I have found that if you remove the stylesheet.css settings for left and right margins near the top of the file (carefully) the KT margin options will then work.

Perfection for the KT would be to be have an option in Calibre to de-activate left and right margins..... But perhaps that is asking a little too much ;-)

Cheers
John - in really fine and sunny Takikawa - Japan
JBlyth is offline   Reply With Quote
Old 07-20-2011, 08:12 AM   #10
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by JBlyth View Post
I have found that if you remove the stylesheet.css settings for left and right margins near the top of the file (carefully) the KT margin options will then work.
You need to be specific, exactly what code are you removing?
DoctorOhh is offline   Reply With Quote
Old 07-21-2011, 01:00 AM   #11
JBlyth
Connoisseur
JBlyth doesn't litterJBlyth doesn't litter
 
Posts: 97
Karma: 126
Join Date: May 2010
Location: Carnarvon - Western Australia
Device: Kobo, Kobo Touch, Ipaq 214, HTC WildFire Android
Quote:
Originally Posted by dwanthny View Post
You need to be specific, exactly what code are you removing?
Sorry - The left and right margins in the stylesheet.css file.....

as in:-
margin-left: 0;
margin-right: 0;
JBlyth is offline   Reply With Quote
Old 07-21-2011, 01:24 AM   #12
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by JBlyth View Post
Quote:
Originally Posted by dwanthny View Post
You need to be specific, exactly what code are you removing?
Sorry - The left and right margins in the stylesheet.css file.....

as in:-
margin-left: 0;
margin-right: 0;
I know what left and right margins are but the above isn't code you removed, it is code that you changed it to. Never mind maybe someone who has a KT will decide to navigate the specifics.

I'm glad you got it working the way you want it to.
DoctorOhh is offline   Reply With Quote
Old 07-21-2011, 07:37 AM   #13
JBlyth
Connoisseur
JBlyth doesn't litterJBlyth doesn't litter
 
Posts: 97
Karma: 126
Join Date: May 2010
Location: Carnarvon - Western Australia
Device: Kobo, Kobo Touch, Ipaq 214, HTC WildFire Android
Quote:
Originally Posted by dwanthny View Post
I know what left and right margins are but the above isn't code you removed, it is code that you changed it to. Never mind maybe someone who has a KT will decide to navigate the specifics.

I'm glad you got it working the way you want it to.
Hi dwanthy,

Sorry if I was too brief, but that is what worked for me in the epub I processed. I have just done another, and the .css file was much more complex, so I suggest the following....
  1. Convert the book with Calibre using a strange left and right margin. I used 9pt in this example.
  2. Tweak the converted file and open the stylesheet.css and look for the margins which have 9pt in them - as below
    ;
    margin-left: 9pt;
    margin-right: 9pt
  3. Delete from the preceding ":" to the end of the right margin "9pt" leaving the ";" - this makes it easier to delete the correct sections.
  4. Rebuild the epub
  5. Upload to your KT

Hope this helps....

[EDIT] I have since found that it is much better to do this process BEFORE sending the epub to the KT, otherwise it seems that the ?Caibre database gets a little confused and doesn't process the book. The solution to this is to move the epub out of its "Caibre" folder on the KT and into the root folder. Disconnect the KT so it is processed, then delete the epub file and the original author folder and re-load from Calibre again. It is getting rather complicated, isn't it ;-)

Last edited by JBlyth; 07-21-2011 at 07:51 AM. Reason: Added Info
JBlyth is offline   Reply With Quote
Old 07-21-2011, 11:04 AM   #14
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by JBlyth View Post
Sorry if I was too brief
No problem I was just curious if what I stated that the margins in pts is the limiting factor was correct.

Quote:
Originally Posted by dwanthny View Post
Open a epub using the tweak epub feature, find the area of the css where calibre specified the body margins in pts and either change them
Quote:
Originally Posted by JBlyth View Post
  1. Tweak the converted file and open the stylesheet.css and look for the margins which have 9pt in them - as below
    ;
    margin-left: 9pt;
    margin-right: 9pt
  2. Delete from the preceding ":" to the end of the right margin "9pt" leaving the ";" - this makes it easier to delete the correct sections.
Since the problem with the KT being able to adjust margins on the fly are books using with margins in pts you should submit a bug/enhancement request and see if Kovid could create a option to eliminate or change these kind of margins.

Good Luck.
DoctorOhh is offline   Reply With Quote
Old 07-27-2011, 03:41 AM   #15
JBlyth
Connoisseur
JBlyth doesn't litterJBlyth doesn't litter
 
Posts: 97
Karma: 126
Join Date: May 2010
Location: Carnarvon - Western Australia
Device: Kobo, Kobo Touch, Ipaq 214, HTC WildFire Android
Quote:
Originally Posted by dwanthny View Post
Since the problem with the KT being able to adjust margins on the fly are books using with margins in pts you should submit a bug/enhancement request and see if Kovid could create a option to eliminate or change these kind of margins.

Good Luck.
Done !!!!
JBlyth 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
Kobo Touch vs Nook Simple Touch jbcohen Which one should I buy? 42 07-28-2011 06:38 PM
Kindle 3, Nook Simple Touch, Kobo Touch and Libra Pro Touch jbcohen Which one should I buy? 4 06-18-2011 07:58 PM
Own (and love) a PRS505: Is the Nook Touch or Kobo Touch right for me? rahulm Which one should I buy? 8 06-10-2011 01:51 PM
Pre-ordering Nook Simple Touch or Kobo Touch? SilentDuck Which one should I buy? 27 05-29-2011 05:27 PM
epub Margins in iBooks on iPhone/iPod Touch alwright1 Conversion 6 02-02-2011 12:14 PM


All times are GMT -4. The time now is 08:23 PM.


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