View Single Post
Old 08-25-2023, 09:43 AM   #1395
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 528
Karma: 9529956
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by Flaviocc View Post
On few books I cant convert when using this (extra css option):

html {
margin-right: -30px;
margin-left: -30px;
break-inside: avoid !important;
}

This is the error message: kfx conversion calibre Margins with negative values are not currently supported with Tables in Enhanced Typesetting.
There must be something other than the margins that are the issue.

Attached is a scrambled ePub (since it is covered by copyright) of a short story that has almost exactly the same formatting:
Code:
html {
	margin-left: -5.5%;
	margin-right: -5.5%;
	break-inside: avoid;
}
It converts just fine to KFX. Download it and test. By opening the EPUB with the Kindle Previewer software, you can check for conversion problems while eliminating Calibre and the plugin from the chain.

Then, you can test using Calibre to convert. Note that I do not use any "extra CSS" option...I insert the CSS into the original file. I also disable pretty much every option that does anything to alter the original CSS.
Attached Files
File Type: epub Table to KFX.epub (89.4 KB, 208 views)
nabsltd is offline   Reply With Quote