View Single Post
Old 09-05-2017, 08:17 PM   #20
Chris Jones
Addict
Chris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five words
 
Posts: 242
Karma: 37089
Join Date: Oct 2012
Device: none
[QUOTE=Turtle91;3568744]You can just use overflow and/or text-overflow with a very long set of periods to cover any eventuality such as:

[...]

/QUOTE]

I implemented your solution: simple and elegant… and since it works in Readium and the commonly used web browsers… being an optimist… I'll just cross fingers and hope these properties will eventually be generally supported by e-readers or tablets.

Now something interesting: I vaguely remembered that among a host of formats Kobo devices also support plain (non-epub'd..) HTML. I proceeded to run a test transferring one the html files in my ../OEBPS/Text directory to the Glo'… and the properties you recommended are recognized: the text is formatted exactly as it is in Chrome/Readium… etc.

Rather surprising that Kobo's software should be able to handle the rendering correctly with a single html file and be unable to do likewise when the exact same file is packaged as an epub don't you think…?

As an aside I remember someone in this thread wrote that he got this (?) to work after converting the epub to the kepub format. I tried likewise both by doing an EPUB->KEPUB conversion in Calibre and installing a Koboextended (?) plugin that does this automatically when you transfer the files to the device but I was never able to display the files on the Kobo… Caused the device to go blank and display a line of squares and presumably reboot…

Anyway… when I am done proofreading the epub I will just need to find some way to package the 30+ html files and the stylesheets in such a way that I can transfer everything to the Kobo device without too many headaches AND obviously without re-packaging everything to the .epub format. This would amount to using the Kobo's e-reading software as if it were a web browser… so to speak. I was thinking of perhaps creating an extra html file containing a simplified TOC with links to the different chapters of the book. Not ideal… but I can't think of a better way at this point.

Difficult to tell how I could best handle such an weird concept in a convenient way… I systematically use Calibre to manage my ~12,000 ebooks collection and would basically need to have the book contents in "plain html" form as a single separate entry in the Calibre library alongside the .epub version… be able to transfer it to the Kobo device just like any epub… and naturally have the Kobo device be able to manage it correctly… in other words open it for reading… create an entry for it in the "My Books" list so I can find it… NOT have to deal with 30+ different entries in my Kobo device's library… etc.

What I have found so far is that when I add simple html files Calibre automatically zips them together with a few automatically generated "epub style" files (mimetype, content.opf… etc.)… thus creating some kind of "pseudo epub's"… before it copies them to the Calibre Library… and correspondinly creates a database entry with the "ZIP" format. But I'm not sure if/how a multifile zip container and the single correponding database entry could somehow be created.

Is there anything in the Calibre documentation that might help figure out a practical strategy…?

Perhaps I should open a separate thread regarding these aspects…?
Chris Jones is offline   Reply With Quote