hi,
just found something strange so I had to ask are there reserved words in Calibre, something we can't use/should avoid in XHTML and CSS ???
for now I have positive answer on "chapter" - if a CSS class is named "chapter" Calibre makes a new chapter during conversion in each occurence of using class="chapter" in XHTML code.
my search didn't reveal me any reserved word
btw Kindlegen inside Kindle Previewer converts correctly - without chapter splitting
conversion is epub to azw3
Win7 x64
Calibre 2.29 64bit
here is XHTML snippet:
Quote:
<p class="chapter">This is a first paragraph</p>
<p class="chapter">This is a second paragraph</p>
<p class="chapter">This is a third paragraph</p>
<p class="chapter">This is a fourth paragraph</p>
|
CSS:
Quote:
.chapter {
text-indent: 0.5em
}
|
and part of conversion job log :
Quote:
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: This is a first paragraph
Detected chapter: This is a second paragraph
Detected chapter: This is a third paragraph
Detected chapter: This is a fourth paragraph
Flattening CSS and remapping font sizes...
Source base font size is 16.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Creating AZW3 Output...
Serializing resources...
Splitting markup on page breaks and flow limits, if any...
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_1
Splitting on page-break at id=calibre_pb_2
Split into 4 parts
Creating KF8 output
|