|
|
#1 |
|
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Jul 2018
Location: U.K.
Device: Kindle Oasis; Likebook P78; Onyx Boox Note Air 2
|
Adjusting PDf sizes in Calibre
For highlighting and taking notes with PDFs I use Xodo on my Win 10 laptop.
I cannot find as good an editor for epub/Mobi files; so I have converted a couple of ebooks to PDF via Calibre to use in Xodo. However the resultant output is not too satisfactory. In Calibre I have adjusted the paper size and base font size several times, but before I drive myself mad, I thought that I'd ask if anyone here has some optimum settings for a 13" screen. I'd be grateful. |
|
|
|
|
|
#2 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
I use the Sigil plugin Prince PDF to convert custom made ePub to six inch (or 9×12cm) PDFs. You have to download Prince (free for non-commercial use). You can find an example of the source ePub and target PDF here. This is the css I use with the plugin. Code:
/*
@font-face {
font-family: serif;
src: local("Droid Serif")
}
*/
@page cover {
margin: 0 !important; padding:0 !important;
}
@page {
size: 9cm 12cm; /* 14.8cm 19.7cm; */
margin: 4mm 0mm 4mm 0mm !important; /* 2.5cm 2.5cm 2.5cm 2.5cm; */
@top-left {
font-size: 60%;
font-style: italic;
margin-bottom: 1mm;
content: string(booktitle);
}
@top-center {
font-size: 60%;
font-style: italic;
margin-bottom: 1mm;
content: string(chaptertitle);
}
@top-right {
font-size: 60%;
margin-bottom: 1mm;
content: normal;
}
}
@page:first {
margin: 4mm 0mm 4mm 0mm !important; /* 2.5cm 2.5cm 2.5cm 2.5cm; */
@top-left {
border-width: 0;
margin: 0;
content: normal;
}
@top-center {
border-width: 0;
margin: 0;
content: normal;
}
@top-right {
border-width: 0;
margin: 0;
content: normal;
}
}
body {
font-size: 11.5pt;
font-family: serif;
text-align: justify;
hyphens: auto;
}
body.cover {
page: cover;
}
body div:only-child {
page: cover;
}
body div:only-child svg {
height:12cm !important;
}
h1, h2, h3, h4, h5, h6 {
hyphens: none;
}
div.cover {
text-align: center;
}
#landmarks {
display: none;
}
|
|
|
|
|
|
|
#3 |
|
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Jul 2018
Location: U.K.
Device: Kindle Oasis; Likebook P78; Onyx Boox Note Air 2
|
Many thanks for the very useful advice. I'll have to try it out.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Posible bug: Wrong PDF rendering if there are different page sizes in it | arspr | Kobo Reader | 1 | 09-07-2014 11:30 AM |
| Calibre reducing image sizes? | HarryT | Conversion | 2 | 04-21-2011 09:18 AM |
| Book/file sizes in Calibre | cavgirl | Calibre | 2 | 11-12-2010 09:15 PM |
| PDF sizes for various devices | splat | 3 | 07-28-2007 05:01 AM | |
| PDF sizes on the reader | grimo1re | Sony Reader | 1 | 04-18-2007 12:18 PM |