Thread: EPUB output
View Single Post
Old 07-30-2010, 11:57 PM   #754
Phil_C
Addict
Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.
 
Phil_C's Avatar
 
Posts: 277
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
Quote:
Originally Posted by Starson17 View Post
That was clear, and I appreciate it.



I still don't know if I can help. I particularly am not interested in working on lrf format (sorry, it's deprecated and I don't use it), but if your problem lies elsewhere, I might be interested. To find out, turn on debug and convert a problem file to EPUB. Then look in the debug folders and advise when the problem appears. Is it in the very first folder, or later? Is this an lrf problem only, or a conversion problem in general? Does the problem appear when going to epub from HTML, LIT or any other formats?
OK --- for lrf>epub, the Debug input and parsed folders contain exactly the same code whether or not the "Remove Spacing Between Paragraphs" option in Calibre is checked. Only the processed folder is different. Spaces are added between ALL paragraphs with the option unchecked, and removed when the option is checked.

So it appears that paragraph spaces are somehow added before the files appear in the input folder --- even though the spaces are NOT present in the lrf. (If I understand properly what I'm looking at.)

(For lit>epub, the result is more erratic. Much of the spacing is retained, but not all. For example, the blank line before a chapter title is retained, but the blank line after it is not. If there is a mid-chapter paragraph that is supposed to have a blank line before and after, those blank lines are retained. Meanwhile, page breaks after chapters are lost!)

I realize that lrf is dead as far as future use. But many of us with hundreds of lrf books surely would like a way to convert them to epub one time and be done with them.

Additional information: All of my lrf books were originally formatted in RTF, then finished in Book Designer and output as LRF. They are perfect at that point.

Thanks for your input...
Phil_C is offline   Reply With Quote