View Single Post
Old 03-16-2019, 06:06 AM   #109
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,561
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
I don't know why the TOC comes out so big, must be some default style of Prince. You can add something like this to the stylesheet:

Code:
body.nomargin {
  page: cover;
}

@page cover {
  size: 565px 799px !important; /* hard-coded cover image size */
  margin: 0 -117px !important;  /* make virtual page width 800px */
}

nav * {
  font-size: 100%;
}
  
nav > ol {
  font-size: 75%;
}

nav ol {
  margin-left: 2em;
}

nav#landmarks {
  display: none;
}
Jellby is offline   Reply With Quote