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

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 11-15-2018, 04:43 PM   #1
Obscured
Enthusiast
Obscured began at the beginning.
 
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.
Obscured is offline   Reply With Quote
Old 11-17-2018, 08:11 AM   #2
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by Obscured View Post
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.
This is half a reply. Let's hope it will make you a step closer.

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;
}
roger64 is offline   Reply With Quote
Advert
Old 11-23-2018, 02:30 PM   #3
Obscured
Enthusiast
Obscured began at the beginning.
 
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.
Obscured 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
Posible bug: Wrong PDF rendering if there are different page sizes in it arspr Kobo Reader 1 09-07-2014 10:30 AM
Calibre reducing image sizes? HarryT Conversion 2 04-21-2011 08:18 AM
Book/file sizes in Calibre cavgirl Calibre 2 11-12-2010 08:15 PM
PDF sizes for various devices splat PDF 3 07-28-2007 04:01 AM
PDF sizes on the reader grimo1re Sony Reader 1 04-18-2007 11:18 AM


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


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