![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
While we're at the topic, you can also use pseudo selectors to generate dot leaders.
However, this method will only work with epub3 apps and readers, e.g. iBooks or ADE 4.5/RMSDK 12.5 (or higher). |
![]() |
![]() |
![]() |
#17 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,064
Karma: 144284144
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Is there a solution that will work with ADE 2.0.1? If not, then there is no workable solution for that specific format because it won't work on most Readers/apps.
|
![]() |
![]() |
![]() |
#18 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,303
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
If you can't use current coding techniques because you want it backwards ...(compatible) and you don't want to take all the effort to do it manually, then simply code it without the dots..... |
|
![]() |
![]() |
![]() |
#19 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#20 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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…? |
![]() |
![]() |
![]() |
#21 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#22 | |||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 242
Karma: 37089
Join Date: Oct 2012
Device: none
|
Quote:
Maybe I misunderstood something about how you're supposed to do the conversion via Calibre? My understanding was that once the KoboExtendedTouch plugin was active the conversion was done on the fly while transferring the book… leaving the epub version in Calibre untouched and copying a kepub.epub version of the book to the device. Quote:
Quote:
As a matter of fact support of text/html file appears to be… rather incomplete. Another example: I tried to do a search via the icon at the top right of the screen selecting "Current Read" in the pull-down menu of options and that does not do what you'd expect… It runs the search against… the Kobo User Manual instead…! Yet another thing that does not work as expected is that the CSS classes I defined for first and second level titles specify "text-align:center" but this property is not correctly rendered. These titles show up either left-aligned or justified (left+right) with many spaces in between the words. Even though this works fine in Firefox, Chrome, or Readium… I thought that perhaps Kobo's renderer found something wrong either with my classes or the html markup… and was just silently ignoring my definitions… Just in case… I ran the usual validation tools against my file and got no errors. Anyway, if you can spare the time and give me step by step instructions on how you exactly do the kepub conversion… I'll give it one more try and move on. Perhaps open a ticket with Kobo if that's at all possible..? Thanks…! |
|||
![]() |
![]() |
![]() |
#23 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,064
Karma: 144284144
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Why would you use code that doesn't work in most real use cases?
|
![]() |
![]() |
![]() |
#24 | ||||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
I would suggest creating a smaller sample book with only a couple of chapters so you can see what it looks like. Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
#25 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 242
Karma: 37089
Join Date: Oct 2012
Device: none
|
Quote:
1. I created a much smaller epub with the first of my html files. The toc.ncx and content.opf files were modified to reflect the change. Activated the "Kobo extended" plugin and transferred the book to the Kobo. I was able to open the converted book on the device. 2. I added the next four .html files from my original book, which entailed adding perhaps another twenty toc.ncx entries. I was again able to open the book… and I noticed that it was taking rather long… I also noticed that my nested ToC was there all right… complete with my second & third level entries… But since Kobo do not support nested tables of contents it had been "flattened" so-to-speak… 3. I proceeded to run a third test adding another five chapters from my book… This meant adding another 200+ entries to the ToC… This particular test version was now about one third of my original book and this sufficed to "successfully" recreate the problem: the Kobo crashed every time I tried to open the book… I did that maybe five times in all and consistently got the same result. So it would appear that at least where sideloaded epub's as converted to kepub.epub by the "Kobo extended" plugin… Kobo's current software does not scale properly and cannot handle a table of contents with more than a few entries. Apart from the fact that nested tables of contents are not supported… which makes large ones such as this particular book's all but useless--who wants to look for something sequentially in a ToC that spreads over a hundred pages especially on a device as slow as the Kobo Glo' I ask you… the fact that where kepub's and "raw" html are concerned, Kobo's e-reading software is unable to handle correctly titles that are marked "text-align:center"… I noticed another annoyance: I use em's to specify font-sizes and I rarely go beyond anything fancier than 1.3em… anything larger takes up too much space and looks rather gross to my sensitive eyes. And yet with this particular rendering software (as I roughly measured it) the font height and font width double in size when I go from 1em to 1.3em… whichever font I decide to use… This btw reminds me of something that I had noticed before on the sole book I ever bought from the Kobo store: titles that were unusually large giving the book the aspect of the ads on some cheap commercial internet site… something that I also notice on web pages as rendered in Google Chrome… Well… considering that I don't feel it is worth having to jump through so many hoops hoping to miraculously get this to work… kind of… eventually… and find myself not happy with the result anyway… I'll put this on the back burner for the foreseeable future… perhaps have another look in 10 years' time… in case the situation has improved. In any case… where I am concerned… this wasn't a waste of time… far from it… I now have a text version of the book almost ready to roll… and perhaps more importantly… the refresher course was worth every hour I spent… I try to "do an epub" once in a while so I don't forget my feeble epub skills for good. Enough moaning and whining for now… Thanks to all for your patience… |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why does this thread have green dotted posts | BetterRed | Feedback | 6 | 05-12-2015 03:37 PM |
How to adjust table spacing/lines in Calibre conversion? | mischko | Calibre | 5 | 03-02-2012 09:43 AM |
Touch Dark lines between lines of text | taming | Kobo Reader | 12 | 06-13-2011 07:20 PM |
DR800 Removing dotted bookmark icon | HauntedAttic | iRex | 10 | 08-06-2010 10:05 AM |