diff --git a/packages/Epub/process.js b/packages/Epub/process.js index a3dd2c16614a016084e891e18fa483795d62e546..556d68c935f1802e95a4fe41b1ee3f85467aa21a 100644 --- a/packages/Epub/process.js +++ b/packages/Epub/process.js @@ -2,7 +2,7 @@ const cheerio = require('cheerio') module.exports = ({ styles, activeConverters, book }) => fragment => { const $ = cheerio.load(fragment.source) - const fragmentTitle = fragment.title + const fragmentTitle = fragment.title || 'Untitled' const bookTitle = book.title const fragmentDivision = fragment.division const fragmentSubcategory = fragment.subCategory diff --git a/packages/Epub/themes/default.css b/packages/Epub/themes/default.css index 694ed9f0cd5b4db39131c4a30fd8294edabf5f3d..61122503185ace68ca4a3b797ef84cd8b3c6364a 100644 --- a/packages/Epub/themes/default.css +++ b/packages/Epub/themes/default.css @@ -1824,6 +1824,8 @@ section { .dup:before { content: counter(page) "   "; + letter-spacing: 0px !important; + } .booktitle { @@ -1845,6 +1847,8 @@ section { .booktitle:after { content: "   " counter(page); + letter-spacing: 0px !important; + } @@ -1865,12 +1869,13 @@ section { .folio:after { content: counter(page); + letter-spacing: 0px !important; } /* layout body */ -h1.ct + .cst , .dup + .cst { +.ct + .cst , .dup + .cst { margin-top: -166px; margin-bottom: 111px; } @@ -2032,15 +2037,17 @@ sup { font-size: 11px; line-height: 15px; } - +/* .footnote { float: footnote; } - +*/ .inline-note-footer { float: footnote; - font-size: 10px; - line-height: 1; + margin-top: 0; + margin-bottom: 0; + font-size: 11px; + line-height: 15px; } .inline-note-number { @@ -2098,4 +2105,8 @@ ol.none , ul.none { cite { display: block; +} + +p.ct { + display: none; } \ No newline at end of file