Quote:
Originally Posted by Frenzie
That particular bit of code is ~4 years old, so you could also try to rejig it with the newer HTML widget. Could you upload a scrambled sample document that demonstrates the problem?
On Kobo you don't need to build anything to play around with the code btw. For most things like this you can just edit the Lua files directly on the device itself. But be careful, they will be overwritten if you update so you'd better make sure to keep a copy if you do. 
|
OK. Thanks. I should have realized that there's no need to compile since I realized that the lua files are present on the device in that form. I can play with that code.
There's probably no need for the scrambled epub. Any epub with an opf file with multiple paragraphs of description in the <dc:description> tag will do. This is not a bug or something specific to a particular book. It's universal.
Look at what KOReader displays when you bring up that description text the way I mentioned above. There is no spacing between paragraphs or indentation of the first line. In other words, all the paragraphs vertically render so that it looks like there is only one long paragraph. That's why I was hoping to use css properties like margin to create some distance between paragraphs, at least as long as the styles didn't affect anything in the text of the books themselves. The Nickel reader seems to do this by whatever means it uses. I can get around this in KOReader by putting a paragraph containing only a space
between all paragraphs with text in the opf for the aforementioned tag. I do this in Calibre, but it probably doesn't matter if I do it there or in Sigil or whatever text editor. That renders vertical space between the paragraphs with content, but I have to go to the trouble of doing it and then the Nickel reader renders the same thing with far too much space because it already handles that rendering with plenty of space to begin with. That's not exactly a catastrophic problem, particularly since I mostly read in KOReader. But why not obsess over it if I can?