View Single Post
Old 03-27-2019, 05:13 PM   #3
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
Quote:
Originally Posted by theducks View Post
First of all: There are no Line feeds in EPUBS (XHTML). The ones in code are just to make it easy on the coders eyes

I will assume you have 'broken lines' (The sentence is in multiple pieces)
Unwrap factor should get smaller .4 is a good starting point

If there are MARGINS between whole paragraphs, then the style needs to be adjusted

And the horrible 'empty Paragraph' (because someone did not know about top/bottom margins.
Code:
<p> </p>
If this book is as messed. Ask for your money back. There are just to many folk calling themselves e-book formatters that have no clue to the basics
Yes, I tried different unwrap factors; 0.4, 0.01, 0.99, 0.0, and 1.0 but no cigar.

I should have done this before I posted my query; I looked at the AZW3 file in the calibre editor. Lines have p tags around them, so it's turning each line into a paragraph. I downloaded the file again and now it's randomly adding p tags after words (i.e., random chunks of text are p wrapped), not every line. And it's only doing it for CHAPTER IV
HEPWORTH. If I look at the EPUB files, chapter 4 is the one whose name ends with e_split_009.html. Even stranger is that the previous chapter's (_008.html) initial html looks the same as this one's; it includes the same css files and uses the same css classes, pindent, etc. in the EPUB file that is. In the AZW3 file there are p class="lgl" tags. So apparently something is triggering these other p tags.

The book was downloaded from here:

https://www.fadedpage.com/showbook.php?pid=20160411

If I download and use the one from here, it converts nicely:

https://en.wikisource.org/wiki/Where_Highways_Cross
lumpynose is offline   Reply With Quote