Index: doc/nx-small.css =================================================================== diff -u -r61bbf1805091c68da1ef7db9c16710a0398c951b -r6f2b5aabb36c05dd3609e8035aa7be5dd6f3f5b5 --- doc/nx-small.css (.../nx-small.css) (revision 61bbf1805091c68da1ef7db9c16710a0398c951b) +++ doc/nx-small.css (.../nx-small.css) (revision 6f2b5aabb36c05dd3609e8035aa7be5dd6f3f5b5) @@ -1,3 +1,4 @@ +@media print { body {font-size: 10pt; text-align: justify;} .nx {font-size: 65%; color: #000000; font-weight: normal; font-style: normal; padding-left: 10px} table.nx {border-collapse: collapse; border-spacing: 3px;} @@ -14,16 +15,32 @@ div.toclevel3 {display: block;} div.toclevel4 {display: block;} +div.tableblock table { + page-break-inside: avoid; +} + +div.listingblock pre { + page-break-inside: avoid; +} + +} + @page { - @top { + size: A4; + /* DIV 15 for A4 paper */ + margin: 19.80mm 14mm; + + /* Not supported by Chrome, kept for later reference */ + + @top-center { color: #717ab3;font-style: italic; font-size: 80%; content: string(chapter-title) } - @bottom { + @bottom-center { font-size: 80%; color: #717ab3; content: "- " counter(page) " -" } } -h2 { string-set: chapter-title content() } \ No newline at end of file +h2 { string-set: chapter-title content() }