Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-29-2018, 12:34 AM   #1
minusatwelfth
Junior Member
minusatwelfth began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2018
Device: kindle for pc
Cropped page on the right edge, Help!

Hey,

I've been trying to convert a AZW3 file to PDF, and the pdf ends up being cropped on the right edge.


Please let me know if you need the file.

Thanks
minusatwelfth is offline   Reply With Quote
Old 06-29-2018, 12:44 AM   #2
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,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Increase the PDF page size or add some CSS to the azw3 file to auto-fit images. You can probably use the extra css conversion setting for that, something like

Code:
img { max-width: 90% !important; }
kovidgoyal is offline   Reply With Quote
Advert
Old 06-29-2018, 12:55 AM   #3
minusatwelfth
Junior Member
minusatwelfth began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2018
Device: kindle for pc
Quote:
Originally Posted by kovidgoyal View Post
Increase the PDF page size or add some CSS to the azw3 file to auto-fit images. You can probably use the extra css conversion setting for that, something like

Code:
img { max-width: 90% !important; }
Sorry, I'm very new at this. How would I increase PDF page size? I tried playing around with different input/output profiles to no avail.

I will also try the CSS setting

Last edited by minusatwelfth; 06-29-2018 at 12:58 AM.
minusatwelfth is offline   Reply With Quote
Old 06-29-2018, 01:08 AM   #4
minusatwelfth
Junior Member
minusatwelfth began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2018
Device: kindle for pc
I copied and pasted that code into 'Extra CSS' under 'Styling', pressed OK, and the result is still cropped on the right edge. I even tried img { max-width: 40% !important; }
and it made no difference at all! The output is always cropped by the same amount I think. Maybe I'm doing something wrong
minusatwelfth is offline   Reply With Quote
Old 06-29-2018, 01:26 AM   #5
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,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The PDF page size is accessible under the PDF output section of the conversion dialog. And note that you need to add the extra css also in the conversion dialog (not in general preferences)
kovidgoyal is offline   Reply With Quote
Advert
Old 06-30-2018, 01:58 PM   #6
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Under Preferences --> Conversion --> Common Options --> Look and Feel --> Styling:

Try the following:

Enter the class that's used for the image (it might not be "img")--let's say it is calibre3, for example, so change calibre3 below to whatever class is being used:

Copy and paste the following into the Styling section:

.calibre3 {
width: 100%;
}
deback is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ebook cropped on nook color splinters Nook Color & Nook Tablet 3 04-22-2012 07:36 PM
Conversion adds white space to a cropped PDF ceilingcat Conversion 5 11-18-2011 08:10 PM
Keep Original and Cropped (PDF) Versions johnpdoe Calibre 21 07-28-2010 08:34 PM
DX not showign the cropped version of a pdf lomdar Amazon Kindle 0 03-21-2010 05:16 PM
Cropped PDF for Sony? jgray Sony Reader 2 04-07-2008 10:19 PM


All times are GMT -4. The time now is 07:13 AM.


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