Quote:
Originally Posted by Ticallion
The line "<p class="calibre1"></p>" is where the space is supposed to be, but it's not being read or whatever after conversion. So simply using find and replace, I changed the calibre1 part of the line to say calibre5, then in the stylesheet made calibre5 have a top and bottom margin setting of 1em. Now the output file looks exactly like the LRF.
So overall, the process involves a bit of work but not too much. First removing all the "#XX" parts then replacing the space codes.
|
Now that you have specific information,
create one ticket for each problem you identified with the details you've discovered. Maybe one or both problems will be fixable without massive man-hours.
Quote:
Originally Posted by Phil_C
This goes back to the issue where Calibre ought to be able to retain the original LRF paragraph spaces. I don't want to add spaces throughout. I don't want to remove spaces throughout. Just leave my spacing alone!
|
Your spacing only exists in the Sony reader.
If LRF was a simple html container like Lit, Mobi or ePub then it would be easy, but LRF is not that simple. LRF doesn't use CSS or html defined paragraphs, its a propriety format that uses objects defined by Sony.
Kovid refused to even provide an avenue from LRF for the longest time. But he finally broke down and took the many hours needed and wrote a plugin to allow folks to easily convert their lrf files to other formats such as epub. This conversion provided a perfectly functional epub, not a perfect duplicate of the original lrf.
Thank You Kovid!
Quote:
Originally Posted by Phil_C
Instead, with neither of these options checked, Calibre ruins my epub by adding spaces between all paragraphs (AND the existing TOC entries).
|
Calibre doesn't ruin your ePub, you ruin your lrf trying to change it to something its not. Calibre does its best interpreting a propriety format, then gives you options to tweak it. If you wish perfection edit the resultant ePub with Sigil.
Quote:
Originally Posted by Phil_C
I'm still hoping that Kovid or one of the developers here can do something about this. That would make all of our LRF's future-proof.
|
Maybe there is a developer on this forum that has 1000s of LRFs and this person will see the need to fine tune the LRF input plugin. Until this happens you might want to lobby Sony for a converter to epub since they decided to kill the LRF format in the first place.
You could use
Google and look
elsewhere for a
converter. I'm relatively sure you won't find one that provides a more functionally readable output then calibre, but if you do find a great alternative please let us know.