Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-17-2023, 11:34 AM   #1
grizedale
kindle Convert
grizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toys
 
Posts: 188
Karma: 5628
Join Date: May 2010
Location: UK, County Durham
Device: kindle Oasis
File Preview - Left & Right margins

I use minus margin settings when converting to AZW3 to fill Scribe screen, but when I edit in calibre the left and right sides of text are cropped...

Is there a way to extend the preview window to view all the text?
Attached Thumbnails
Click image for larger version

Name:	preview cropped.jpg
Views:	74
Size:	203.0 KB
ID:	205296  
grizedale is offline   Reply With Quote
Old 12-17-2023, 11:43 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,900
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Is the preview floating or docked?
Just drag the edge wider.

Wait, when I do that, the text reflows.

Is this a Fixed Layout book
theducks is online now   Reply With Quote
Old 12-17-2023, 11:47 AM   #3
grizedale
kindle Convert
grizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toys
 
Posts: 188
Karma: 5628
Join Date: May 2010
Location: UK, County Durham
Device: kindle Oasis
It reflows in both floating and docked, same with any book...
grizedale is offline   Reply With Quote
Old 12-17-2023, 11:50 AM   #4
grizedale
kindle Convert
grizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toys
 
Posts: 188
Karma: 5628
Join Date: May 2010
Location: UK, County Durham
Device: kindle Oasis
Example when I drag the edges
Attached Thumbnails
Click image for larger version

Name:	preview cropped 2.jpg
Views:	68
Size:	251.9 KB
ID:	205297  
grizedale is offline   Reply With Quote
Old 12-17-2023, 12:18 PM   #5
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,389
Karma: 87013929
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by grizedale View Post
I use minus margin settings when converting to AZW3 to fill Scribe screen, but when I edit in calibre the left and right sides of text are cropped...

Is there a way to extend the preview window to view all the text?
That makes sense. The Kindle is adding a margin. Nothing else does, so any ebook with negative margins to fill a Kindle screen ought to be cropped. A margin of 0 is the edge of the viewport.

The problem is Amazon's stupidity in adding a margin!
Quoth is offline   Reply With Quote
Old 12-18-2023, 11:37 AM   #6
Brett Merkey
Not Quite Dead
Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.
 
Posts: 194
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
"The problem is Amazon's stupidity in adding a margin!"

Agree. For that reason, the very last step editing books for the Kindle Paperwhite, I set left/right margins at (minus) 50px. Since this destroys the ability to comfortably edit the AZW in Calibre, I delete that format after uploading to the device and keep a clean EPUB version (without negative margins) in Calibre just in case I need to edit later.

Quote:
html {
margin: 0 -50px;
}
An extra step -- but I do enjoy taking those 100 pixels back from Amazon!

Last edited by Brett Merkey; 12-18-2023 at 11:53 AM.
Brett Merkey is offline   Reply With Quote
Old 12-18-2023, 12:37 PM   #7
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,389
Karma: 87013929
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by Brett Merkey View Post
...
I set left/right margins at (minus) 50px. Since this destroys the ability to comfortably edit the AZW in Calibre,
...
An extra step -- but I do enjoy taking those 100 pixels back from Amazon!
The actual pixels vary with Kindle (150, 167, 227? (PW1?) & 300 dpi and 6", 9.7", 6", 7" and 10.2"). I think something like -1.6%
is roughly no margin on all kindles?

I think it fails for KDP upload, or used to.
Quoth is offline   Reply With Quote
Old 12-19-2023, 12:01 PM   #8
nabsltd
Evangelist
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 417
Karma: 6913952
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe
Quote:
Originally Posted by grizedale View Post
I use minus margin settings when converting to AZW3 to fill Scribe screen, but when I edit in calibre the left and right sides of text are cropped...
Use the following CSS in your EPUB:
Code:
@media amzn-kf8 {
  html {
    margin-left: -5.5%;
    margin-right: -5.5%;
    break-inside: avoid;
  }
}
Edit the EPUB to make it look how you want, then convert to an Amazon format as the final step.
nabsltd is offline   Reply With Quote
Old 01-03-2024, 07:19 AM   #9
grizedale
kindle Convert
grizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toys
 
Posts: 188
Karma: 5628
Join Date: May 2010
Location: UK, County Durham
Device: kindle Oasis
Quote:
Originally Posted by nabsltd View Post
Use the following CSS in your EPUB:
Code:
@media amzn-kf8 {
  html {
    margin-left: -5.5%;
    margin-right: -5.5%;
    break-inside: avoid;
  }
}
Edit the EPUB to make it look how you want, then convert to an Amazon format as the final step.
Thanks but not really the answer I was after, there are many times I do the edtitng prior to conversion only to find the changes made have reverted. I was after a way to get the editor to show the full page rather than cropped but it seems there isnt.
grizedale is offline   Reply With Quote
Old 01-03-2024, 08:14 AM   #10
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,954
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The preview window is meant to preview your HTML as accurately as possible. When you specify a negative margin, it will therefore render a negative margin, which means your text will be cut off.
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Scribe - change right & left margins? poczynek Conversion 0 12-02-2022 06:21 PM
inset & decoupled file preview behavior in gnome rjwse@aol.com Editor 1 10-18-2018 12:39 AM
Is it possible to completely remove the right and left margins? tiramisù Amazon Kindle 103 05-04-2015 12:22 AM
EPub>Mobi>Kindle 3 large left margins Zenthor Calibre 14 11-02-2010 08:37 AM
Wide left margins in epub to kindle conversion jchrist Calibre 0 02-02-2010 09:13 PM


All times are GMT -4. The time now is 10:44 AM.


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